5 #include <dt-bindings/input/input.h>
8 compatible = "avm,fritz3370", "lantiq,xway", "lantiq,vr9";
9 model = "Fritz!Box WLAN 3370";
12 bootargs = "console=ttyLTQ0,115200 ubi.mtd=1,512 root=/dev/mtdblock9";
16 led-boot = &power_green;
17 led-failsafe = &power_red;
18 led-running = &power_green;
21 led-internet = &info_green;
26 reg = <0x0 0x8000000>;
32 compatible = "lantiq,nand-xway";
34 reg = <1 0x0 0x2000000>;
39 compatible = "fixed-partitions";
50 reg = <0x400000 0x3000000>;
54 label = "vr9_firmware";
55 reg = <0x3400000 0x400000>;
59 reg = <0x3800000 0x3000000>;
63 reg = <0x6800000 0x200000>;
66 label = "nand-filesystem";
67 reg = <0x6a00000 0x1600000>;
73 gpio: pinmux@E100B10 {
74 pinctrl-names = "default";
75 pinctrl-0 = <&state_default>;
77 state_default: pinmux {
79 lantiq,groups = "mdio";
80 lantiq,function = "mdio";
83 lantiq,groups = "nand cle", "nand ale",
84 "nand rd", "nand cs1", "nand rdy";
85 lantiq,function = "ebu";
89 lantiq,pins = "io37", "io44";
91 lantiq,open-drain = <0>;
100 pins_spi_default: pins_spi_default {
102 lantiq,groups = "spi_di";
103 lantiq,function = "spi";
106 lantiq,groups = "spi_do", "spi_clk",
108 lantiq,function = "spi";
116 gpios = <&gpio 5 GPIO_ACTIVE_HIGH
117 &gpio 14 GPIO_ACTIVE_HIGH>;
118 lantiq,portmask = <0x3>;
123 compatible = "lantiq,phy-xrx200";
124 firmware = "lantiq/xrx200_phy11g_a14.bin";
129 compatible = "gpio-keys-polled";
130 #address-cells = <1>;
132 poll-interval = <100>;
135 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
136 linux,code = <KEY_POWER>;
140 gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
141 linux,code = <BTN_1>;
146 compatible = "gpio-leds";
149 label = "fritz3370:green:power";
150 gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
151 default-state = "keep";
154 label = "fritz3370:red:power";
155 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
158 label = "fritz3370:red:info";
159 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
162 label = "fritz3370:green:wlan";
163 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
166 label = "fritz3370:green:dsl";
167 gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
170 label = "fritz3370:green:lan";
171 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
173 info_green: info_green {
174 label = "fritz3370:green:info";
175 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
181 pinctrl-names = "default";
182 pinctrl-0 = <&pins_spi_default>;
187 #address-cells = <1>;
189 compatible = "jedec,spi-nor";
191 spi-max-frequency = <1000000>;
193 urlader: partition@0 {
200 reg = <0x20000 0x10000>;
206 reg = <0x30000 0x10000>;
215 compatible = "lantiq,xrx200-pdi";
216 #address-cells = <1>;
219 mtd-mac-address = <&urlader 0x987>;
220 mtd-mac-address-increment = <(-2)>;
224 compatible = "lantiq,xrx200-pdi-port";
227 phy-handle = <&phy0>;
228 gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
231 compatible = "lantiq,xrx200-pdi-port";
234 phy-handle = <&phy1>;
235 gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
238 compatible = "lantiq,xrx200-pdi-port";
241 phy-handle = <&phy11>;
244 compatible = "lantiq,xrx200-pdi-port";
247 phy-handle = <&phy13>;
252 #address-cells = <1>;
254 compatible = "lantiq,xrx200-mdio";
255 phy0: ethernet-phy@0 {
257 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
259 phy1: ethernet-phy@1 {
261 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
263 phy11: ethernet-phy@11 {
265 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
267 phy13: ethernet-phy@13 {
269 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
277 #interrupt-cells = <1>;
279 #address-cells = <3>;
283 compatible = "pci0,0";
285 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */