ramips: clean up useless dts partition labels
[openwrt/openwrt.git] / target / linux / ramips / dts / rt3883_belkin_f9k110x.dtsi
index 47e24c66d0d1efc1f64f3c9d620429030fe73649..a2d1906b8956eb98bcf6c914efe2993095ababac 100644 (file)
        };
 };
 
-&gpio1 {
-       status = "okay";
-};
-
 &spi0 {
        status = "okay";
 
                                read-only;
                        };
 
-                       factory: partition@40000 {
+                       partition@40000 {
                                label = "factory";
                                reg = <0x40000 0x10000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_factory_0: eeprom@0 {
+                                               reg = <0x0 0x200>;
+                                       };
+
+                                       eeprom_factory_8000: eeprom@8000 {
+                                               reg = <0x8000 0x200>;
+                                       };
+                               };
                        };
 
                        partition@50000 {
 
 &state_default {
        gpio {
-               ralink,group = "i2c", "jtag", "uartf";
-               ralink,function = "gpio";
+               groups = "i2c", "jtag", "uartf";
+               function = "gpio";
        };
 };
 
 &wmac {
-       status = "okay";
-       ralink,mtd-eeprom = <&factory 0>;
+       nvmem-cells = <&eeprom_factory_0>;
+       nvmem-cell-names = "eeprom";
 };
 
 &pci {
 &pci1 {
        status = "okay";
 
-       wifi@1,0 {
+       wifi@0,0 {
                compatible = "pci1814,3091";
                reg = <0x10000 0 0 0 0>;
                ralink,5ghz = <0>;
-               ralink,mtd-eeprom = <&factory 0x8000>;
+               nvmem-cells = <&eeprom_factory_8000>;
+               nvmem-cell-names = "eeprom";
        };
 };