2019-07-03 21:22:31 +00:00
|
|
|
#include "mt7628an_wrtnode_wrtnode2.dtsi"
|
2016-01-01 21:19:50 +00:00
|
|
|
|
|
|
|
/ {
|
2017-07-29 02:14:07 +00:00
|
|
|
compatible = "wrtnode,wrtnode2p", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
|
2016-01-01 21:19:50 +00:00
|
|
|
model = "WRTnode2P";
|
|
|
|
|
2018-07-16 08:27:22 +00:00
|
|
|
aliases {
|
2018-08-28 04:54:27 +00:00
|
|
|
led-boot = &led_indicator;
|
|
|
|
led-failsafe = &led_indicator;
|
|
|
|
led-running = &led_indicator;
|
|
|
|
led-upgrade = &led_indicator;
|
2018-07-16 08:27:22 +00:00
|
|
|
};
|
|
|
|
|
2018-12-30 11:42:53 +00:00
|
|
|
leds {
|
2016-01-01 21:19:50 +00:00
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
2018-07-16 08:27:22 +00:00
|
|
|
led_indicator: indicator {
|
2024-02-07 13:48:43 +00:00
|
|
|
function = LED_FUNCTION_INDICATOR;
|
|
|
|
color = <LED_COLOR_ID_BLUE>;
|
2020-04-09 09:10:03 +00:00
|
|
|
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
|
2016-01-01 21:19:50 +00:00
|
|
|
};
|
2018-07-22 08:33:42 +00:00
|
|
|
};
|
2016-01-01 21:19:50 +00:00
|
|
|
};
|
|
|
|
|
2019-12-22 20:26:01 +00:00
|
|
|
&state_default {
|
|
|
|
gpio {
|
2020-04-12 12:58:29 +00:00
|
|
|
groups = "i2c", "gpio";
|
|
|
|
function = "gpio";
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
2024-02-07 13:48:43 +00:00
|
|
|
#include <dt-bindings/leds/common.h>
|
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|