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";
33 poll-interval = <100>;
37 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
43 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_WPS_BUTTON>;
49 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_POWER2>;
55 compatible = "gpio-leds";
57 /* broadband-* is a single RGB led */
59 label = "bthomehubv5a:red:broadband";
60 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
63 label = "bthomehubv5a:green:broadband";
64 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
66 broadband_blue: broadband-blue {
67 label = "bthomehubv5a:blue:broadband";
68 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
71 /* wireless-* is a single RGB led */
73 label = "bthomehubv5a:red:wireless";
74 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
77 label = "bthomehubv5a:green:wireless";
78 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
80 wireless_blue: wireless-blue {
81 label = "bthomehubv5a:blue:wireless";
82 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
85 /* power-* is a single RGB led */
86 power_red: power-red {
87 label = "bthomehubv5a:red:power";
88 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
90 power_green: power-green {
91 label = "bthomehubv5a:green:power";
92 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
93 default-state = "keep";
95 power_blue: power-blue {
96 label = "bthomehubv5a:blue:power";
97 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
102 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
106 usb_vbus: regulator-usb-vbus {
107 compatible = "regulator-fixed";
109 regulator-name = "USB_VBUS";
111 regulator-min-microvolt = <5000000>;
112 regulator-max-microvolt = <5000000>;
114 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
121 compatible = "lantiq,xrx200-pdi";
122 #address-cells = <1>;
128 compatible = "lantiq,xrx200-pdi-port";
131 phy-handle = <&phy0>;
134 compatible = "lantiq,xrx200-pdi-port";
137 phy-handle = <&phy1>;
140 compatible = "lantiq,xrx200-pdi-port";
143 phy-handle = <&phy11>;
146 compatible = "lantiq,xrx200-pdi-port";
149 phy-handle = <&phy13>;
152 compatible = "lantiq,xrx200-pdi-port";
155 phy-handle = <&phy5>;
160 #address-cells = <1>;
162 compatible = "lantiq,xrx200-mdio";
164 phy0: ethernet-phy@0 {
166 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
168 phy1: ethernet-phy@1 {
170 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
172 phy5: ethernet-phy@5 {
174 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
176 phy11: ethernet-phy@11 {
178 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
180 phy13: ethernet-phy@13 {
182 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
188 lantiq,gphy-mode = <GPHY_MODE_GE>;
192 lantiq,gphy-mode = <GPHY_MODE_GE>;
196 pinctrl-names = "default";
197 pinctrl-0 = <&state_default>;
199 state_default: pinmux {
201 lantiq,groups = "mdio";
202 lantiq,function = "mdio";
205 lantiq,pins = "io21";
210 lantiq,pins = "io38";
216 lantiq,pins = "io33";
218 lantiq,open-drain = <0>;
222 lantiq,groups = "nand cle", "nand ale";
223 lantiq,function = "ebu";
225 lantiq,open-drain = <0>;
229 lantiq,groups = "nand cs1";
230 lantiq,function = "ebu";
231 lantiq,open-drain = <0>;
239 compatible = "lantiq,nand-xway";
242 reg = <0x1 0x0 0x2000000>;
244 nand-ecc-strength = <3>;
245 nand-ecc-step-size = <256>;
248 compatible = "fixed-partitions";
249 #address-cells = <1>;
259 reg = <0xa0000 0x20000>;
264 reg = <0xc0000 0x40000>;
268 reg = <0x100000 0x7e80000>;
271 * last 512 KiB are for the bad block table, not writable
279 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
282 compatible = "pci168c,002d";
283 reg = <0x7000 0 0 0 0>;
284 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
295 vbus-supply = <&usb_vbus>;