X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7628an_mercury_mac1200r-v2.dts;h=3797565908225477781e4d9869a7592316f974a0;hb=HEAD;hp=39e02b23f94ce886b6da515cdd671fa48be79ac3;hpb=621297e86736556f772a3a1e3907c4ad9223bd74;p=openwrt%2Fstaging%2Fdedeckeh.git diff --git a/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts b/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts index 39e02b23f9..3797565908 100644 --- a/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts +++ b/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts @@ -18,7 +18,7 @@ compatible = "gpio-leds"; led_status: status { - label = "mac1200rv2:green:status"; + label = "green:status"; gpios = <&gpio 11 GPIO_ACTIVE_LOW>; }; }; @@ -75,7 +75,8 @@ ðernet { pinctrl-names = "default"; - mtd-mac-address = <&factory 0xd>; + nvmem-cells = <&macaddr_factory_d>; + nvmem-cell-names = "mac-address"; }; &esw { @@ -84,6 +85,8 @@ &wmac { status = "okay"; + + mediatek,mtd-eeprom = <&factory 0x0>; ralink,mtd-eeprom = <&art 0x0>; }; @@ -98,3 +101,13 @@ ieee80211-freq-limit = <5000000 6000000>; }; }; + +&factory { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_d: macaddr@d { + reg = <0xd 0x6>; + }; +};