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 model = "TP-Link CPE710 v1";
10 compatible = "tplink,cpe710-v1", "qca,qca9563";
13 label-mac-device = ð0;
15 led-failsafe = &led_lan;
16 led-upgrade = &led_lan;
20 compatible = "gpio-leds";
24 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
28 label = "blue:wlan5g";
29 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
30 linux,default-trigger = "phy0tpt";
35 compatible = "gpio-keys";
38 label = "Reset button";
39 linux,code = <KEY_RESTART>;
40 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
41 debounce-interval = <60>;
50 compatible = "qcom,ath10k";
51 reg = <0x0000 0 0 0 0>;
52 nvmem-cells = <&precal_art_5000>, <&macaddr_info_8>;
53 nvmem-cell-names = "pre-calibration", "mac-address";
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <40000000>;
66 compatible = "fixed-partitions";
72 reg = <0x000000 0x040000>;
78 reg = <0x040000 0x010000>;
82 label = "partition-table";
83 reg = <0x050000 0x010000>;
87 info: partition@60000 {
89 reg = <0x060000 0x010000>;
93 compatible = "fixed-layout";
97 macaddr_info_8: macaddr@8 {
104 compatible = "denx,uimage";
106 reg = <0x070000 0xf50000>;
111 reg = <0xfc0000 0x030000>;
115 art: partition@ff0000 {
117 reg = <0xff0000 0x010000>;
121 compatible = "fixed-layout";
122 #address-cells = <1>;
125 precal_art_5000: pre-calibration@5000 {
126 reg = <0x5000 0x2f20>;
135 mdio_pins: mdio_pins {
136 /* GPIO 10 as MDIO(0x20), GPIO 8 as MDC(0x21) */
137 pinctrl-single,bits = <0x8 0x00200021 0x00ff00ff>;
144 pinctrl-names = "default";
145 pinctrl-0 = <&mdio_pins>;
147 phy4: ethernet-phy@4 {
149 reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
156 phy-handle = <&phy4>;
159 nvmem-cells = <&macaddr_info_8>;
160 nvmem-cell-names = "mac-address";
162 qca956x-serdes-fixup;