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,tl-wdr6500-v2", "qca,qca9561";
10 model = "TP-Link TL-WDR6500 v2";
13 led-boot = &led_system;
14 led-failsafe = &led_system;
15 led-running = &led_system;
16 led-upgrade = &led_system;
17 label-mac-device = ð1;
21 compatible = "gpio-keys";
24 label = "Reset button";
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-leds";
35 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
40 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
55 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
59 label = "white:system";
60 gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <25000000>;
75 compatible = "fixed-partitions";
81 reg = <0x000000 0x010000>;
85 compatible = "fixed-layout";
89 macaddr_uboot_0fc00: macaddr@0fc00 {
90 compatible = "mac-base";
92 #nvmem-cell-cells = <1>;
98 compatible = "tplink,firmware";
100 reg = <0x010000 0x7e0000>;
105 reg = <0x7f0000 0x010000>;
109 compatible = "fixed-layout";
110 #address-cells = <1>;
113 calibration_ath9k: calibration@1000 {
114 reg = <0x1000 0x440>;
117 calibration_ath10k: calibration@5000 {
118 reg = <0x5000 0x844>;
134 compatible = "qcom,ath10k";
137 nvmem-cells = <&macaddr_uboot_0fc00 (-2)>, <&calibration_ath10k>;
138 nvmem-cell-names = "mac-address", "calibration";
149 phy-handle = <&swphy4>;
151 nvmem-cells = <&macaddr_uboot_0fc00 1>;
152 nvmem-cell-names = "mac-address";
158 nvmem-cells = <&macaddr_uboot_0fc00 0>;
159 nvmem-cell-names = "mac-address";
165 nvmem-cells = <&macaddr_uboot_0fc00 (-1)>, <&calibration_ath9k>;
166 nvmem-cell-names = "mac-address", "calibration";