diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7621_beeline_smartbox-giga.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_beeline_smartbox-giga.dts | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/target/linux/ramips/dts/mt7621_beeline_smartbox-giga.dts b/target/linux/ramips/dts/mt7621_beeline_smartbox-giga.dts index efea79e2e2..22fc065eb2 100644 --- a/target/linux/ramips/dts/mt7621_beeline_smartbox-giga.dts +++ b/target/linux/ramips/dts/mt7621_beeline_smartbox-giga.dts @@ -202,17 +202,24 @@ nvmem-cell-names = "mac-address"; }; -&switch0 { - ports { - port@0 { - status = "okay"; - label = "wan"; +&gmac1 { + status = "okay"; + label = "wan"; + phy-handle = <ðphy0>; - nvmem-cells = <&macaddr_factory_21000>; - nvmem-cell-names = "mac-address"; - mac-address-increment = <(1)>; - }; + nvmem-cells = <&macaddr_factory_21000>; + nvmem-cell-names = "mac-address"; + mac-address-increment = <(1)>; +}; + +&mdio { + ethphy0: ethernet-phy@0 { + reg = <0>; + }; +}; +&switch0 { + ports { port@1 { status = "okay"; label = "lan1"; |