]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: st: update i2c nodes interrupt/wakeup-source in stm32mp231
authorAlain Volmat <alain.volmat@foss.st.com>
Tue, 24 Feb 2026 15:48:08 +0000 (16:48 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Wed, 25 Mar 2026 16:37:45 +0000 (17:37 +0100)
Update all i2c nodes with the following properties:
  - replace interrupts with interrupts-extended and rely on exti
  - add the wakeup-source property

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Link: https://lore.kernel.org/r/20260224-stm32-i2c-dt-updates-v1-5-347cf6fca7d1@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm64/boot/dts/st/stm32mp231.dtsi

index b5d81d1ee153fc2b7e74bd76aec1a63aef1828d3..1121dca7880fdd07fede502b492c1ebce43e0e21 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <0>;
                                interrupt-names = "event";
-                               interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
+                               interrupts-extended = <&exti1 21 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&rcc CK_KER_I2C1>;
                                resets = <&rcc I2C1_R>;
                                dmas = <&hpdma 27 0x20 0x3012>,
                                access-controllers = <&rifsc 41>;
                                power-domains = <&cluster_pd>;
                                i2c-analog-filter;
+                               wakeup-source;
                                status = "disabled";
                        };
 
                                #address-cells = <1>;
                                #size-cells = <0>;
                                interrupt-names = "event";
-                               interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
+                               interrupts-extended = <&exti1 22 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&rcc CK_KER_I2C2>;
                                resets = <&rcc I2C2_R>;
                                dmas = <&hpdma 30 0x20 0x3012>,
                                access-controllers = <&rifsc 42>;
                                power-domains = <&cluster_pd>;
                                i2c-analog-filter;
+                               wakeup-source;
                                status = "disabled";
                        };
 
                                #address-cells = <1>;
                                #size-cells = <0>;
                                interrupt-names = "event";
-                               interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>;
+                               interrupts-extended = <&exti1 50 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&rcc CK_KER_I2C7>;
                                resets = <&rcc I2C7_R>;
                                dmas = <&hpdma 45 0x20 0x3012>,
                                access-controllers = <&rifsc 47>;
                                power-domains = <&cluster_pd>;
                                i2c-analog-filter;
+                               wakeup-source;
                                status = "disabled";
                        };
 
                                #address-cells = <1>;
                                #size-cells = <0>;
                                interrupt-names = "event";
-                               interrupts = <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>;
+                               interrupts-extended = <&exti2 25 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&rcc CK_KER_I2C8>;
                                resets = <&rcc I2C8_R>;
                                dmas = <&hpdma 168 0x20 0x3012>,
                                access-controllers = <&rifsc 48>;
                                power-domains = <&cluster_pd>;
                                i2c-analog-filter;
+                               wakeup-source;
                                status = "disabled";
                        };