mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
19c45b95db
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>
32 lines
639 B
Plaintext
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";
|
|
};
|
|
};
|