From: Andy Fleming <afleming@gmail.com>
To: linuxppc-dev@lists.ozlabs.org, scottwood@freescale.com
Cc: aperez@alexperez.com
Subject: [PATCH v2 1/3] cyrus: Add poweroff/reset support
Date: Sun, 23 Oct 2016 18:48:37 -0500 [thread overview]
Message-ID: <1477266519-25173-1-git-send-email-afleming@gmail.com> (raw)
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
next reply other threads:[~2016-10-23 23:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-23 23:48 Andy Fleming [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1477266519-25173-1-git-send-email-afleming@gmail.com \
--to=afleming@gmail.com \
--cc=aperez@alexperez.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=scottwood@freescale.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.