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;
21 led-dsl = &broadband_blue;
22 led-wifi = &wireless_blue;
26 reg = <0x0 0x8000000>;
30 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_POWER>;
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";
165 phy0: ethernet-phy@0 {
167 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
169 phy1: ethernet-phy@1 {
171 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
173 phy5: ethernet-phy@5 {
175 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
177 phy11: ethernet-phy@11 {
179 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
181 phy13: ethernet-phy@13 {
183 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
189 lantiq,gphy-mode = <GPHY_MODE_GE>;
193 lantiq,gphy-mode = <GPHY_MODE_GE>;
197 pinctrl-names = "default";
198 pinctrl-0 = <&state_default>;
200 state_default: pinmux {
202 lantiq,groups = "mdio";
203 lantiq,function = "mdio";
206 lantiq,pins = "io21";
211 lantiq,pins = "io38";
217 lantiq,pins = "io33";
219 lantiq,open-drain = <0>;
223 lantiq,groups = "nand cle", "nand ale";
224 lantiq,function = "ebu";
226 lantiq,open-drain = <0>;
230 lantiq,groups = "nand cs1";
231 lantiq,function = "ebu";
232 lantiq,open-drain = <0>;
240 compatible = "lantiq,nand-xway";
243 reg = <0x1 0x0 0x2000000>;
244 #address-cells = <1>;
247 nand-ecc-strength = <3>;
248 nand-ecc-step-size = <256>;
251 compatible = "fixed-partitions";
252 #address-cells = <1>;
262 reg = <0xa0000 0x20000>;
267 reg = <0xc0000 0x40000>;
271 reg = <0x100000 0x7e80000>;
274 * last 512 KiB are for the bad block table, not writable
282 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
285 compatible = "pci168c,002d";
286 reg = <0x7000 0 0 0 0>;
287 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
298 vbus-supply = <&usb_vbus>;