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;
19 label-mac-device = ð0;
23 compatible = "gpio-leds";
26 label = "tp-link:green:power";
27 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
32 label = "tp-link:green:wlan2g";
33 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
34 linux,default-trigger = "phy1tpt";
38 label = "tp-link:green:wlan5g";
39 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
40 linux,default-trigger = "phy0tpt";
44 label = "tp-link:green:lan";
45 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
49 label = "tp-link:green:wan";
50 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
54 label = "tp-link:amber:wan";
55 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
59 label = "tp-link:green:wps";
60 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
65 compatible = "gpio-keys";
68 label = "Reset button";
69 linux,code = <KEY_RESTART>;
70 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
71 debounce-interval = <60>;
76 linux,code = <KEY_WPS_BUTTON>;
77 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
78 debounce-interval = <60>;
100 compatible = "jedec,spi-nor";
102 spi-max-frequency = <25000000>;
105 compatible = "fixed-partitions";
106 #address-cells = <1>;
111 reg = <0x000000 0x020000>;
115 mac: partition@20000 {
117 reg = <0x020000 0x010000>;
122 compatible = "denx,uimage";
124 reg = <0x030000 0x7a0000>;
129 reg = <0x7d0000 0x020000>;
133 art: partition@7f0000 {
135 reg = <0x7f0000 0x010000>;
147 phy0: ethernet-phy@0 {
150 qca,mib-poll-interval = <500>;
152 qca,ar8327-initvals = <
153 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
154 0x7c 0x0000007e /* PORT0_STATUS */
163 mtd-mac-address = <&mac 0x8>;
164 phy-handle = <&phy0>;
170 mtd-cal-data = <&art 0x1000>;
171 mtd-mac-address = <&mac 0x8>;