From 60138899758aaa6b794325dd933911765a8e7ed2 Mon Sep 17 00:00:00 2001 From: Gaku Inami Date: Fri, 24 Mar 2017 18:40:28 +0900 Subject: [PATCH 86/92] arm64: dts: r8a7795-es1: Add multi-cluster definition This patch adds the "cpu-map" for multi-cluster into r8a7795-es1 device-tree. This definition is used to parse the cpu topology. Signed-off-by: Gaku Inami --- arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi index 2bf5911..a8dae60a 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi @@ -60,6 +60,38 @@ #address-cells = <1>; #size-cells = <0>; + cpu-map { + cluster0 { + core0 { + cpu = <&a57_0>; + }; + core1 { + cpu = <&a57_1>; + }; + core2 { + cpu = <&a57_2>; + }; + core3 { + cpu = <&a57_3>; + }; + }; + + 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>; -- 1.9.1