5 #include <dt-bindings/input/input.h>
8 model = "BTHOMEHUBV3A - BT Home Hub 3A"; /* SoC: Lantiq ar9 @ 333MHz */
11 led-boot = &power_orange;
12 led-failsafe = &power_red;
13 led-running = &power_blue;
15 led-internet = &broadband_blue;
16 led-wifi = &wireless_blue;
19 memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
20 reg = <0x0 0x4000000>;
26 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
32 nand-parts@0 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
33 compatible = "gen_nand", "lantiq,nand-xway";
36 reg = <1 0x0 0x2000000 >;
39 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
42 compatible = "fixed-partitions";
48 reg = <0x00000 0x8000>;
53 reg = <0x8000 0x05c000>;
58 reg = <0x64000 0x004000>;
60 ath9k_cal: partition@68000 {
62 reg = <0x68000 0x004000>;
66 reg = <0x6c000 0x200000>;
70 reg = <0x26c000 0x1d94000>;
76 gpio: pinmux@E100B10 {
77 pinctrl-names = "default";
78 pinctrl-0 = <&state_default>;
80 state_default: pinmux {
82 lantiq,groups = "nand cle", "nand ale";
83 lantiq,function = "ebu";
85 lantiq,open-drain = <0>;
89 lantiq,groups = "nand cs1";
90 lantiq,function = "ebu";
91 lantiq,open-drain = <0>;
96 lantiq,groups = "req1";
97 lantiq,function = "pci";
99 lantiq,open-drain = <1>;
103 lantiq,groups = "gnt1";
104 lantiq,function = "pci";
106 lantiq,open-drain = <0>;
111 lantiq,pins = "io21";
113 lantiq,open-drain = <0>;
124 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
129 compatible = "gpio-keys-polled";
130 #address-cells = <1>;
132 poll-interval = <100>;
135 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
136 linux,code = <KEY_RESTART>;
140 gpios = <&gpio 52 GPIO_ACTIVE_LOW>;
141 linux,code = <KEY_POWER>;
145 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
146 linux,code = <KEY_WPS_BUTTON>;
151 compatible = "gpio-leds";
154 label = "bthomehubv3a:red:wireless";
155 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
158 label = "bthomehubv3a:orange:wireless";
159 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
161 wireless_blue: wireless-blue {
162 label = "bthomehubv3a:blue:wireless";
163 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
167 label = "bthomehubv3a:red:broadband";
168 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
171 label = "bthomehubv3a:orange:broadband";
172 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
174 broadband_blue: broadband-blue {
175 label = "bthomehubv3a:blue:broadband";
176 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
179 power_red: power-red {
180 label = "bthomehubv3a:red:power";
181 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
183 power_orange: power-orange {
184 label = "bthomehubv3a:orange:power";
185 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
186 default-state = "keep";
188 power_blue: power-blue {
189 label = "bthomehubv3a:blue:power";
190 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
197 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
200 reg = <0x7000 0 0 0 0>;
201 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */