FROMLIST: ARM: dts: rockchip: add eDP/panel display device nodes for rk3288-evb
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3128-box-rk88.dts
index 498c747c2e759ab0669b8b428285605c31bb0eb8..3158daa638e49567ee989e534ea48e271ec8b23c 100755 (executable)
@@ -1,3 +1,6 @@
+/dts-v1/;
+
+#include "rk3128.dtsi"
 #include "rk312x-sdk.dtsi"
 #include "lcd-box.dtsi"
 #include <dt-bindings/input/input.h>
                BT,wake_gpio = <&gpio1 GPIO_B4 GPIO_ACTIVE_HIGH>;
                BT,wake_host_irq = <&gpio0 GPIO_C6 GPIO_ACTIVE_LOW>;
 
-               status = "okay";
+               status = "disabled";
        };
 
        power-led {
                compatible = "gpio-leds";
-               green {
+               power {
                        gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
-               red {
+               work {
                        gpios = <&gpio0 GPIO_D2 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };
@@ -73,7 +76,7 @@
                dais {
                        dai0 {
                                audio-codec = <&codec_hdmi_spdif>;
-                               i2s-controller = <&spdif>;
+                               audio-controller = <&spdif>;
                        };
                };
        };
                /*0 - Normal, 1 - Force Host, 2 - Force Device*/
                rockchip,usb-mode = <1>;
        };
-        rockchip_suspend {
+
+       rockchip_suspend: rockchip_suspend {
                 rockchip,ctrbits = <
                         (0
                         |RKPM_CTR_PWR_DMNS
                         |RKPM_CTR_GTCLKS
                         |RKPM_CTR_PLLS
+                        //|RKPM_CTR_ARMOFF_LPMD
+                        |RKPM_CTR_DDR
                         |RKPM_CTR_IDLESRAM_MD
                         |RKPM_CTR_DDR
-                        |RKPM_CTR_VOLTS
-                        |RKPM_CTR_VOL_PWM1
-                        |RKPM_CTR_VOL_PWM2
+                        //|RKPM_CTR_BUS_IDLE
+                       //|RKPM_CTR_VOLTS
+                       //|RKPM_CTR_VOL_PWM1
+                       //|RKPM_CTR_VOL_PWM2
                         )
                 >;
+               rockchip,pmic-suspend_gpios = <
+                       0
+                        >;
         };
 
 };