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";
18 led-boot = &power_green;
19 led-failsafe = &power_red;
20 led-running = &power_green;
21 led-upgrade = &power_red;
28 device_type = "memory";
29 reg = <0x0 0x8000000>;
33 compatible = "gpio-keys-polled";
34 poll-interval = <100>;
38 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_WPS_BUTTON>;
44 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_PHONE>;
50 compatible = "gpio-leds";
52 power_green: power_green {
53 label = "fritz7412:green:power";
54 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
55 default-state = "keep";
58 power_red: power_red {
59 label = "fritz7412:red:power";
60 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
64 label = "fritz7412:green:fon";
65 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
69 label = "fritz7412:green:dect";
70 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
74 label = "fritz7412:green:wifi";
75 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
79 label = "fritz7412:green:info";
80 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
87 compatible = "lantiq,nand-xway";
89 reg = <0 0x0 0x2000000>;
93 compatible = "fixed-partitions";
105 reg = <0x40000 0x400000>;
111 reg = <0x440000 0x400000>;
116 reg = <0x840000 0x3000000>;
120 label = "reserved-kernel";
121 reg = <0x3840000 0x400000>;
126 label = "reserved-filesystem";
127 reg = <0x3c40000 0x3000000>;
133 reg = <0x6c40000 0x400000>;
138 label = "nand-filesystem";
139 reg = <0x6e40000 0x400000>;
148 gpio-reset = <&gpio 11 GPIO_ACTIVE_HIGH>;
152 #interrupt-cells = <1>;
154 #address-cells = <3>;
158 compatible = "pci168c,002e";
160 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */
166 pinctrl-names = "default";
167 pinctrl-0 = <&state_default>;
169 state_default: pinmux {
171 lantiq,groups = "mdio";
172 lantiq,function = "mdio";
175 lantiq,pins = "io11";
176 lantiq,open-drain = <1>;
180 lantiq,groups = "nand cle", "nand ale",
181 "nand rd", "nand cs1",
183 lantiq,function = "ebu";
186 lantiq,pins = "io13", "io24", "io49";
193 lantiq,gphy-mode = <GPHY_MODE_FE>;
197 lantiq,phys = <&gphy0>;
200 compatible = "lantiq,xrx200-pdi";
201 #address-cells = <1>;
204 mac-address = [ 00 11 22 33 44 55 ];
208 compatible = "lantiq,xrx200-pdi-port";
211 phy-handle = <&phy11>;
216 #address-cells = <1>;
218 compatible = "lantiq,xrx200-mdio";
220 phy11: ethernet-phy@11 {
222 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";