Skip to content

Commit 8fc6e62

Browse files
geertupalmer-dabbelt
authored andcommitted
riscv: dts: sifive: fu540-c000: Drop bogus soc node compatible values
"make dtbs_check": arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dt.yaml: soc: $nodename:0: '/' was expected From schema: Documentation/devicetree/bindings/riscv/sifive.yaml arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dt.yaml: soc: compatible: 'oneOf' conditional failed, one must be fixed: 'sifive,fu540-c000' is not one of ['sifive,hifive-unleashed-a00'] 'sifive,fu540-c000' is not one of ['sifive,hifive-unmatched-a00'] 'sifive,fu540-c000' was expected 'sifive,fu740-c000' was expected 'sifive,fu540' was expected 'sifive,fu740' was expected From schema: Documentation/devicetree/bindings/riscv/sifive.yaml This happens because the "soc" subnode declares compatibility with "sifive,fu540-c000" and "sifive,fu540", while these are only intended for the root node. Fix this by removing the bogus compatible values from the "soc" node. Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 8e9b1c9 commit 8fc6e62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/boot/dts/sifive/fu540-c000.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
soc {
138138
#address-cells = <2>;
139139
#size-cells = <2>;
140-
compatible = "sifive,fu540-c000", "sifive,fu540", "simple-bus";
140+
compatible = "simple-bus";
141141
ranges;
142142
plic0: interrupt-controller@c000000 {
143143
#interrupt-cells = <1>;

0 commit comments

Comments
 (0)