1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "tplink,tl-wr2543-v1", "qca,ar7242";
10 model = "TP-Link TL-WR2543N/ND";
14 led-failsafe = &led_wps;
15 led-running = &led_wps;
16 led-upgrade = &led_wps;
17 label-mac-device = ð0;
21 bootargs = "console=ttyS0,115200n8";
25 compatible = "gpio-keys";
29 linux,code = <KEY_RESTART>;
30 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
31 debounce-interval = <60>;
36 linux,code = <KEY_WPS_BUTTON>;
37 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
38 debounce-interval = <60>;
43 compatible = "gpio-leds";
47 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
52 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
53 trigger-sources = <&hub_port>;
54 linux,default-trigger = "usbport";
59 compatible = "gpio-leds";
62 label = "green:wlan2g";
63 gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
64 linux,default-trigger = "phy0tpt";
68 label = "green:wlan5g";
69 gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
70 linux,default-trigger = "phy0tpt";
75 compatible = "realtek,rtl8367";
76 gpio-sda = <&gpio 1 GPIO_ACTIVE_HIGH>;
77 gpio-sck = <&gpio 6 GPIO_ACTIVE_HIGH>;
78 realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
85 phy0: ethernet-phy@0 {
96 compatible = "jedec,spi-nor";
98 spi-max-frequency = <25000000>;
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
108 reg = <0x000000 0x020000>;
113 compatible = "tplink,firmware";
115 reg = <0x020000 0x7d0000>;
118 art: partition@7f0000 {
120 reg = <0x7f0000 0x010000>;
139 reg = <0x0000 0 0 0 0>;
142 nvmem-cells = <&macaddr_uboot_1fc00>, <&cal_art_1000>;
143 nvmem-cell-names = "mac-address", "calibration";
151 nvmem-cells = <&macaddr_uboot_1fc00>;
152 nvmem-cell-names = "mac-address";
154 phy-handle = <&phy0>;
162 compatible = "nvmem-cells";
163 #address-cells = <1>;
166 macaddr_uboot_1fc00: macaddr@1fc00 {
172 compatible = "nvmem-cells";
173 #address-cells = <1>;
176 cal_art_1000: cal@1000 {
177 reg = <0x1000 0x440>;