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>;
110 lantiq,gphy-mode = <GPHY_MODE_GE>;
114 lantiq,gphy-mode = <GPHY_MODE_GE>;
118 pinctrl-names = "default";
119 pinctrl-0 = <&state_default>;
121 state_default: pinmux {
123 lantiq,pins = "io32", "io44";
130 lantiq,pins = "io21";
138 line-name = "pcie-rst-dev";
139 gpios = <22 GPIO_ACTIVE_LOW>;
145 pinctrl-0 = <&mdio_pins>;
146 pinctrl-names = "default";
150 phy0: ethernet-phy@0 {
152 gpios = <&gpio 32 GPIO_ACTIVE_HIGH>;
155 phy1: ethernet-phy@1 {
157 gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
160 phy11: ethernet-phy@11 {
164 phy13: ethernet-phy@13 {
174 phy-handle = <&phy0>;
181 phy-handle = <&phy1>;
187 phy-mode = "internal";
188 phy-handle = <&phy11>;
194 phy-mode = "internal";
195 phy-handle = <&phy13>;
203 compatible = "jedec,spi-nor";
205 spi-max-frequency = <10000000>;
208 compatible = "fixed-partitions";
209 #address-cells = <1>;
219 reg = <0x20000 0x10000>;
225 reg = <0x30000 0x10000>;
235 compatible = "lantiq,nand-xway";
237 reg = <1 0x0 0x2000000>;
239 pinctrl-0 = <&nand_pins>;
240 pinctrl-names = "default";
242 nand-ecc-mode = "on-die";
245 compatible = "fixed-partitions";
246 #address-cells = <1>;
251 reg = <0x0 0x400000>;
256 reg = <0x400000 0x7c00000>;
272 vbus-supply = <&usb0_vbus>;
277 vbus-supply = <&usb1_vbus>;
282 gpio-reset = <&gpio 21 GPIO_ACTIVE_LOW>;
286 #interrupt-cells = <1>;
288 #address-cells = <2>;
292 compatible = "pci168c,0033";
294 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */