From: Vasily Khoruzhick Date: Wed, 20 Sep 2017 23:07:04 -0700 Subject: [U-Boot] [PATCH v2 3/3] dts: sunxi: add PWM node for sun50i In-Reply-To: <20170921060704.19153-1-anarsoul@gmail.com> References: <20170921060704.19153-1-anarsoul@gmail.com> Message-ID: <20170921060704.19153-4-anarsoul@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add PWM definition to sun50i-a64.dtsi - it's compatible with PWM found on H3 Signed-off-by: Vasily Khoruzhick --- 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