lantiq: use ath9k device tree bindings binding/owl-loader
[openwrt/openwrt.git] / target / linux / lantiq / dts / FRITZ3370.dts
index e12c7bf900560941eb243f4e5815e784e859bc6d..1e2e90ca1b462e6ee4d1ffca1ea82ea9098cf5f6 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";
                power {
                        label = "power";
                        gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
-                       linux,code = <BTN_0>;
+                       linux,code = <KEY_POWER>;
                };
 /*             wifi {
                        label = "wifi";
                reg = <4 0>;
                spi-max-frequency = <1000000>;
 
-               ath9k_cal: partition@0 {
+               partition@0 {
                        reg = <0x0 0x20000>;
                        label = "urlader";
                        read-only;
                };
        };
 };
+
+&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 */
+               };
+       };
+};