1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
6 #include "qca956x.dtsi"
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
17 compatible = "gpio-keys";
20 label = "Reset button";
21 linux,code = <KEY_RESTART>;
22 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
23 debounce-interval = <60>;
27 label = "LED control button";
29 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
30 debounce-interval = <60>;
34 label = "Pair button";
36 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
37 debounce-interval = <60>;
42 compatible = "gpio-leds";
45 label = "tp-link:green:power";
46 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
50 label = "tp-link:green:lan";
51 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
55 label = "tp-link:green:wifi2g";
56 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
57 linux,default-trigger = "phy1tpt";
61 label = "tp-link:green:wifi5g";
62 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
63 linux,default-trigger = "phy0tpt";
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <25000000>;
78 partitions: partitions {
79 compatible = "fixed-partitions";
99 phy0: ethernet-phy@0 {
102 qca,mib-poll-interval = <500>;
104 qca,ar8327-initvals = <
105 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
106 0x7c 0x0000007e /* PORT0_STATUS */
114 phy-handle = <&phy0>;
121 mtd-cal-data = <&art 0x1000>;