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";
|
2020-04-09 09:10:03 +00:00
|
|
|
gpios = <&gpio 44 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 = "gpio";
|
|
|
|
function = "gpio";
|
2019-04-11 20:26:28 +00:00
|
|
|
};
|
2019-12-22 20:26:01 +00:00
|
|
|
};
|
2019-04-11 20:26:28 +00:00
|
|
|
|
2019-12-22 20:26:01 +00:00
|
|
|
&pinctrl {
|
2019-04-11 20:26:28 +00:00
|
|
|
led_pins: led {
|
|
|
|
gpio {
|
2020-04-12 12:58:29 +00:00
|
|
|
groups = "wled_an";
|
|
|
|
function = "gpio";
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2019-09-15 18:14:26 +00:00
|
|
|
|
|
|
|
&spi0 {
|
|
|
|
spidev@1 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "linux,spidev";
|
|
|
|
reg = <1>;
|
|
|
|
spi-max-frequency = <10000000>;
|
|
|
|
};
|
|
|
|
};
|