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";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
18 label-mac-device = &ath9k;
22 compatible = "gpio-keys";
26 linux,code = <KEY_WPS_BUTTON>;
27 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
28 debounce-interval = <60>;
33 compatible = "gpio-leds";
36 label = "fritz300e:green:power";
37 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
42 label = "fritz300e:green:lan";
43 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
47 label = "fritz300e:green:wlan";
48 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy0tpt";
54 compatible = "gpio-leds";
57 label = "fritz300e:green:rssi0";
58 gpios = <&ath9k 10 GPIO_ACTIVE_LOW>;
62 label = "fritz300e:green:rssi1";
63 gpios = <&ath9k 4 GPIO_ACTIVE_LOW>;
67 label = "fritz300e:green:rssi2";
68 gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
72 label = "fritz300e:green:rssi3";
73 gpios = <&ath9k 7 GPIO_ACTIVE_LOW>;
77 label = "fritz300e:green:rssi4";
78 gpios = <&ath9k 5 GPIO_ACTIVE_LOW>;
83 compatible = "regulator-fixed";
85 regulator-name = "eth-phy-reset";
86 regulator-min-microvolt = <3300000>;
87 regulator-max-microvolt = <3300000>;
89 gpio = <&gpio 11 GPIO_ACTIVE_LOW>;
90 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>;