ramips: clean up useless dts partition labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt3050_alphanetworks_asl26555-8m.dts
index 7eb9239d067fea566c69ee70709813ef8088f362..efdf24f9c4ea5ef2574ee4ad110bed5f053f5919 100644 (file)
@@ -1,5 +1,3 @@
-/dts-v1/;
-
 #include "rt3050_alphanetworks_asl26555.dtsi"
 
 / {
                                read-only;
                        };
 
-                       devdata: partition@30000 {
+                       partition@30000 {
                                label = "uboot-env";
                                reg = <0x30000 0x10000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_devdata_4000: eeprom@4000 {
+                                               reg = <0x4000 0x200>;
+                                       };
+
+                                       macaddr_devdata_4004: macaddr@4004 {
+                                               reg = <0x4004 0x6>;
+                                       };
+                               };
                        };
 
                        partition@40000 {
@@ -58,3 +70,8 @@
                };
        };
 };
+
+&ethernet {
+       nvmem-cells = <&macaddr_devdata_4004>;
+       nvmem-cell-names = "mac-address";
+};