3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
9 compatible = "tplink,tl-wr1043nd-v1", "qca,ar9132";
10 model = "TP-Link TL-WR1043ND Version 1";
13 serial0 = "/ahb/apb/uart@18020000";
17 device_type = "memory";
18 reg = <0x0 0x2000000>;
22 compatible = "fixed-clock";
24 clock-frequency = <40000000>;
33 pll-controller@18050000 {
45 compatible = "s25sl064a";
47 spi-max-frequency = <25000000>;
51 reg = <0x000000 0x020000>;
56 reg = <0x020000 0x7D0000>;
61 reg = <0x7F0000 0x010000>;
69 compatible = "gpio-keys-polled";
76 linux,code = <KEY_RESTART>;
77 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
78 debounce-interval = <60>;
83 linux,code = <KEY_WPS_BUTTON>;
84 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
85 debounce-interval = <60>;
90 compatible = "gpio-leds";
92 label = "tp-link:green:usb";
93 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
97 label = "tp-link:green:system";
98 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
99 linux,default-trigger = "heartbeat";
103 label = "tp-link:green:qss";
104 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
108 label = "tp-link:green:wlan";
109 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;