Files
openwrt-armor-g5/target/linux/ramips/dts/mt7621_xiaomi_redmi-router-ac2100.dts
domenico 27c9d80f51
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Initial commit
2025-06-24 12:51:15 +02:00

47 lines
1015 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include <dt-bindings/leds/common.h>
#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 = &gmac0;
};
leds {
compatible = "gpio-leds";
led_status_amber: status_amber {
function = LED_FUNCTION_STATUS;
color = <LED_COLOR_ID_AMBER>;
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_status_white: status_white {
function = LED_FUNCTION_STATUS;
color = <LED_COLOR_ID_WHITE>;
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
wan_amber {
function = LED_FUNCTION_WAN;
color = <LED_COLOR_ID_AMBER>;
gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
};
wan_white {
function = LED_FUNCTION_WAN;
color = <LED_COLOR_ID_WHITE>;
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
};
};