Commit df78e6ed authored by Fabio Estevam's avatar Fabio Estevam Committed by Luis Henriques

ARM: dts: imx25: Fix PWM "per" clocks

commit 7ecd0bde upstream.

Currently PWM functionality is broken on mx25 due to the wrong assignment of the
PWM "per" clock.

According to Documentation/devicetree/bindings/clock/imx25-clock.txt:
	pwm_ipg_per		52

,so update the pwm "per" to use 'pwm_ipg_per' instead of 'per10' clock.

With this change PWM can work fine on mx25.
Reported-by: default avatarCarlos Soto <csotoalonso@gmail.com>
Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent 69adfbe1
...@@ -367,7 +367,7 @@ pwm2: pwm@53fa0000 { ...@@ -367,7 +367,7 @@ pwm2: pwm@53fa0000 {
compatible = "fsl,imx25-pwm", "fsl,imx27-pwm"; compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
#pwm-cells = <2>; #pwm-cells = <2>;
reg = <0x53fa0000 0x4000>; reg = <0x53fa0000 0x4000>;
clocks = <&clks 106>, <&clks 36>; clocks = <&clks 106>, <&clks 52>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
interrupts = <36>; interrupts = <36>;
}; };
...@@ -386,7 +386,7 @@ pwm3: pwm@53fa8000 { ...@@ -386,7 +386,7 @@ pwm3: pwm@53fa8000 {
compatible = "fsl,imx25-pwm", "fsl,imx27-pwm"; compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
#pwm-cells = <2>; #pwm-cells = <2>;
reg = <0x53fa8000 0x4000>; reg = <0x53fa8000 0x4000>;
clocks = <&clks 107>, <&clks 36>; clocks = <&clks 107>, <&clks 52>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
interrupts = <41>; interrupts = <41>;
}; };
...@@ -427,7 +427,7 @@ slcdc@53fc0000 { ...@@ -427,7 +427,7 @@ slcdc@53fc0000 {
pwm4: pwm@53fc8000 { pwm4: pwm@53fc8000 {
compatible = "fsl,imx25-pwm", "fsl,imx27-pwm"; compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
reg = <0x53fc8000 0x4000>; reg = <0x53fc8000 0x4000>;
clocks = <&clks 108>, <&clks 36>; clocks = <&clks 108>, <&clks 52>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
interrupts = <42>; interrupts = <42>;
}; };
...@@ -474,7 +474,7 @@ pwm1: pwm@53fe0000 { ...@@ -474,7 +474,7 @@ pwm1: pwm@53fe0000 {
compatible = "fsl,imx25-pwm", "fsl,imx27-pwm"; compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
#pwm-cells = <2>; #pwm-cells = <2>;
reg = <0x53fe0000 0x4000>; reg = <0x53fe0000 0x4000>;
clocks = <&clks 105>, <&clks 36>; clocks = <&clks 105>, <&clks 52>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
interrupts = <26>; interrupts = <26>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment