1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "tplink,tl-wa901nd-v2", "qca,ar9132";
10 model = "TP-Link TL-WA901ND v2";
13 led-boot = &led_system;
14 led-failsafe = &led_system;
15 led-running = &led_system;
16 led-upgrade = &led_system;
17 label-mac-device = ð0;
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 = "green:system";
49 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
54 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
59 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
60 linux,default-trigger = "phy0tpt";
79 compatible = "jedec,spi-nor";
81 spi-max-frequency = <25000000>;
84 compatible = "fixed-partitions";
90 reg = <0x000000 0x020000>;
95 compatible = "tplink,firmware";
97 reg = <0x020000 0x3D0000>;
102 reg = <0x3F0000 0x010000>;
112 phy12: ethernet-phy@c {
119 reset-assert-us = <10000>;
120 reset-deassert-us = <10000>;
127 mtd-mac-address = <&uboot 0x1fc00>;
129 phy-handle = <&phy12>;
135 mtd-cal-data = <&art 0x1000>;
136 mtd-mac-address = <&uboot 0x1fc00>;