lantiq: use ath9k device tree bindings binding/owl-loader
[openwrt/openwrt.git] / target / linux / lantiq / dts / BTHOMEHUBV5A.dts
index 62d28fa712fabdbbf8085ba847807c73a13e4cf0..2dea92709568a80f879bd5420b34a10f163b9b03 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "vr9.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        model = "BTHOMEHUBV5A - BT Home Hub 5A";
 
@@ -67,9 +69,6 @@
                        pinctrl-names = "default";
                        pinctrl-0 = <&state_default>;
 
-                       interrupt-parent = <&icu0>;
-                       interrupts = <166 135 66 40 41 42 38>;
-
                        state_default: pinmux {
                                mdio {
                                        lantiq,groups = "mdio";
                        status = "okay";
                        gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
                };
-
-               pci@E105400 {
-                       status = "okay";
-                       lantiq,bus-clock = <33333333>;
-                       interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
-                       interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
-                       gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
-               };
        };
 
        gphy-xrx200 {
                phys = [ 00 01 ];
        };
 
-       ath9k_eep {
-               compatible = "ath9k,eeprom";
-               ath,eep-flash = <&caldata 0x1000>;
-               ath,mac-offset = <0x110c>;
-               ath,mac-increment = <2>;
-               ath,pci-slot = <0xe>; /* 14 */
-       };
-
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
        };
 };
 
+&pci0 {
+       status = "okay";
+       gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
+
+       wifi@168c,002d {
+               compatible = "pci168c,002d";
+               reg = <0x7000 0 0 0 0>;
+               qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
+               qca,disable-5ghz;
+               mtd-mac-address = <&caldata 0x110c>;
+               mtd-mac-address-increment = <2>;
+       };
+};
+
 &eth0 {
        lan: interface@0 {
                compatible = "lantiq,xrx200-pdi";