Commit b1aaf88b authored by Jon Mason's avatar Jon Mason Committed by Florian Fainelli

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: default avatarJon Mason <jon.mason@broadcom.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 70c341cf
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
/dts-v1/; /dts-v1/;
#include "bcm-nsp.dtsi" #include "bcm-nsp.dtsi"
#include <dt-bindings/gpio/gpio.h>
/ { / {
model = "NorthStar Plus SVK (BCM958625HR)"; model = "NorthStar Plus SVK (BCM958625HR)";
...@@ -50,6 +51,12 @@ memory { ...@@ -50,6 +51,12 @@ memory {
device_type = "memory"; device_type = "memory";
reg = <0x60000000 0x80000000>; reg = <0x60000000 0x80000000>;
}; };
gpio-restart {
compatible = "gpio-restart";
gpios = <&gpioa 15 GPIO_ACTIVE_LOW>;
priority = <200>;
};
}; };
&nand { &nand {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment