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 reg = <0x0 0x4000000>;
30 compatible = "gpio-keys-polled";
33 poll-interval = <100>;
36 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 52 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_POWER>;
46 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_WPS_BUTTON>;
52 compatible = "gpio-leds";
55 label = "bthomehubv3a:red:wireless";
56 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
59 label = "bthomehubv3a:orange:wireless";
60 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
62 wireless_blue: wireless-blue {
63 label = "bthomehubv3a:blue:wireless";
64 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
68 label = "bthomehubv3a:red:broadband";
69 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
72 label = "bthomehubv3a:orange:broadband";
73 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
75 broadband_blue: broadband-blue {
76 label = "bthomehubv3a:blue:broadband";
77 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
80 power_red: power-red {
81 label = "bthomehubv3a:red:power";
82 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
84 power_orange: power-orange {
85 label = "bthomehubv3a:orange:power";
86 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
87 default-state = "keep";
89 power_blue: power-blue {
90 label = "bthomehubv3a:blue:power";
91 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
95 usb_vbus: regulator-usb-vbus {
96 compatible = "regulator-fixed";
98 regulator-name = "USB_VBUS";
100 regulator-min-microvolt = <5000000>;
101 regulator-max-microvolt = <5000000>;
103 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
109 pinctrl-names = "default";
110 pinctrl-0 = <&state_default>;
112 state_default: pinmux {
114 lantiq,groups = "nand cle", "nand ale";
115 lantiq,function = "ebu";
117 lantiq,open-drain = <0>;
121 lantiq,groups = "nand cs1";
122 lantiq,function = "ebu";
123 lantiq,open-drain = <0>;
128 lantiq,groups = "req1";
129 lantiq,function = "pci";
131 lantiq,open-drain = <1>;
135 lantiq,groups = "gnt1";
136 lantiq,function = "pci";
138 lantiq,open-drain = <0>;
143 lantiq,pins = "io21";
145 lantiq,open-drain = <0>;
155 nand@1 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
156 compatible = "lantiq,nand-xway";
159 reg = <1 0x0 0x2000000 >;
160 #address-cells = <1>;
162 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
165 compatible = "fixed-partitions";
166 #address-cells = <1>;
171 reg = <0x00000 0x8000>;
176 reg = <0x8000 0x05c000>;
181 reg = <0x64000 0x004000>;
183 ath9k_cal: partition@68000 {
185 reg = <0x68000 0x004000>;
189 reg = <0x6c000 0x200000>;
193 reg = <0x26c000 0x1d94000>;
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 */
215 vbus-supply = <&usb_vbus>;