// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
#include "mt7621.dtsi"
compatible = "gpio-leds";
led_power: power {
- label = "yk-l2:blue:power";
+ label = "blue:power";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "on";
};
led_wps: wps {
- label = "yk-l2:blue:wps";
+ label = "blue:wps";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
usb {
- label = "yk-l2:blue:usb";
+ label = "blue:usb";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
status = "okay";
};
-&xhci {
- status = "okay";
-};
-
&spi0 {
status = "okay";
};
};
-ðernet {
+&gmac0 {
mtd-mac-address = <&factory 0xe000>;
};
+&switch0 {
+ ports {
+ port@0 {
+ status = "okay";
+ label = "lan1";
+ };
+
+ port@1 {
+ status = "okay";
+ label = "lan2";
+ };
+
+ port@2 {
+ status = "okay";
+ label = "lan3";
+ };
+
+ port@3 {
+ status = "okay";
+ label = "lan4";
+ };
+
+ port@4 {
+ status = "okay";
+ label = "wan";
+ mtd-mac-address = <&factory 0xe006>;
+ };
+ };
+};
+
&state_default {
gpio {
groups = "jtag", "wdt";