bmips: convert mtd-mac-address to nvmem implementation
[openwrt/staging/jow.git] / target / linux / bmips / dts / bcm6368-comtrend-vr-3025u.dts
index b4d2047cd818ef9f298be8e0b1d9c19c2a6cfa96..29d8dfd56e0960f16bca21952ab2c63eda3ad9da 100644 (file)
@@ -63,8 +63,9 @@
                pci-bus = <0>;
                pci-dev = <1>;
 
-               mtd-mac-address = <&cfe 0x6a0>;
-               mtd-mac-address-increment = <1>;
+               nvmem-cells = <&macaddr_cfe_6a0>;
+               nvmem-cell-names = "mac-address";
+               mac-address-increment = <1>;
 
                brcm,sprom-fixups = <97 0xfeb3>,
                                    <98 0x1618>,
@@ -82,7 +83,8 @@
 &ethernet {
        status = "okay";
 
-       mtd-mac-address = <&cfe 0x6a0>;
+       nvmem-cells = <&macaddr_cfe_6a0>;
+       nvmem-cell-names = "mac-address";
 };
 
 &ohci {
 &usbh {
        status = "okay";
 };
+
+&cfe {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       macaddr_cfe_6a0: macaddr@6a0 {
+               reg = <0x6a0 0x6>;
+       };
+};