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 "qca956x.dtsi"
11 bootargs = "console=ttyS0,115200n8";
16 led-failsafe = &power;
22 compatible = "gpio-leds";
25 label = "tp-link:green:power";
26 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
31 label = "tp-link:green:wlan2g";
32 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy1tpt";
37 label = "tp-link:green:wlan5g";
38 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
39 linux,default-trigger = "phy0tpt";
43 label = "tp-link:green:lan";
44 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
48 label = "tp-link:green:wan";
49 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
53 label = "tp-link:amber:wan";
54 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
58 label = "tp-link:green:wps";
59 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
64 compatible = "gpio-keys";
67 label = "Reset button";
68 linux,code = <KEY_RESTART>;
69 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
70 debounce-interval = <60>;
75 linux,code = <KEY_WPS_BUTTON>;
76 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
77 debounce-interval = <60>;
99 compatible = "jedec,spi-nor";
101 spi-max-frequency = <25000000>;
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
110 reg = <0x000000 0x020000>;
114 mac: partition@20000 {
116 reg = <0x020000 0x010000>;
121 compatible = "denx,uimage";
123 reg = <0x030000 0x7a0000>;
128 reg = <0x7d0000 0x020000>;
132 art: partition@7f0000 {
134 reg = <0x7f0000 0x010000>;
146 phy0: ethernet-phy@0 {
150 qca,ar8327-initvals = <
151 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
152 0x7c 0x0000007e /* PORT0_STATUS */
161 mtd-mac-address = <&mac 0x8>;
162 phy-handle = <&phy0>;
168 mtd-cal-data = <&art 0x1000>;
169 mtd-mac-address = <&mac 0x8>;