diff options
author | Arınç ÜNAL <arinc.unal@arinc9.com> | 2022-02-14 10:00:40 +0300 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2022-02-26 13:36:30 +0100 |
commit | 7774b86019377fa4aae0f0612d8cb67201eb13bf (patch) | |
tree | 779413b13c8468bce138ee96b224d2c63be84dc0 /target/linux/ramips/dts/mt7621.dtsi | |
parent | 704c8426fb9d8de7ac8f41dd61e44092d7527620 (diff) | |
download | upstream-7774b86019377fa4aae0f0612d8cb67201eb13bf.tar.gz upstream-7774b86019377fa4aae0f0612d8cb67201eb13bf.tar.bz2 upstream-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.dtsi')
-rw-r--r-- | target/linux/ramips/dts/mt7621.dtsi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index bfb66740a2..09124072bd 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -456,6 +456,9 @@ mediatek,ethsys = <&sysc>; + pinctrl-names = "default"; + pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>, <&rgmii2_pins>; + gmac0: mac@0 { compatible = "mediatek,eth-mac"; reg = <0>; |