#include "vr9.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
- model = "BTHOMEHUBV5A - BT Home Hub 5A";
+ compatible = "bt,homehub-v5a", "lantiq,xway", "lantiq,vr9";
+ model = "BT Home Hub 5A";
chosen {
- bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+ bootargs = "console=ttyLTQ0,115200";
};
aliases {
led-failsafe = &power_red;
led-running = &power_blue;
- led-internet = &broadband_blue;
+ led-dsl = &broadband_blue;
led-wifi = &wireless_blue;
};
fpi@10000000 {
localbus@0 {
nand-parts@0 {
- compatible = "gen_nand", "lantiq,nand-xway";
+ compatible = "lantiq,nand-xway";
lantiq,cs = <1>;
bank-width = <2>;
reg = <0x1 0x0 0x2000000>;
#address-cells = <1>;
#size-cells = <1>;
+ nand-on-flash-bbt;
+ nand-ecc-strength = <3>;
+ nand-ecc-step-size = <256>;
partitions {
compatible = "fixed-partitions";
partition@0 {
label = "u-boot";
- reg = <0x0 0x40000>;
+ reg = <0x0 0xa0000>;
read-only;
};
- partition@40000 {
+ partition@a0000 {
label = "uboot-env";
- reg = <0x40000 0x40000>;
- };
- caldata: partition@80000 {
- label = "caldata";
- reg = <0x80000 0x20000>;
+ reg = <0xa0000 0x20000>;
read-only;
};
- partition@a0000 {
- label = "kernel";
- reg = <0xa0000 0x200000>;
+ partition@c0000 {
+ label = "unused";
+ reg = <0xc0000 0x40000>;
};
- partition@2a0000 {
+ partition@100000 {
label = "ubi";
- reg = <0x2a0000 0x7d60000>;
+ reg = <0x100000 0x7e80000>;
};
+ /*
+ * last 512 KiB are for the bad block table, not writable
+ */
};
};
};
status = "okay";
gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
};
-
- pci@E105400 {
- status = "okay";
- gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
- };
};
gphy-xrx200 {
compatible = "lantiq,phy-xrx200";
- firmware1 = "lantiq/vr9_phy11g_a1x.bin"; /*VR9 1.1*/
- firmware2 = "lantiq/vr9_phy11g_a2x.bin"; /*VR9 1.2*/
+ firmware1 = "lantiq/xrx200_phy11g_a14.bin"; /*VR9 1.1*/
+ firmware2 = "lantiq/xrx200_phy11g_a22.bin"; /*VR9 1.2*/
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;
+ };
+};
+
ð0 {
lan: interface@0 {
compatible = "lantiq,xrx200-pdi";
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
- mtd-mac-address = <&caldata 0x110c>;
lantiq,switch;
ethernet@0 {
phy-mode = "gmii";
phy-handle = <&phy13>;
};
- };
-
- wan: interface@1 {
- compatible = "lantiq,xrx200-pdi";
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <1>;
- mtd-mac-address = <&caldata 0x110c>;
- mtd-mac-address-increment = <4>;
- lantiq,wan;
-
ethernet@5 {
compatible = "lantiq,xrx200-pdi-port";
reg = <5>;