Re: [PATCH 1/5] arm64: dts: renesas: r8a7795: Add multi-cluster definition
On Tue, Feb 27, 2018 at 3:19 AM, Gaku Inamiwrote: > This patch adds the "cpu-map" for multi-cluster into r8a7795 > device-tree. This definition is used to parse the cpu topology. > > Signed-off-by: Gaku Inami Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
[PATCH 1/5] arm64: dts: renesas: r8a7795: Add multi-cluster definition
This patch adds the "cpu-map" for multi-cluster into r8a7795 device-tree. This definition is used to parse the cpu topology. Signed-off-by: Gaku Inami--- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index ce85704..ffcc91e 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -34,6 +34,38 @@ #address-cells = <1>; #size-cells = <0>; + cpu-map { + cluster0 { + core0 { + cpu = <_0>; + }; + core1 { + cpu = <_1>; + }; + core2 { + cpu = <_2>; + }; + core3 { + cpu = <_3>; + }; + }; + + cluster1 { + core0 { + cpu = <_0>; + }; + core1 { + cpu = <_1>; + }; + core2 { + cpu = <_2>; + }; + core3 { + cpu = <_3>; + }; + }; + }; + a57_0: cpu@0 { compatible = "arm,cortex-a57", "arm,armv8"; reg = <0x0>; -- 2.7.4