1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 compatible = "tplink,tl-wa901nd-v2", "qca,ar9132";
11 model = "TP-Link TL-WA901ND v2";
15 led-failsafe = &system;
16 led-running = &system;
17 led-upgrade = &system;
21 compatible = "fixed-clock";
23 clock-frequency = <40000000>;
27 compatible = "gpio-keys";
31 linux,code = <KEY_RESTART>;
32 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
33 debounce-interval = <60>;
38 linux,code = <KEY_WPS_BUTTON>;
39 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
40 debounce-interval = <60>;
45 compatible = "gpio-leds";
48 label = "tp-link:green:system";
49 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
53 label = "tp-link:green:qss";
54 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
55 default-state = "off";
59 label = "tp-link:green:wlan";
60 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
61 default-state = "off";
62 linux,default-trigger = "phy0tpt";
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <25000000>;
85 compatible = "fixed-partitions";
91 reg = <0x000000 0x020000>;
97 reg = <0x020000 0x3D0000>;
102 reg = <0x3F0000 0x010000>;
112 phy0: ethernet-phy@c {
122 mtd-mac-address = <&uboot 0x1fc00>;
124 phy-handle = <&phy0>;
129 mtd-cal-data = <&art 0x1000>;
130 mtd-mac-address = <&uboot 0x1fc00>;