diff options
author | Tobias Schramm <t.schramm@manjaro.org> | 2021-05-13 23:35:27 +0300 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2021-05-18 18:17:58 +0300 |
commit | 1d34350cdb6ba23b9b627aec09a14dfc6db046ee (patch) | |
tree | fe858992f50cc7c6b50cc3a01e93ee8cdbe0d52b | |
parent | cd8d60399ac5634513199b76c7dbd43092e29b1b (diff) | |
download | linux-1d34350cdb6ba23b9b627aec09a14dfc6db046ee.tar.xz |
ARM: dts: sun8i: v3s: add pwm controller to v3s dts
The Allwinner V3s and V3 SoCs feature a pwm controller identical to the
one used in the Allwinner A20.
This commit adds it to the V3s dtsi.
Signed-off-by: Tobias Schramm <t.schramm@manjaro.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210513203527.2072090-3-t.schramm@manjaro.org
-rw-r--r-- | arch/arm/boot/dts/sun8i-v3s.dtsi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index eb4cb63fef13..456dee9de87f 100644 --- a/arch/arm/boot/dts/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi @@ -422,6 +422,15 @@ clocks = <&osc24M>; }; + pwm: pwm@1c21400 { + compatible = "allwinner,sun8i-v3s-pwm", + "allwinner,sun7i-a20-pwm"; + reg = <0x01c21400 0xc>; + clocks = <&osc24M>; + #pwm-cells = <3>; + status = "disabled"; + }; + lradc: lradc@1c22800 { compatible = "allwinner,sun4i-a10-lradc-keys"; reg = <0x01c22800 0x400>; |