summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/tegra124-nyan.dtsi
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2015-03-18 10:52:26 +0100
committerThierry Reding <treding@nvidia.com>2015-03-24 10:51:48 +0100
commit1755de860b0f000d262d6ea326a14afa036b654d (patch)
tree029093f3275135b7d21b72460ed11605eaf854de /arch/arm/boot/dts/tegra124-nyan.dtsi
parent97e147e86b87bb2ab8be46c5e388c8058eda56d6 (diff)
ARM: tegra: nyan: Add gpio-restart node
The Nyan Chromebooks have a GPIO line dedicated to restarting the system. Using this line will make sure that the TPM is restarted as well. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Acked-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra124-nyan.dtsi')
-rw-r--r--arch/arm/boot/dts/tegra124-nyan.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra124-nyan.dtsi b/arch/arm/boot/dts/tegra124-nyan.dtsi
index 9b3fca84495e..0b130cbc88eb 100644
--- a/arch/arm/boot/dts/tegra124-nyan.dtsi
+++ b/arch/arm/boot/dts/tegra124-nyan.dtsi
@@ -683,6 +683,12 @@
nvidia,mic-det-gpios =
<&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
};
+
+ gpio-restart {
+ compatible = "gpio-restart";
+ gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
+ priority = <200>;
+ };
};
#include "cros-ec-keyboard.dtsi"