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 device_type = "memory";
19 reg = <0x0 0x4000000>;
23 compatible = "gpio-keys-polled";
30 linux,code = <KEY_WPS_BUTTON>;
31 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
32 debounce-interval = <60>;
37 compatible = "gpio-leds";
40 label = "fritz300e:green:power";
41 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
46 label = "fritz300e:green:lan";
47 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
51 label = "fritz300e:green:wlan";
52 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
53 linux,default-trigger = "phy0tpt";
58 compatible = "gpio-leds";
61 label = "fritz300e:green:rssi0";
62 gpios = <&ath9k 10 GPIO_ACTIVE_LOW>;
66 label = "fritz300e:green:rssi1";
67 gpios = <&ath9k 4 GPIO_ACTIVE_LOW>;
71 label = "fritz300e:green:rssi2";
72 gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
76 label = "fritz300e:green:rssi3";
77 gpios = <&ath9k 7 GPIO_ACTIVE_LOW>;
81 label = "fritz300e:green:rssi4";
82 gpios = <&ath9k 5 GPIO_ACTIVE_LOW>;
87 compatible = "regulator-fixed";
89 regulator-name = "eth-phy-reset";
90 regulator-min-microvolt = <3300000>;
91 regulator-max-microvolt = <3300000>;
93 gpio = <&gpio 11 GPIO_ACTIVE_LOW>;
94 startup-delay-us = <300000>;
106 #address-cells = <1>;
108 compatible = "jedec,spi-nor";
110 spi-max-frequency = <25000000>;
113 compatible = "fixed-partitions";
114 #address-cells = <1>;
124 reg = <0x20000 0xee0000>;
129 reg = <0xf00000 0x80000>;
135 reg = <0xf80000 0x80000>;
151 reg = <0x0000 0 0 0 0>;
161 phy0: ethernet-phy@0 {
171 phy-handle = <&phy0>;
173 pll-data = <0x16000000 0x00000101 0x00001313>;