lantiq: Make the MEI address available for kernel drivers
[oweals/openwrt.git] / target / linux / lantiq / dts / TDW8970.dts
index ab90d510679bd28d9653f65d52d78ece1c0a211b..d8dcb5d836626bd5107bda3d508e38c09615265b 100644 (file)
@@ -71,7 +71,8 @@
                                #address-cells = <1>;
                                #size-cells = <0>;
                                reg = <0>;
-                               mac-address = [ 00 11 22 33 44 55 ];
+                               mtd-mac-address = <&ath9k_cal 0xf100>;
+                               lantiq,switch;
 
                                ethernet@0 {
                                        compatible = "lantiq,xrx200-pdi-port";
                        gpios = <&gpio 33 0>;
                        lantiq,portmask = <0x3>;
                };
+
+               ifxhcd@E106000 {
+                       status = "okay";
+                       gpios = <&gpio 33 0>;
+               };
        };
 
        gphy-xrx200 {
                        };
 
                        partition@20000 {
-                               reg = <0x20000 0x7a0000>;
+                               reg = <0x20000 0x6a0000>;
                                label = "firmware";
                        };
 
+                       partition@6c0000 {
+                               reg = <0x6c0000 0x100000>;
+                               label = "dsl_fw";
+                       };
+
                        partition@7c0000 {
                                reg = <0x7c0000 0x10000>;
                                label = "config";
        ath9k_eep {
                compatible = "ath9k,eeprom";
                ath,eep-flash = <&ath9k_cal 0x21000>;
-               ath,pci-slot = <0>;
+               ath,mac-offset = <0xf100>;
+               ath,mac-increment;
+               ath,led-pin = <0>;
        };
 
        gpio-keys-polled {
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <100>;
-               power {
+               reset {
                        label = "reset";
                        gpios = <&gpio 0 1>;
-                       linux,code = <0x100>;
+                       linux,code = <0x198>;
                };
 
                wifi {