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";
32 poll-interval = <100>;
35 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
40 gpios = <&gpio 52 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_POWER>;
45 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_WPS_BUTTON>;
51 compatible = "gpio-leds";
54 label = "red:wireless";
55 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
58 label = "orange:wireless";
59 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
61 wireless_blue: wireless-blue {
62 label = "blue:wireless";
63 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
67 label = "red:broadband";
68 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
71 label = "orange:broadband";
72 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
74 broadband_blue: broadband-blue {
75 label = "blue:broadband";
76 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
79 power_red: power-red {
81 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
83 power_orange: power-orange {
84 label = "orange:power";
85 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
86 default-state = "keep";
88 power_blue: power-blue {
90 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
94 usb_vbus: regulator-usb-vbus {
95 compatible = "regulator-fixed";
97 regulator-name = "USB_VBUS";
99 regulator-min-microvolt = <5000000>;
100 regulator-max-microvolt = <5000000>;
102 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
108 pinctrl-names = "default";
109 pinctrl-0 = <&state_default>;
111 state_default: pinmux {
113 lantiq,pins = "io21";
115 lantiq,open-drain = <0>;
125 flash@1 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
126 compatible = "lantiq,nand-xway";
129 reg = <1 0x0 0x2000000 >;
130 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
132 pinctrl-0 = <&nand_pins>, <&nand_cs1_pins>;
133 pinctrl-names = "default";
136 compatible = "fixed-partitions";
137 #address-cells = <1>;
142 reg = <0x00000 0x8000>;
147 reg = <0x8000 0x05c000>;
151 label = "u-boot-env";
152 reg = <0x64000 0x004000>;
154 ath9k_cal: partition@68000 {
156 reg = <0x68000 0x004000>;
160 reg = <0x6c000 0x200000>;
164 reg = <0x26c000 0x1d94000>;
173 pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
174 pinctrl-names = "default";
176 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
179 reg = <0x7000 0 0 0 0>;
180 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
190 vbus-supply = <&usb_vbus>;