openwrt/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2p.dts

33 lines
597 B
Plaintext
Raw Normal View History

#include <dt-bindings/leds/common.h>
#include "mt7628an_wrtnode_wrtnode2.dtsi"
/ {
compatible = "wrtnode,wrtnode2p", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
model = "WRTnode2P";
aliases {
led-boot = &led_indicator;
led-failsafe = &led_indicator;
led-running = &led_indicator;
led-upgrade = &led_indicator;
};
leds {
compatible = "gpio-leds";
led_indicator: indicator {
function = LED_FUNCTION_INDICATOR;
color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
};
};
&state_default {
gpio {
groups = "i2c", "gpio";
function = "gpio";
};
};