lantiq: fix building AVM/EVA sysupgrade images on NOR devices
[oweals/openwrt.git] / target / linux / lantiq / dts / ARV7510PW22.dts
index 6c534a920be80993e484ca592af01614d449d4b5..fb03017f1dd5e6bea4b674008509e67fd555b7ef 100644 (file)
@@ -9,8 +9,11 @@
                bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
 
                leds {
+                       boot = &power;
+                       failsafe = &power;
+                       running = &power;
+
                        internet = &internet;
-                       power = &power;
                        wifi = &wlan;
                };
        };
                                #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;
+                               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@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 {
                power: power {
                        label = "power";
                        gpios = <&gpio 2 1>;
+                       default-state = "keep";
                };
                internet: internet {
                        label = "internet";