Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1455971
| From | Jon Mason <jon.mason@broadcom.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 05/11] ARM: dts: NSP: Add GPIO reboot method to bcm958625hr DTS file |
| Date | 2016-08-03 21:10 +0200 |
| Message-ID | <s29Id-6D8-3@gated-at.bofh.it> (permalink) |
| References | <s29oR-6hy-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
---
arch/arm/boot/dts/bcm958625hr.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/bcm958625hr.dts b/arch/arm/boot/dts/bcm958625hr.dts
index 78970b9..d72baf7 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)";
@@ -49,6 +50,12 @@
memory {
reg = <0x60000000 0x20000000>;
};
+
+ gpio-restart {
+ compatible = "gpio-restart";
+ gpios = <&gpioa 15 GPIO_ACTIVE_LOW>;
+ priority = <200>;
+ };
};
&nand {
--
2.7.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 00/11] ARM: dts: NSP: define SATA, Reboot, RAM and new device tree files Jon Mason <jon.mason@broadcom.com> - 2016-08-03 20:50 +0200 [PATCH 09/11] ARM: dts: NSP: Add new DT file for bcm988312hr Jon Mason <jon.mason@broadcom.com> - 2016-08-03 20:50 +0200 [PATCH 03/11] ARM: dts: NSP: Specify RAM amount for BCM958625K board Jon Mason <jon.mason@broadcom.com> - 2016-08-03 20:50 +0200 [PATCH 05/11] ARM: dts: NSP: Add GPIO reboot method to bcm958625hr DTS file Jon Mason <jon.mason@broadcom.com> - 2016-08-03 21:10 +0200 [PATCH 07/11] ARM: dts: NSP: Add new DT file for bcm958525er Jon Mason <jon.mason@broadcom.com> - 2016-08-03 21:50 +0200 Re: [PATCH 00/11] ARM: dts: NSP: define SATA, Reboot, RAM and new device tree files Florian Fainelli <f.fainelli@gmail.com> - 2016-08-09 03:50 +0200
csiph-web