public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* [PATCH v2 1/3] cyrus: Add poweroff/reset support
@ 2016-10-23 23:48 Andy Fleming
  2016-10-23 23:48 ` [PATCH 2/3] 85xx: Enable gpio power/reset driver Andy Fleming
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Andy Fleming @ 2016-10-23 23:48 UTC (permalink / raw)
  To: linuxppc-dev, scottwood; +Cc: aperez

Cyrus uses GPIOs to complete board shutdown/reset.
Add nodes to indicate that support to the device tree.

Signed-off-by: Andy Fleming <afleming@gmail•com>
---
v2: No changes

 arch/powerpc/boot/dts/fsl/cyrus_p5020.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts b/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts
index c603390..e417aaa 100644
--- a/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts
+++ b/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts
@@ -150,6 +150,17 @@
 				  0 0x00010000>;
 		};
 	};
+
+        gpio-poweroff {
+                compatible = "gpio-poweroff";
+                gpios = <&gpio0 3 1>;
+        };
+
+        gpio-restart {
+                compatible = "gpio-restart";
+                gpios = <&gpio0 2 1>;
+        };
+
 };
 
 /include/ "p5020si-post.dtsi"
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-07-05 16:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-23 23:48 [PATCH v2 1/3] cyrus: Add poweroff/reset support Andy Fleming
2016-10-23 23:48 ` [PATCH 2/3] 85xx: Enable gpio power/reset driver Andy Fleming
2016-10-24 16:16   ` Cyrus_5040.dts Misisng luigi burdo
2017-07-05 15:37   ` 85xx: Enable gpio power/reset driver Darren Stevens
2016-10-23 23:48 ` [PATCH 3/3] corenet: Switch to of_platform_default_populate Andy Fleming
2016-10-24 21:43   ` Scott Wood
2016-11-23  7:00 ` [v2,1/3] cyrus: Add poweroff/reset support Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox