X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7620a_engenius_esr600.dts;h=267525a0fcebbd5bfa1e4d417a9b3615bd968178;hb=f35ddef26814b39e829c6e44d94e160bfe8bd7a2;hp=807e18d62b0685f96bee073cf71460a01b17d47b;hpb=c846dd91f0a6f99b529ed6e1ec4ab149466dc0d2;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/mt7620a_engenius_esr600.dts b/target/linux/ramips/dts/mt7620a_engenius_esr600.dts index 807e18d62b..267525a0fc 100644 --- a/target/linux/ramips/dts/mt7620a_engenius_esr600.dts +++ b/target/linux/ramips/dts/mt7620a_engenius_esr600.dts @@ -63,10 +63,6 @@ }; }; -&gpio1 { - status = "okay"; -}; - &gpio2 { status = "okay"; }; @@ -138,7 +134,8 @@ pinctrl-names = "default"; pinctrl-0 = <&rgmii1_pins &mdio_pins>; - mtd-mac-address = <&iNIC_rf 0x4>; + nvmem-cells = <&macaddr_iNIC_rf_4>; + nvmem-cell-names = "mac-address"; port@5 { status = "okay"; @@ -148,7 +145,6 @@ mdio-bus { status = "okay"; - mediatek,mdio-mode; ethernet-phy@0 { reg = <0>; @@ -159,11 +155,15 @@ 0x7c 0x0000007e /* PORT0 STATUS */ 0x0c 0x05600000 /* PORT6 PAD MODE CTRL */ 0x94 0x0000007e /* PORT6 STATUS */ - >; + >; }; }; }; +&gsw { + mediatek,ephy-base = /bits/ 8 <8>; +}; + &state_default { gpio { groups = "i2c", "uartf", "nd_sd", "wled"; @@ -194,3 +194,13 @@ &ohci { status = "okay"; }; + +&iNIC_rf { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_iNIC_rf_4: macaddr@4 { + reg = <0x4 0x6>; + }; +};