summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/zte
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2017-08-09 14:30:47 +0800
committerShawn Guo <shawnguo@kernel.org>2017-08-14 09:51:15 +0800
commit2b31230aa0568cb64b38530a9a10c7dfbae8a093 (patch)
treee81d26f8eacaaf3629a645212e7bae09d3f261c8 /arch/arm64/boot/dts/zte
parentdceb9491c6218bd2c48c35eec9c90bff85841665 (diff)
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 <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/zte')
-rw-r--r--arch/arm64/boot/dts/zte/zx296718.dtsi10
1 files changed, 10 insertions, 0 deletions
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 @@
#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>;