Commit efa310ba authored by Conor Dooley's avatar Conor Dooley

riscv: dts: microchip: hook up the mpfs' l2cache

The initial PolarFire SoC devicetree must have been forked off from
the fu540 one prior to the addition of l2cache controller support being
added there. When the controller node was added to mpfs.dtsi, it was
not hooked up to the CPUs & thus sysfs reports an incorrect cache
configuration. Hook it up.

Fixes: 0fa6107e ("RISC-V: Initial DTS for Microchip ICICLE board")
Reviewed-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Reviewed-by: default avatarDaire McNamara <daire.mcnamara@microchip.com>
Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
parent 5e757ded
...@@ -50,6 +50,7 @@ cpu1: cpu@1 { ...@@ -50,6 +50,7 @@ cpu1: cpu@1 {
riscv,isa = "rv64imafdc"; riscv,isa = "rv64imafdc";
clocks = <&clkcfg CLK_CPU>; clocks = <&clkcfg CLK_CPU>;
tlb-split; tlb-split;
next-level-cache = <&cctrllr>;
status = "okay"; status = "okay";
cpu1_intc: interrupt-controller { cpu1_intc: interrupt-controller {
...@@ -77,6 +78,7 @@ cpu2: cpu@2 { ...@@ -77,6 +78,7 @@ cpu2: cpu@2 {
riscv,isa = "rv64imafdc"; riscv,isa = "rv64imafdc";
clocks = <&clkcfg CLK_CPU>; clocks = <&clkcfg CLK_CPU>;
tlb-split; tlb-split;
next-level-cache = <&cctrllr>;
status = "okay"; status = "okay";
cpu2_intc: interrupt-controller { cpu2_intc: interrupt-controller {
...@@ -104,6 +106,7 @@ cpu3: cpu@3 { ...@@ -104,6 +106,7 @@ cpu3: cpu@3 {
riscv,isa = "rv64imafdc"; riscv,isa = "rv64imafdc";
clocks = <&clkcfg CLK_CPU>; clocks = <&clkcfg CLK_CPU>;
tlb-split; tlb-split;
next-level-cache = <&cctrllr>;
status = "okay"; status = "okay";
cpu3_intc: interrupt-controller { cpu3_intc: interrupt-controller {
...@@ -131,6 +134,7 @@ cpu4: cpu@4 { ...@@ -131,6 +134,7 @@ cpu4: cpu@4 {
riscv,isa = "rv64imafdc"; riscv,isa = "rv64imafdc";
clocks = <&clkcfg CLK_CPU>; clocks = <&clkcfg CLK_CPU>;
tlb-split; tlb-split;
next-level-cache = <&cctrllr>;
status = "okay"; status = "okay";
cpu4_intc: interrupt-controller { cpu4_intc: interrupt-controller {
#interrupt-cells = <1>; #interrupt-cells = <1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment