ramips: fix PWM pin mux conflict in dtsi
authorFurong Xu <xfr@outlook.com>
Thu, 16 Feb 2017 02:00:48 +0000 (10:00 +0800)
committerJohn Crispin <john@phrozen.org>
Thu, 16 Feb 2017 08:54:17 +0000 (09:54 +0100)
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@outlook.com>
target/linux/ramips/dts/OMEGA2.dtsi

index 79148347f317d31ba483a1977e2ff796797ab575..5d9b6198f9569bf719cb1b518091568f8e3cffcc 100644 (file)
        status = "okay";
 };
 
-&pwm {
-       status = "okay";
-};
-
 &ethernet {
        mtd-mac-address = <&factory 0x28>;
 };