linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/85xx:  Add Cyrus board power-off and reset nodes
@ 2019-02-09 23:14 Darren Stevens
  0 siblings, 0 replies; only message in thread
From: Darren Stevens @ 2019-02-09 23:14 UTC (permalink / raw)
  To: linuxppc-dev, oss; +Cc: Christian Zigotzky

The Cyrus board from Varisys has power-off and reset functions attached
to gpio pins. Add the required device-tree bindings.

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

---

diff --git a/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts b/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts
index c603390..15e8440 100644
--- a/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts
+++ b/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts
@@ -71,6 +71,17 @@
                reg = <0x6f>;
            };
        };
+
+       gpio-poweroff {
+           compatible = "gpio-poweroff";
+           gpios = <&gpio0 3 1>;
+       };
+
+       gpio-restart {
+           compatible = "gpio-restart";
+           gpios = <&gpio0 2 1>;
+       };
+
    };
 
    rio: rapidio@ffe0c0000 {


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

only message in thread, other threads:[~2019-02-09 23:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-09 23:14 [PATCH] powerpc/85xx: Add Cyrus board power-off and reset nodes 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).