Skip to content

Commit 283f864

Browse files
AntonioBorneoKAGA-KOKO
authored andcommitted
ARM: dts: stm32: List exti parent interrupts on stm32mp131
Stop using the table inside the EXTI driver and list in DT the mapping between EXTI events and its parent interrupts. By switching away from using the internal table, there is no need anymore to use the specific compatible "st,stm32mp13-exti", which was introduced to select the proper internal table. Convert the driver's table for stm32mp131 to the DT property interrupts-extended. Switch the compatible string to the generic "st,stm32mp1-exti", in place of the specific "st,stm32mp13-exti". Older DT using compatible "st,stm32mp13-exti" will still work as the driver remains backward compatible. Signed-off-by: Antonio Borneo <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 3fca383 commit 283f864

File tree

1 file changed

+73
-1
lines changed

1 file changed

+73
-1
lines changed

arch/arm/boot/dts/st/stm32mp131.dtsi

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1093,10 +1093,82 @@
10931093
};
10941094

10951095
exti: interrupt-controller@5000d000 {
1096-
compatible = "st,stm32mp13-exti", "syscon";
1096+
compatible = "st,stm32mp1-exti", "syscon";
10971097
interrupt-controller;
10981098
#interrupt-cells = <2>;
10991099
reg = <0x5000d000 0x400>;
1100+
interrupts-extended =
1101+
<&intc GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, /* EXTI_0 */
1102+
<&intc GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
1103+
<&intc GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
1104+
<&intc GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
1105+
<&intc GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
1106+
<&intc GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
1107+
<&intc GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
1108+
<&intc GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
1109+
<&intc GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
1110+
<&intc GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
1111+
<&intc GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, /* EXTI_10 */
1112+
<&intc GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
1113+
<&intc GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
1114+
<&intc GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>,
1115+
<&intc GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
1116+
<&intc GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
1117+
<&intc GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
1118+
<0>,
1119+
<0>,
1120+
<&intc GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
1121+
<0>, /* EXTI_20 */
1122+
<&intc GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
1123+
<&intc GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
1124+
<&intc GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
1125+
<&intc GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>,
1126+
<&intc GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
1127+
<&intc GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>,
1128+
<&intc GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
1129+
<&intc GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
1130+
<&intc GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
1131+
<&intc GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>, /* EXTI_30 */
1132+
<&intc GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
1133+
<&intc GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>,
1134+
<&intc GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
1135+
<0>,
1136+
<0>,
1137+
<0>,
1138+
<0>,
1139+
<0>,
1140+
<0>,
1141+
<0>, /* EXTI_40 */
1142+
<0>,
1143+
<0>,
1144+
<0>,
1145+
<&intc GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
1146+
<0>,
1147+
<0>,
1148+
<&intc GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
1149+
<&intc GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1150+
<0>,
1151+
<&intc GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, /* EXTI_50 */
1152+
<0>,
1153+
<&intc GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
1154+
<&intc GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
1155+
<0>,
1156+
<0>,
1157+
<0>,
1158+
<0>,
1159+
<0>,
1160+
<0>,
1161+
<0>, /* EXTI_60 */
1162+
<0>,
1163+
<0>,
1164+
<0>,
1165+
<0>,
1166+
<0>,
1167+
<0>,
1168+
<0>,
1169+
<&intc GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>,
1170+
<0>,
1171+
<&intc GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; /* EXTI_70 */
11001172
};
11011173

11021174
syscfg: syscon@50020000 {

0 commit comments

Comments
 (0)