嗨害嗨
21/3
2024

ili9341 dts配置

tft2_4@0{
        status = "disabled";
        compatible = "adafruit,yx240qv29", "ilitek,ili9341";
        reg = <0>;
        spi-max-frequency = <32000000>;
        dc-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>; // UART4-RX
        reset-gpios = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>; // UART4-TX
        rotation = <90>;
        backlight = <&backlight>;
    };

+ MORE