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 "qca9557.dtsi"
10 model = "TP-Link RE350K v1";
11 compatible = "tplink,re350k-v1", "qca,qca9558";
15 led-failsafe = &power;
22 bootargs = "console=ttyS0,115200n8";
26 compatible = "gpio-keys";
31 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
32 debounce-interval = <60>;
38 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
39 debounce-interval = <60>;
44 linux,code = <KEY_RESTART>;
45 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
46 debounce-interval = <60>;
51 compatible = "gpio-leds";
54 label = "tp-link:green:power";
55 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
60 label = "tp-link:green:wlan2g";
61 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
62 linux,default-trigger = "phy1tpt";
66 label = "tp-link:red:wlan2g";
67 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
71 label = "tp-link:green:wlan5g";
72 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
73 linux,default-trigger = "phy0tpt";
77 label = "tp-link:red:wlan5g";
78 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
83 compatible = "virtual,mdio-gpio";
88 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>,
89 <&gpio 18 GPIO_ACTIVE_HIGH>;
91 phy0: ethernet-phy@4 {
94 phy-mode = "rgmii-rxid";
95 at803x-disable-smarteee;
103 mtd-mac-address = <&config 0x10008>;
104 pll-data = <0x9e000000 0x80000101 0x80001313>;
105 phy-handle = <&phy0>;
128 compatible = "jedec,spi-nor";
130 spi-max-frequency = <25000000>;
133 compatible = "fixed-partitions";
134 #address-cells = <1>;
139 reg = <0x000000 0x020000>;
144 compatible = "tplink,firmware";
146 reg = <0x020000 0xd70000>;
149 config: partition@d90000 {
151 reg = <0xd90000 0x260000>;
155 art: partition@ff0000 {
157 reg = <0xff0000 0x010000>;
171 mtd-cal-data = <&art 0x1000>;
172 mtd-mac-address = <&config 0x10008>;