openwrt/target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dts
Christian Marangi 19c45b95db
ramips: convert to new LED color/function format where possible
Initial conversion to new LED color/function format
and drop label format where possible. The same label
is composed at runtime.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-02-07 14:48:43 +01:00

32 lines
639 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
// Copyright (c) 2022 Ray Wang
// Copyright (c) 2022 Ivan Pavlov
#include <dt-bindings/leds/common.h>
#include "mt7628an_asus_rt-ac1200.dtsi"
/ {
compatible = "asus,rt-ac1200", "mediatek,mt7628an-soc";
model = "Asus RT-AC1200";
leds {
compatible = "gpio-leds";
usb {
function = LED_FUNCTION_USB;
color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
};
};
&state_default {
gpio {
groups = "i2c", "spi cs1", "refclk", "wled_an";
function = "gpio";
};
};