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;
19 led-upgrade = &power_blue;
21 led-dsl = &broadband_blue;
22 led-wifi = &wireless_blue;
25 memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
26 device_type = "memory";
27 reg = <0x0 0x4000000>;
31 compatible = "gpio-keys-polled";
34 poll-interval = <100>;
37 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
42 gpios = <&gpio 52 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_POWER>;
47 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_WPS_BUTTON>;
53 compatible = "gpio-leds";
56 label = "bthomehubv3a:red:wireless";
57 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
60 label = "bthomehubv3a:orange:wireless";
61 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
63 wireless_blue: wireless-blue {
64 label = "bthomehubv3a:blue:wireless";
65 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
69 label = "bthomehubv3a:red:broadband";
70 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
73 label = "bthomehubv3a:orange:broadband";
74 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
76 broadband_blue: broadband-blue {
77 label = "bthomehubv3a:blue:broadband";
78 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
81 power_red: power-red {
82 label = "bthomehubv3a:red:power";
83 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
85 power_orange: power-orange {
86 label = "bthomehubv3a:orange:power";
87 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
88 default-state = "keep";
90 power_blue: power-blue {
91 label = "bthomehubv3a:blue:power";
92 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
96 usb_vbus: regulator-usb-vbus {
97 compatible = "regulator-fixed";
99 regulator-name = "USB_VBUS";
101 regulator-min-microvolt = <5000000>;
102 regulator-max-microvolt = <5000000>;
104 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
110 pinctrl-names = "default";
111 pinctrl-0 = <&state_default>;
113 state_default: pinmux {
115 lantiq,groups = "nand cle", "nand ale";
116 lantiq,function = "ebu";
118 lantiq,open-drain = <0>;
122 lantiq,groups = "nand cs1";
123 lantiq,function = "ebu";
124 lantiq,open-drain = <0>;
129 lantiq,groups = "req1";
130 lantiq,function = "pci";
132 lantiq,open-drain = <1>;
136 lantiq,groups = "gnt1";
137 lantiq,function = "pci";
139 lantiq,open-drain = <0>;
144 lantiq,pins = "io21";
146 lantiq,open-drain = <0>;
156 nand@1 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
157 compatible = "lantiq,nand-xway";
160 reg = <1 0x0 0x2000000 >;
161 #address-cells = <1>;
163 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
166 compatible = "fixed-partitions";
167 #address-cells = <1>;
172 reg = <0x00000 0x8000>;
177 reg = <0x8000 0x05c000>;
182 reg = <0x64000 0x004000>;
184 ath9k_cal: partition@68000 {
186 reg = <0x68000 0x004000>;
190 reg = <0x6c000 0x200000>;
194 reg = <0x26c000 0x1d94000>;
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 */
216 vbus-supply = <&usb_vbus>;