diff mbox

[2/2] ARM: LPC32xx: Add the motor PWM to base dts file

Message ID 1352897985-15419-3-git-send-email-alban.bedel@avionic-design.de (mailing list archive)
State New, archived
Headers show

Commit Message

Alban Bedel Nov. 14, 2012, 12:59 p.m. UTC
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
---
 arch/arm/boot/dts/lpc32xx.dtsi |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

Comments

Roland Stigge Nov. 14, 2012, 2:44 p.m. UTC | #1
On 14/11/12 13:59, Alban Bedel wrote:
> Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
> ---
>  arch/arm/boot/dts/lpc32xx.dtsi |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/lpc32xx.dtsi b/arch/arm/boot/dts/lpc32xx.dtsi
> index ef0fdc7..a1e6a9b 100644
> --- a/arch/arm/boot/dts/lpc32xx.dtsi
> +++ b/arch/arm/boot/dts/lpc32xx.dtsi
> @@ -182,6 +182,13 @@
>  				pnx,timeout = <0x64>;
>  			};
>  
> +			mpwm: mpwm@400E8000 {
> +				compatible = "nxp,lpc3220-motor-pwm";
> +				reg = <0x400E8000 0x78>;
> +				status = "disabled";
> +				#pwm-cells = <2>;
> +			};
> +
>  			i2cusb: i2c@31020300 {
>  				compatible = "nxp,pnx-i2c";
>  				reg = <0x31020300 0x100>;

Will take this into my lpc32xx/dts branch.

Thanks,

Roland
diff mbox

Patch

diff --git a/arch/arm/boot/dts/lpc32xx.dtsi b/arch/arm/boot/dts/lpc32xx.dtsi
index ef0fdc7..a1e6a9b 100644
--- a/arch/arm/boot/dts/lpc32xx.dtsi
+++ b/arch/arm/boot/dts/lpc32xx.dtsi
@@ -182,6 +182,13 @@ 
 				pnx,timeout = <0x64>;
 			};
 
+			mpwm: mpwm@400E8000 {
+				compatible = "nxp,lpc3220-motor-pwm";
+				reg = <0x400E8000 0x78>;
+				status = "disabled";
+				#pwm-cells = <2>;
+			};
+
 			i2cusb: i2c@31020300 {
 				compatible = "nxp,pnx-i2c";
 				reg = <0x31020300 0x100>;