1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
7 #include "qca955x.dtsi"
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 label = "tp-link:green:power";
51 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
56 label = "tp-link:green:wlan2g";
57 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
58 linux,default-trigger = "phy1tpt";
62 label = "tp-link:red:wlan2g";
63 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
67 label = "tp-link:green:wlan5g";
68 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
69 linux,default-trigger = "phy0tpt";
73 label = "tp-link:red:wlan5g";
74 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
79 compatible = "virtual,mdio-gpio";
84 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>,
85 <&gpio 18 GPIO_ACTIVE_HIGH>;
87 phy4: ethernet-phy@4 {
90 phy-mode = "rgmii-rxid";
100 phy-handle = <&phy4>;
101 pll-data = <0x9e000000 0x80000101 0x80001313>;
103 mtd-mac-address = <&info 0x8>;
126 compatible = "jedec,spi-nor";
128 spi-max-frequency = <25000000>;
131 compatible = "fixed-partitions";
132 #address-cells = <1>;
137 reg = <0x000000 0x020000>;
142 compatible = "tplink,firmware";
144 reg = <0x020000 0xd70000>;
148 label = "partition-table";
149 reg = <0xd90000 0x010000>;
153 info: partition@da0000 {
155 reg = <0xda0000 0x020000>;
161 reg = <0xdc0000 0x230000>;
165 art: partition@ff0000 {
167 reg = <0xff0000 0x010000>;
181 mtd-cal-data = <&art 0x1000>;
182 mtd-mac-address = <&info 0x8>;