]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: stm32: Add timer interrupts on stm32mp15
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 14 Dec 2022 15:25:01 +0000 (16:25 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Thu, 12 Jan 2023 15:30:52 +0000 (16:30 +0100)
The timer units in the stm32mp15x CPUs have interrupts, depending on the
timer flavour either one "global" or four dedicated ones. Add the irqs
to the timer units on stm32mp15x.

Sync the DT Files with linux kernel v6.1 and with commit a9b70102253ce
("ARM: dts: stm32: Add timer interrupts on stm32mp15")

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/dts/stm32mp151.dtsi

index 8bbb1aef2ee226aeff98feda073d1558ff55612b..5d178b5d3c839cf92c5c5006d69375bd0645f32b 100644 (file)
                        #size-cells = <0>;
                        compatible = "st,stm32-timers";
                        reg = <0x40000000 0x400>;
+                       interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "global";
                        clocks = <&rcc TIM2_K>;
                        clock-names = "int";
                        dmas = <&dmamux1 18 0x400 0x1>,
                        #size-cells = <0>;
                        compatible = "st,stm32-timers";
                        reg = <0x40001000 0x400>;
+                       interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "global";
                        clocks = <&rcc TIM3_K>;
                        clock-names = "int";
                        dmas = <&dmamux1 23 0x400 0x1>,
                        #size-cells = <0>;
                        compatible = "st,stm32-timers";
                        reg = <0x40002000 0x400>;
+                       interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "global";
                        clocks = <&rcc TIM4_K>;
                        clock-names = "int";
                        dmas = <&dmamux1 29 0x400 0x1>,
                        #size-cells = <0>;
                        compatible = "st,stm32-timers";
                        reg = <0x40003000 0x400>;
+                       interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "global";
                        clocks = <&rcc TIM5_K>;
                        clock-names = "int";
                        dmas = <&dmamux1 55 0x400 0x1>,
                        #size-cells = <0>;
                        compatible = "st,stm32-timers";
                        reg = <0x40004000 0x400>;
+                       interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "global";
                        clocks = <&rcc TIM6_K>;
                        clock-names = "int";
                        dmas = <&dmamux1 69 0x400 0x1>;
                        #size-cells = <0>;
                        compatible = "st,stm32-timers";
                        reg = <0x40005000 0x400>;
+                       interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "global";
                        clocks = <&rcc TIM7_K>;
                        clock-names = "int";
                        dmas = <&dmamux1 70 0x400 0x1>;
                        #size-cells = <0>;
                        compatible = "st,stm32-timers";
                        reg = <0x40006000 0x400>;
+                       interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "global";
                        clocks = <&rcc TIM12_K>;
                        clock-names = "int";
                        status = "disabled";
                        #size-cells = <0>;
                        compatible = "st,stm32-timers";
                        reg = <0x40007000 0x400>;
+                       interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "global";
                        clocks = <&rcc TIM13_K>;
                        clock-names = "int";
                        status = "disabled";
                        #size-cells = <0>;
                        compatible = "st,stm32-timers";
                        reg = <0x40008000 0x400>;
+                       interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "global";
                        clocks = <&rcc TIM14_K>;
                        clock-names = "int";
                        status = "disabled";
                        #size-cells = <0>;
                        compatible = "st,stm32-timers";
                        reg = <0x44000000 0x400>;
+                       interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "brk", "up", "trg-com", "cc";
                        clocks = <&rcc TIM1_K>;
                        clock-names = "int";
                        dmas = <&dmamux1 11 0x400 0x1>,
                        #size-cells = <0>;
                        compatible = "st,stm32-timers";
                        reg = <0x44001000 0x400>;
+                       interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "brk", "up", "trg-com", "cc";
                        clocks = <&rcc TIM8_K>;
                        clock-names = "int";
                        dmas = <&dmamux1 47 0x400 0x1>,
                        #size-cells = <0>;
                        compatible = "st,stm32-timers";
                        reg = <0x44006000 0x400>;
+                       interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "global";
                        clocks = <&rcc TIM15_K>;
                        clock-names = "int";
                        dmas = <&dmamux1 105 0x400 0x1>,
                        #size-cells = <0>;
                        compatible = "st,stm32-timers";
                        reg = <0x44007000 0x400>;
+                       interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "global";
                        clocks = <&rcc TIM16_K>;
                        clock-names = "int";
                        dmas = <&dmamux1 109 0x400 0x1>,
                        #size-cells = <0>;
                        compatible = "st,stm32-timers";
                        reg = <0x44008000 0x400>;
+                       interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "global";
                        clocks = <&rcc TIM17_K>;
                        clock-names = "int";
                        dmas = <&dmamux1 111 0x400 0x1>,