linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/5] powerpc/mpc85xx: Add Cyrus Power-off and reset
@ 2020-05-07 21:13 Darren Stevens
  0 siblings, 0 replies; only message in thread
From: Darren Stevens @ 2020-05-07 21:13 UTC (permalink / raw)
  To: linuxppc-dev, oss; +Cc: chzigotzky

The Cyrus board has GPIO connected power-off and reset, add device tree
nodes describing them.

Signed-off-by: Darren Stevens <darren@stevens-zone.net>

---

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

diff --git a/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts
b/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts index bdf0405..f0548fe
100644 --- a/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts
+++ b/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts
@@ -73,6 +73,16 @@
 			};
 		};
 
+		gpio-poweroff {
+			compatible = "gpio-poweroff";
+			gpios = <&gpio0 3 1>;
+		};
+
+		gpio-restart {
+			compatible = "gpio-restart";
+			gpios = <&gpio0 2 1>;
+		};
+
 		fman@400000 {
 			mdio@e1120 {
 				phy3: ethernet-phy@3 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-07 21:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-07 21:13 [PATCH 3/5] powerpc/mpc85xx: Add Cyrus Power-off and reset Darren Stevens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).