5 #include <dt-bindings/input/input.h>
8 model = "FRITZ3370 - Fritz!Box WLAN 3370";
11 bootargs = "console=ttyLTQ0,115200 ubi.mtd=1,512 root=/dev/mtdblock9";
15 led-boot = &power_green;
16 led-failsafe = &power_red;
17 led-running = &power_green;
20 led-internet = &info_green;
25 reg = <0x0 0x8000000>;
31 compatible = "lantiq,nand-xway";
33 reg = <1 0x0 0x2000000>;
38 compatible = "fixed-partitions";
49 reg = <0x400000 0x3000000>;
53 label = "vr9_firmware";
54 reg = <0x3400000 0x400000>;
58 reg = <0x3800000 0x3000000>;
62 reg = <0x6800000 0x200000>;
65 label = "nand-filesystem";
66 reg = <0x6a00000 0x1600000>;
72 gpio: pinmux@E100B10 {
73 pinctrl-names = "default";
74 pinctrl-0 = <&state_default>;
76 state_default: pinmux {
78 lantiq,groups = "mdio";
79 lantiq,function = "mdio";
82 lantiq,groups = "nand cle", "nand ale",
83 "nand rd", "nand cs1", "nand rdy";
84 lantiq,function = "ebu";
88 lantiq,pins = "io37", "io44";
90 lantiq,open-drain = <0>;
99 pins_spi_default: pins_spi_default {
101 lantiq,groups = "spi_di";
102 lantiq,function = "spi";
105 lantiq,groups = "spi_do", "spi_clk",
107 lantiq,function = "spi";
115 gpios = <&gpio 5 GPIO_ACTIVE_HIGH
116 &gpio 14 GPIO_ACTIVE_HIGH>;
117 lantiq,portmask = <0x3>;
122 compatible = "lantiq,phy-xrx200";
123 firmware = "lantiq/vr9_phy11g_a1x.bin";
128 compatible = "gpio-keys-polled";
129 #address-cells = <1>;
131 poll-interval = <100>;
134 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
135 linux,code = <KEY_POWER>;
139 gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
140 linux,code = <BTN_1>;
145 compatible = "gpio-leds";
148 label = "fritz3370:green:power";
149 gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
150 default-state = "keep";
153 label = "fritz3370:red:power";
154 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
157 label = "fritz3370:red:info";
158 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
161 label = "fritz3370:green:wlan";
162 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
165 label = "fritz3370:green:dsl";
166 gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
169 label = "fritz3370:green:lan";
170 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
172 info_green: info_green {
173 label = "fritz3370:green:info";
174 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
180 pinctrl-names = "default";
181 pinctrl-0 = <&pins_spi_default>;
186 #address-cells = <1>;
188 compatible = "jedec,spi-nor";
190 spi-max-frequency = <1000000>;
192 urlader: partition@0 {
199 reg = <0x20000 0x10000>;
205 reg = <0x30000 0x10000>;
214 compatible = "lantiq,xrx200-pdi";
215 #address-cells = <1>;
218 mtd-mac-address = <&urlader 0x987>;
219 mtd-mac-address-increment = <(-2)>;
223 compatible = "lantiq,xrx200-pdi-port";
226 phy-handle = <&phy0>;
227 gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
230 compatible = "lantiq,xrx200-pdi-port";
233 phy-handle = <&phy1>;
234 gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
237 compatible = "lantiq,xrx200-pdi-port";
240 phy-handle = <&phy11>;
243 compatible = "lantiq,xrx200-pdi-port";
246 phy-handle = <&phy13>;
251 #address-cells = <1>;
253 compatible = "lantiq,xrx200-mdio";
254 phy0: ethernet-phy@0 {
256 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
258 phy1: ethernet-phy@1 {
260 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
262 phy11: ethernet-phy@11 {
264 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
266 phy13: ethernet-phy@13 {
268 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
276 #interrupt-cells = <1>;
278 #address-cells = <3>;
282 compatible = "pci0,0";
284 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */