From: Tai Nguyen <ttnguyen-qTEPVZfXA3Y@public.gmane.org>
To: linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
patches-qTEPVZfXA3Y@public.gmane.org
Cc: ttnguyen-qTEPVZfXA3Y@public.gmane.org,
Feng Kan <fkan-qTEPVZfXA3Y@public.gmane.org>
Subject: [PATCH 1/2] power: reset: Add syscon reboot device node for APM X-Gene platform
Date: Fri, 1 May 2015 13:11:13 -0700 [thread overview]
Message-ID: <1430511074-32229-2-git-send-email-ttnguyen@apm.com> (raw)
In-Reply-To: <1430511074-32229-1-git-send-email-ttnguyen-qTEPVZfXA3Y@public.gmane.org>
This patch adds syscon reboot device node to support reboot feature on APM X-Gene platform
Signed-off-by: Feng Kan <fkan-qTEPVZfXA3Y@public.gmane.org>
Signed-off-by: Tai Nguyen <ttnguyen-qTEPVZfXA3Y@public.gmane.org>
---
arch/arm64/boot/dts/apm/apm-storm.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index c8d3e0e..16efcf7 100644
--- a/arch/arm64/boot/dts/apm/apm-storm.dtsi
+++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi
@@ -710,5 +710,17 @@
dma-coherent;
clocks = <&dmaclk 0>;
};
+
+ scu: system-clk-controller@17000000 {
+ compatible = "apm,xgene-scu","syscon";
+ reg = <0x0 0x17000000 0x0 0x400>;
+ };
+
+ reboot: reboot@17000014 {
+ compatible = "syscon-reboot";
+ regmap = <&scu>;
+ offset = <0x14>;
+ mask = <0x1>;
+ };
};
};
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-05-01 20:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-01 20:11 [PATCH 0/2] power: reset: Add syscon reboot/poweroff device nodes for APM X-Gene platform Tai Nguyen
[not found] ` <1430511074-32229-1-git-send-email-ttnguyen-qTEPVZfXA3Y@public.gmane.org>
2015-05-01 20:11 ` Tai Nguyen [this message]
2015-05-01 20:11 ` [PATCH 2/2] power: reset: Add syscon poweroff device node " Tai Nguyen
2015-05-11 19:15 ` [PATCH 0/2] power: reset: Add syscon reboot/poweroff device nodes " Tai Tri Nguyen
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=1430511074-32229-2-git-send-email-ttnguyen@apm.com \
--to=ttnguyen-qtepvzfxa3y@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=fkan-qTEPVZfXA3Y@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=patches-qTEPVZfXA3Y@public.gmane.org \
/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 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).