1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 compatible = "tplink,tl-wr2543-v1", "qca,ar7242";
11 model = "TP-LINK TL-WR2543N/ND";
18 bootargs = "console=ttyS0,115200n8";
22 compatible = "fixed-clock";
24 clock-frequency = <40000000>;
28 compatible = "gpio-keys-polled";
33 linux,code = <KEY_RESTART>;
34 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
35 debounce-interval = <60>;
40 linux,code = <KEY_WPS_BUTTON>;
41 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
42 debounce-interval = <60>;
47 compatible = "gpio-leds";
50 label = "tplink:green:wps";
51 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
52 default-state = "off";
56 label = "tplink:green:usb";
57 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
58 default-state = "off";
59 trigger-sources = <&hub_port>;
60 linux,default-trigger = "usbport";
65 compatible = "gpio-leds";
68 label = "tplink:green:wlan2g";
69 gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
70 default-state = "off";
71 linux,default-trigger = "phy0tpt";
75 label = "tplink:green:wlan5g";
76 gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
77 default-state = "off";
78 linux,default-trigger = "phy0tpt";
84 compatible = "realtek,rtl8367";
85 gpio-sda = <&gpio 1 GPIO_ACTIVE_HIGH>;
86 gpio-sck = <&gpio 6 GPIO_ACTIVE_HIGH>;
87 realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
94 phy0: ethernet-phy@0 {
110 compatible = "jedec,spi-nor";
112 spi-max-frequency = <25000000>;
115 compatible = "fixed-partitions";
116 #address-cells = <1>;
121 reg = <0x000000 0x020000>;
127 reg = <0x020000 0x7d0000>;
132 reg = <0x7f0000 0x010000>;
144 #address-cells = <1>;
150 #trigger-source-cells = <0>;
162 reg = <0x0000 0 0 0 0>;
166 mtd-mac-address = <&uboot 0x1fc00>;
174 mtd-mac-address = <&uboot 0x1fc00>;
176 phy-handle = <&phy0>;