ARM: dts: bcm2710-rpi-3-b-plus: Add DT support for DRM relevant devices
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Fri, 19 Oct 2018 06:23:42 +0000 (15:23 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 30 Mar 2021 01:38:56 +0000 (10:38 +0900)
Add dts to support the official RPI touchscreen LCD.

Change-Id: I05eff2d5548f84d1e3df62a080bfd2694bbc59ae
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
arch/arm/boot/dts/bcm2710-rpi-3-b-plus.dts

index 90c7c96..375d64f 100644 (file)
                serial1 = &uart0;
                mmc1 = &mmcnr;
        };
+
+       rpi_backlight: rpi_backlight {
+               compatible = "raspberrypi,rpi-backlight";
+               firmware = <&firmware>;
+               status = "okay";
+       };
+
+       rpi_ft5406: rpi_ft5406 {
+               compatible = "rpi,rpi-ft5406";
+               firmware = <&firmware>;
+               status = "okay";
+       };
 };
 
 &gpio {
                eth_max_speed = <&eth_phy>,"max-speed:0";
        };
 };
+
+&i2c_dsi {
+       gpios = <&gpio 44 0
+                &gpio 45 0>;
+       status = "okay";
+};
+
+&dsi1 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+       status = "okay";
+
+       pitouchscreen: panel@0 {
+               compatible = "raspberrypi,touchscreen";
+               reg = <0>;
+               raspberrypi,touchscreen-bridge = <&pitouchscreen_bridge>;
+       };
+};