5 #include <dt-bindings/input/input.h>
8 model = "BTHOMEHUBV3A - BT Home Hub 3A"; /* SoC: Lantiq ar9 @ 333MHz */
11 bootargs = "console=ttyLTQ0,115200";
15 led-boot = &power_orange;
16 led-failsafe = &power_red;
17 led-running = &power_blue;
19 led-internet = &broadband_blue;
20 led-wifi = &wireless_blue;
23 memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
24 reg = <0x0 0x4000000>;
30 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
36 nand-parts@0 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
37 compatible = "gen_nand", "lantiq,nand-xway";
40 reg = <1 0x0 0x2000000 >;
43 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
46 compatible = "fixed-partitions";
52 reg = <0x00000 0x8000>;
57 reg = <0x8000 0x05c000>;
62 reg = <0x64000 0x004000>;
64 ath9k_cal: partition@68000 {
66 reg = <0x68000 0x004000>;
70 reg = <0x6c000 0x200000>;
74 reg = <0x26c000 0x1d94000>;
80 gpio: pinmux@E100B10 {
81 pinctrl-names = "default";
82 pinctrl-0 = <&state_default>;
84 state_default: pinmux {
86 lantiq,groups = "nand cle", "nand ale";
87 lantiq,function = "ebu";
89 lantiq,open-drain = <0>;
93 lantiq,groups = "nand cs1";
94 lantiq,function = "ebu";
95 lantiq,open-drain = <0>;
100 lantiq,groups = "req1";
101 lantiq,function = "pci";
103 lantiq,open-drain = <1>;
107 lantiq,groups = "gnt1";
108 lantiq,function = "pci";
110 lantiq,open-drain = <0>;
115 lantiq,pins = "io21";
117 lantiq,open-drain = <0>;
128 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
133 compatible = "gpio-keys-polled";
134 #address-cells = <1>;
136 poll-interval = <100>;
139 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
140 linux,code = <KEY_RESTART>;
144 gpios = <&gpio 52 GPIO_ACTIVE_LOW>;
145 linux,code = <KEY_POWER>;
149 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
150 linux,code = <KEY_WPS_BUTTON>;
155 compatible = "gpio-leds";
158 label = "bthomehubv3a:red:wireless";
159 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
162 label = "bthomehubv3a:orange:wireless";
163 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
165 wireless_blue: wireless-blue {
166 label = "bthomehubv3a:blue:wireless";
167 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
171 label = "bthomehubv3a:red:broadband";
172 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
175 label = "bthomehubv3a:orange:broadband";
176 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
178 broadband_blue: broadband-blue {
179 label = "bthomehubv3a:blue:broadband";
180 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
183 power_red: power-red {
184 label = "bthomehubv3a:red:power";
185 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
187 power_orange: power-orange {
188 label = "bthomehubv3a:orange:power";
189 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
190 default-state = "keep";
192 power_blue: power-blue {
193 label = "bthomehubv3a:blue:power";
194 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
201 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
204 reg = <0x7000 0 0 0 0>;
205 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */