5 #include <dt-bindings/input/input.h>
8 compatible = "bt,homehub-v3a", "lantiq,xway", "lantiq,ar9";
9 model = "BT Home Hub 3A"; /* SoC: Lantiq ar9 @ 333MHz */
12 bootargs = "console=ttyLTQ0,115200";
16 led-boot = &power_orange;
17 led-failsafe = &power_red;
18 led-running = &power_blue;
20 led-dsl = &broadband_blue;
21 led-wifi = &wireless_blue;
24 memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
25 reg = <0x0 0x4000000>;
29 compatible = "gpio-keys-polled";
32 poll-interval = <100>;
35 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
40 gpios = <&gpio 52 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_POWER>;
45 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_WPS_BUTTON>;
51 compatible = "gpio-leds";
54 label = "bthomehubv3a:red:wireless";
55 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
58 label = "bthomehubv3a:orange:wireless";
59 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
61 wireless_blue: wireless-blue {
62 label = "bthomehubv3a:blue:wireless";
63 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
67 label = "bthomehubv3a:red:broadband";
68 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
71 label = "bthomehubv3a:orange:broadband";
72 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
74 broadband_blue: broadband-blue {
75 label = "bthomehubv3a:blue:broadband";
76 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
79 power_red: power-red {
80 label = "bthomehubv3a:red:power";
81 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
83 power_orange: power-orange {
84 label = "bthomehubv3a:orange:power";
85 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
86 default-state = "keep";
88 power_blue: power-blue {
89 label = "bthomehubv3a:blue:power";
90 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
96 pinctrl-names = "default";
97 pinctrl-0 = <&state_default>;
99 state_default: pinmux {
101 lantiq,groups = "nand cle", "nand ale";
102 lantiq,function = "ebu";
104 lantiq,open-drain = <0>;
108 lantiq,groups = "nand cs1";
109 lantiq,function = "ebu";
110 lantiq,open-drain = <0>;
115 lantiq,groups = "req1";
116 lantiq,function = "pci";
118 lantiq,open-drain = <1>;
122 lantiq,groups = "gnt1";
123 lantiq,function = "pci";
125 lantiq,open-drain = <0>;
130 lantiq,pins = "io21";
132 lantiq,open-drain = <0>;
142 nand@1 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
143 compatible = "lantiq,nand-xway";
146 reg = <1 0x0 0x2000000 >;
147 #address-cells = <1>;
149 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
152 compatible = "fixed-partitions";
153 #address-cells = <1>;
158 reg = <0x00000 0x8000>;
163 reg = <0x8000 0x05c000>;
168 reg = <0x64000 0x004000>;
170 ath9k_cal: partition@68000 {
172 reg = <0x68000 0x004000>;
176 reg = <0x6c000 0x200000>;
180 reg = <0x26c000 0x1d94000>;
188 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
191 reg = <0x7000 0 0 0 0>;
192 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
198 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;