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 = "gpio-keys";
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
32 linux,code = <KEY_WPS_BUTTON>;
33 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
34 debounce-interval = <60>;
39 compatible = "gpio-leds";
42 label = "green:system";
43 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
48 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
53 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
54 linux,default-trigger = "phy0tpt";
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <25000000>;
68 compatible = "fixed-partitions";
74 reg = <0x000000 0x020000>;
79 compatible = "tplink,firmware";
81 reg = <0x020000 0x3D0000>;
86 reg = <0x3F0000 0x010000>;
96 phy12: ethernet-phy@c {
103 reset-assert-us = <10000>;
104 reset-deassert-us = <10000>;
111 nvmem-cells = <&macaddr_uboot_1fc00>;
112 nvmem-cell-names = "mac-address";
114 phy-handle = <&phy12>;
120 mtd-cal-data = <&art 0x1000>;
121 nvmem-cells = <&macaddr_uboot_1fc00>;
122 nvmem-cell-names = "mac-address";
126 compatible = "nvmem-cells";
127 #address-cells = <1>;
130 macaddr_uboot_1fc00: macaddr@1fc00 {