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";
18 compatible = "gpio-keys-polled";
23 linux,code = <KEY_WPS_BUTTON>;
24 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
25 debounce-interval = <60>;
30 compatible = "gpio-leds";
33 label = "fritz300e:green:power";
34 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
39 label = "fritz300e:green:lan";
40 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
44 label = "fritz300e:green:wlan";
45 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
46 linux,default-trigger = "phy0tpt";
51 compatible = "gpio-leds";
54 label = "fritz300e:green:rssi0";
55 gpios = <&ath9k 10 GPIO_ACTIVE_LOW>;
59 label = "fritz300e:green:rssi1";
60 gpios = <&ath9k 4 GPIO_ACTIVE_LOW>;
64 label = "fritz300e:green:rssi2";
65 gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
69 label = "fritz300e:green:rssi3";
70 gpios = <&ath9k 7 GPIO_ACTIVE_LOW>;
74 label = "fritz300e:green:rssi4";
75 gpios = <&ath9k 5 GPIO_ACTIVE_LOW>;
80 compatible = "regulator-fixed";
82 regulator-name = "eth-phy-reset";
83 regulator-min-microvolt = <3300000>;
84 regulator-max-microvolt = <3300000>;
86 gpio = <&gpio 11 GPIO_ACTIVE_LOW>;
87 startup-delay-us = <300000>;
99 compatible = "jedec,spi-nor";
101 spi-max-frequency = <25000000>;
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
115 reg = <0x20000 0xee0000>;
120 reg = <0xf00000 0x80000>;
126 reg = <0xf80000 0x80000>;
142 reg = <0x0000 0 0 0 0>;
152 phy0: ethernet-phy@0 {
162 phy-handle = <&phy0>;
164 pll-data = <0x16000000 0x00000101 0x00001313>;