5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
9 compatible = "bt,homehub-v5a", "lantiq,xway", "lantiq,vr9";
10 model = "BT Home Hub 5A";
13 bootargs = "console=ttyLTQ0,115200";
17 led-boot = &power_green;
18 led-failsafe = &power_red;
19 led-running = &power_blue;
20 led-upgrade = &power_blue;
22 led-dsl = &broadband_blue;
23 led-wifi = &wireless_blue;
27 device_type = "memory";
28 reg = <0x0 0x8000000>;
32 compatible = "gpio-keys-polled";
35 poll-interval = <100>;
39 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
45 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_WPS_BUTTON>;
51 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_POWER2>;
57 compatible = "gpio-leds";
59 /* broadband-* is a single RGB led */
61 label = "bthomehubv5a:red:broadband";
62 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
65 label = "bthomehubv5a:green:broadband";
66 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
68 broadband_blue: broadband-blue {
69 label = "bthomehubv5a:blue:broadband";
70 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
73 /* wireless-* is a single RGB led */
75 label = "bthomehubv5a:red:wireless";
76 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
79 label = "bthomehubv5a:green:wireless";
80 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
82 wireless_blue: wireless-blue {
83 label = "bthomehubv5a:blue:wireless";
84 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
87 /* power-* is a single RGB led */
88 power_red: power-red {
89 label = "bthomehubv5a:red:power";
90 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
92 power_green: power-green {
93 label = "bthomehubv5a:green:power";
94 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
95 default-state = "keep";
97 power_blue: power-blue {
98 label = "bthomehubv5a:blue:power";
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>;
123 compatible = "lantiq,xrx200-pdi";
124 #address-cells = <1>;
130 compatible = "lantiq,xrx200-pdi-port";
133 phy-handle = <&phy0>;
136 compatible = "lantiq,xrx200-pdi-port";
139 phy-handle = <&phy1>;
142 compatible = "lantiq,xrx200-pdi-port";
145 phy-handle = <&phy11>;
148 compatible = "lantiq,xrx200-pdi-port";
151 phy-handle = <&phy13>;
154 compatible = "lantiq,xrx200-pdi-port";
157 phy-handle = <&phy5>;
162 #address-cells = <1>;
164 compatible = "lantiq,xrx200-mdio";
167 phy0: ethernet-phy@0 {
169 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
171 phy1: ethernet-phy@1 {
173 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
175 phy5: ethernet-phy@5 {
177 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
179 phy11: ethernet-phy@11 {
181 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
183 phy13: ethernet-phy@13 {
185 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
191 lantiq,gphy-mode = <GPHY_MODE_GE>;
195 lantiq,gphy-mode = <GPHY_MODE_GE>;
199 pinctrl-names = "default";
200 pinctrl-0 = <&state_default>;
202 state_default: pinmux {
204 lantiq,groups = "mdio";
205 lantiq,function = "mdio";
208 lantiq,pins = "io21";
213 lantiq,pins = "io38";
219 lantiq,pins = "io33";
221 lantiq,open-drain = <0>;
225 lantiq,groups = "nand cle", "nand ale";
226 lantiq,function = "ebu";
228 lantiq,open-drain = <0>;
232 lantiq,groups = "nand cs1";
233 lantiq,function = "ebu";
234 lantiq,open-drain = <0>;
242 compatible = "lantiq,nand-xway";
245 reg = <0x1 0x0 0x2000000>;
246 #address-cells = <1>;
249 nand-ecc-strength = <3>;
250 nand-ecc-step-size = <256>;
253 compatible = "fixed-partitions";
254 #address-cells = <1>;
264 reg = <0xa0000 0x20000>;
269 reg = <0xc0000 0x40000>;
273 reg = <0x100000 0x7e80000>;
276 * last 512 KiB are for the bad block table, not writable
284 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
287 compatible = "pci168c,002d";
288 reg = <0x7000 0 0 0 0>;
289 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
300 vbus-supply = <&usb_vbus>;