1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
10 compatible = "avm,fritz7412", "lantiq,xway", "lantiq,vr9";
11 model = "AVM FRITZ!Box 7412";
14 bootargs = "console=ttyLTQ0,115200 mem=126M vpe1_load_addr=0x87e00000 vpe1_mem=2M maxvpes=1 maxtcs=1 nosmp";
18 led-boot = &power_green;
19 led-failsafe = &power_red;
20 led-running = &power_green;
27 device_type = "memory";
28 reg = <0x0 0x8000000>;
32 compatible = "gpio-keys-polled";
33 poll-interval = <100>;
37 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
38 linux,code = <KEY_WPS_BUTTON>;
43 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
44 linux,code = <KEY_PHONE>;
49 compatible = "gpio-leds";
51 power_green: power_green {
52 label = "fritz7412:green:power";
53 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
54 default-state = "keep";
57 power_red: power_red {
58 label = "fritz7412:red:power";
59 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
63 label = "fritz7412:green:fon";
64 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
68 label = "fritz7412:green:dect";
69 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
73 label = "fritz7412:green:wifi";
74 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
78 label = "fritz7412:green:info";
79 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
86 compatible = "lantiq,nand-xway";
88 reg = <0 0x0 0x2000000>;
92 compatible = "fixed-partitions";
104 reg = <0x40000 0x400000>;
110 reg = <0x440000 0x400000>;
115 reg = <0x840000 0x3000000>;
119 label = "reserved-kernel";
120 reg = <0x3840000 0x400000>;
125 label = "reserved-filesystem";
126 reg = <0x3c40000 0x3000000>;
132 reg = <0x6c40000 0x400000>;
137 label = "nand-filesystem";
138 reg = <0x6e40000 0x400000>;
147 gpio-reset = <&gpio 11 GPIO_ACTIVE_HIGH>;
151 #interrupt-cells = <1>;
153 #address-cells = <3>;
157 compatible = "pci168c,002e";
159 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */
165 pinctrl-names = "default";
166 pinctrl-0 = <&state_default>;
168 state_default: pinmux {
170 lantiq,groups = "mdio";
171 lantiq,function = "mdio";
174 lantiq,pins = "io11";
175 lantiq,open-drain = <1>;
179 lantiq,groups = "nand cle", "nand ale",
180 "nand rd", "nand cs1",
182 lantiq,function = "ebu";
185 lantiq,pins = "io13", "io24", "io49";
192 lantiq,gphy-mode = <GPHY_MODE_FE>;
196 lantiq,phys = <&gphy0>;
199 compatible = "lantiq,xrx200-pdi";
200 #address-cells = <1>;
203 mac-address = [ 00 11 22 33 44 55 ];
207 compatible = "lantiq,xrx200-pdi-port";
210 phy-handle = <&phy11>;
215 #address-cells = <1>;
217 compatible = "lantiq,xrx200-mdio";
219 phy11: ethernet-phy@11 {
221 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";