arm: dts: rk3288-evb: modify panel to edp_panel
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3288-evb-rk808.dts
index 18eb6cb495f45449577a872c156ccbfc14f61174..f1347219b906aa35aa0947fdd2c7b2ee7b2c5171 100644 (file)
@@ -40,6 +40,7 @@
 
 /dts-v1/;
 #include "rk3288-evb.dtsi"
+#include "rk3288-android.dtsi"
 
 / {
        compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288";
                clock-output-names = "ext_gmac";
                #clock-cells = <0>;
        };
+
+       sdio_pwrseq: sdio-pwrseq {
+               compatible = "mmc-pwrseq-simple";
+               clocks = <&rk808 1>;
+               clock-names = "ext_clock";
+               pinctrl-names = "default";
+               pinctrl-0 = <&wifi_enable_h>;
+
+               /*
+                * On the module itself this is one of these (depending
+                * on the actual card populated):
+                * - SDIO_RESET_L_WL_REG_ON
+                * - PDN (power down when low)
+                */
+               reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
+       };
 };
 
 &cpu0 {
                                regulator-min-microvolt = <850000>;
                                regulator-max-microvolt = <1250000>;
                                regulator-name = "vdd_gpu";
+                               regulator-ramp-delay = <6000>;
                                regulator-state-mem {
                                        regulator-on-in-suspend;
                                        regulator-suspend-microvolt = <1000000>;
        };
 };
 
+&edp_panel {
+       power-supply = <&vcc_lcd>;
+};
+
 &gmac {
        phy-supply = <&vcc_phy>;
        phy-mode = "rgmii";
        rx_delay = <0x10>;
        status = "ok";
 };
+
+&lvds_panel {
+       power-supply = <&vcc_lcd>;
+};