arm: dts: rk3288-evb: modify panel to edp_panel
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3128-box.dts
index f4c564d62af5b73e87d7ea9a8840f3ce38659013..bcc676e9a6e809f852344c934e8c581a8003b6a1 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>
                dais {
                        dai0 {
                                audio-codec = <&codec_hdmi_spdif>;
-                               i2s-controller = <&spdif>;
+                               audio-controller = <&spdif>;
                        };
                };
        };
-
+       power-led {
+               compatible = "gpio-leds";
+               power {
+                       gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
+                       default-state = "on";
+               };
+               work {
+                       gpios = <&gpio0 GPIO_D2 GPIO_ACTIVE_HIGH>;
+                       default-state = "on";
+               };
+       };
        usb_control {
                compatible = "rockchip,rk3126-usb-control";
                host_drv_gpio = <&gpio3 GPIO_C4 GPIO_ACTIVE_LOW>;
                /*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
+                        >;
         };
 };