From: Richard Kunze Date: Wed, 10 Dec 2014 18:40:41 +0000 (+0100) Subject: ARM: dts: add gpio_poweroff support for Iomega ix2-200 X-Git-Tag: MMI-PSA29.97-13-9~10614^2~21^2~16 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1701308a6e2407e144cb5af729e5b51731a3957d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ARM: dts: add gpio_poweroff support for Iomega ix2-200 Iomega ix2-200 can be powered off via GPIO 0 pin 17, this patch wires up the gpio-poweroff driver to do it. Signed-off-by: Richard Kunze Acked-by: Andrew Lunn Signed-off-by: Andrew Lunn --- diff --git a/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts b/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts index 2a5c5a33db0c..8474bffec0ca 100644 --- a/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts +++ b/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts @@ -169,6 +169,10 @@ gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; }; }; + gpio-poweroff { + compatible = "gpio-poweroff"; + gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; + }; }; &nand {