Skip to content

Commit efa310b

Browse files
committed
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: 0fa6107 ("RISC-V: Initial DTS for Microchip ICICLE board") Reviewed-by: Sudeep Holla <sudeep.holla@arm.com> Reviewed-by: Daire McNamara <daire.mcnamara@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent 5e757de commit efa310b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/riscv/boot/dts/microchip/mpfs.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
riscv,isa = "rv64imafdc";
5151
clocks = <&clkcfg CLK_CPU>;
5252
tlb-split;
53+
next-level-cache = <&cctrllr>;
5354
status = "okay";
5455

5556
cpu1_intc: interrupt-controller {
@@ -77,6 +78,7 @@
7778
riscv,isa = "rv64imafdc";
7879
clocks = <&clkcfg CLK_CPU>;
7980
tlb-split;
81+
next-level-cache = <&cctrllr>;
8082
status = "okay";
8183

8284
cpu2_intc: interrupt-controller {
@@ -104,6 +106,7 @@
104106
riscv,isa = "rv64imafdc";
105107
clocks = <&clkcfg CLK_CPU>;
106108
tlb-split;
109+
next-level-cache = <&cctrllr>;
107110
status = "okay";
108111

109112
cpu3_intc: interrupt-controller {
@@ -131,6 +134,7 @@
131134
riscv,isa = "rv64imafdc";
132135
clocks = <&clkcfg CLK_CPU>;
133136
tlb-split;
137+
next-level-cache = <&cctrllr>;
134138
status = "okay";
135139
cpu4_intc: interrupt-controller {
136140
#interrupt-cells = <1>;

0 commit comments

Comments
 (0)