arm64: dts: rk3399-mid: rk818 enabled boost_otg fix ota vcc5v poweroff when susppend
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / boot / dts / rockchip / rk3368-p9.dts
index 4928e62916f109b9186e694d2b882f4db887dbb1..8a46d5ab9ac8e6d9a6373756a0fbf6e9855a038e 100644 (file)
@@ -88,7 +88,7 @@
 
        backlight: backlight {
                compatible = "pwm-backlight";
-               pwms = <&pwm0 0 25000 PWM_POLARITY_INVERTED>;
+               pwms = <&pwm0 0 25000 0>;
                brightness-levels = <
                          0   1   2   3   4   5   6   7
                          8   9  10  11  12  13  14  15
 &emmc {
        bus-width = <8>;
        cap-mmc-highspeed;
+       mmc-hs200-1_8v;
        supports-emmc;
        disable-wp;
        non-removable;
                compatible = "rockchip,rk818";
                status = "okay";
                reg = <0x1c>;
-               clock-output-names = "rk808-clkout1", "wifibt_32kin";
+               clock-output-names = "xin32k", "wifibt_32kin";
                interrupt-parent = <&gpio0>;
                interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
                pinctrl-names = "default";
                                        regulator-on-in-suspend;
                                };
                        };
+
+                       boost_otg: DCDC_BOOST {
+                               regulator-name = "boost_otg";
+                               regulator-always-on;
+                               regulator-boot-on;
+                               regulator-min-microvolt = <5000000>;
+                               regulator-max-microvolt = <5000000>;
+                               regulator-state-mem {
+                                       regulator-on-in-suspend;
+                                       regulator-suspend-microvolt = <5000000>;
+                               };
+                       };
                };
 
                battery {
        status = "okay";
 };
 
+&tsadc {
+       tsadc-supply = <&syr827>;
+       status = "okay";
+};
+
 &pinctrl {
        pmic {
                pmic_int_l: pmic-int-l {