1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "qca9561_tplink_archer-c6x.dtsi"
8 compatible = "tplink,archer-c60-v1", "qca,qca9561";
9 model = "TP-Link Archer C60 v1";
12 label-mac-device = ð1;
18 function = LED_FUNCTION_WAN;
19 color = <LED_COLOR_ID_AMBER>;
20 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
24 function = LED_FUNCTION_WPS;
25 color = <LED_COLOR_ID_GREEN>;
26 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
32 compatible = "qcom,ath10k";
33 reg = <0x0000 0 0 0 0>;
34 nvmem-cells = <&precal_art_5000>, <&macaddr_info_8 (-1)>;
35 nvmem-cell-names = "pre-calibration", "mac-address";
43 compatible = "jedec,spi-nor";
45 spi-max-frequency = <25000000>;
48 compatible = "fixed-partitions";
54 reg = <0x000000 0x010000>;
58 info: partition@10000 {
60 reg = <0x010000 0x010000>;
64 compatible = "fixed-layout";
68 macaddr_info_8: macaddr@8 {
69 compatible = "mac-base";
71 #nvmem-cell-cells = <1>;
77 compatible = "denx,uimage";
79 reg = <0x020000 0x7c0000>;
84 reg = <0x7e0000 0x010000>;
88 art: partition@7f0000 {
90 reg = <0x7f0000 0x010000>;
94 compatible = "fixed-layout";
98 precal_art_5000: pre-calibration@5000 {
99 reg = <0x5000 0x2f20>;
108 nvmem-cells = <&macaddr_info_8 1>;
109 nvmem-cell-names = "mac-address";
113 nvmem-cells = <&macaddr_info_8 0>;
114 nvmem-cell-names = "mac-address";
118 mtd-cal-data = <&art 0x1000>;
120 nvmem-cells = <&macaddr_info_8 0>;
121 nvmem-cell-names = "mac-address";