From 387a9065a271ecde0e47dc5a9f9d037637502beb Mon Sep 17 00:00:00 2001 From: Anurag Koul Date: Wed, 5 May 2021 02:32:55 +0100 Subject: [PATCH] fix(fdts/morello): fix scmi clock specifier to cluster mappings Fix the mapping of SCMI clock specifiers to the clusters they drive. Also, add CPU cores to cluster mappings. Signed-off-by: Anurag Koul Change-Id: I230bea5614de4e29b54e1686b31bf01c0b6aa86c --- fdts/morello-fvp.dts | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/fdts/morello-fvp.dts b/fdts/morello-fvp.dts index 4f6c8a743..55c87bfc0 100644 --- a/fdts/morello-fvp.dts +++ b/fdts/morello-fvp.dts @@ -27,33 +27,52 @@ cpus { #address-cells = <2>; #size-cells = <0>; - cpu0@0 { + + cpu-map { + cluster0 { + core0 { + cpu = <&CPU0>; + }; + core1 { + cpu = <&CPU1>; + }; + }; + cluster1 { + core0 { + cpu = <&CPU2>; + }; + core1 { + cpu = <&CPU3>; + }; + }; + }; + CPU0: cpu0@0 { compatible = "arm,armv8"; reg = <0x0 0x0>; device_type = "cpu"; enable-method = "psci"; clocks = <&scmi_dvfs 0>; }; - cpu1@100 { + CPU1: cpu1@100 { compatible = "arm,armv8"; reg = <0x0 0x100>; device_type = "cpu"; enable-method = "psci"; clocks = <&scmi_dvfs 0>; }; - cpu2@10000 { + CPU2: cpu2@10000 { compatible = "arm,armv8"; reg = <0x0 0x10000>; device_type = "cpu"; enable-method = "psci"; - clocks = <&scmi_dvfs 0>; + clocks = <&scmi_dvfs 1>; }; - cpu3@10100 { + CPU3: cpu3@10100 { compatible = "arm,armv8"; reg = <0x0 0x10100>; device_type = "cpu"; enable-method = "psci"; - clocks = <&scmi_dvfs 0>; + clocks = <&scmi_dvfs 1>; }; };