lantiq: rename gphy firmware
[openwrt/staging/chunkeey.git] / target / linux / lantiq / dts / BTHOMEHUBV2B.dts
index 502132e4e9cec22c2401258f1182ee3fb03f1b7a..961fd9b9299a50680cfe6410cba06b2e0045baab 100644 (file)
@@ -2,11 +2,14 @@
 
 #include "danube.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
-       model = "BTHOMEHUBV2B - BT Home Hub 2B";  /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */
+       compatible = "bt,homehub-v2b", "lantiq,xway", "lantiq,danube";
+       model = "BT Home Hub 2B";  /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "console=ttyLTQ0,115200";
        };
 
        aliases {
@@ -14,7 +17,7 @@
                led-failsafe = &power_red;
                led-running = &power_blue;
 
-               led-internet = &broadband_blue;
+               led-dsl = &broadband_blue;
                led-wifi = &wireless_blue;
        };
 
@@ -72,7 +75,7 @@
                        };
 
                        nand-parts@0 {            /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
-                               compatible = "gen_nand", "lantiq,nand-xway";
+                               compatible = "lantiq,nand-xway";
                                lantiq,cs = <1>;
                                bank-width = <2>;
                                reg = <1 0x0 0x2000000 >;
                                        };
                                };
                        };
-
-                       ath9k_eep {
-                               compatible = "ath9k,eeprom";
-                               ath,eep-flash = <&ath9k_cal 0x0000>;
-                               ath,mac-increment = <1>;
-                               ath,pci-slot = <14>;
-                               ath,eep-endian;
-                       };
                };
 
                gpio: pinmux@E100B10 {
                gpios: stp@E100BB0 {
                        status = "okay";
                };
-
-               pci@E105400 {
-                       status = "okay";
-                       gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
-               };
        };
 
        gpio-keys-polled {
                findhandset {
                        label = "findhandset";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
-                       linux,code = <BTN_1>;
+                       linux,code = <KEY_PHONE>;
                };
                wps {
                        label = "wps";
        };
 };
 
+&pci0 {
+       status = "okay";
+       gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
+
+       wifi@168c,0027 {
+               compatible = "pci168c,0027";
+               reg = <0x7000 0 0 0 0>;
+               qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
+       };
+};