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 = &system;
17 led-running = &system;
18 led-upgrade = &system;
19 label-mac-device = &wmac;
23 compatible = "gpio-leds";
26 label = "tp-link:green:system";
27 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
28 linux,default-trigger = "heartbeat";
32 label = "tp-link:green:wlan";
33 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
34 linux,default-trigger = "phy0tpt";
38 label = "tp-link:green:wps";
39 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
43 label = "tp-link:green:wan";
44 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
48 label = "tp-link:orange:wan";
49 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
53 label = "tp-link:green:lan1";
54 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
58 label = "tp-link:green:lan2";
59 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
63 label = "tp-link:green:lan3";
64 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
68 label = "tp-link:green:lan4";
69 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
74 compatible = "gpio-keys";
77 label = "Reset button";
78 linux,code = <KEY_RESTART>;
79 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
80 debounce-interval = <60>;
84 label = "RFKILL button";
85 linux,code = <KEY_RFKILL>;
86 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
87 debounce-interval = <60>;
104 phy0: ethernet-phy@0 {
107 qca,mib-poll-interval = <500>;
109 qca,ar8327-initvals = <
110 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
111 0x7c 0x0000007e /* PORT0_STATUS */
119 mtd-mac-address = <&info 0x8>;
121 phy-handle = <&phy0>;
126 mtd-cal-data = <&art 0x1000>;
127 mtd-mac-address = <&info 0x8>;