diff options
author | Michael Pratt <mcpratt@pm.me> | 2021-03-31 16:09:37 -0400 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2021-06-23 14:22:18 +0800 |
commit | 953bfe2eb3b7236a72fa41ab2204fdaa9fd09f65 (patch) | |
tree | 6bdad84043038f5bacf53ad37af40ec1e57b826c /target/linux/ramips/dts/mt7620a_ralink_mt7620a-v22sg-evb.dts | |
parent | fe6b9b0588a47e0a6aabc6a51aa676e7e7204174 (diff) | |
download | upstream-953bfe2eb3b7236a72fa41ab2204fdaa9fd09f65.tar.gz upstream-953bfe2eb3b7236a72fa41ab2204fdaa9fd09f65.tar.bz2 upstream-953bfe2eb3b7236a72fa41ab2204fdaa9fd09f65.zip |
ramips: mt7620: simplify DTS properties for GMAC
There are only 2 options in the driver
for the function of mt7620 internal switch port 4:
EPHY mode (RJ-45, internal PHY)
GMAC mode (RGMII, external PHY)
Let the DTS property be boolean instead of string
where EPHY mode is the default.
Fix how the properties are written
for all DTS that use them,
and add missing nodes where applicable,
and remove useless nodes,
and minor DTS formatting.
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Diffstat (limited to 'target/linux/ramips/dts/mt7620a_ralink_mt7620a-v22sg-evb.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7620a_ralink_mt7620a-v22sg-evb.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7620a_ralink_mt7620a-v22sg-evb.dts b/target/linux/ramips/dts/mt7620a_ralink_mt7620a-v22sg-evb.dts index bee4ba7fd3..6e8eff50bc 100644 --- a/target/linux/ramips/dts/mt7620a_ralink_mt7620a-v22sg-evb.dts +++ b/target/linux/ramips/dts/mt7620a_ralink_mt7620a-v22sg-evb.dts @@ -99,7 +99,7 @@ }; &gsw { - mediatek,port4 = "gmac"; + mediatek,port4-gmac; }; &pcie { |