#address-cells = <1>;
#size-cells = <1>;
- partition@0 {
- label = "uboot";
- reg = <0x00000 0x10000>; /* 64 KB */
- read-only;
- };
-
- partition@10000 {
- label = "uboot_env";
- reg = <0x10000 0x10000>; /* 64 KB */
- read-only;
- };
-
- partition@20000 {
- label = "firmware";
- reg = <0x20000 0x3d0000>;
- };
-
- partition@400000 {
- label = "boardconfig";
- reg = <0x3f0000 0x10000>;
- read-only;
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "uboot";
+ reg = <0x00000 0x10000>; /* 64 KB */
+ read-only;
+ };
+
+ partition@10000 {
+ label = "uboot_env";
+ reg = <0x10000 0x10000>; /* 64 KB */
+ read-only;
+ };
+
+ partition@20000 {
+ label = "firmware";
+ reg = <0x20000 0x3d0000>;
+ };
+
+ boardconfig: partition@400000 {
+ label = "boardconfig";
+ reg = <0x3f0000 0x10000>;
+ read-only;
+ };
};
};
lantiq,shadow = <0x0>;
};
- mac_addr {
- compatible = "lantiq,eth-mac";
- reg = <0 0x3f0016 0x6>;
- mac-increment = <2>;
- };
-
ath5k_eep {
compatible = "ath5k,eeprom";
- reg = <0 0x3f0400 0x1000
- 0 0x3f0016 0x6>;
+ ath,eep-flash = <&boardconfig 0x400>;
+ ath,mac-offset = <0x16>;
ath,mac-increment = <1>;
ath,eep-swap;
};
etop@E180000 {
phy-mode = "mii";
+ mtd-mac-address = <&boardconfig 0x16>;
};
ifxhcd@E101000 {