Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10baed1c authored by Jon Mason's avatar Jon Mason Committed by Florian Fainelli
Browse files

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: default avatarJon Mason <jon.mason@broadcom.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent b1aaf88b
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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 {