ARM: dts: sun8i: v3s: add pwm controller to v3s dts
authorTobias Schramm <t.schramm@manjaro.org>
Thu, 13 May 2021 20:35:27 +0000 (22:35 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 18 May 2021 15:17:58 +0000 (17:17 +0200)
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
arch/arm/boot/dts/sun8i-v3s.dtsi

index eb4cb63fef13c5731d057fc869eb42ad5e2aa105..456dee9de87fc5c12a05dfc5a1e5bfea82298a98 100644 (file)
                        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>;