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>
Mon, 4 Nov 2019 09:00:55 +0000 (18:00 +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 1031cac..4014d83 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 {
                pwr_led_trigger = <&pwr_led>,"linux,default-trigger";
        };
 };
+
+&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>;
+       };
+};