aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/WRTNODE2R.dts
blob: ee1e2f91b9dd0ed38c45c5ba7102fb2f946bdbc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/dts-v1/;

#include "WRTNODE2.dtsi"

/ {
	compatible = "wrtnode,wrtnode2r", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
	model = "WRTnode2R";

	aliases {
		led-boot = &led_indicator;
		led-failsafe = &led_indicator;
		led-running = &led_indicator;
		led-upgrade = &led_indicator;
	};

	gpio-leds {
		compatible = "gpio-leds";

		led_indicator: indicator {
			label = "wrtnode:blue:indicator";
			gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
		};
	};
};

&pinctrl {
	state_default: pinctrl0 {
		gpio {
			ralink,group = "i2c", "gpio", "wled_an";
			ralink,function = "gpio";
		};
	};
};