diff options
author | Jon Mason <[email protected]> | 2016-08-03 14:39:01 -0400 |
---|---|---|
committer | Florian Fainelli <[email protected]> | 2016-08-08 18:41:46 -0700 |
commit | 10baed1cdfca0bd6357a3a9048e8b72c844d29ec (patch) | |
tree | a540ea0f8b0b29a5c1c6769a0f5ba57fb681a9ee | |
parent | b1aaf88bb7dc64fef21b853b404c267c7a2bc6c1 (diff) |
ARM: dts: NSP: Add GPIO reboot method to bcm958625xmc DTS file
Add the ability to reboot the bcm958625xmc board via GPIO.
Unfortunately, not all of the NSP based boards use the same GPIO pin
and one doesn't have the ability to reboot via GPIO at all. So, this
will need to be specified per DTS file.
Signed-off-by: Jon Mason <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
-rw-r--r-- | arch/arm/boot/dts/bcm958525xmc.dts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm958525xmc.dts b/arch/arm/boot/dts/bcm958525xmc.dts index 9517360fd904..959cde911c3c 100644 --- a/arch/arm/boot/dts/bcm958525xmc.dts +++ b/arch/arm/boot/dts/bcm958525xmc.dts @@ -33,6 +33,7 @@ /dts-v1/; #include "bcm-nsp.dtsi" +#include <dt-bindings/gpio/gpio.h> / { model = "NorthStar Plus XMC (BCM958525xmc)"; @@ -50,6 +51,12 @@ device_type = "memory"; reg = <0x60000000 0x40000000>; }; + + gpio-restart { + compatible = "gpio-restart"; + gpios = <&gpioa 31 GPIO_ACTIVE_LOW>; + priority = <200>; + }; }; &i2c0 { |