[PATCH 2/9] ARM: dts: suniv: f1c100s: add PWM node
Jernej Škrabec
jernej.skrabec at gmail.com
Sun Nov 6 00:56:29 PDT 2022
Dne torek, 01. november 2022 ob 15:16:51 CET je Andre Przywara napisal(a):
> The Allwinner F1C100s family of SoCs contain a PWM controller compatible
> to the one used in the A20 chip.
> Add the DT node so that any users can simply enable it in their board
> DT.
>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
> ---
> arch/arm/boot/dts/suniv-f1c100s.dtsi | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/boot/dts/suniv-f1c100s.dtsi
> b/arch/arm/boot/dts/suniv-f1c100s.dtsi index 0edc1724407b3..d5a6324e76465
> 100644
> --- a/arch/arm/boot/dts/suniv-f1c100s.dtsi
> +++ b/arch/arm/boot/dts/suniv-f1c100s.dtsi
> @@ -192,6 +192,15 @@ wdt: watchdog at 1c20ca0 {
> clocks = <&osc32k>;
> };
>
> + pwm: pwm at 1c21000 {
> + compatible = "allwinner,suniv-f1c100s-pwm",
> + "allwinner,sun7i-a20-pwm";
> + reg = <0x01c21000 0xc>;
According to documentation, size is 0x400.
Best regards,
Jernej
> + clocks = <&osc24M>;
> + #pwm-cells = <3>;
> + status = "disabled";
> + };
> +
> uart0: serial at 1c25000 {
> compatible = "snps,dw-apb-uart";
> reg = <0x01c25000 0x400>;
More information about the linux-arm-kernel
mailing list