arm64: dts: rockchip: add efuse device node for rk3328
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / boot / dts / rockchip / rk3399-evb-rev3.dtsi
index 90819898b5ae323907300288464333e9e085e59b..be7c60b1c45a588aea2bbe0a626a1f0a7e5a122b 100644 (file)
@@ -41,6 +41,7 @@
  */
 
 #include "rk3399-evb.dtsi"
+#include <dt-bindings/suspend/rockchip-rk3399.h>
 
 / {
        compatible = "rockchip,rk3399-evb-rev3", "rockchip,rk3399";
                compatible = "pwm-regulator";
                rockchip,pwm_id = <2>;
                rockchip,pwm_voltage = <900000>;
-               pwms = <&pwm2 0 25000 0>;
+               pwms = <&pwm2 0 25000 1>;
                regulator-name = "vdd_center";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1400000>;
                regulator-always-on;
                regulator-boot-on;
        };
+
+       rockchip_suspend: rockchip-suspend {
+               compatible = "rockchip,pm-rk3399";
+               status = "okay";
+               rockchip,sleep-debug-en = <1>;
+               rockchip,wakeup-config = <
+                       (0
+                       | RKPM_GPIO_WKUP_EN
+                       )
+               >;
+               rockchip,pwm-regulator-config = <
+                       (0
+                       | PWM2_REGULATOR_EN
+                       )
+               >;
+               rockchip,power-ctrl =
+                       <&gpio1 17 GPIO_ACTIVE_HIGH>;
+       };
 };
 
 &i2c0 {