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>
9 model = "TP-Link RE350K v1";
10 compatible = "tplink,re350k-v1", "qca,qca9558";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
21 compatible = "gpio-keys";
26 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
33 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
34 debounce-interval = <60>;
39 linux,code = <KEY_RESTART>;
40 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
41 debounce-interval = <60>;
46 compatible = "gpio-leds";
49 label = "green:power";
50 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
55 label = "green:wlan2g";
56 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
57 linux,default-trigger = "phy1tpt";
62 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
66 label = "green:wlan5g";
67 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
68 linux,default-trigger = "phy0tpt";
73 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
78 compatible = "virtual,mdio-gpio";
83 gpios = <&gpio 23 GPIO_ACTIVE_HIGH>,
84 <&gpio 18 GPIO_ACTIVE_HIGH>;
86 phy4: ethernet-phy@4 {
89 phy-mode = "rgmii-rxid";
100 pll-data = <0x9e000000 0x80000101 0x80001313>;
102 nvmem-cells = <&macaddr_info_8>;
103 nvmem-cell-names = "mac-address";
124 compatible = "jedec,spi-nor";
126 spi-max-frequency = <25000000>;
129 compatible = "fixed-partitions";
130 #address-cells = <1>;
135 reg = <0x000000 0x020000>;
140 compatible = "tplink,firmware";
142 reg = <0x020000 0xd70000>;
146 label = "partition-table";
147 reg = <0xd90000 0x010000>;
151 info: partition@da0000 {
153 reg = <0xda0000 0x020000>;
157 compatible = "fixed-layout";
158 #address-cells = <1>;
161 macaddr_info_8: macaddr@8 {
169 reg = <0xdc0000 0x230000>;
173 art: partition@ff0000 {
175 reg = <0xff0000 0x010000>;
185 mtd-cal-data = <&art 0x1000>;
186 nvmem-cells = <&macaddr_info_8>;
187 nvmem-cell-names = "mac-address";