1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
9 compatible = "avm,fritz7412", "lantiq,xway", "lantiq,vr9";
10 model = "AVM FRITZ!Box 7412";
13 bootargs = "console=ttyLTQ0,115200";
17 led-boot = &power_green;
18 led-failsafe = &power_red;
19 led-running = &power_green;
20 led-upgrade = &power_red;
27 device_type = "memory";
28 reg = <0x0 0x8000000>;
32 compatible = "gpio-keys-polled";
33 poll-interval = <100>;
37 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_WPS_BUTTON>;
43 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_PHONE>;
49 compatible = "gpio-leds";
51 power_green: power_green {
52 label = "green:power";
53 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
54 default-state = "keep";
57 power_red: power_red {
59 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
64 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
69 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
74 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
79 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
86 compatible = "lantiq,nand-xway";
88 reg = <0 0x0 0x2000000>;
91 pinctrl-0 = <&nand_pins>, <&nand_cs1_pins>;
92 pinctrl-names = "default";
94 nand-use-soft-ecc-engine;
97 compatible = "fixed-partitions";
109 reg = <0x40000 0x400000>;
115 reg = <0x440000 0x400000>;
120 reg = <0x840000 0x3000000>;
124 label = "reserved-kernel";
125 reg = <0x3840000 0x400000>;
130 label = "reserved-filesystem";
131 reg = <0x3c40000 0x3000000>;
137 reg = <0x6c40000 0x400000>;
142 label = "nand-filesystem";
143 reg = <0x6e40000 0x400000>;
152 gpio-reset = <&gpio 11 GPIO_ACTIVE_HIGH>;
156 #interrupt-cells = <1>;
158 #address-cells = <3>;
162 compatible = "pci168c,002e";
164 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */
170 pinctrl-names = "default";
171 pinctrl-0 = <&state_default>;
173 state_default: pinmux {
175 lantiq,pins = "io11";
176 lantiq,open-drain = <1>;
183 lantiq,gphy-mode = <GPHY_MODE_FE>;
187 phy11: ethernet-phy@11 {
196 phy-mode = "internal";
197 phy-handle = <&phy11>;