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";
107 compatible = "fixed-partitions";
108 #address-cells = <1>;
119 reg = <0x40000 0x400000>;
125 reg = <0x440000 0x400000>;
130 reg = <0x840000 0x3000000>;
134 label = "reserved-kernel";
135 reg = <0x3840000 0x400000>;
140 label = "reserved-filesystem";
141 reg = <0x3c40000 0x3000000>;
147 reg = <0x6c40000 0x200000>;
152 label = "nand-filesystem";
153 reg = <0x6e40000 0x11c0000>;
163 gpio-reset = <&gpio 11 GPIO_ACTIVE_LOW>;
167 #interrupt-cells = <1>;
169 #address-cells = <3>;
173 compatible = "pci168c,abcd";
175 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */
181 lantiq,gphy-mode = <GPHY_MODE_FE>;
185 lantiq,gphy-mode = <GPHY_MODE_FE>;
190 compatible = "lantiq,xrx200-pdi";
191 #address-cells = <1>;
197 compatible = "lantiq,xrx200-pdi-port";
200 phy-handle = <&phy11>;
204 compatible = "lantiq,xrx200-pdi-port";
207 phy-handle = <&phy12>;
211 compatible = "lantiq,xrx200-pdi-port";
214 phy-handle = <&phy13>;
218 compatible = "lantiq,xrx200-pdi-port";
221 phy-handle = <&phy14>;
226 #address-cells = <1>;
228 compatible = "lantiq,xrx200-mdio";
230 phy11: ethernet-phy@11 {
232 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
235 phy12: ethernet-phy@12 {
237 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
240 phy13: ethernet-phy@13 {
242 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
245 phy14: ethernet-phy@14 {
247 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
253 pinctrl-names = "default";
254 pinctrl-0 = <&state_default>;
256 state_default: pinmux {
258 lantiq,pins = "io11";
259 lantiq,open-drain = <1>;
272 vbus-supply = <&usb0_vbus>;