器件型号:BEAGLEBK
工具/软件:Linux
你(们)好
我必须将 GSM 模块(具有 SPI 接口)与 Beagle Bone Black 开发板集成。 我使用的是 TI SDK。
通过 USB 和 ACM 节点创建了早期使用的 GSM 模块、有助于通过 PPP 访问互联网。
现在 、两个摄像头需要 USB 端口。
请帮助确定 Linux 中可能的更改。
此致、
Vikas
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
器件型号:BEAGLEBK
工具/软件:Linux
你(们)好
我必须将 GSM 模块(具有 SPI 接口)与 Beagle Bone Black 开发板集成。 我使用的是 TI SDK。
通过 USB 和 ACM 节点创建了早期使用的 GSM 模块、有助于通过 PPP 访问互联网。
现在 、两个摄像头需要 USB 端口。
请帮助确定 Linux 中可能的更改。
此致、
Vikas
尊敬的 Tsvetolin:
我在 DTS 文件中进行了更改、并获得了/dev/spi1.0、/dev/spi2.0节点。 此外、spidev_test 实用程序能够生成时钟和芯片选择信号。
更改如下所示。
pinmux_SP0_pins{
pinctrl-single、pins =<0x150 0x30 0x154 0x30 0x158 0x10 0x15c 0x10>;
linux、phandle =<0x90>;
相位=<0x90>;
};
pinmux_SP1_pins{
pinctrl-single、pins =<0x190 0x33 0x194 0x33 0x198 0x13 0x19c 0x13>;
linux、phandle =<0x91>;
相位=<0x91>;
};
SPI@48030000{
兼容="ti、omAP4-mcspi";
#address-cells =<0x1>;
大小单元格=<0x0>;
REG =<0x48030000 0x400>;
中断=<0x41>;
TI、SPI-num-cs =<0x2>;
ti、hwmods ="spi0";
DMA =<0x2D 0x10 0x0 0x2D 0x11 0x0 0x2D 0x12 0x0 0x2D 0x13 0x0>;
dma-names ="tx0"、"rx0"、"tx1"、"rx1";
pinctrl-names ="default";
pinctrl-0 =<0x90>;
#status ="禁用"; SPI@481a0000{
兼容="ti、omAP4-mcspi";
#address-cells =<0x1>;
大小单元格=<0x0>;
reg =<0x481a0000 0x400>;
中断=<0x7d>;
TI、SPI-num-cs =<0x2>;
ti、hwmods ="SPI1";
DMA =<0x2D 0x2A 0x0 0x2D 0x2b 0x0 0x2D 0x2C 0x0 0x2D 0x2D 0x2D 0x0>;
dma-names ="tx0"、"rx0"、"tx1"、"rx1";
#status ="禁用";
状态="正常";
pinctrl-names ="default";
pinctrl-0 =<0x90>;
spidev@0{
SPI-max-frequency =<0x16e3600>;
reg =<0x0>;
兼容="linux、spidev";
};
};
请验证更改。
此致、
Vikas