aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/WRTNODE2R.dts12
1 files changed, 11 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/WRTNODE2R.dts b/target/linux/ramips/dts/WRTNODE2R.dts
index af67873986..bfe533c0c3 100644
--- a/target/linux/ramips/dts/WRTNODE2R.dts
+++ b/target/linux/ramips/dts/WRTNODE2R.dts
@@ -16,6 +16,9 @@
leds {
compatible = "gpio-leds";
+ pinctrl-names = "default";
+ pinctrl-0 = <&led_pins>;
+
led_indicator: indicator {
label = "wrtnode:blue:indicator";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
@@ -26,7 +29,14 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "i2c", "gpio", "wled_an";
+ ralink,group = "gpio";
+ ralink,function = "gpio";
+ };
+ };
+
+ led_pins: led {
+ gpio {
+ ralink,group = "wled_an";
ralink,function = "gpio";
};
};