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>;
94 compatible = "fixed-partitions";
106 reg = <0x40000 0x400000>;
112 reg = <0x440000 0x400000>;
117 reg = <0x840000 0x3000000>;
121 label = "reserved-kernel";
122 reg = <0x3840000 0x400000>;
127 label = "reserved-filesystem";
128 reg = <0x3c40000 0x3000000>;
134 reg = <0x6c40000 0x400000>;
139 label = "nand-filesystem";
140 reg = <0x6e40000 0x400000>;
149 gpio-reset = <&gpio 11 GPIO_ACTIVE_HIGH>;
153 #interrupt-cells = <1>;
155 #address-cells = <3>;
159 compatible = "pci168c,002e";
161 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */
167 pinctrl-names = "default";
168 pinctrl-0 = <&state_default>;
170 state_default: pinmux {
172 lantiq,groups = "mdio";
173 lantiq,function = "mdio";
176 lantiq,pins = "io11";
177 lantiq,open-drain = <1>;
181 lantiq,groups = "nand cle", "nand ale",
182 "nand rd", "nand cs1",
184 lantiq,function = "ebu";
187 lantiq,pins = "io13", "io24", "io49";
194 lantiq,gphy-mode = <GPHY_MODE_FE>;
198 lantiq,phys = <&gphy0>;
201 compatible = "lantiq,xrx200-pdi";
202 #address-cells = <1>;
205 mac-address = [ 00 11 22 33 44 55 ];
209 compatible = "lantiq,xrx200-pdi-port";
212 phy-handle = <&phy11>;
217 #address-cells = <1>;
219 compatible = "lantiq,xrx200-mdio";
221 phy11: ethernet-phy@11 {
223 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";