3 #include <dt-bindings/input/input.h>
6 compatible = "bt,homehub-v3a", "lantiq,xway", "lantiq,ar9";
7 model = "BT Home Hub 3A"; /* SoC: Lantiq ar9 @ 333MHz */
10 bootargs = "console=ttyLTQ0,115200";
14 led-boot = &power_orange;
15 led-failsafe = &power_red;
16 led-running = &power_blue;
17 led-upgrade = &power_blue;
19 led-dsl = &broadband_blue;
20 led-wifi = &wireless_blue;
23 memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
24 device_type = "memory";
25 reg = <0x0 0x4000000>;
29 compatible = "gpio-keys-polled";
30 poll-interval = <100>;
33 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_RESTART>;
38 gpios = <&gpio 52 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_POWER>;
43 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_WPS_BUTTON>;
49 compatible = "gpio-leds";
52 label = "red:wireless";
53 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
56 label = "orange:wireless";
57 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
59 wireless_blue: wireless-blue {
60 label = "blue:wireless";
61 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
65 label = "red:broadband";
66 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
69 label = "orange:broadband";
70 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
72 broadband_blue: broadband-blue {
73 label = "blue:broadband";
74 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
77 power_red: power-red {
79 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
81 power_orange: power-orange {
82 label = "orange:power";
83 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
84 default-state = "keep";
86 power_blue: power-blue {
88 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
92 usb_vbus: regulator-usb-vbus {
93 compatible = "regulator-fixed";
95 regulator-name = "USB_VBUS";
97 regulator-min-microvolt = <5000000>;
98 regulator-max-microvolt = <5000000>;
100 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&state_default>;
109 state_default: pinmux {
111 lantiq,pins = "io21";
113 lantiq,open-drain = <0>;
123 flash@1 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
124 compatible = "lantiq,nand-xway";
127 reg = <1 0x0 0x2000000 >;
128 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
130 pinctrl-0 = <&nand_pins>, <&nand_cs1_pins>;
131 pinctrl-names = "default";
134 compatible = "fixed-partitions";
135 #address-cells = <1>;
140 reg = <0x00000 0x8000>;
145 reg = <0x8000 0x05c000>;
149 label = "u-boot-env";
150 reg = <0x64000 0x004000>;
152 ath9k_cal: partition@68000 {
154 reg = <0x68000 0x004000>;
158 reg = <0x6c000 0x200000>;
162 reg = <0x26c000 0x1d94000>;
171 pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
172 pinctrl-names = "default";
174 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
177 reg = <0x7000 0 0 0 0>;
178 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
188 vbus-supply = <&usb_vbus>;