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 = "gen_nand", "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 = "ath9k,eeprom";
123 ath,eep-flash = <&ath9k_cal 0x985>;
129 compatible = "lantiq,phy-xrx200";
130 firmware = "lantiq/vr9_phy11g_a1x.bin";
135 compatible = "gpio-keys-polled";
136 #address-cells = <1>;
138 poll-interval = <100>;
141 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
142 linux,code = <BTN_0>;
146 gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
147 linux,code = <BTN_1>;
152 compatible = "gpio-leds";
155 label = "fritz3370:green:power";
156 gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
157 default-state = "keep";
160 label = "fritz3370:red:power";
161 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
164 label = "fritz3370:red:info";
165 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
168 label = "fritz3370:green:wlan";
169 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
172 label = "fritz3370:green:dsl";
173 gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
176 label = "fritz3370:green:lan";
177 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
179 info_green: info_green {
180 label = "fritz3370:green:info";
181 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
187 pinctrl-names = "default";
188 pinctrl-0 = <&pins_spi_default>;
193 #address-cells = <1>;
195 compatible = "jedec,spi-nor";
197 spi-max-frequency = <1000000>;
199 ath9k_cal: partition@0 {
206 reg = <0x20000 0x10000>;
212 reg = <0x30000 0x10000>;
221 compatible = "lantiq,xrx200-pdi";
222 #address-cells = <1>;
225 mac-address = [ 00 11 22 33 44 55 ];
229 compatible = "lantiq,xrx200-pdi-port";
232 phy-handle = <&phy0>;
233 gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
236 compatible = "lantiq,xrx200-pdi-port";
239 phy-handle = <&phy1>;
240 gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
243 compatible = "lantiq,xrx200-pdi-port";
246 phy-handle = <&phy11>;
249 compatible = "lantiq,xrx200-pdi-port";
252 phy-handle = <&phy13>;
257 #address-cells = <1>;
259 compatible = "lantiq,xrx200-mdio";
260 phy0: ethernet-phy@0 {
262 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
264 phy1: ethernet-phy@1 {
266 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
268 phy11: ethernet-phy@11 {
270 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
272 phy13: ethernet-phy@13 {
274 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";