#include "vr9.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
model = "BTHOMEHUBV5A - BT Home Hub 5A";
chosen {
- bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+ bootargs = "console=ttyLTQ0,115200";
};
aliases {
reg = <0x0 0x8000000>;
};
- cputemp@0 {
- compatible = "lantiq,cputemp";
- };
-
fpi@10000000 {
localbus@0 {
nand-parts@0 {
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
+ */
};
};
};
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;
+ };
+};
+
ð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>;