[openwrt/openwrt] ramips: mt7620: fix double use of pins

LEDE Commits lede-commits at lists.infradead.org
Mon Apr 16 23:49:16 PDT 2018


mkresin pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/e988b0fe0dc96997755580201e2c3681791d02bd

commit e988b0fe0dc96997755580201e2c3681791d02bd
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Tue Apr 17 08:20:42 2018 +0200

    ramips: mt7620: fix double use of pins
    
    The pins are used as (LED) GPIOs and can't be used at the same time as
    hardware controlled ephy (LED) pins.
    
    Fixes: FS#1500
    
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 target/linux/ramips/dts/AI-BR100.dts  | 2 --
 target/linux/ramips/dts/GL-MT300A.dts | 2 --
 target/linux/ramips/dts/GL-MT750.dts  | 2 --
 3 files changed, 6 deletions(-)

diff --git a/target/linux/ramips/dts/AI-BR100.dts b/target/linux/ramips/dts/AI-BR100.dts
index 687a78a..b0100f6 100644
--- a/target/linux/ramips/dts/AI-BR100.dts
+++ b/target/linux/ramips/dts/AI-BR100.dts
@@ -98,8 +98,6 @@
 };
 
 &ethernet {
-	pinctrl-names = "default";
-	pinctrl-0 = <&ephy_pins>;
 	mtd-mac-address = <&factory 0x4>;
 	mediatek,portmap = "llllw";
 };
diff --git a/target/linux/ramips/dts/GL-MT300A.dts b/target/linux/ramips/dts/GL-MT300A.dts
index c69d816..ed954ce 100644
--- a/target/linux/ramips/dts/GL-MT300A.dts
+++ b/target/linux/ramips/dts/GL-MT300A.dts
@@ -131,8 +131,6 @@
 };
 
 &ethernet {
-	pinctrl-names = "default";
-	pinctrl-0 = <&ephy_pins>;
 	mtd-mac-address = <&factory 0x4000>;
 	mediatek,portmap = "wllll";
 };
diff --git a/target/linux/ramips/dts/GL-MT750.dts b/target/linux/ramips/dts/GL-MT750.dts
index 2b5bf55..007f745 100644
--- a/target/linux/ramips/dts/GL-MT750.dts
+++ b/target/linux/ramips/dts/GL-MT750.dts
@@ -126,8 +126,6 @@
 };
 
 &ethernet {
-	pinctrl-names = "default";
-	pinctrl-0 = <&ephy_pins>;
 	mtd-mac-address = <&factory 0x4000>;
 	mediatek,portmap = "llllw";
 };



More information about the lede-commits mailing list