Skip to contentSkip to conversation

ARM: imx27: Add PWM0 to device tree

PATCH New Gwenhael Goavec-Merou 3 participants 3 messages Apr 14, 2013 – Apr 16, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: imx27: Add PWM0 to device tree

---
v2:
- Suppress status, now PWM is always enabled;
- Suppress platform patch.

 arch/arm/boot/dts/imx27.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/boot/dts/imx27.dtsi +8 -0
index ff4bd48..14e97cf 100644
@@ -89,6 +89,14 @@
 				clock-names = "ipg", "per";
 			};
 
+			pwm0: pwm at 10006000 {
+				compatible = "fsl,imx27-pwm";
+				reg = <0x10006000 0x1000>;
+				interrupts = <23>;
+				clocks = <&clks 34>, <&clks 61>;
+				clock-names = "ipg", "per";
+			};
+
 			uart1: serial at 1000a000 {
 				compatible = "fsl,imx27-uart", "fsl,imx21-uart";
 				reg = <0x1000a000 0x1000>;
Signature · 1 line
1.8.1.5
maintainer
#1 lore raw

PATCH v2 1/1 ARM: imx27: Add PWM0 to device tree

Quoted 2 lines · Gwenhael Goavec-Merou

Sascha

Quoted 31 lines

---
v2:
- Suppress status, now PWM is always enabled;
- Suppress platform patch.

 arch/arm/boot/dts/imx27.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/boot/dts/imx27.dtsi +8 -0
index ff4bd48..14e97cf 100644
@@ -89,6 +89,14 @@
 				clock-names = "ipg", "per";
 			};
 
+			pwm0: pwm at 10006000 {
+				compatible = "fsl,imx27-pwm";
+				reg = <0x10006000 0x1000>;
+				interrupts = <23>;
+				clocks = <&clks 34>, <&clks 61>;
+				clock-names = "ipg", "per";
+			};
+
 			uart1: serial at 1000a000 {
 				compatible = "fsl,imx27-uart", "fsl,imx21-uart";
 				reg = <0x1000a000 0x1000>;
Signature · 1 line
1.8.1.5
Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
Applied
#2 lore raw

PATCH v2 1/1 ARM: imx27: Add PWM0 to device tree

In reply to Gwenhael Goavec-Merou
Quoted 2 lines · Gwenhael Goavec-Merou

Applied, thanks.

Quoted 30 lines

---
v2:
- Suppress status, now PWM is always enabled;
- Suppress platform patch.

 arch/arm/boot/dts/imx27.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/boot/dts/imx27.dtsi +8 -0
index ff4bd48..14e97cf 100644
@@ -89,6 +89,14 @@
 				clock-names = "ipg", "per";
 			};
 
+			pwm0: pwm at 10006000 {
+				compatible = "fsl,imx27-pwm";
+				reg = <0x10006000 0x1000>;
+				interrupts = <23>;
+				clocks = <&clks 34>, <&clks 61>;
+				clock-names = "ipg", "per";
+			};
+
 			uart1: serial at 1000a000 {
 				compatible = "fsl,imx27-uart", "fsl,imx21-uart";
 				reg = <0x1000a000 0x1000>;
Signature · 1 line
1.8.1.5