您尚未登录。

楼主 # 2025-10-29 16:07:31

xsx_kair
会员
注册时间: 2022-11-25
已发帖子: 34
积分: 24

T113移植ST7789T3,能不能指点一下,没输出

&spi1 {
	clock-frequency = <100000000>;
	pinctrl-0 = <&spi1_pins_a &spi1_pins_b>;
	pinctrl-1 = <&spi1_pins_c>;
	pinctrl-names = "default", "sleep";
	spi_slave_mode = <0>;
	spi1_cs_number = <1>;
        spi1_cs_bitmap = <1>;
    	spi_dbi_enable = <0>;
	status = "okay";

	spi_board1@0 {
		device_type = "spi_board1";
		compatible = "rohm,dh2228fv";
		spi-max-frequency = <0x5f5e100>;
		reg = <0x0>;
		spi-rx-bus-width = <0x4>;
		spi-tx-bus-width = <0x4>;
		status = "disabled";
	};
	st7789v@0 {
        	status = "okay";
        	compatible = "sitronix,st7789v";
        	reg = <0>;
       		spi-max-frequency = <60000000>;
        	rotate = <0>;
        	bgr;
        	fps = <60>;
        	buswidth = <8>;
        	reset = <&pio PD 15 GPIO_ACTIVE_LOW>;
        	dc = <&pio PD 14 GPIO_ACTIVE_LOW>;
			latch = <&pio PD 16 GPIO_ACTIVE_HIGH>;
        	debug = <1>;
    	};
};

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn