ARM: dts: stm32: add dfsdm node on stm32mp131
authorOlivier Moysan <olivier.moysan@foss.st.com>
Fri, 18 Nov 2022 14:20:06 +0000 (15:20 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Tue, 17 Jan 2023 13:52:31 +0000 (14:52 +0100)
Add DFSDM peripheral support for the STM32MP13 SoC family.

Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32mp131.dtsi

index 43663f2692335f5c785c340a3d214d5260a4db7c..2f0f60e4766fcede90b97e8ffb6969a29868505d 100644 (file)
                        };
                };
 
+               dfsdm: dfsdm@4400d000 {
+                       compatible = "st,stm32mp1-dfsdm";
+                       reg = <0x4400d000 0x800>;
+                       clocks = <&rcc DFSDM_K>;
+                       clock-names = "dfsdm";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+
+                       dfsdm0: filter@0 {
+                               compatible = "st,stm32-dfsdm-adc";
+                               reg = <0>;
+                               #io-channel-cells = <1>;
+                               interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
+                               dmas = <&dmamux1 101 0x400 0x01>;
+                               dma-names = "rx";
+                               status = "disabled";
+                       };
+
+                       dfsdm1: filter@1 {
+                               compatible = "st,stm32-dfsdm-adc";
+                               reg = <1>;
+                               #io-channel-cells = <1>;
+                               interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
+                               dmas = <&dmamux1 102 0x400 0x01>;
+                               dma-names = "rx";
+                               status = "disabled";
+                       };
+               };
+
                dma1: dma-controller@48000000 {
                        compatible = "st,stm32-dma";
                        reg = <0x48000000 0x400>;