1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 compatible = "tplink,tl-wr1043nd-v1", "qca,ar9132";
11 model = "TP-Link TL-WR1043ND Version 1";
14 device_type = "memory";
15 reg = <0x0 0x2000000>;
19 compatible = "fixed-clock";
21 clock-frequency = <40000000>;
25 compatible = "gpio-keys-polled";
32 linux,code = <KEY_RESTART>;
33 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
34 debounce-interval = <60>;
39 linux,code = <KEY_WPS_BUTTON>;
40 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
41 debounce-interval = <60>;
46 compatible = "gpio-leds";
48 label = "tp-link:green:usb";
49 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
53 label = "tp-link:green:system";
54 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "heartbeat";
59 label = "tp-link:green:qss";
60 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
64 label = "tp-link:green:wlan";
65 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
93 compatible = "s25sl064a";
95 spi-max-frequency = <25000000>;
99 reg = <0x000000 0x020000>;
104 reg = <0x020000 0x7D0000>;
109 reg = <0x7F0000 0x010000>;