Skip to content

Commit b1aaf88

Browse files
Jon Masonffainelli
authored andcommitted
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>
1 parent 70c341c commit b1aaf88

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

arch/arm/boot/dts/bcm958625hr.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
/dts-v1/;
3434

3535
#include "bcm-nsp.dtsi"
36+
#include <dt-bindings/gpio/gpio.h>
3637

3738
/ {
3839
model = "NorthStar Plus SVK (BCM958625HR)";
@@ -50,6 +51,12 @@
5051
device_type = "memory";
5152
reg = <0x60000000 0x80000000>;
5253
};
54+
55+
gpio-restart {
56+
compatible = "gpio-restart";
57+
gpios = <&gpioa 15 GPIO_ACTIVE_LOW>;
58+
priority = <200>;
59+
};
5360
};
5461

5562
&nand {

0 commit comments

Comments
 (0)