Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
fix(fdts/morello): fix scmi clock specifier to cluster mappings
Browse files Browse the repository at this point in the history
Fix the mapping of SCMI clock specifiers to the clusters they drive.
Also, add CPU cores to cluster mappings.

Signed-off-by: Anurag Koul <anurag.koul@arm.com>
Change-Id: I230bea5614de4e29b54e1686b31bf01c0b6aa86c
  • Loading branch information
anukou committed Jun 16, 2021
1 parent b085b99 commit 387a906
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions fdts/morello-fvp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};
};

Expand Down

0 comments on commit 387a906

Please sign in to comment.