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)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Tue, 11 Jun 2019 00:35:54 +0000 (09:35 +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 51b8d65..d9a3f6f 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>;
+       };
+};