devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gaku Inami <gaku.inami.xh@renesas.com>
To: horms@verge.net.au, magnus.damm@gmail.com, robh+dt@kernel.org,
	mark.rutland@arm.com
Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Gaku Inami <gaku.inami.xh@renesas.com>
Subject: [PATCH 2/5] arm64: dts: renesas: r8a7796: Add multi-cluster definition
Date: Tue, 27 Feb 2018 11:19:52 +0900	[thread overview]
Message-ID: <1519697995-6061-3-git-send-email-gaku.inami.xh@renesas.com> (raw)
In-Reply-To: <1519697995-6061-1-git-send-email-gaku.inami.xh@renesas.com>

This patch adds the "cpu-map" for multi-cluster into r8a7796
device-tree. This definition is used to parse the cpu topology.

Signed-off-by: Gaku Inami <gaku.inami.xh@renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a7796.dtsi | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
index f8e9313..154df9b 100644
--- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi
@@ -64,6 +64,32 @@
 		#address-cells = <1>;
 		#size-cells = <0>;
 
+		cpu-map {
+			cluster0 {
+				core0 {
+					cpu = <&a57_0>;
+				};
+				core1 {
+					cpu = <&a57_1>;
+				};
+			};
+
+			cluster1 {
+				core0 {
+					cpu = <&a53_0>;
+				};
+				core1 {
+					cpu = <&a53_1>;
+				};
+				core2 {
+					cpu = <&a53_2>;
+				};
+				core3 {
+					cpu = <&a53_3>;
+				};
+			};
+		};
+
 		a57_0: cpu@0 {
 			compatible = "arm,cortex-a57", "arm,armv8";
 			reg = <0x0>;
-- 
2.7.4

  parent reply	other threads:[~2018-02-27  2:19 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-27  2:19 [PATCH 0/5] Optimization with aware of cpu capacity for R-Car Gen3 Gaku Inami
2018-02-27  2:19 ` [PATCH 1/5] arm64: dts: renesas: r8a7795: Add multi-cluster definition Gaku Inami
2018-03-05 10:37   ` Geert Uytterhoeven
2018-02-27  2:19 ` Gaku Inami [this message]
2018-03-05 10:38   ` [PATCH 2/5] arm64: dts: renesas: r8a7796: " Geert Uytterhoeven
2018-02-27  2:19 ` [PATCH 3/5] arm64: dts: renesas: r8a7795: Add cpu capacity-dmips-mhz Gaku Inami
2018-03-05 10:23   ` Geert Uytterhoeven
2018-03-07  1:48     ` Gaku Inami
2018-03-07  7:47       ` Geert Uytterhoeven
2018-03-07  8:11         ` Simon Horman
2018-03-07  8:23           ` Gaku Inami
2018-02-27  2:19 ` [PATCH 4/5] arm64: dts: renesas: r8a7796: " Gaku Inami
2018-03-05 10:24   ` Geert Uytterhoeven
2018-02-27  2:19 ` [PATCH 5/5] soc: renesas: rcar-topology: Add support to be aware cpu capacity Gaku Inami
2018-03-05 10:46   ` Geert Uytterhoeven
2018-03-06  5:11     ` Gaku Inami

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=1519697995-6061-3-git-send-email-gaku.inami.xh@renesas.com \
    --to=gaku.inami.xh@renesas.com \
    --cc=devicetree@vger.kernel.org \
    --cc=horms@verge.net.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.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).