aboutsummaryrefslogtreecommitdiffstats
path: root/arch/riscv/boot/dts/microchip/mpfs.dtsi
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2022-06-29 21:07:33 +0100
committerConor Dooley <conor.dooley@microchip.com>2022-07-05 16:54:03 +0100
commitefa310ba00716d7a872bdc5fa1f5545edc9efd69 (patch)
treed981f72721ced66dad5c753b2a1b88a8cb703811 /arch/riscv/boot/dts/microchip/mpfs.dtsi
parentriscv: dts: microchip: re-add pdma to mpfs device tree (diff)
downloadlinux-dev-efa310ba00716d7a872bdc5fa1f5545edc9efd69.tar.xz
linux-dev-efa310ba00716d7a872bdc5fa1f5545edc9efd69.zip
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: 0fa6107eca41 ("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>
Diffstat (limited to '')
-rw-r--r--arch/riscv/boot/dts/microchip/mpfs.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/microchip/mpfs.dtsi b/arch/riscv/boot/dts/microchip/mpfs.dtsi
index 3095d08453a1..496d3b7642bd 100644
--- a/arch/riscv/boot/dts/microchip/mpfs.dtsi
+++ b/arch/riscv/boot/dts/microchip/mpfs.dtsi
@@ -50,6 +50,7 @@
riscv,isa = "rv64imafdc";
clocks = <&clkcfg CLK_CPU>;
tlb-split;
+ next-level-cache = <&cctrllr>;
status = "okay";
cpu1_intc: interrupt-controller {
@@ -77,6 +78,7 @@
riscv,isa = "rv64imafdc";
clocks = <&clkcfg CLK_CPU>;
tlb-split;
+ next-level-cache = <&cctrllr>;
status = "okay";
cpu2_intc: interrupt-controller {
@@ -104,6 +106,7 @@
riscv,isa = "rv64imafdc";
clocks = <&clkcfg CLK_CPU>;
tlb-split;
+ next-level-cache = <&cctrllr>;
status = "okay";
cpu3_intc: interrupt-controller {
@@ -131,6 +134,7 @@
riscv,isa = "rv64imafdc";
clocks = <&clkcfg CLK_CPU>;
tlb-split;
+ next-level-cache = <&cctrllr>;
status = "okay";
cpu4_intc: interrupt-controller {
#interrupt-cells = <1>;