rk312x box: enable gpio_poweroff driver
authorsmj <smj@rock-chips.com>
Fri, 17 Oct 2014 07:59:04 +0000 (15:59 +0800)
committersmj <smj@rock-chips.com>
Fri, 17 Oct 2014 07:59:04 +0000 (15:59 +0800)
arch/arm/boot/dts/rk3128-box-rk88.dts
arch/arm/boot/dts/rk3128-box.dts

index c88546e96df98582fd4814f6711c8a991a62d21c..f129781174ab0df68b7387ce6987d699071adc4b 100755 (executable)
@@ -4,6 +4,11 @@
 
 / {
         compatible = "rockchip,rk3128";
+
+        gpio_poweroff {
+               compatible = "gpio-poweroff";
+               gpios = <&gpio1 GPIO_A2 GPIO_ACTIVE_LOW>;
+       };
        wireless-wlan {
                compatible = "wlan-platdata";
 
index 14ab4cfbfbab7a5f6a57240bf93d89db5f709418..14938de9105970359c033b00b3f01fe32ad20c19 100755 (executable)
@@ -4,6 +4,10 @@
 
 / {
         compatible = "rockchip,rk3128";
+        gpio_poweroff {
+               compatible = "gpio-poweroff";
+               gpios = <&gpio1 GPIO_A2 GPIO_ACTIVE_LOW>;
+       };
        wireless-wlan {
                compatible = "wlan-platdata";