ramips: clean up useless dts partition labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt3050_asus_rt-g32-b1.dts
index 0d4d8f4cfd5560929f3d666917b2b5e070bbb765..5d980ebf8a58b12263b5568ffb05e36988e09302 100644 (file)
                                read-only;
                        };
 
-                       devconf: partition@40000 {
+                       partition@40000 {
                                label = "devconf";
                                reg = <0x40000 0x10000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_devconf_0: eeprom@0 {
+                                               reg = <0x0 0x200>;
+                                       };
+
+                                       macaddr_devconf_4: macaddr@4 {
+                                               reg = <0x4 0x6>;
+                                       };
+                               };
                        };
 
                        partition@50000 {
 };
 
 &wmac {
-       ralink,mtd-eeprom = <&devconf 0x0>;
-};
-
-&devconf {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_devconf_4: macaddr@4 {
-               reg = <0x4 0x6>;
-       };
+       nvmem-cells = <&eeprom_devconf_0>;
+       nvmem-cell-names = "eeprom";
 };