// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
+
+#include "ar7242.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
-#include "ar7242.dtsi"
-
/ {
compatible = "tplink,tl-wr2543-v1", "qca,ar7242";
model = "TP-Link TL-WR2543N/ND";
compatible = "gpio-leds";
led_wps: wps {
- label = "tplink:green:wps";
+ label = "green:wps";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
usb {
- label = "tplink:green:usb";
+ label = "green:usb";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
wlan2g {
- label = "tplink:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan5g {
- label = "tplink:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
&spi {
status = "okay";
- num-cs = <1>;
-
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;