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>
This commit is contained in:
Tomeu Vizoso 2015-03-18 10:52:26 +01:00 committed by Thierry Reding
parent 97e147e86b
commit 1755de860b

View File

@ -683,6 +683,12 @@
nvidia,mic-det-gpios = nvidia,mic-det-gpios =
<&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>; <&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" #include "cros-ec-keyboard.dtsi"