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:09:09 +0000 (09:09 +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 7cbd14e696a725c2f0bd0385f5d08558ec68a7a8..132df58ac454cf486a9677a9cf316e69aaedc934 100644 (file)
        status = "okay";
 };
 
-&pwm {
-       status = "okay";
-};
-
 &ethernet {
        mtd-mac-address = <&factory 0x28>;
 };