Skip to content

Commit e788620

Browse files
authored
Merge pull request #37 from ChinYikMing/dt
Suppress DTC warnings
2 parents 0252892 + 2600bf8 commit e788620

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

minimal.dts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
model = "semu";
77

88
aliases {
9-
serial0 = "/soc/serial@4000000";
9+
serial0 = "/soc@F0000000/serial@4000000";
1010
};
1111

1212
chosen {
@@ -28,6 +28,7 @@
2828
mmu-type = "riscv,rv32";
2929
cpu0_intc: interrupt-controller {
3030
#interrupt-cells = <1>;
31+
#address-cells = <0>;
3132
interrupt-controller;
3233
compatible = "riscv,cpu-intc";
3334
};
@@ -40,7 +41,7 @@
4041
reg-names = "sram0";
4142
};
4243

43-
soc {
44+
soc: soc@F0000000 {
4445
#address-cells = <1>;
4546
#size-cells = <1>;
4647
compatible = "simple-bus";

0 commit comments

Comments
 (0)