2016-01-01 21:19:50 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2016-05-09 09:32:52 +03:00
|
|
|
#include "WRTNODE2.dtsi"
|
2016-01-01 21:19:50 +00:00
|
|
|
|
|
|
|
/ {
|
2017-07-29 10:14:07 +08:00
|
|
|
compatible = "wrtnode,wrtnode2r", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
|
2016-01-01 21:19:50 +00:00
|
|
|
model = "WRTnode2R";
|
|
|
|
|
2018-07-16 16:27:22 +08:00
|
|
|
aliases {
|
2018-08-28 06:54:27 +02:00
|
|
|
led-boot = &led_indicator;
|
|
|
|
led-failsafe = &led_indicator;
|
|
|
|
led-running = &led_indicator;
|
|
|
|
led-upgrade = &led_indicator;
|
2018-07-16 16:27:22 +08:00
|
|
|
};
|
|
|
|
|
2018-12-30 12:42:53 +01:00
|
|
|
leds {
|
2016-01-01 21:19:50 +00:00
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
2019-04-11 22:26:28 +02:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&led_pins>;
|
|
|
|
|
2018-07-16 16:27:22 +08:00
|
|
|
led_indicator: indicator {
|
2016-01-01 21:19:50 +00:00
|
|
|
label = "wrtnode:blue:indicator";
|
2017-07-29 10:14:07 +08:00
|
|
|
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
|
2016-01-01 21:19:50 +00:00
|
|
|
};
|
2018-07-22 10:33:42 +02:00
|
|
|
};
|
2016-01-01 21:19:50 +00:00
|
|
|
};
|
|
|
|
|
2016-05-10 13:41:46 +03:00
|
|
|
&pinctrl {
|
|
|
|
state_default: pinctrl0 {
|
|
|
|
gpio {
|
2019-04-11 22:26:28 +02:00
|
|
|
ralink,group = "gpio";
|
|
|
|
ralink,function = "gpio";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
led_pins: led {
|
|
|
|
gpio {
|
|
|
|
ralink,group = "wled_an";
|
2016-05-10 13:41:46 +03:00
|
|
|
ralink,function = "gpio";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|