From 953bfe2eb3b7236a72fa41ab2204fdaa9fd09f65 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 --- target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi | 4 ---- 1 file changed, 4 deletions(-) (limited to 'target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi') diff --git a/target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi b/target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi index d17cc090c2..07b03f5c06 100644 --- a/target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi +++ b/target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi @@ -201,10 +201,6 @@ }; }; -&gsw { - mediatek,port5 = "gmac"; -}; - &wmac { ralink,mtd-eeprom = <&factory 0x0>; }; -- cgit v1.2.3