summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts
diff options
context:
space:
mode:
authorArınç ÜNAL <arinc.unal@arinc9.com>2022-02-14 10:00:40 +0300
committerPetr Štetiar <ynezz@true.cz>2022-02-26 13:36:30 +0100
commit7774b86019377fa4aae0f0612d8cb67201eb13bf (patch)
tree779413b13c8468bce138ee96b224d2c63be84dc0 /target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts
parent704c8426fb9d8de7ac8f41dd61e44092d7527620 (diff)
downloadopenwrt-7774b86019377fa4aae0f0612d8cb67201eb13bf.tar.gz
openwrt-7774b86019377fa4aae0f0612d8cb67201eb13bf.tar.bz2
openwrt-7774b86019377fa4aae0f0612d8cb67201eb13bf.zip
ramips: mt7621-dts: add pinctrl properties for ethernet
Add the missing pinctrl properties on the ethernet node. GMAC1 will start working with this change. Link: https://lore.kernel.org/netdev/83a35aa3-6cb8-2bc4-2ff4-64278bbcd8c8@arinc9.com/ Overwrite pinctrl-0 property without rgmii2_pins on devicetrees which use the rgmii2 pins as GPIO (22 - 33). Give gpio function to rgmii2 pin group on mt7621_tplink_archer-x6-v3.dtsi which uses GPIO 28. Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts b/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts
index 73dfbef27f..43cf502b0b 100644
--- a/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts
+++ b/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts
@@ -112,6 +112,10 @@
status = "okay";
};
+&ethernet {
+ pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
+};
+
&gmac0 {
nvmem-cells = <&macaddr_factory_5>;
nvmem-cell-names = "mac-address";