riscv: dts: sifive: fix Unleashed board compatible
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Mon, 20 Sep 2021 13:02:45 +0000 (15:02 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Tue, 19 Oct 2021 08:59:57 +0000 (10:59 +0200)
Add missing sifive,fu540 compatible to fix dtbs_check warnings:

  arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dt.yaml: /: compatible: 'oneOf' conditional failed, one must be fixed:
  ['sifive,hifive-unleashed-a00', 'sifive,fu540-c000'] is too short
  'sifive,hifive-unleashed-a00' is not one of ['sifive,hifive-unmatched-a00']
  'sifive,fu740-c000' was expected

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/20210920130248.145058-2-krzysztof.kozlowski@canonical.com
arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts

index 633b31b..2b4af7b 100644 (file)
@@ -11,7 +11,8 @@
        #address-cells = <2>;
        #size-cells = <2>;
        model = "SiFive HiFive Unleashed A00";
-       compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000";
+       compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000",
+                    "sifive,fu540";
 
        chosen {
                stdout-path = "serial0";