1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "avm,fritz300e", "qca,ar7242";
10 model = "AVM FRITZ!WLAN Repeater 300E";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
17 label-mac-device = &ath9k;
21 compatible = "gpio-keys";
25 linux,code = <KEY_WPS_BUTTON>;
26 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
32 compatible = "gpio-leds";
35 label = "green:power";
36 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
42 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
47 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
48 linux,default-trigger = "phy0tpt";
53 compatible = "gpio-leds";
56 label = "green:rssi0";
57 gpios = <&ath9k 10 GPIO_ACTIVE_LOW>;
61 label = "green:rssi1";
62 gpios = <&ath9k 4 GPIO_ACTIVE_LOW>;
66 label = "green:rssi2";
67 gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
71 label = "green:rssi3";
72 gpios = <&ath9k 7 GPIO_ACTIVE_LOW>;
76 label = "green:rssi4";
77 gpios = <&ath9k 5 GPIO_ACTIVE_LOW>;
82 compatible = "regulator-fixed";
84 regulator-name = "eth-phy-reset";
85 regulator-min-microvolt = <3300000>;
86 regulator-max-microvolt = <3300000>;
88 gpio = <&gpio 11 GPIO_ACTIVE_LOW>;
89 startup-delay-us = <300000>;
100 compatible = "jedec,spi-nor";
102 spi-max-frequency = <25000000>;
105 compatible = "fixed-partitions";
106 #address-cells = <1>;
116 compatible = "avm,eva-firmware";
117 reg = <0x20000 0xee0000>;
122 reg = <0xf00000 0x80000>;
128 reg = <0xf80000 0x80000>;
140 reg = <0x0000 0 0 0 0>;
150 phy0: ethernet-phy@0 {
160 phy-handle = <&phy0>;
162 pll-data = <0x16000000 0x00000101 0x00001313>;