ARM: dts: sama5d2: Add pwm0 definition
authorDan Sneddon <dan.sneddon@microchip.com>
Mon, 20 Sep 2021 23:28:46 +0000 (16:28 -0700)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 12 Oct 2021 12:18:39 +0000 (15:18 +0300)
Add node for the PWM0 on the SAMA5D2 SoC.

Signed-off-by: Dan Sneddon <dan.sneddon@microchip.com>
arch/arm/dts/sama5d2.dtsi

index d8a125b..038cd73 100644 (file)
                                status = "disabled";
                        };
 
                                status = "disabled";
                        };
 
+                       pwm0: pwm@f802c000 {
+                               compatible = "atmel,sama5d2-pwm";
+                               reg = <0xf802c000 0x4000>;
+                               clocks = <&pwm_clk>;
+                               #pwm-cells = <3>;
+                               status = "disabled";
+                       };
+
                        rstc@f8048000 {
                                compatible = "atmel,sama5d3-rstc";
                                reg = <0xf8048000 0x10>;
                        rstc@f8048000 {
                                compatible = "atmel,sama5d3-rstc";
                                reg = <0xf8048000 0x10>;