// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
#include "mt7620a.dtsi"
led-upgrade = &led_power;
};
- chosen {
- bootargs = "console=ttyS0,57600";
- };
-
keys {
compatible = "gpio-keys";
compatible = "gpio-leds";
led_power: power {
- label = "ew-7478apc:white:power";
+ label = "white:power";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
internet {
- label = "ew-7478apc:blue:internet";
+ label = "blue:internet";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "ew-7478apc:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
usb {
- label = "ew-7478apc:blue:usb";
+ label = "blue:usb";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
};
-&pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "i2c", "uartf", "nd_sd";
- ralink,function = "gpio";
- };
+&state_default {
+ gpio {
+ groups = "i2c", "uartf", "nd_sd";
+ function = "gpio";
};
};
ðernet {
- status = "okay";
- mtd-mac-address = <&factory 0x4>;
pinctrl-names = "default";
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
+
+ mtd-mac-address = <&factory 0x4>;
+
mediatek,portmap = "wllll";
port@5 {
};
&wmac {
- ralink,mtd-eeprom = <&factory 0>;
+ ralink,mtd-eeprom = <&factory 0x0>;
};
&pcie {