lantiq: fix avm fritz box mac addresses
[openwrt/staging/florian.git] / target / linux / lantiq / dts / FRITZ3370.dts
index 2580674ba9d43778f6089d894a0aaf235f66b205..3f57f45ee882c9f3affc7ac22d5a3f3592ce919c 100644 (file)
                };
        };
 
-       ath9k_eep {
-               compatible = "ath9k,eeprom";
-               ath,eep-flash = <&ath9k_cal 0x985>;
-               ath,eep-endian;
-               ath,eep-swap;
-       };
-
        gphy-xrx200 {
                compatible = "lantiq,phy-xrx200";
                firmware = "lantiq/vr9_phy11g_a1x.bin";
                reg = <4 0>;
                spi-max-frequency = <1000000>;
 
-               ath9k_cal: partition@0 {
+               urlader: partition@0 {
                        reg = <0x0 0x20000>;
                        label = "urlader";
                        read-only;
                #address-cells = <1>;
                #size-cells = <0>;
                reg = <0>;
-               mac-address = [ 00 11 22 33 44 55 ];
+               mtd-mac-address = <&urlader 0x987>;
+               mtd-mac-address-increment = <(-2)>;
                lantiq,switch;
 
                ethernet@0 {
                };
        };
 };
+
+&pcie0 {
+       pcie@0 {
+               reg = <0 0 0 0 0>;
+               #interrupt-cells = <1>;
+               #size-cells = <2>;
+               #address-cells = <3>;
+               device_type = "pci";
+
+               wifi@0,0 {
+                       compatible = "pci0,0";
+                       reg = <0 0 0 0 0>;
+                       qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */
+               };
+       };
+};