1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 model = "TP-Link RE350K v1";
11 compatible = "tplink,re350k-v1", "qca,qca9558";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
22 compatible = "gpio-keys";
27 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
28 debounce-interval = <60>;
34 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
35 debounce-interval = <60>;
40 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
42 debounce-interval = <60>;
47 compatible = "gpio-leds";
50 function = LED_FUNCTION_POWER;
51 color = <LED_COLOR_ID_GREEN>;
52 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
57 label = "green:wlan2g";
58 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
59 linux,default-trigger = "phy1tpt";
64 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
68 label = "green:wlan5g";
69 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
70 linux,default-trigger = "phy0tpt";
75 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
80 compatible = "virtual,mdio-gpio";
85 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>,
86 <&gpio 18 GPIO_ACTIVE_HIGH>;
88 phy4: ethernet-phy@4 {
91 phy-mode = "rgmii-rxid";
101 phy-handle = <&phy4>;
102 pll-data = <0x9e000000 0x80000101 0x80001313>;
104 nvmem-cells = <&macaddr_info_8 0>;
105 nvmem-cell-names = "mac-address";
122 compatible = "qcom,ath10k";
123 reg = <0x0000 0 0 0 0>;
124 nvmem-cells = <&cal_art_5000>, <&macaddr_info_8 2>;
125 nvmem-cell-names = "calibration", "mac-address";
133 compatible = "jedec,spi-nor";
135 spi-max-frequency = <25000000>;
138 compatible = "fixed-partitions";
139 #address-cells = <1>;
144 reg = <0x000000 0x020000>;
149 compatible = "tplink,firmware";
151 reg = <0x020000 0xd70000>;
155 label = "partition-table";
156 reg = <0xd90000 0x010000>;
160 info: partition@da0000 {
162 reg = <0xda0000 0x020000>;
166 compatible = "fixed-layout";
167 #address-cells = <1>;
170 macaddr_info_8: macaddr@8 {
171 compatible = "mac-base";
173 #nvmem-cell-cells = <1>;
180 reg = <0xdc0000 0x230000>;
184 art: partition@ff0000 {
186 reg = <0xff0000 0x010000>;
190 compatible = "fixed-layout";
191 #address-cells = <1>;
194 cal_art_5000: calibration@5000 {
195 reg = <0x5000 0x844>;
206 mtd-cal-data = <&art 0x1000>;
207 nvmem-cells = <&macaddr_info_8 0>;
208 nvmem-cell-names = "mac-address";