ARM: dts: imx6q-bx50v3: Add gpio power off support
authorKen Lin <ken.lin@advantech.com.tw>
Wed, 22 Jun 2016 14:25:56 +0000 (10:25 -0400)
committerShawn Guo <shawnguo@kernel.org>
Tue, 28 Jun 2016 01:54:10 +0000 (09:54 +0800)
bx50v3 boards can be powered off via GPIO, this patch specifies the GPIO to
be used with the gpio-poweroff driver.

Signed-off-by: Ken Lin <ken.lin@advantech.com.tw>
Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6q-bx50v3.dtsi

index bb66dfd..cf3fd31 100644 (file)
                };
        };
 
+       gpio-poweroff {
+               compatible = "gpio-poweroff";
+               gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
+               status = "okay";
+       };
+
        reg_wl18xx_vmmc: regulator-wl18xx {
                compatible = "regulator-fixed";
                regulator-name = "vwl1807";