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>;
30 compatible = "lantiq,phy-xrx200";
31 firmware = "lantiq/xrx200_phy11g_a14.bin";
36 compatible = "gpio-keys-polled";
39 poll-interval = <100>;
42 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
43 linux,code = <KEY_POWER>;
47 gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
53 compatible = "gpio-leds";
56 label = "fritz3370:green:power";
57 gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
58 default-state = "keep";
61 label = "fritz3370:red:power";
62 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
65 label = "fritz3370:red:info";
66 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
69 label = "fritz3370:green:wlan";
70 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
73 label = "fritz3370:green:dsl";
74 gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
77 label = "fritz3370:green:lan";
78 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
80 info_green: info_green {
81 label = "fritz3370:green:info";
82 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
89 compatible = "lantiq,xrx200-pdi";
93 mtd-mac-address = <&urlader 0x987>;
94 mtd-mac-address-increment = <(-2)>;
98 compatible = "lantiq,xrx200-pdi-port";
101 phy-handle = <&phy0>;
102 gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
105 compatible = "lantiq,xrx200-pdi-port";
108 phy-handle = <&phy1>;
109 gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
112 compatible = "lantiq,xrx200-pdi-port";
115 phy-handle = <&phy11>;
118 compatible = "lantiq,xrx200-pdi-port";
121 phy-handle = <&phy13>;
126 #address-cells = <1>;
128 compatible = "lantiq,xrx200-mdio";
131 phy0: ethernet-phy@0 {
133 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
135 phy1: ethernet-phy@1 {
137 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
139 phy11: ethernet-phy@11 {
141 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
143 phy13: ethernet-phy@13 {
145 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
151 pinctrl-names = "default";
152 pinctrl-0 = <&state_default>;
154 state_default: pinmux {
156 lantiq,groups = "mdio";
157 lantiq,function = "mdio";
160 lantiq,groups = "nand cle", "nand ale",
161 "nand rd", "nand cs1", "nand rdy";
162 lantiq,function = "ebu";
166 lantiq,pins = "io37", "io44";
168 lantiq,open-drain = <0>;
172 lantiq,pins = "io38";
177 pins_spi_default: pins_spi_default {
179 lantiq,groups = "spi_di";
180 lantiq,function = "spi";
183 lantiq,groups = "spi_do", "spi_clk",
185 lantiq,function = "spi";
193 compatible = "lantiq,nand-xway";
195 reg = <1 0x0 0x2000000>;
196 #address-cells = <1>;
200 compatible = "fixed-partitions";
201 #address-cells = <1>;
206 reg = <0x0 0x400000>;
210 label = "rootfs_ubi";
211 reg = <0x400000 0x3000000>;
215 label = "vr9_firmware";
216 reg = <0x3400000 0x400000>;
220 reg = <0x3800000 0x3000000>;
224 reg = <0x6800000 0x200000>;
227 label = "nand-filesystem";
228 reg = <0x6a00000 0x1600000>;
237 #interrupt-cells = <1>;
239 #address-cells = <3>;
243 compatible = "pci0,0";
245 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */
253 pinctrl-names = "default";
254 pinctrl-0 = <&pins_spi_default>;
257 #address-cells = <1>;
259 compatible = "jedec,spi-nor";
261 spi-max-frequency = <1000000>;
263 urlader: partition@0 {
270 reg = <0x20000 0x10000>;
276 reg = <0x30000 0x10000>;
285 gpios = <&gpio 5 GPIO_ACTIVE_HIGH
286 &gpio 14 GPIO_ACTIVE_HIGH>;
287 lantiq,portmask = <0x3>;