From: Chris Paterson <chris.paterson2-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
To: Simon Horman <horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
Cc: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
Magnus Damm <magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Russell King <linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org>,
Fabrizio Castro
<fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
Chris Paterson
<chris.paterson2-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
Subject: [PATCH 1/8] ARM: dts: r8a7745: Add APMU node and second CPU core
Date: Wed, 13 Sep 2017 18:05:34 +0100 [thread overview]
Message-ID: <1505322341-9480-2-git-send-email-chris.paterson2@renesas.com> (raw)
In-Reply-To: <1505322341-9480-1-git-send-email-chris.paterson2-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
From: Fabrizio Castro <fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
Add DT node for the Advanced Power Management Unit (APMU), add the
second CPU core, and use "renesas,apmu" as "enable-method".
Signed-off-by: Fabrizio Castro <fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
Signed-off-by: Chris Paterson <chris.paterson2-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
---
This patch is based on renesas-devel-20170913-v4.13.
arch/arm/boot/dts/r8a7745.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi
index 6e82991..8ed2ac5 100644
--- a/arch/arm/boot/dts/r8a7745.dtsi
+++ b/arch/arm/boot/dts/r8a7745.dtsi
@@ -30,6 +30,7 @@
cpus {
#address-cells = <1>;
#size-cells = <0>;
+ enable-method = "renesas,apmu";
cpu0: cpu@0 {
device_type = "cpu";
@@ -41,6 +42,15 @@
next-level-cache = <&L2_CA7>;
};
+ cpu1: cpu@1 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a7";
+ reg = <1>;
+ clock-frequency = <1000000000>;
+ power-domains = <&sysc R8A7745_PD_CA7_CPU1>;
+ next-level-cache = <&L2_CA7>;
+ };
+
L2_CA7: cache-controller-0 {
compatible = "cache";
cache-unified;
@@ -57,6 +67,12 @@
#size-cells = <2>;
ranges;
+ apmu@e6151000 {
+ compatible = "renesas,r8a7745-apmu", "renesas,apmu";
+ reg = <0 0xe6151000 0 0x188>;
+ cpus = <&cpu0 &cpu1>;
+ };
+
gic: interrupt-controller@f1001000 {
compatible = "arm,gic-400";
#interrupt-cells = <3>;
--
1.9.1
--
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:[~2017-09-13 17:05 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-13 17:05 [PATCH 0/8] ARM: renesas: Latest r8a774[35] dts updates Chris Paterson
2017-09-13 17:05 ` [PATCH 2/8] ARM: dts: r8a7745: Add SDHI controllers Chris Paterson
2017-09-15 7:54 ` Simon Horman
2017-09-15 15:39 ` Chris Paterson
[not found] ` <1505322341-9480-1-git-send-email-chris.paterson2-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2017-09-13 17:05 ` Chris Paterson [this message]
[not found] ` <1505322341-9480-2-git-send-email-chris.paterson2-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2017-09-15 7:45 ` [PATCH 1/8] ARM: dts: r8a7745: Add APMU node and second CPU core Simon Horman
[not found] ` <20170915074551.GF3924-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
2017-09-15 8:05 ` Geert Uytterhoeven
[not found] ` <CAMuHMdWrMiHQz_Tadh3R00n+zeSnGOW-o=skbK-R-yD6Z-x2+A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-09-15 8:57 ` Fabrizio Castro
2017-09-15 11:06 ` Simon Horman
[not found] ` <20170915110609.GL3924-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
2017-12-06 10:30 ` Geert Uytterhoeven
[not found] ` <CAMuHMdUuF4kwUiUYCbSew3W0Pa2CfRdCijefbOO1ZYAbnyG3KA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-12-06 11:21 ` Fabrizio Castro
2017-12-06 11:59 ` Fabrizio Castro
2017-09-19 15:03 ` Geert Uytterhoeven
2017-09-13 17:05 ` [PATCH 3/8] ARM: dts: iwg22m: Enable SDHI1 controller Chris Paterson
[not found] ` <1505322341-9480-4-git-send-email-chris.paterson2-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2017-09-15 8:11 ` Simon Horman
[not found] ` <20170915081144.GI3924-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
2017-09-20 11:16 ` Geert Uytterhoeven
2017-09-20 13:05 ` Chris Paterson
2017-09-21 8:31 ` Simon Horman
2017-09-21 8:38 ` Simon Horman
2017-09-20 13:06 ` Chris Paterson
[not found] ` <TY1PR06MB07024A3CACDC8399EE8F6C62B7610-/PRLmSCtZ14u2TXDOttQZW0DtJ1/0DrXvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-09-21 8:37 ` Simon Horman
2017-09-13 17:05 ` [PATCH 4/8] ARM: dts: iwg22d: Enable SDHI0 controller Chris Paterson
2017-09-15 8:05 ` Simon Horman
2017-09-18 16:26 ` Fabrizio Castro
[not found] ` <20170915080530.GH3924-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
2017-09-20 17:17 ` Fabrizio Castro
2017-09-20 11:40 ` Geert Uytterhoeven
2017-09-21 8:38 ` Simon Horman
2017-09-21 8:42 ` Simon Horman
2017-09-21 8:53 ` Fabrizio Castro
[not found] ` <TY1PR06MB089549AB7DCF1C03605EF421C0660-/PRLmSCtZ16EeHdvShrxA20DtJ1/0DrXvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-09-21 9:03 ` Simon Horman
2017-09-22 6:52 ` Chris Paterson
2017-09-22 13:01 ` [PATCH v2] " Fabrizio Castro
[not found] ` <1506085262-13639-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
2017-09-22 13:33 ` Fabrizio Castro
2017-09-25 7:18 ` Simon Horman
2017-09-25 7:25 ` Chris Paterson
2017-09-22 14:21 ` Geert Uytterhoeven
2017-09-13 17:05 ` [PATCH 5/8] ARM: dts: r8a7743: Add QSPI support Chris Paterson
2017-09-19 15:09 ` Geert Uytterhoeven
2017-09-21 8:39 ` Simon Horman
2017-09-13 17:05 ` [PATCH 6/8] ARM: dts: iwg20m: Add SPI NOR support Chris Paterson
2017-09-15 8:35 ` Simon Horman
2017-09-15 15:12 ` Chris Paterson
2017-09-21 8:41 ` Simon Horman
[not found] ` <1505322341-9480-7-git-send-email-chris.paterson2-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2017-09-20 11:10 ` Geert Uytterhoeven
2017-09-13 17:05 ` [PATCH 7/8] ARM: dts: r8a7745: Add QSPI support Chris Paterson
[not found] ` <1505322341-9480-8-git-send-email-chris.paterson2-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2017-09-19 15:10 ` Geert Uytterhoeven
[not found] ` <CAMuHMdXbOYHh9x5HtCtNRuS3qrE_mkUVwbxgOs6eAD=Ju38DMw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-09-21 8:45 ` Simon Horman
2017-09-13 17:05 ` [PATCH 8/8] ARM: drs: iwg22m: Add SPI NOR support Chris Paterson
2017-09-14 7:07 ` Biju Das
2017-09-20 11:10 ` Geert Uytterhoeven
[not found] ` <CAMuHMdW2_Tz6Mu7bwTXiAuyyeUvJTFrbyMAnxCi+Nj7ig65Ong-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-09-21 8:47 ` Simon Horman
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=1505322341-9480-2-git-send-email-chris.paterson2@renesas.com \
--to=chris.paterson2-zm6kxycvzfbbdgjk7y7tuq@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org \
--cc=horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org \
--cc=linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@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).