tools/patchelf: update to 0.18.0
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / mt7628an_mercury_mac1200r-v2.dts
index 39e02b23f94ce886b6da515cdd671fa48be79ac3..3797565908225477781e4d9869a7592316f974a0 100644 (file)
@@ -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 @@
 
 &ethernet {
        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>;
 };
 
                ieee80211-freq-limit = <5000000 6000000>;
        };
 };
+
+&factory {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       macaddr_factory_d: macaddr@d {
+               reg = <0xd 0x6>;
+       };
+};