Skip to content

Commit 583cbd1

Browse files
committed
dts: arm: stm32g0: add shared_irq nodes for irq 21 and 22
The shared-irq nodes are necessary to use the shared irq-driver This commit adds the necessary nodes for can1, can2, tim16, and tim17. Signed-off-by: Thomas Stranger <[email protected]>
1 parent c2f31b2 commit 583cbd1

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

dts/arm/st/g0/stm32g0b1.dtsi

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,28 @@
105105
dma-requests = <73>;
106106
};
107107
};
108+
109+
shared_irq21: shared_irq21 {
110+
compatible = "shared-irq";
111+
interrupt-parent = <&nvic>;
112+
interrupt-controller;
113+
#interrupt-cells = <2>;
114+
interrupts = <21 0>;
115+
interrupt-names = "tim16_fdcan_it0";
116+
#shared-irq-cells = <0>;
117+
status = "disabled";
118+
label = "SHARED_IRQ_21";
119+
};
120+
121+
shared_irq22: shared_irq22 {
122+
compatible = "shared-irq";
123+
interrupt-parent = <&nvic>;
124+
interrupt-controller;
125+
#interrupt-cells = <2>;
126+
interrupts = <22 0>;
127+
interrupt-names = "tim17_fdcan_it1";
128+
#shared-irq-cells = <0>;
129+
status = "disabled";
130+
label = "SHARED_IRQ_22";
131+
};
108132
};

0 commit comments

Comments
 (0)