From 00343e18f2fb16cf0e12f2dcd8671f7ee0aa2c8e Mon Sep 17 00:00:00 2001
From: Furong Xu <xfr@outlook.com>
Date: Thu, 16 Feb 2017 10:00:48 +0800
Subject: [PATCH] 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@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 7cbd14e696..132df58ac4 100644
--- a/target/linux/ramips/dts/OMEGA2.dtsi
+++ b/target/linux/ramips/dts/OMEGA2.dtsi
@@ -152,10 +152,6 @@
 	status = "okay";
 };
 
-&pwm {
-	status = "okay";
-};
-
 &ethernet {
 	mtd-mac-address = <&factory 0x28>;
 };
-- 
2.30.2