diff options
author | Jon Mason <jon.mason@broadcom.com> | 2016-08-03 14:39:00 -0400 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2016-08-08 18:41:46 -0700 |
commit | b1aaf88bb7dc64fef21b853b404c267c7a2bc6c1 (patch) | |
tree | 3aebdda3ea0b01bf568046399d59ebc0627aa6f1 /arch/arm/boot/dts/bcm958625hr.dts | |
parent | 70c341cfe9939174c1b9960eba55bc6012556afc (diff) | |
download | lwn-b1aaf88bb7dc64fef21b853b404c267c7a2bc6c1.tar.gz lwn-b1aaf88bb7dc64fef21b853b404c267c7a2bc6c1.zip |
ARM: dts: NSP: Add GPIO reboot method to bcm958625hr DTS file
Add the ability to reboot the bcm958625hr 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 <jon.mason@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm958625hr.dts')
-rw-r--r-- | arch/arm/boot/dts/bcm958625hr.dts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm958625hr.dts b/arch/arm/boot/dts/bcm958625hr.dts index 0059d9fb6026..442002597063 100644 --- a/arch/arm/boot/dts/bcm958625hr.dts +++ b/arch/arm/boot/dts/bcm958625hr.dts @@ -33,6 +33,7 @@ /dts-v1/; #include "bcm-nsp.dtsi" +#include <dt-bindings/gpio/gpio.h> / { model = "NorthStar Plus SVK (BCM958625HR)"; @@ -50,6 +51,12 @@ device_type = "memory"; reg = <0x60000000 0x80000000>; }; + + gpio-restart { + compatible = "gpio-restart"; + gpios = <&gpioa 15 GPIO_ACTIVE_LOW>; + priority = <200>; + }; }; &nand { |