lantiq: fix building AVM/EVA sysupgrade images on NOR devices
[oweals/openwrt.git] / target / linux / lantiq / dts / ARV7510PW22.dts
index c92c393b9311970f278708bbf21adb994d7dd741..fb03017f1dd5e6bea4b674008509e67fd555b7ef 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <1>;
 
-                               partition@0 {
-                                       label = "uboot";
-                                       reg = <0x00000 0x40000>;
-                                       read-only;
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       partition@0 {
+                                               label = "uboot";
+                                               reg = <0x00000 0x40000>;
+                                               read-only;
+                                       };
+
+                                       partition@40000 {
+                                               label = "uboot_env";
+                                               reg = <0x40000 0x20000>;
+                                               read-only;
+                                       };
+
+                                       partition@60000 {
+                                               label = "firmware";
+                                               reg = <0x60000 0xf80000>;
+                                       };
+
+                                       boardconfig: partition@fe0000 {
+                                               label = "board_config";
+                                               reg = <0xfe0000 0x20000>;
+                                               read-only;
+                                       };
                                };
-
-                               partition@40000 {
-                                       label = "uboot_env";
-                                       reg = <0x40000 0x20000>;
-                                       read-only;
-                               };
-
-                               partition@60000 {
-                                       label = "firmware";
-                                       reg = <0x60000 0xf80000>;
-                               };
-
-                               partition@fe0000 {
-                                       label = "board_config";
-                                       reg = <0xfe0000 0x20000>;
-                                       read-only;
-                               };
-                       };
-
-                       mac_addr {
-                               compatible = "lantiq,eth-mac";
-                               reg = <0 0xfe0016 0x6>;
-                               mac-increment = <2>;
                        };
                };
 
                };
 
                etop@E180000 {
-                       phy-mode = "mii";
                        /* Switch reset 19 */
+                       phy-mode = "mii";
+                       mtd-mac-address = <&boardconfig 0x16>;
                };
 
                pci@E105400 {