diff options
author | 2019-06-12 15:20:52 +0100 | |
---|---|---|
committer | 2019-06-18 12:41:49 +0200 | |
commit | 7b996955e514bd3639419c1e725bc3b69c96bd05 (patch) | |
tree | 0bf98cf31c79b3155ef58b7fbe2289f7a7561a89 | |
parent | arm64: dts: renesas: hihope-common: Add LEDs support (diff) | |
download | wireguard-linux-7b996955e514bd3639419c1e725bc3b69c96bd05.tar.xz wireguard-linux-7b996955e514bd3639419c1e725bc3b69c96bd05.zip |
arm64: dts: renesas: r8a774a1: Add CPU topology on r8a774a1 SoC
This patch adds the "cpu-map" into r8a774a1 composed of multi-cluster. This
definition is used to parse the cpu topology.
Based on work by Gaku Inami <gaku.inami.xw@bp.renesas.com> for r8a7796 SoC.
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm64/boot/dts/renesas/r8a774a1.dtsi | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/r8a774a1.dtsi b/arch/arm64/boot/dts/renesas/r8a774a1.dtsi index f4aeb9bdeeb0..b06d7149e5fa 100644 --- a/arch/arm64/boot/dts/renesas/r8a774a1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774a1.dtsi @@ -102,6 +102,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"; reg = <0x0>; |