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>;
119 compatible = "lantiq,xrx200-pdi";
120 #address-cells = <1>;
126 compatible = "lantiq,xrx200-pdi-port";
129 phy-handle = <&phy0>;
132 compatible = "lantiq,xrx200-pdi-port";
135 phy-handle = <&phy1>;
138 compatible = "lantiq,xrx200-pdi-port";
141 phy-handle = <&phy11>;
144 compatible = "lantiq,xrx200-pdi-port";
147 phy-handle = <&phy13>;
150 compatible = "lantiq,xrx200-pdi-port";
153 phy-handle = <&phy5>;
158 #address-cells = <1>;
160 compatible = "lantiq,xrx200-mdio";
162 phy0: ethernet-phy@0 {
164 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
166 phy1: ethernet-phy@1 {
168 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
170 phy5: ethernet-phy@5 {
172 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
174 phy11: ethernet-phy@11 {
176 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
178 phy13: ethernet-phy@13 {
180 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
186 lantiq,gphy-mode = <GPHY_MODE_GE>;
190 lantiq,gphy-mode = <GPHY_MODE_GE>;
194 pinctrl-names = "default";
195 pinctrl-0 = <&state_default>;
197 state_default: pinmux {
199 lantiq,pins = "io21";
204 lantiq,pins = "io38";
210 lantiq,pins = "io33";
212 lantiq,open-drain = <0>;
220 compatible = "lantiq,nand-xway";
223 reg = <0x1 0x0 0x2000000>;
225 pinctrl-0 = <&nand_pins>, <&nand_cs1_pins>;
226 pinctrl-names = "default";
229 nand-ecc-strength = <3>;
230 nand-ecc-step-size = <256>;
233 compatible = "fixed-partitions";
234 #address-cells = <1>;
243 label = "u-boot-env";
244 reg = <0xa0000 0x20000>;
249 reg = <0xc0000 0x40000>;
253 reg = <0x100000 0x7e80000>;
256 * last 512 KiB are for the bad block table, not writable
264 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
267 compatible = "pci168c,002d";
268 reg = <0x7000 0 0 0 0>;
269 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
280 vbus-supply = <&usb_vbus>;