ARM: dts: add gpio_poweroff support for Iomega ix2-200
authorRichard Kunze <richard.kunze@web.de>
Wed, 10 Dec 2014 18:40:41 +0000 (19:40 +0100)
committerAndrew Lunn <andrew@lunn.ch>
Sun, 21 Dec 2014 12:38:54 +0000 (06:38 -0600)
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 <richard.kunze@web.de>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts

index 2a5c5a33db0c79adf18769e9abd838dbe54b5124..8474bffec0ca43870b47d6d9cf2bca8d2b077bd3 100644 (file)
                        gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
                };
        };
+       gpio-poweroff {
+               compatible = "gpio-poweroff";
+               gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
+       };
 };
 
 &nand {