From a14c2d409c44c7562b29b79549fdf51566b59db0 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Wed, 31 Mar 2021 16:09:37 -0400 Subject: 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 (cherry picked from commit 953bfe2eb3b7236a72fa41ab2204fdaa9fd09f65) --- target/linux/ramips/dts/mt7620a_dlink_dwr-118-a1.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ramips/dts/mt7620a_dlink_dwr-118-a1.dts') diff --git a/target/linux/ramips/dts/mt7620a_dlink_dwr-118-a1.dts b/target/linux/ramips/dts/mt7620a_dlink_dwr-118-a1.dts index bacebee8e1..71b532fc34 100644 --- a/target/linux/ramips/dts/mt7620a_dlink_dwr-118-a1.dts +++ b/target/linux/ramips/dts/mt7620a_dlink_dwr-118-a1.dts @@ -185,5 +185,5 @@ }; &gsw { - mediatek,port4 = "gmac"; + mediatek,port4-gmac; }; -- cgit v1.2.3