// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
+
+#include "qca953x.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
-#include "qca953x.dtsi"
-
/ {
compatible = "tplink,archer-d50-v1", "qca,qca9531";
model = "TP-Link Archer D50 v1";
label-mac-device = &wmac;
};
- chosen {
- bootargs = "console=ttyS0,115200n8";
- };
-
leds {
compatible = "gpio-leds";
wlan2g {
- label = "tp-link:white:wlan2g";
+ label = "white:wlan2g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan5g {
- label = "tp-link:white:wlan5g";
+ label = "white:wlan5g";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
qss {
- label = "tp-link:white:qss";
+ label = "white:qss";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
wan {
- label = "tp-link:white:wan";
+ label = "white:wan";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
lan {
- label = "tp-link:white:lan";
+ label = "white:lan";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
usb {
- label = "tp-link:white:usb";
+ label = "white:usb";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
internet {
- label = "tp-link:white:internet";
+ label = "white:internet";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
led_system: system {
- label = "tp-link:white:system";
+ label = "white:system";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
default-state = "on";
};
};
};
-&uart {
- status = "okay";
-};
-
&spi {
status = "okay";
};
};
-ð1 {
- mtd-mac-address = <&romfile 0xf100>;
-};
-
ð0 {
status = "okay";
phy-handle = <&swphy4>;
mtd-mac-address = <&romfile 0xf100>;
- mtd-mac-address-increment = <1>;
+ mac-address-increment = <1>;
+};
+
+ð1 {
+ mtd-mac-address = <&romfile 0xf100>;
};
&wmac {