1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.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 function = LED_FUNCTION_POWER;
54 color = <LED_COLOR_ID_GREEN>;
55 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
56 default-state = "keep";
59 power_red: power_red {
60 function = LED_FUNCTION_POWER;
61 color = <LED_COLOR_ID_RED>;
62 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
67 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
72 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
77 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
82 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
89 compatible = "lantiq,nand-xway";
91 reg = <0 0x0 0x2000000>;
94 pinctrl-0 = <&nand_pins>, <&nand_cs1_pins>;
95 pinctrl-names = "default";
97 nand-use-soft-ecc-engine;
100 compatible = "fixed-partitions";
101 #address-cells = <1>;
112 reg = <0x40000 0x400000>;
118 reg = <0x440000 0x400000>;
123 reg = <0x840000 0x3000000>;
127 label = "reserved-kernel";
128 reg = <0x3840000 0x400000>;
133 label = "reserved-filesystem";
134 reg = <0x3c40000 0x3000000>;
140 reg = <0x6c40000 0x400000>;
145 label = "nand-filesystem";
146 reg = <0x6e40000 0x400000>;
155 gpio-reset = <&gpio 11 GPIO_ACTIVE_HIGH>;
159 #interrupt-cells = <1>;
161 #address-cells = <3>;
165 compatible = "pci168c,002e";
167 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */
173 pinctrl-names = "default";
174 pinctrl-0 = <&state_default>;
176 state_default: pinmux {
178 lantiq,pins = "io11";
179 lantiq,open-drain = <1>;
186 lantiq,gphy-mode = <GPHY_MODE_FE>;
190 phy11: ethernet-phy@11 {
199 phy-mode = "internal";
200 phy-handle = <&phy11>;