riscv: dts: sifive: add missing compatible for plic
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Mon, 20 Sep 2021 13:04:12 +0000 (15:04 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Tue, 19 Oct 2021 08:59:57 +0000 (10:59 +0200)
Add proper compatible for Platform-Level Interrupt Controller to silence
dtbs_check warnings:

  interrupt-controller@c000000: compatible: ['sifive,plic-1.0.0'] is too short

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Tested-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Link: https://lore.kernel.org/r/20210920130412.145231-2-krzysztof.kozlowski@canonical.com
arch/riscv/boot/dts/sifive/fu540-c000.dtsi

index 7db8610534834e1272662fbd3636eef0b3a565d7..0655b5c4201d9f71b8ab829f106529393049601d 100644 (file)
                ranges;
                plic0: interrupt-controller@c000000 {
                        #interrupt-cells = <1>;
-                       compatible = "sifive,plic-1.0.0";
+                       compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0";
                        reg = <0x0 0xc000000 0x0 0x4000000>;
                        riscv,ndev = <53>;
                        interrupt-controller;