ARM: dts: bcm2809-rpi-2-b: enable display, touch, audio, spi and i2c
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 17 Jan 2018 09:35:52 +0000 (18:35 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 7 Feb 2022 07:09:31 +0000 (16:09 +0900)
On RPI dt, several devices are enabled with overlay dt. Enable dsi,
hdmi, touchscreen, audio, spi and i2c devices without overlay from
rpi2 dt for Tizen kernel like rpi3.

Change-Id: I3e6f5dcd000a6c01d9a0c740a87ef28a41f3eb22
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
arch/arm/boot/dts/bcm2709-rpi-2-b.dts

index a315d0e334eeb5ab6efecc71a6ebdb21cbffc754..cc4bee3e9105bf2628be8e083e3bc5ac0f111b3e 100644 (file)
@@ -9,6 +9,18 @@
 / {
        compatible = "raspberrypi,2-model-b", "brcm,bcm2836";
        model = "Raspberry Pi 2 Model B";
+
+       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 {
@@ -51,6 +63,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&spi0_pins &spi0_cs_pins>;
        cs-gpios = <&gpio 8 1>, <&gpio 7 1>;
+       status = "okay";
 
        spidev0: spidev@0{
                compatible = "spidev";
 
 &i2c0if {
        clock-frequency = <100000>;
+       status = "okay";
 };
 
 &i2c1 {
        pinctrl-names = "default";
        pinctrl-0 = <&i2c1_pins>;
        clock-frequency = <100000>;
+       status = "okay";
 };
 
 &i2c2 {
        clock-frequency = <100000>;
+       status = "okay";
+};
+
+&dpi {
+       status = "okay";
+};
+
+&hvs {
+       status = "okay";
+};
+
+&pixelvalve0 {
+       status = "okay";
+};
+
+&pixelvalve1 {
+       status = "okay";
+};
+
+&pixelvalve2 {
+       status = "okay";
+};
+
+&v3d {
+       status = "okay";
+};
+
+&vc4 {
+       status = "okay";
 };
 
 &i2s {
        pinctrl-names = "default";
        pinctrl-0 = <&i2s_pins>;
+       status = "okay";
 };
 
 &leds {
 
 &hdmi {
        hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
+       status = "okay";
 };
 
 &audio {
        pinctrl-names = "default";
        pinctrl-0 = <&audio_pins>;
+       status = "okay";
 };
 
 &cam1_reg {
@@ -133,4 +180,17 @@ cam0_reg: &cam_dummy_reg {
 &i2c_dsi {
        gpios = <&gpio 28 0
                 &gpio 29 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>;
+       };
 };