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";
95 compatible = "fixed-partitions";
107 reg = <0x40000 0x400000>;
113 reg = <0x440000 0x400000>;
118 reg = <0x840000 0x3000000>;
122 label = "reserved-kernel";
123 reg = <0x3840000 0x400000>;
128 label = "reserved-filesystem";
129 reg = <0x3c40000 0x3000000>;
135 reg = <0x6c40000 0x400000>;
140 label = "nand-filesystem";
141 reg = <0x6e40000 0x400000>;
150 gpio-reset = <&gpio 11 GPIO_ACTIVE_HIGH>;
154 #interrupt-cells = <1>;
156 #address-cells = <3>;
160 compatible = "pci168c,002e";
162 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */
168 pinctrl-names = "default";
169 pinctrl-0 = <&state_default>;
171 state_default: pinmux {
173 lantiq,pins = "io11";
174 lantiq,open-drain = <1>;
181 lantiq,gphy-mode = <GPHY_MODE_FE>;
185 lantiq,phys = <&gphy0>;
188 compatible = "lantiq,xrx200-pdi";
189 #address-cells = <1>;
192 mac-address = [ 00 11 22 33 44 55 ];
196 compatible = "lantiq,xrx200-pdi-port";
199 phy-handle = <&phy11>;
204 #address-cells = <1>;
206 compatible = "lantiq,xrx200-mdio";
208 phy11: ethernet-phy@11 {
210 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";