ramips: reorganize DTSI files for D-Link DIR-8xx
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_dlink_dir-882-a1.dts
index cef0705393772ab35bf818288d7c033bdf2619b2..01739fc258c03654a47bc104fad3372e7e016b6d 100644 (file)
@@ -1,9 +1,25 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
-#include "mt7621_dlink_dir-8xx-a1.dtsi"
-#include "mt7621_dlink_dir-882-x1.dtsi"
+#include "mt7621_dlink_dir-8xx.dtsi"
+#include "mt7621_dlink_flash-16m-a1.dtsi"
 
 / {
        compatible = "dlink,dir-882-a1", "mediatek,mt7621-soc";
        model = "D-Link DIR-882 A1";
 };
+
+&leds {
+       usb2 {
+               label = "green:usb2";
+               gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
+               trigger-sources = <&ehci_port2>;
+               linux,default-trigger = "usbport";
+       };
+
+       usb3 {
+               label = "green:usb3";
+               gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
+               trigger-sources = <&xhci_ehci_port1>;
+               linux,default-trigger = "usbport";
+       };
+};