lantiq: board.d: set lan mac address only where necessary
[oweals/openwrt.git] / target / linux / lantiq / dts / FRITZ7320.dts
index 8140b68554bf49d3c457d3cc623592c0d42ab714..acb88b60a0c225bbee4ba0ae3f56aee3ec497716 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <1>;
 
-                               partition@0 {
-                                       label = "urlader";
-                                       reg = <0x00000 0x20000>;
-                                       read-only;
-                               };
-
-                               partition@20000 {
-                                       label = "firmware";
-                                       reg = <0x20000 0xf60000>;
-                               };
-
-                               partition@f80000 {
-                                       label = "tffs (1)";
-                                       reg = <0xf80000 0x40000>;
-                                       read-only;
-                               };
-
-                               partition@fc0000 {
-                                       label = "tffs (2)";
-                                       reg = <0xfc0000 0x40000>;
-                                       read-only;
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       ath9k_cal: partition@0 {
+                                               label = "urlader";
+                                               reg = <0x00000 0x20000>;
+                                               read-only;
+                                       };
+
+                                       partition@20000 {
+                                               label = "firmware";
+                                               reg = <0x20000 0xf60000>;
+                                       };
+
+                                       partition@f80000 {
+                                               label = "tffs (1)";
+                                               reg = <0xf80000 0x40000>;
+                                               read-only;
+                                       };
+
+                                       partition@fc0000 {
+                                               label = "tffs (2)";
+                                               reg = <0xfc0000 0x40000>;
+                                               read-only;
+                                       };
                                };
                        };
                };
 
+               ath9k_eep {
+                       compatible = "ath9k,eeprom";
+                       ath,eep-flash = <&ath9k_cal 0x985>;
+                       ath,device-id = /bits/ 16 <0xff1d 0x2d>;
+                       ath,eep-endian;
+                       ath,eep-swap;
+               };
+
                gpio: pinmux@E100B10 {
                        pinctrl-names = "default";
                        pinctrl-0 = <&state_default>;