[U-Boot] [PATCH v2 3/3] dts: sunxi: add PWM node for sun50i

Vasily Khoruzhick anarsoul at gmail.com
Thu Sep 21 06:07:04 UTC 2017


Add PWM definition to sun50i-a64.dtsi - it's compatible with PWM found on H3

Signed-off-by: Vasily Khoruzhick <anarsoul at gmail.com>
---
v2: - drop 'sun50i-a64-pwm' compatible string and use 'sun8i-h3-pwm' instead,
      since A64 PWM is compatible with one on H3

 arch/arm/dts/sun50i-a64.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/dts/sun50i-a64.dtsi b/arch/arm/dts/sun50i-a64.dtsi
index 65a344d9ce..00132855ff 100644
--- a/arch/arm/dts/sun50i-a64.dtsi
+++ b/arch/arm/dts/sun50i-a64.dtsi
@@ -319,6 +319,14 @@
 			};
 		};
 
+		pwm: pwm at 01c21400 {
+			compatible = "allwinner,sun8i-h3-pwm";
+			reg = <0x01c21400 0x8>;
+			clocks = <&osc24M>;
+			#pwm-cells = <3>;
+			status = "disabled";
+		};
+
 		uart0: serial at 1c28000 {
 			compatible = "snps,dw-apb-uart";
 			reg = <0x01c28000 0x400>;
-- 
2.14.1



More information about the U-Boot mailing list