请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:AM62A3 团队成员您好
我们正在研究在定制电路板 am62a3上引入 DPI 显示屏(RGB)、并通过 SPI 进行通信。
我按如下方式添加了 DTS 节点:
- SPI0_CSI
- SPI0_CLK
- SPI0_D0
- SPI0_D1
这些引脚将连接到电路板。 我非常感谢您的团队就下一步行动和需要采取的行动提供指导。
&main_spi0{ #address-cells = <1>; #size-cells = <0>; // Display status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_spi0_pins_default>; panel@0 { compatible = "sitronix,st7789v"; reg = <0>; reset-gpios = <&exp2 5 GPIO_ACTIVE_LOW>; dc-gpios = <&exp2 6 GPIO_ACTIVE_HIGH>; // led-gpios = <&gpio pin GPIO_ACTIVE_HIGH>; // backlight = <&pwm>; // power-supply = <&power>; rotate = <0> ; width = <320> ; height = <240> ; fps = <60> ; buswidth = <8>; spi-max-frequency = <32000000>; spi-cpol; spi-cpha; port { panel_in: endpoint { remote-endpoint = <&dpi1_out>; }; }; }; }; dpi1_out: endpoint { remote-endpoint = <&panel_in>; };
此致、
U·拉马萨米