2016-01-01 21:19:50 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
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,wrtnode2r", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
|
2016-01-01 21:19:50 +00:00
|
|
|
model = "WRTnode2R";
|
|
|
|
|
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";
|
|
|
|
|
2019-04-11 20:26:28 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&led_pins>;
|
|
|
|
|
2018-07-16 08:27:22 +00:00
|
|
|
led_indicator: indicator {
|
2016-01-01 21:19:50 +00:00
|
|
|
label = "wrtnode:blue:indicator";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio1 12 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
|
|
|
};
|
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&pinctrl {
|
|
|
|
state_default: pinctrl0 {
|
|
|
|
gpio {
|
2019-04-11 20:26:28 +00:00
|
|
|
ralink,group = "gpio";
|
|
|
|
ralink,function = "gpio";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
led_pins: led {
|
|
|
|
gpio {
|
|
|
|
ralink,group = "wled_an";
|
2016-05-10 10:41:46 +00:00
|
|
|
ralink,function = "gpio";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|