diff mbox series

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

Message ID e84a2c44d654ac906164a8c715324445afd964a0.1597768760.git.chunkeey@gmail.com (mailing list archive)
State New, archived
Headers show
Series [v1,1/6] dt-bindings: ARM: add bindings for the Meraki MR32 | expand

Commit Message

Christian Lamparter Aug. 18, 2020, 4:39 p.m. UTC
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@gmail.com>
---
 arch/arm/boot/dts/bcm5301x.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Scott Branden Aug. 18, 2020, 5:48 p.m. UTC | #1
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@gmail.com>
Acked-by: Scott Branden <scott.branden@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@27000 {
>  		};
>  	};
>  
> +	pwm: pwm@18002000 {
> +		compatible = "brcm,iproc-pwm";
> +		reg = <0x18002000 0x28>;
> +		clocks = <&osc>;
> +		#pwm-cells = <3>;
> +		status = "disabled";
> +	};
> +
>  	mdio: mdio@18003000 {
>  		compatible = "brcm,iproc-mdio";
>  		reg = <0x18003000 0x8>;
diff mbox series

Patch

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@27000 {
 		};
 	};
 
+	pwm: pwm@18002000 {
+		compatible = "brcm,iproc-pwm";
+		reg = <0x18002000 0x28>;
+		clocks = <&osc>;
+		#pwm-cells = <3>;
+		status = "disabled";
+	};
+
 	mdio: mdio@18003000 {
 		compatible = "brcm,iproc-mdio";
 		reg = <0x18003000 0x8>;