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,fritz3390", "lantiq,xway", "lantiq,vr9";
10 model = "AVM FRITZ!Box 3390";
13 bootargs = "console=ttyLTQ0,115200";
17 led-boot = &led_power_green;
18 led-failsafe = &led_power_red;
19 led-running = &led_power_green;
20 led-upgrade = &led_power_red;
23 led-internet = &led_info;
28 device_type = "memory";
29 reg = <0x0 0x8000000>;
33 compatible = "gpio-keys-polled";
34 poll-interval = <100>;
38 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
39 linux,code = <KEY_POWER>;
44 gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
45 linux,code = <KEY_RFKILL>;
50 compatible = "gpio-leds";
52 led_power_green: power_green {
53 label = "green:power";
54 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
55 default-state = "keep";
58 led_power_red: power_red {
60 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
65 gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
70 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
75 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
80 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
84 usb0_vbus: regulator-usb0-vbus {
85 compatible = "regulator-fixed";
87 regulator-name = "USB0_VBUS";
89 regulator-min-microvolt = <5000000>;
90 regulator-max-microvolt = <5000000>;
92 gpio = <&gpio 14 GPIO_ACTIVE_HIGH>;
96 usb1_vbus: regulator-usb1-vbus {
97 compatible = "regulator-fixed";
99 regulator-name = "USB1_VBUS";
101 regulator-min-microvolt = <5000000>;
102 regulator-max-microvolt = <5000000>;
104 gpio = <&gpio 5 GPIO_ACTIVE_HIGH>;
111 compatible = "lantiq,xrx200-pdi";
112 #address-cells = <1>;
118 compatible = "lantiq,xrx200-pdi-port";
121 phy-handle = <&phy0>;
122 gpios = <&gpio 32 GPIO_ACTIVE_HIGH>;
126 compatible = "lantiq,xrx200-pdi-port";
129 phy-handle = <&phy1>;
130 gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
134 compatible = "lantiq,xrx200-pdi-port";
137 phy-handle = <&phy11>;
141 compatible = "lantiq,xrx200-pdi-port";
144 phy-handle = <&phy13>;
149 #address-cells = <1>;
151 compatible = "lantiq,xrx200-mdio";
153 phy0: ethernet-phy@0 {
155 compatible = "ethernet-phy-ieee802.3-c22";
158 phy1: ethernet-phy@1 {
160 compatible = "ethernet-phy-ieee802.3-c22";
163 phy11: ethernet-phy@11 {
165 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
168 phy13: ethernet-phy@13 {
170 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
176 lantiq,gphy-mode = <GPHY_MODE_GE>;
180 lantiq,gphy-mode = <GPHY_MODE_GE>;
184 pinctrl-names = "default";
185 pinctrl-0 = <&state_default>;
187 state_default: pinmux {
189 lantiq,pins = "io32", "io44";
196 lantiq,pins = "io21";
204 line-name = "pcie-rst-dev";
205 gpios = <22 GPIO_ACTIVE_LOW>;
214 compatible = "jedec,spi-nor";
216 spi-max-frequency = <10000000>;
219 compatible = "fixed-partitions";
220 #address-cells = <1>;
230 reg = <0x20000 0x10000>;
236 reg = <0x30000 0x10000>;
246 compatible = "lantiq,nand-xway";
248 reg = <1 0x0 0x2000000>;
250 pinctrl-0 = <&nand_pins>;
251 pinctrl-names = "default";
253 nand-ecc-mode = "on-die";
256 compatible = "fixed-partitions";
257 #address-cells = <1>;
262 reg = <0x0 0x400000>;
267 reg = <0x400000 0x7c00000>;
283 vbus-supply = <&usb0_vbus>;
288 vbus-supply = <&usb1_vbus>;
293 reset-gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
298 compatible = "pci168c,0033";
300 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */