Skip to content

Commit

Permalink
riscv: dts: microchip: use an mpfs specific l2 compatible
Browse files Browse the repository at this point in the history
[ Upstream commit 0dec364 ]

PolarFire SoC does not have the same l2 cache controller as the fu540,
featuring an extra interrupt. Appease the devicetree checker overlords
by adding a PolarFire SoC specific compatible to fix the below sort of
warnings:

mpfs-polarberry.dtb: cache-controller@2010000: interrupts: [[1], [3], [4], [2]] is too long

Fixes: 0fa6107 ("RISC-V: Initial DTS for Microchip ICICLE board")
Fixes: 34fc9cc ("riscv: dts: microchip: correct L2 cache interrupts")
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
ConchuOD authored and gregkh committed Sep 15, 2022
1 parent 94ed8ee commit 8acba0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/riscv/boot/dts/microchip/mpfs.dtsi
Expand Up @@ -161,7 +161,7 @@
ranges;

cctrllr: cache-controller@2010000 {
compatible = "sifive,fu540-c000-ccache", "cache";
compatible = "microchip,mpfs-ccache", "sifive,fu540-c000-ccache", "cache";
reg = <0x0 0x2010000 0x0 0x1000>;
cache-block-size = <64>;
cache-level = <2>;
Expand Down

0 comments on commit 8acba0b

Please sign in to comment.