Skip to content

Commit

Permalink
riscv: dts: jh7100: fix soc node compatible
Browse files Browse the repository at this point in the history
The soc node should only have "simple-bus" in compatible. This matches
what is done for:

  microchip/microchip-mpfs.dtsi
  canaan/k210.dtsi
  sifive/fu740-c000.dtsi

This allows starfive.yaml to pass dt_binding_check without adding:

      - items:
          - const: starfive,jh7100
          - const: simple-bus

Signed-off-by: Drew Fustini <[email protected]>
  • Loading branch information
pdp7 committed Jun 16, 2021
1 parent f1f4dc8 commit 0b0891d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/riscv/boot/dts/starfive/jh7100.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
};

soc {
compatible = "starfive,jh7100", "simple-bus";
compatible = "simple-bus";
interrupt-parent = <&plic>;
#address-cells = <2>;
#size-cells = <2>;
Expand Down

0 comments on commit 0b0891d

Please sign in to comment.