Skip to content

Commit f14753a

Browse files
krzkConchuOD
authored andcommitted
riscv: dts: microchip: add missing compatibles for clint and plic
The Microchip Icicle kit uses SiFive E51 and U54 cores, so it looks that also Core Local Interruptor and Platform-Level Interrupt Controller are coming from SiFive. Add proper compatibles to silence dtbs_check warnings: clint@2000000: compatible:0: 'sifive,clint0' is not one of ['sifive,fu540-c000-clint', 'canaan,k210-clint'] interrupt-controller@c000000: compatible:0: 'sifive,plic-1.0.0' is not one of ['sifive,fu540-c000-plic', 'canaan,k210-plic'] Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20210920130412.145231-1-krzysztof.kozlowski@canonical.com
1 parent 111af08 commit f14753a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
};
159159

160160
clint@2000000 {
161-
compatible = "sifive,clint0";
161+
compatible = "sifive,fu540-c000-clint", "sifive,clint0";
162162
reg = <0x0 0x2000000 0x0 0xC000>;
163163
interrupts-extended = <&cpu0_intc 3 &cpu0_intc 7
164164
&cpu1_intc 3 &cpu1_intc 7
@@ -169,7 +169,7 @@
169169

170170
plic: interrupt-controller@c000000 {
171171
#interrupt-cells = <1>;
172-
compatible = "sifive,plic-1.0.0";
172+
compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0";
173173
reg = <0x0 0xc000000 0x0 0x4000000>;
174174
riscv,ndev = <186>;
175175
interrupt-controller;

0 commit comments

Comments
 (0)