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,fritz7430", "lantiq,xway", "lantiq,vr9";
11 model = "AVM FRITZ!Box 7430";
14 bootargs = "console=ttyLTQ0,115200";
18 led-boot = &led_power;
19 led-failsafe = &led_info_red;
20 led-running = &led_power;
21 led-upgrade = &led_info_green;
23 led-dsl = &led_info_green;
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_PHONE>;
44 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RFKILL>;
50 compatible = "gpio-leds";
53 function = LED_FUNCTION_POWER;
54 color = <LED_COLOR_ID_GREEN>;
55 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
56 default-state = "keep";
59 led_info_green: info_green {
61 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
64 led_info_red: info_red {
66 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
71 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
76 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
81 gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
85 usb0_vbus: regulator-usb0-vbus {
86 compatible = "regulator-fixed";
88 regulator-name = "USB0_VBUS";
90 regulator-min-microvolt = <5000000>;
91 regulator-max-microvolt = <5000000>;
93 gpio = <&gpio 5 GPIO_ACTIVE_HIGH>;
100 compatible = "lantiq,nand-xway";
102 reg = <0 0x0 0x8000000>;
105 pinctrl-0 = <&nand_pins>, <&nand_cs1_pins>;
106 pinctrl-names = "default";
108 nand-use-soft-ecc-engine;
111 compatible = "fixed-partitions";
112 #address-cells = <1>;
123 reg = <0x40000 0x400000>;
129 reg = <0x440000 0x400000>;
134 reg = <0x840000 0x3000000>;
138 label = "reserved-kernel";
139 reg = <0x3840000 0x400000>;
144 label = "reserved-filesystem";
145 reg = <0x3c40000 0x3000000>;
151 reg = <0x6c40000 0x200000>;
156 label = "nand-filesystem";
157 reg = <0x6e40000 0x11c0000>;
167 gpio-reset = <&gpio 11 GPIO_ACTIVE_LOW>;
171 #interrupt-cells = <1>;
173 #address-cells = <3>;
177 compatible = "pci168c,abcd";
179 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */
185 lantiq,gphy-mode = <GPHY_MODE_FE>;
189 lantiq,gphy-mode = <GPHY_MODE_FE>;
193 pinctrl-names = "default";
194 pinctrl-0 = <&state_default>;
196 state_default: pinmux {
198 lantiq,pins = "io11";
199 lantiq,open-drain = <1>;
206 phy11: ethernet-phy@11 {
209 phy12: ethernet-phy@12 {
212 phy13: ethernet-phy@13 {
215 phy14: ethernet-phy@14 {
224 phy-mode = "internal";
225 phy-handle = <&phy11>;
230 phy-mode = "internal";
231 phy-handle = <&phy12>;
236 phy-mode = "internal";
237 phy-handle = <&phy13>;
242 phy-mode = "internal";
243 phy-handle = <&phy14>;
254 vbus-supply = <&usb0_vbus>;