Hi!
I made a new one dtb, it seems to work. I not building new device and used spidev from main dtb. It looking great:
grecha@orangepi4-lts:~$ sudo dmesg | grep 9341
[ 6.883847] fb_ili9341: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.967905] SPI driver fb_ili9341 has no spi_device_id for ilitek,ili9341
[ 6.969815] fb_ili9341 spi1.0: fbtft_property_value: buswidth = 8
[ 6.969841] fb_ili9341 spi1.0: fbtft_property_value: debug = 0
[ 6.969849] fb_ili9341 spi1.0: fbtft_property_value: rotate = 90
[ 6.969860] fb_ili9341 spi1.0: fbtft_property_value: fps = 25
[ 7.301423] graphics fb1: fb_ili9341 frame buffer, 320x240, 150 KiB video memory, 16 KiB buffer memory, fps=25, spi1.0 at 18 MHz
a new device appears:
but I get a white screen, I`m at a loss.
dts:
/dts-v1/;
/plugin/;
/ {
compatible = "rockchip,rk3399";
fragment@0 {
target = <&pinctrl>;
__overlay__ {
spidev {
ili9341_pins: ili9341_pins {
rockchip,pins =
<1 23 1 &pcfg_pull_none>,
<1 24 1 &pcfg_pull_none>;
};
};
};
};
fragment@1 {
target = <&spi1>;
__overlay__ {
status = "okay";
cs-gpios = <&gpio1 10 1>;
#address-cells = <1>;
#size-cells = <0>;
spidev {
compatible = "ilitek,ili9341";
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&ili9341_pins>;
spi-max-frequency = <160000000>;
rotate = <90>;
bgr;
fps = <25>;
buswidth = <8>;
reset-gpios = <&gpio1 23 0>;
dc-gpios = <&gpio1 24 0>;
debug = <0>;
};
};
};
};
Help me please