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,fritz7430", "lantiq,xway", "lantiq,vr9";
10 model = "AVM FRITZ!Box 7430";
13 bootargs = "console=ttyLTQ0,115200";
17 led-boot = &led_power;
18 led-failsafe = &led_info_red;
19 led-running = &led_power;
20 led-upgrade = &led_info_green;
22 led-dsl = &led_info_green;
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_PHONE>;
43 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RFKILL>;
49 compatible = "gpio-leds";
52 label = "green:power";
53 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
54 default-state = "keep";
57 led_info_green: info_green {
59 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
62 led_info_red: info_red {
64 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
69 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
74 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
79 gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
83 usb0_vbus: regulator-usb0-vbus {
84 compatible = "regulator-fixed";
86 regulator-name = "USB0_VBUS";
88 regulator-min-microvolt = <5000000>;
89 regulator-max-microvolt = <5000000>;
91 gpio = <&gpio 5 GPIO_ACTIVE_HIGH>;
98 compatible = "lantiq,nand-xway";
100 reg = <0 0x0 0x8000000>;
103 pinctrl-0 = <&nand_pins>, <&nand_cs1_pins>;
104 pinctrl-names = "default";
106 nand-use-soft-ecc-engine;
109 compatible = "fixed-partitions";
110 #address-cells = <1>;
121 reg = <0x40000 0x400000>;
127 reg = <0x440000 0x400000>;
132 reg = <0x840000 0x3000000>;
136 label = "reserved-kernel";
137 reg = <0x3840000 0x400000>;
142 label = "reserved-filesystem";
143 reg = <0x3c40000 0x3000000>;
149 reg = <0x6c40000 0x200000>;
154 label = "nand-filesystem";
155 reg = <0x6e40000 0x11c0000>;
165 gpio-reset = <&gpio 11 GPIO_ACTIVE_LOW>;
169 #interrupt-cells = <1>;
171 #address-cells = <3>;
175 compatible = "pci168c,abcd";
177 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */
183 lantiq,gphy-mode = <GPHY_MODE_FE>;
187 lantiq,gphy-mode = <GPHY_MODE_FE>;
191 pinctrl-names = "default";
192 pinctrl-0 = <&state_default>;
194 state_default: pinmux {
196 lantiq,pins = "io11";
197 lantiq,open-drain = <1>;
204 phy11: ethernet-phy@11 {
207 phy12: ethernet-phy@12 {
210 phy13: ethernet-phy@13 {
213 phy14: ethernet-phy@14 {
222 phy-mode = "internal";
223 phy-handle = <&phy11>;
228 phy-mode = "internal";
229 phy-handle = <&phy12>;
234 phy-mode = "internal";
235 phy-handle = <&phy13>;
240 phy-mode = "internal";
241 phy-handle = <&phy14>;
252 vbus-supply = <&usb0_vbus>;