3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
8 compatible = "bt,homehub-v5a", "lantiq,xway", "lantiq,vr9";
9 model = "BT Home Hub 5A";
12 bootargs = "console=ttyLTQ0,115200";
16 led-boot = &power_green;
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;
26 device_type = "memory";
27 reg = <0x0 0x8000000>;
31 compatible = "gpio-keys-polled";
32 poll-interval = <100>;
36 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
42 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_WPS_BUTTON>;
48 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_POWER2>;
54 compatible = "gpio-leds";
56 /* broadband-* is a single RGB led */
58 label = "red:broadband";
59 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
62 label = "green:broadband";
63 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
65 broadband_blue: broadband-blue {
66 label = "blue:broadband";
67 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
70 /* wireless-* is a single RGB led */
72 label = "red:wireless";
73 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
76 label = "green:wireless";
77 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
79 wireless_blue: wireless-blue {
80 label = "blue:wireless";
81 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
84 /* power-* is a single RGB led */
85 power_red: power-red {
86 function = LED_FUNCTION_POWER;
87 color = <LED_COLOR_ID_RED>;
88 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
90 power_green: power-green {
91 function = LED_FUNCTION_POWER;
92 color = <LED_COLOR_ID_GREEN>;
93 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
94 default-state = "keep";
96 power_blue: power-blue {
97 function = LED_FUNCTION_POWER;
98 color = <LED_COLOR_ID_BLUE>;
99 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
104 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
108 usb_vbus: regulator-usb-vbus {
109 compatible = "regulator-fixed";
111 regulator-name = "USB_VBUS";
113 regulator-min-microvolt = <5000000>;
114 regulator-max-microvolt = <5000000>;
116 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
122 lantiq,gphy-mode = <GPHY_MODE_GE>;
126 lantiq,gphy-mode = <GPHY_MODE_GE>;
130 pinctrl-names = "default";
131 pinctrl-0 = <&state_default>;
133 state_default: pinmux {
135 lantiq,pins = "io21";
140 lantiq,pins = "io38";
146 lantiq,pins = "io33";
148 lantiq,open-drain = <0>;
155 pinctrl-0 = <&mdio_pins>;
156 pinctrl-names = "default";
160 phy0: ethernet-phy@0 {
163 phy1: ethernet-phy@1 {
166 phy5: ethernet-phy@5 {
169 phy11: ethernet-phy@11 {
172 phy13: ethernet-phy@13 {
181 phy-mode = "rgmii-id";
182 tx-internal-delay-ps = <1500>;
183 rx-internal-delay-ps = <1500>;
184 phy-handle = <&phy0>;
189 phy-mode = "rgmii-id";
190 tx-internal-delay-ps = <1500>;
191 rx-internal-delay-ps = <1500>;
192 phy-handle = <&phy1>;
197 phy-mode = "internal";
198 phy-handle = <&phy11>;
203 phy-mode = "internal";
204 phy-handle = <&phy13>;
209 phy-mode = "rgmii-id";
210 tx-internal-delay-ps = <1500>;
211 rx-internal-delay-ps = <1500>;
212 phy-handle = <&phy5>;
218 compatible = "lantiq,nand-xway";
221 reg = <0x1 0x0 0x2000000>;
223 pinctrl-0 = <&nand_pins>, <&nand_cs1_pins>;
224 pinctrl-names = "default";
227 nand-ecc-strength = <3>;
228 nand-ecc-step-size = <256>;
229 nand-use-soft-ecc-engine;
232 compatible = "fixed-partitions";
233 #address-cells = <1>;
242 label = "u-boot-env";
243 reg = <0xa0000 0x20000>;
248 reg = <0xc0000 0x40000>;
252 reg = <0x100000 0x7e80000>;
255 * last 512 KiB are for the bad block table, not writable
263 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
266 compatible = "pci168c,002d";
267 reg = <0x7000 0 0 0 0>;
268 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
269 ieee80211-freq-limit = <2402000 2482000>;
279 vbus-supply = <&usb_vbus>;