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;
22 compatible = "gpio-leds";
25 label = "tp-link:green:system";
26 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
27 linux,default-trigger = "heartbeat";
31 label = "tp-link:green:wlan";
32 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy0tpt";
37 label = "tp-link:green:wps";
38 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
42 label = "tp-link:green:wan";
43 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
47 label = "tp-link:orange:wan";
48 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
52 label = "tp-link:green:lan1";
53 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
57 label = "tp-link:green:lan2";
58 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
62 label = "tp-link:green:lan3";
63 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
67 label = "tp-link:green:lan4";
68 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
73 compatible = "gpio-keys";
76 label = "Reset button";
77 linux,code = <KEY_RESTART>;
78 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
79 debounce-interval = <60>;
83 label = "RFKILL button";
84 linux,code = <KEY_RFKILL>;
85 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
86 debounce-interval = <60>;
103 phy0: ethernet-phy@0 {
106 qca,mib-poll-interval = <500>;
108 qca,ar8327-initvals = <
109 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
110 0x7c 0x0000007e /* PORT0_STATUS */
118 mtd-mac-address = <&info 0x8>;
120 phy-handle = <&phy0>;
125 mtd-cal-data = <&art 0x1000>;
126 mtd-mac-address = <&info 0x8>;