From: Shawn Guo Date: Wed, 9 Aug 2017 06:30:47 +0000 (+0800) Subject: arm64: dts: zx296718: add PWM device support X-Git-Tag: v4.14-rc1~66^2^2~12^2~4 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=2b31230aa0568cb64b38530a9a10c7dfbae8a093;p=linux.git arm64: dts: zx296718: add PWM device support It adds PWM device support which will be used to control voltage of core supply on some boards. Signed-off-by: Shawn Guo --- diff --git a/arch/arm64/boot/dts/zte/zx296718.dtsi b/arch/arm64/boot/dts/zte/zx296718.dtsi index 177cbf5066d6..2689e2fb8c9f 100644 --- a/arch/arm64/boot/dts/zte/zx296718.dtsi +++ b/arch/arm64/boot/dts/zte/zx296718.dtsi @@ -468,6 +468,16 @@ lsp1crm: clock-controller@1430000 { #clock-cells = <1>; }; + pwm: pwm@1439000 { + compatible = "zte,zx296718-pwm"; + reg = <0x1439000 0x1000>; + clocks = <&lsp1crm LSP1_PWM_PCLK>, + <&lsp1crm LSP1_PWM_WCLK>; + clock-names = "pclk", "wclk"; + #pwm-cells = <3>; + status = "disabled"; + }; + vou: vou@1440000 { compatible = "zte,zx296718-vou"; #address-cells = <1>;