5 #include <dt-bindings/input/input.h>
8 compatible = "bt,homehub-v5a", "lantiq,xway", "lantiq,vr9";
9 model = "BT Home Hub 5A";
12 bootargs = "console=ttyLTQ0,115200";
16 led-boot = &power_green;
17 led-failsafe = &power_red;
18 led-running = &power_blue;
20 led-dsl = &broadband_blue;
21 led-wifi = &wireless_blue;
25 reg = <0x0 0x8000000>;
29 compatible = "lantiq,phy-xrx200";
30 firmware1 = "lantiq/xrx200_phy11g_a14.bin"; /*VR9 1.1*/
31 firmware2 = "lantiq/xrx200_phy11g_a22.bin"; /*VR9 1.2*/
36 compatible = "gpio-keys-polled";
39 poll-interval = <100>;
43 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_WPS_BUTTON>;
55 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_POWER>;
61 compatible = "gpio-leds";
63 /* broadband-* is a single RGB led */
65 label = "bthomehubv5a:red:broadband";
66 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
69 label = "bthomehubv5a:green:broadband";
70 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
72 broadband_blue: broadband-blue {
73 label = "bthomehubv5a:blue:broadband";
74 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
77 /* wireless-* is a single RGB led */
79 label = "bthomehubv5a:red:wireless";
80 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
83 label = "bthomehubv5a:green:wireless";
84 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
86 wireless_blue: wireless-blue {
87 label = "bthomehubv5a:blue:wireless";
88 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
91 /* power-* is a single RGB led */
92 power_red: power-red {
93 label = "bthomehubv5a:red:power";
94 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
96 power_green: power-green {
97 label = "bthomehubv5a:green:power";
98 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
99 default-state = "keep";
101 power_blue: power-blue {
102 label = "bthomehubv5a:blue:power";
103 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
108 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
115 compatible = "lantiq,xrx200-pdi";
116 #address-cells = <1>;
122 compatible = "lantiq,xrx200-pdi-port";
125 phy-handle = <&phy0>;
128 compatible = "lantiq,xrx200-pdi-port";
131 phy-handle = <&phy1>;
134 compatible = "lantiq,xrx200-pdi-port";
137 phy-handle = <&phy11>;
140 compatible = "lantiq,xrx200-pdi-port";
143 phy-handle = <&phy13>;
146 compatible = "lantiq,xrx200-pdi-port";
149 phy-handle = <&phy5>;
154 #address-cells = <1>;
156 compatible = "lantiq,xrx200-mdio";
159 phy0: ethernet-phy@0 {
161 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
163 phy1: ethernet-phy@1 {
165 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
167 phy5: ethernet-phy@5 {
169 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
171 phy11: ethernet-phy@11 {
173 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
175 phy13: ethernet-phy@13 {
177 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
183 pinctrl-names = "default";
184 pinctrl-0 = <&state_default>;
186 state_default: pinmux {
188 lantiq,groups = "mdio";
189 lantiq,function = "mdio";
192 lantiq,pins = "io21";
197 lantiq,pins = "io38";
203 lantiq,pins = "io33";
205 lantiq,open-drain = <0>;
209 lantiq,groups = "nand cle", "nand ale";
210 lantiq,function = "ebu";
212 lantiq,open-drain = <0>;
216 lantiq,groups = "nand cs1";
217 lantiq,function = "ebu";
218 lantiq,open-drain = <0>;
226 compatible = "lantiq,nand-xway";
229 reg = <0x1 0x0 0x2000000>;
230 #address-cells = <1>;
233 nand-ecc-strength = <3>;
234 nand-ecc-step-size = <256>;
237 compatible = "fixed-partitions";
238 #address-cells = <1>;
248 reg = <0xa0000 0x20000>;
253 reg = <0xc0000 0x40000>;
257 reg = <0x100000 0x7e80000>;
260 * last 512 KiB are for the bad block table, not writable
268 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
271 compatible = "pci168c,002d";
272 reg = <0x7000 0 0 0 0>;
273 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
280 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;