[source] ramips: fix PWM pin mux conflict in dtsi

LEDE Commits lede-commits at lists.infradead.org
Thu Feb 16 00:55:27 PST 2017


blogic pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/71ea3b481406cd44d2d94da60e6fdec5bc8a9eb9

commit 71ea3b481406cd44d2d94da60e6fdec5bc8a9eb9
Author: Furong Xu <xfr at outlook.com>
AuthorDate: Thu Feb 16 10:00:48 2017 +0800

    ramips: fix PWM pin mux conflict in dtsi
    
    GPIO18 and GPIO19 on OMEGA2(+) should be GPIO mode, enable PWM lead to a conflict
    
    [    0.290633] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm
    [    0.299722] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22
    [    0.305729] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0  on device rt2880-pinmux
    [    0.315131] mtk-pwm 10005000.pwm: Error applying setting, reverse things back
    
    Keep PWM disabled.
    
    Signed-off-by: Furong Xu <xfr at outlook.com>
---
 target/linux/ramips/dts/OMEGA2.dtsi | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/target/linux/ramips/dts/OMEGA2.dtsi b/target/linux/ramips/dts/OMEGA2.dtsi
index 7914834..5d9b619 100644
--- a/target/linux/ramips/dts/OMEGA2.dtsi
+++ b/target/linux/ramips/dts/OMEGA2.dtsi
@@ -156,10 +156,6 @@
 	status = "okay";
 };
 
-&pwm {
-	status = "okay";
-};
-
 &ethernet {
 	mtd-mac-address = <&factory 0x28>;
 };



More information about the lede-commits mailing list