Skip to content

Commit

Permalink
Merge pull request #37 from ChinYikMing/dt
Browse files Browse the repository at this point in the history
Suppress DTC warnings
  • Loading branch information
jserv authored Jan 14, 2024
2 parents 0252892 + 2600bf8 commit e788620
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions minimal.dts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
model = "semu";

aliases {
serial0 = "/soc/serial@4000000";
serial0 = "/soc@F0000000/serial@4000000";
};

chosen {
Expand All @@ -28,6 +28,7 @@
mmu-type = "riscv,rv32";
cpu0_intc: interrupt-controller {
#interrupt-cells = <1>;
#address-cells = <0>;
interrupt-controller;
compatible = "riscv,cpu-intc";
};
Expand All @@ -40,7 +41,7 @@
reg-names = "sram0";
};

soc {
soc: soc@F0000000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
Expand Down

0 comments on commit e788620

Please sign in to comment.