[PATCH 3/3] ARM:dts: sama5d2: Add pwm definition

Dan Sneddon dan.sneddon at microchip.com
Tue Sep 21 01:28:46 CEST 2021


Add the PWM on the SAMA5D2.

Signed-off-by: Dan Sneddon <dan.sneddon at microchip.com>
---
 arch/arm/dts/sama5d2.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi
index 6fb2cb25f9..ba1b69e629 100644
--- a/arch/arm/dts/sama5d2.dtsi
+++ b/arch/arm/dts/sama5d2.dtsi
@@ -671,6 +671,14 @@
 				status = "disabled";
 			};
 
+			pwm0: pwm at f802c000 {
+				compatible = "atmel,sama5d2-pwm";
+				reg = <0xf802c000 0x4000>;
+				clocks = <&pwm_clk>;
+				#pwm-cells = <3>;
+				status = "disabled";
+			};
+
 			rstc at f8048000 {
 				compatible = "atmel,sama5d3-rstc";
 				reg = <0xf8048000 0x10>;
-- 
2.17.1



More information about the U-Boot mailing list