Skip to content

Commit 6ed2748

Browse files
committed
Fix clint node in DTS by removing interrupt-controller property
Fix the device tree configuration by removing the interrupt-controller property from the clint node. The clint only handles timer and software interrupts, and should not be configured as an interrupt controller. Only the plic should be marked as an interrupt-controller as it manages external interrupts. This change resolves the following dtc warnings about missing proper configuration of interrupt handling: <stdin>:31.31-37.11: Warning (interrupt_provider): /soc@F0000000/clint@4300000: Missing #interrupt-cells in interrupt provider <stdin>:31.31-37.11: Warning (interrupt_provider): /soc@F0000000/clint@4300000: Missing #address-cells in interrupt provider
1 parent 1023b4c commit 6ed2748

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/gen-hart-dts.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ def dtsi_template (cpu_list: str, plic_list, clint_list, clock_freq):
5656
5757
clint0: clint@4300000 {{
5858
compatible = "riscv,clint0";
59-
interrupt-controller;
6059
interrupts-extended =
6160
{clint_list};
6261
reg = <0x4300000 0x10000>;

0 commit comments

Comments
 (0)