mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-29 16:06:59 +08:00

* ramips: mt7621.dtsi: add missing pinctrl to ethernet node Add rgmii1_pins (1st GMAC) and mdio_pins to ethernet node pinctrl to ensure they are set to correct mode * ramips: kernel: ralink-eth support mt7621 Signed-off-by: Chen Minqiang <ptpt52@gmail.com> * ramips: some devices use ralink-eth driver Also re-added mt7621 hwnat support for some devices. Signed-off-by: Chen Minqiang <ptpt52@gmail.com> Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz> * ramips/mt7621: re-added hwnat support Co-authored-by: LGA1150 <dqfext@gmail.com> Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
42 lines
906 B
Plaintext
42 lines
906 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
/dts-v1/;
|
|
|
|
#include "mt7621_xiaomi_router-ac2100.dtsi"
|
|
|
|
/ {
|
|
compatible = "xiaomi,redmi-router-ac2100", "mediatek,mt7621-soc";
|
|
model = "Xiaomi Redmi Router AC2100";
|
|
|
|
aliases {
|
|
led-boot = &led_status_amber;
|
|
led-failsafe = &led_status_amber;
|
|
led-running = &led_status_white;
|
|
led-upgrade = &led_status_white;
|
|
label-mac-device = ðernet;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
led_status_amber: status_amber {
|
|
label = "redmi-router-ac2100:amber:status";
|
|
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
led_status_white: status_white {
|
|
label = "redmi-router-ac2100:white:status";
|
|
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
wan_amber {
|
|
label = "redmi-router-ac2100:amber:wan";
|
|
gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
wan_white {
|
|
label = "redmi-router-ac2100:white:wan";
|
|
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|