[PATCH v1 2/6] ARM: dts: BCM5301X: Specify PWM in the DT

Scott Branden scott.branden at broadcom.com
Tue Aug 18 13:48:46 EDT 2020



On 2020-08-18 9:39 a.m., Christian Lamparter wrote:
> The BCM53016 in the Meraki MR32 uses the on-chip PWM
> controller to drive a tri-color RGB LED.
>
> Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
Acked-by: Scott Branden <scott.branden at broadcom.com>
> ---
>  arch/arm/boot/dts/bcm5301x.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi
> index 2d9b4dd05830..85ee4902e719 100644
> --- a/arch/arm/boot/dts/bcm5301x.dtsi
> +++ b/arch/arm/boot/dts/bcm5301x.dtsi
> @@ -350,6 +350,14 @@ gmac3: ethernet at 27000 {
>  		};
>  	};
>  
> +	pwm: pwm at 18002000 {
> +		compatible = "brcm,iproc-pwm";
> +		reg = <0x18002000 0x28>;
> +		clocks = <&osc>;
> +		#pwm-cells = <3>;
> +		status = "disabled";
> +	};
> +
>  	mdio: mdio at 18003000 {
>  		compatible = "brcm,iproc-mdio";
>  		reg = <0x18003000 0x8>;




More information about the linux-arm-kernel mailing list