Skip to content

Commit

Permalink
Allow to build on a different version of dtc.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonwoodruff committed Aug 29, 2024
1 parent 40c167c commit 89347e3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions devicetree.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
mmu-type = "riscv,sv39";
clock-frequency = <50000000>;
CPU0_intc: interrupt-controller {
#address-cells = <1>;
#interrupt-cells = <1>;
interrupt-controller;
compatible = "riscv,cpu-intc";
Expand All @@ -42,6 +43,7 @@
reg = <0x10000000 0x10000>;
};
plic: interrupt-controller@c000000 {
#address-cells = <1>;
#interrupt-cells = <1>;
compatible = "riscv,plic0";
interrupt-controller;
Expand Down
5 changes: 4 additions & 1 deletion devicetree.dual.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
mmu-type = "riscv,sv39";
clock-frequency = <50000000>;
CPU0_intc: interrupt-controller {
#interrupt-cells = <1>;
#address-cells = <1>;
#interrupt-cells = <1>;
interrupt-controller;
compatible = "riscv,cpu-intc";
};
Expand All @@ -35,6 +36,7 @@
mmu-type = "riscv,sv39";
clock-frequency = <50000000>;
CPU1_intc: interrupt-controller {
#address-cells = <1>;
#interrupt-cells = <1>;
interrupt-controller;
compatible = "riscv,cpu-intc";
Expand All @@ -59,6 +61,7 @@
reg = <0x10000000 0x10000>;
};
plic: interrupt-controller@c000000 {
#address-cells = <1>;
#interrupt-cells = <1>;
compatible = "riscv,plic0";
interrupt-controller;
Expand Down
4 changes: 3 additions & 1 deletion devicetree.no-uart.dts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
mmu-type = "riscv,sv39";
clock-frequency = <50000000>;
CPU0_intc: interrupt-controller {
#interrupt-cells = <1>;
#address-cells = <1>;
#interrupt-cells = <1>;
interrupt-controller;
compatible = "riscv,cpu-intc";
};
Expand All @@ -39,6 +40,7 @@
reg = <0x10000000 0x10000>;
};
plic: interrupt-controller@c000000 {
#address-cells = <1>;
#interrupt-cells = <1>;
compatible = "riscv,plic0";
interrupt-controller;
Expand Down

0 comments on commit 89347e3

Please sign in to comment.