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 2a5c5a3..8474bff 100644 (file)
                        gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
                };
        };
+       gpio-poweroff {
+               compatible = "gpio-poweroff";
+               gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
+       };
 };
 
 &nand {