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 reg = <0x0 0x8000000>;
31 compatible = "gpio-keys-polled";
34 poll-interval = <100>;
38 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
44 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_WPS_BUTTON>;
50 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_POWER2>;
56 compatible = "gpio-leds";
58 /* broadband-* is a single RGB led */
60 label = "bthomehubv5a:red:broadband";
61 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
64 label = "bthomehubv5a:green:broadband";
65 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
67 broadband_blue: broadband-blue {
68 label = "bthomehubv5a:blue:broadband";
69 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
72 /* wireless-* is a single RGB led */
74 label = "bthomehubv5a:red:wireless";
75 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
78 label = "bthomehubv5a:green:wireless";
79 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
81 wireless_blue: wireless-blue {
82 label = "bthomehubv5a:blue:wireless";
83 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
86 /* power-* is a single RGB led */
87 power_red: power-red {
88 label = "bthomehubv5a:red:power";
89 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
91 power_green: power-green {
92 label = "bthomehubv5a:green:power";
93 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
94 default-state = "keep";
96 power_blue: power-blue {
97 label = "bthomehubv5a:blue:power";
98 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
103 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
107 usb_vbus: regulator-usb-vbus {
108 compatible = "regulator-fixed";
110 regulator-name = "USB_VBUS";
112 regulator-min-microvolt = <5000000>;
113 regulator-max-microvolt = <5000000>;
115 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
122 compatible = "lantiq,xrx200-pdi";
123 #address-cells = <1>;
129 compatible = "lantiq,xrx200-pdi-port";
132 phy-handle = <&phy0>;
135 compatible = "lantiq,xrx200-pdi-port";
138 phy-handle = <&phy1>;
141 compatible = "lantiq,xrx200-pdi-port";
144 phy-handle = <&phy11>;
147 compatible = "lantiq,xrx200-pdi-port";
150 phy-handle = <&phy13>;
153 compatible = "lantiq,xrx200-pdi-port";
156 phy-handle = <&phy5>;
161 #address-cells = <1>;
163 compatible = "lantiq,xrx200-mdio";
166 phy0: ethernet-phy@0 {
168 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
170 phy1: ethernet-phy@1 {
172 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
174 phy5: ethernet-phy@5 {
176 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
178 phy11: ethernet-phy@11 {
180 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
182 phy13: ethernet-phy@13 {
184 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
190 lantiq,gphy-mode = <GPHY_MODE_GE>;
194 lantiq,gphy-mode = <GPHY_MODE_GE>;
198 pinctrl-names = "default";
199 pinctrl-0 = <&state_default>;
201 state_default: pinmux {
203 lantiq,groups = "mdio";
204 lantiq,function = "mdio";
207 lantiq,pins = "io21";
212 lantiq,pins = "io38";
218 lantiq,pins = "io33";
220 lantiq,open-drain = <0>;
224 lantiq,groups = "nand cle", "nand ale";
225 lantiq,function = "ebu";
227 lantiq,open-drain = <0>;
231 lantiq,groups = "nand cs1";
232 lantiq,function = "ebu";
233 lantiq,open-drain = <0>;
241 compatible = "lantiq,nand-xway";
244 reg = <0x1 0x0 0x2000000>;
245 #address-cells = <1>;
248 nand-ecc-strength = <3>;
249 nand-ecc-step-size = <256>;
252 compatible = "fixed-partitions";
253 #address-cells = <1>;
263 reg = <0xa0000 0x20000>;
268 reg = <0xc0000 0x40000>;
272 reg = <0x100000 0x7e80000>;
275 * last 512 KiB are for the bad block table, not writable
283 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
286 compatible = "pci168c,002d";
287 reg = <0x7000 0 0 0 0>;
288 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
299 vbus-supply = <&usb_vbus>;