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>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <40000000>;
59 compatible = "fixed-partitions";
65 reg = <0x000000 0x040000>;
71 reg = <0x040000 0x010000>;
75 label = "partition-table";
76 reg = <0x050000 0x010000>;
80 info: partition@60000 {
82 reg = <0x060000 0x010000>;
86 compatible = "fixed-layout";
90 macaddr_info_8: macaddr@8 {
97 compatible = "denx,uimage";
99 reg = <0x070000 0xf50000>;
104 reg = <0xfc0000 0x030000>;
108 art: partition@ff0000 {
110 reg = <0xff0000 0x010000>;
118 mdio_pins: mdio_pins {
119 /* GPIO 10 as MDIO(0x20), GPIO 8 as MDC(0x21) */
120 pinctrl-single,bits = <0x8 0x00200021 0x00ff00ff>;
127 pinctrl-names = "default";
128 pinctrl-0 = <&mdio_pins>;
130 phy4: ethernet-phy@4 {
132 reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
139 phy-handle = <&phy4>;
142 nvmem-cells = <&macaddr_info_8>;
143 nvmem-cell-names = "mac-address";
145 qca956x-serdes-fixup;