summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/armada-370-netgear-rn102.dts
diff options
context:
space:
mode:
authorArnaud Ebalard <arno@natisbad.org>2013-09-29 23:41:43 +0200
committerJason Cooper <jason@lakedaemon.net>2013-09-30 14:09:45 +0000
commit2832cf2558095854bcefe5a4e3690f4921f9f3a6 (patch)
treea2b1370ccbef168b00c47e934ce36f0ae1461172 /arch/arm/boot/dts/armada-370-netgear-rn102.dts
parentaa06a5adb9bbebd0d694008b74233d8db4ebfa21 (diff)
downloadop-kernel-dev-2832cf2558095854bcefe5a4e3690f4921f9f3a6.zip
op-kernel-dev-2832cf2558095854bcefe5a4e3690f4921f9f3a6.tar.gz
ARM: mvebu: Add DT entry for ReadyNAS 102 to use gpio-poweroff driver
Without that fix, at the end of the shutdown process, the board is still powered (led glowing, fan running, ...). Signed-off-by: Arnaud Ebalard <arno@natisbad.org> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/armada-370-netgear-rn102.dts')
-rw-r--r--arch/arm/boot/dts/armada-370-netgear-rn102.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-netgear-rn102.dts b/arch/arm/boot/dts/armada-370-netgear-rn102.dts
index 396949d..40e73be 100644
--- a/arch/arm/boot/dts/armada-370-netgear-rn102.dts
+++ b/arch/arm/boot/dts/armada-370-netgear-rn102.dts
@@ -57,6 +57,11 @@
marvell,pins = "mpp56";
marvell,function = "gpio";
};
+
+ poweroff: poweroff {
+ marvell,pins = "mpp8";
+ marvell,function = "gpio";
+ };
};
mdio {
@@ -176,4 +181,11 @@
};
};
+ gpio_poweroff {
+ compatible = "gpio-poweroff";
+ pinctrl-0 = <&poweroff>;
+ pinctrl-names = "default";
+ gpios = <&gpio0 8 1>;
+ };
+
};
OpenPOWER on IntegriCloud