diff --git a/scripts/gen-hart-dts.py b/scripts/gen-hart-dts.py index f02e33d..178ec4b 100644 --- a/scripts/gen-hart-dts.py +++ b/scripts/gen-hart-dts.py @@ -68,6 +68,7 @@ def dtsi_template (cpu_list: str, plic_list, sswi_list, mtimer_list, mswi_list, sswi0: sswi@4500000 {{ #interrupt-cells = <0>; + #address-cells = <0>; interrupt-controller; interrupts-extended = {sswi_list}; reg = <0x4500000 0x4000>; @@ -76,6 +77,7 @@ def dtsi_template (cpu_list: str, plic_list, sswi_list, mtimer_list, mswi_list, mswi0: mswi@4400000 {{ #interrupt-cells = <0>; + #address-cells = <0>; interrupt-controller; interrupts-extended = {mswi_list}; reg = <0x4400000 0x4000>;