1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 compatible = "avm,fritz300e", "qca,ar7242";
11 model = "AVM FRITZ!WLAN Repeater 300E";
15 led-failsafe = &power;
18 label-mac-device = &ath9k;
22 compatible = "gpio-keys-polled";
27 linux,code = <KEY_WPS_BUTTON>;
28 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
29 debounce-interval = <60>;
34 compatible = "gpio-leds";
37 label = "fritz300e:green:power";
38 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
43 label = "fritz300e:green:lan";
44 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
48 label = "fritz300e:green:wlan";
49 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
50 linux,default-trigger = "phy0tpt";
55 compatible = "gpio-leds";
58 label = "fritz300e:green:rssi0";
59 gpios = <&ath9k 10 GPIO_ACTIVE_LOW>;
63 label = "fritz300e:green:rssi1";
64 gpios = <&ath9k 4 GPIO_ACTIVE_LOW>;
68 label = "fritz300e:green:rssi2";
69 gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
73 label = "fritz300e:green:rssi3";
74 gpios = <&ath9k 7 GPIO_ACTIVE_LOW>;
78 label = "fritz300e:green:rssi4";
79 gpios = <&ath9k 5 GPIO_ACTIVE_LOW>;
84 compatible = "regulator-fixed";
86 regulator-name = "eth-phy-reset";
87 regulator-min-microvolt = <3300000>;
88 regulator-max-microvolt = <3300000>;
90 gpio = <&gpio 11 GPIO_ACTIVE_LOW>;
91 startup-delay-us = <300000>;
103 compatible = "jedec,spi-nor";
105 spi-max-frequency = <25000000>;
108 compatible = "fixed-partitions";
109 #address-cells = <1>;
119 compatible = "avm,eva-firmware";
120 reg = <0x20000 0xee0000>;
125 reg = <0xf00000 0x80000>;
131 reg = <0xf80000 0x80000>;
147 reg = <0x0000 0 0 0 0>;
157 phy0: ethernet-phy@0 {
167 phy-handle = <&phy0>;
169 pll-data = <0x16000000 0x00000101 0x00001313>;