3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
7 compatible = "bt,homehub-v5a", "lantiq,xway", "lantiq,vr9";
8 model = "BT Home Hub 5A";
11 bootargs = "console=ttyLTQ0,115200";
15 led-boot = &power_green;
16 led-failsafe = &power_red;
17 led-running = &power_blue;
18 led-upgrade = &power_blue;
20 led-dsl = &broadband_blue;
21 led-wifi = &wireless_blue;
25 device_type = "memory";
26 reg = <0x0 0x8000000>;
30 compatible = "gpio-keys-polled";
31 poll-interval = <100>;
35 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_WPS_BUTTON>;
47 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_POWER2>;
53 compatible = "gpio-leds";
55 /* broadband-* is a single RGB led */
57 label = "red:broadband";
58 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
61 label = "green:broadband";
62 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
64 broadband_blue: broadband-blue {
65 label = "blue:broadband";
66 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
69 /* wireless-* is a single RGB led */
71 label = "red:wireless";
72 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
75 label = "green:wireless";
76 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
78 wireless_blue: wireless-blue {
79 label = "blue:wireless";
80 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
83 /* power-* is a single RGB led */
84 power_red: power-red {
86 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
88 power_green: power-green {
89 label = "green:power";
90 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
91 default-state = "keep";
93 power_blue: power-blue {
95 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
100 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
104 usb_vbus: regulator-usb-vbus {
105 compatible = "regulator-fixed";
107 regulator-name = "USB_VBUS";
109 regulator-min-microvolt = <5000000>;
110 regulator-max-microvolt = <5000000>;
112 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
118 lantiq,gphy-mode = <GPHY_MODE_GE>;
122 lantiq,gphy-mode = <GPHY_MODE_GE>;
126 pinctrl-names = "default";
127 pinctrl-0 = <&state_default>;
129 state_default: pinmux {
131 lantiq,pins = "io21";
136 lantiq,pins = "io38";
142 lantiq,pins = "io33";
144 lantiq,open-drain = <0>;
151 pinctrl-0 = <&mdio_pins>;
152 pinctrl-names = "default";
156 phy0: ethernet-phy@0 {
159 phy1: ethernet-phy@1 {
162 phy5: ethernet-phy@5 {
165 phy11: ethernet-phy@11 {
168 phy13: ethernet-phy@13 {
177 phy-mode = "rgmii-id";
178 tx-internal-delay-ps = <1500>;
179 rx-internal-delay-ps = <1500>;
180 phy-handle = <&phy0>;
185 phy-mode = "rgmii-id";
186 tx-internal-delay-ps = <1500>;
187 rx-internal-delay-ps = <1500>;
188 phy-handle = <&phy1>;
193 phy-mode = "internal";
194 phy-handle = <&phy11>;
199 phy-mode = "internal";
200 phy-handle = <&phy13>;
205 phy-mode = "rgmii-id";
206 tx-internal-delay-ps = <1500>;
207 rx-internal-delay-ps = <1500>;
208 phy-handle = <&phy5>;
214 compatible = "lantiq,nand-xway";
217 reg = <0x1 0x0 0x2000000>;
219 pinctrl-0 = <&nand_pins>, <&nand_cs1_pins>;
220 pinctrl-names = "default";
223 nand-ecc-strength = <3>;
224 nand-ecc-step-size = <256>;
225 nand-use-soft-ecc-engine;
228 compatible = "fixed-partitions";
229 #address-cells = <1>;
238 label = "u-boot-env";
239 reg = <0xa0000 0x20000>;
244 reg = <0xc0000 0x40000>;
248 reg = <0x100000 0x7e80000>;
251 * last 512 KiB are for the bad block table, not writable
259 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
262 compatible = "pci168c,002d";
263 reg = <0x7000 0 0 0 0>;
264 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
265 ieee80211-freq-limit = <2402000 2482000>;
275 vbus-supply = <&usb_vbus>;