1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca956x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "tplink,eap245-v3", "qca,qca9563";
10 model = "TP-Link EAP245 v3 / EAP265 HD v1";
13 led-boot = &led_status_green;
14 led-failsafe = &led_status_amber;
15 led-running = &led_status_green;
16 led-upgrade = &led_status_amber;
17 label-mac-device = ð0;
21 compatible = "gpio-leds";
23 led_status_green: status_green {
24 label = "green:status";
25 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
29 led_status_amber: status_amber {
30 label = "amber:status";
31 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
36 compatible = "gpio-keys";
39 label = "Reset button";
40 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
42 debounce-interval = <60>;
51 compatible = "qcom,ath10k";
54 nvmem-cells = <&macaddr_info_8 1>, <&calibration_ath10k>;
55 nvmem-cell-names = "mac-address", "pre-calibration";
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <25000000>;
68 compatible = "fixed-partitions";
73 label = "factory-boot";
74 reg = <0x000000 0x040000>;
80 reg = <0x040000 0x040000>;
85 label = "partition-table";
86 reg = <0x080000 0x010000>;
90 info: partition@90000 {
92 reg = <0x090000 0x010000>;
96 compatible = "fixed-layout";
100 macaddr_info_8: macaddr@8 {
101 compatible = "mac-base";
103 #nvmem-cell-cells = <1>;
110 reg = <0x0a0000 0x010000>;
114 compatible = "fixed-layout";
115 #address-cells = <1>;
118 calibration_ath9k: calibration@1000 {
119 reg = <0x1000 0x440>;
122 calibration_ath10k: calibration@5000 {
123 reg = <0x5000 0x2f20>;
129 label = "extra-para";
130 reg = <0x0b0000 0x010000>;
135 compatible = "openwrt,elf";
137 reg = <0x0c0000 0xe40000>;
142 reg = <0xf00000 0x030000>;
148 reg = <0xf30000 0x080000>;
154 reg = <0xfb0000 0x040000>;
164 phy0: ethernet-phy@0 {
167 qca,ar8327-initvals = <
168 0x04 0x00080080 /* PAD0 */
169 0x7c 0x0000007e /* PORT0_STATUS */
170 0xe0 0xc74164de /* SGMII_CTRL */
178 phy-handle = <&phy0>;
181 nvmem-cells = <&macaddr_info_8 0>;
182 nvmem-cell-names = "mac-address";
188 nvmem-cells = <&macaddr_info_8 0>, <&calibration_ath9k>;
189 nvmem-cell-names = "mac-address", "calibration";