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;
21 compatible = "gpio-keys-polled";
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>;
102 compatible = "jedec,spi-nor";
104 spi-max-frequency = <25000000>;
107 compatible = "fixed-partitions";
108 #address-cells = <1>;
118 reg = <0x20000 0xee0000>;
123 reg = <0xf00000 0x80000>;
129 reg = <0xf80000 0x80000>;
145 reg = <0x0000 0 0 0 0>;
155 phy0: ethernet-phy@0 {
165 phy-handle = <&phy0>;
167 pll-data = <0x16000000 0x00000101 0x00001313>;