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>;
31 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
37 nand-parts@0 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
38 compatible = "lantiq,nand-xway";
41 reg = <1 0x0 0x2000000 >;
44 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
47 compatible = "fixed-partitions";
53 reg = <0x00000 0x8000>;
58 reg = <0x8000 0x05c000>;
63 reg = <0x64000 0x004000>;
65 ath9k_cal: partition@68000 {
67 reg = <0x68000 0x004000>;
71 reg = <0x6c000 0x200000>;
75 reg = <0x26c000 0x1d94000>;
81 gpio: pinmux@E100B10 {
82 pinctrl-names = "default";
83 pinctrl-0 = <&state_default>;
85 state_default: pinmux {
87 lantiq,groups = "nand cle", "nand ale";
88 lantiq,function = "ebu";
90 lantiq,open-drain = <0>;
94 lantiq,groups = "nand cs1";
95 lantiq,function = "ebu";
96 lantiq,open-drain = <0>;
101 lantiq,groups = "req1";
102 lantiq,function = "pci";
104 lantiq,open-drain = <1>;
108 lantiq,groups = "gnt1";
109 lantiq,function = "pci";
111 lantiq,open-drain = <0>;
116 lantiq,pins = "io21";
118 lantiq,open-drain = <0>;
129 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
134 compatible = "gpio-keys-polled";
135 #address-cells = <1>;
137 poll-interval = <100>;
140 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
141 linux,code = <KEY_RESTART>;
145 gpios = <&gpio 52 GPIO_ACTIVE_LOW>;
146 linux,code = <KEY_POWER>;
150 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
151 linux,code = <KEY_WPS_BUTTON>;
156 compatible = "gpio-leds";
159 label = "bthomehubv3a:red:wireless";
160 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
163 label = "bthomehubv3a:orange:wireless";
164 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
166 wireless_blue: wireless-blue {
167 label = "bthomehubv3a:blue:wireless";
168 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
172 label = "bthomehubv3a:red:broadband";
173 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
176 label = "bthomehubv3a:orange:broadband";
177 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
179 broadband_blue: broadband-blue {
180 label = "bthomehubv3a:blue:broadband";
181 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
184 power_red: power-red {
185 label = "bthomehubv3a:red:power";
186 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
188 power_orange: power-orange {
189 label = "bthomehubv3a:orange:power";
190 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
191 default-state = "keep";
193 power_blue: power-blue {
194 label = "bthomehubv3a:blue:power";
195 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
202 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
205 reg = <0x7000 0 0 0 0>;
206 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */