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";
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <25000000>;
78 compatible = "fixed-partitions";
84 reg = <0x000000 0x020000>;
89 compatible = "tplink,firmware";
91 reg = <0x020000 0x3D0000>;
96 reg = <0x3F0000 0x010000>;
106 phy12: ethernet-phy@c {
113 reset-assert-us = <10000>;
114 reset-deassert-us = <10000>;
121 mtd-mac-address = <&uboot 0x1fc00>;
123 phy-handle = <&phy12>;
129 mtd-cal-data = <&art 0x1000>;
130 mtd-mac-address = <&uboot 0x1fc00>;