]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
fix(stm32mp15-fdts): use interrupts-extended for i2c2
authorYann Gautier <yann.gautier@st.com>
Fri, 21 Oct 2022 13:31:36 +0000 (15:31 +0200)
committerYann Gautier <yann.gautier@st.com>
Wed, 4 Jan 2023 17:08:02 +0000 (18:08 +0100)
Update SoC DT file STM32MP151 to use interrupts-extended instead of
interrupts for i2c2. This correct a compilation warning:
build/stm32mp1/debug/fdts/stm32mp157c-ev1-bl2.pre.dts:23.3-26:
 Warning (interrupts_property): /soc/i2c@40013000:#interrupt-cells:
  size is (28), expected multiple of 12

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: If512807cd23c72f95e1e02b15f30d20a849d8412

fdts/stm32mp151.dtsi

index a938edc0c48772d98d8be8dc624ea87fe0630666..869b9127c7d633e33b97e7eccf2d3ad79bf66512 100644 (file)
                        compatible = "st,stm32mp15-i2c";
                        reg = <0x40013000 0x400>;
                        interrupt-names = "event", "error";
-                       interrupts = <&exti 22 IRQ_TYPE_LEVEL_HIGH>,
-                                    <&intc GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupts-extended = <&exti 22 IRQ_TYPE_LEVEL_HIGH>,
+                                             <&intc GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&rcc I2C2_K>;
                        resets = <&rcc I2C2_R>;
                        #address-cells = <1>;