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-wr941-v2", "qca,ar9132";
10 model = "TP-Link TL-WR941N/ND v2/v3";
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 5 GPIO_ACTIVE_HIGH>;
58 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
59 linux,default-trigger = "phy0tpt";
68 compatible = "marvell,mv88e6060";
112 compatible = "jedec,spi-nor";
114 spi-max-frequency = <25000000>;
117 compatible = "fixed-partitions";
118 #address-cells = <1>;
123 reg = <0x000000 0x20000>;
127 compatible = "fixed-layout";
128 #address-cells = <1>;
131 macaddr_uboot_1fc00: macaddr@1fc00 {
138 compatible = "tplink,firmware";
140 reg = <0x020000 0x3d0000>;
143 art: partition@3f0000 {
145 reg = <0x3f0000 0x10000>;
156 nvmem-cells = <&macaddr_uboot_1fc00>;
157 nvmem-cell-names = "mac-address";
167 mtd-cal-data = <&art 0x1000>;
168 nvmem-cells = <&macaddr_uboot_1fc00>;
169 nvmem-cell-names = "mac-address";