projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0b8be7
)
ramips: enable LED VCC for Asus RT-AC51U
author
Davide Fioravanti
<
[email protected]
>
Sun, 29 Sep 2019 18:52:37 +0000
(20:52 +0200)
committer
Adrian Schmutzler
<
[email protected]
>
Thu, 10 Dec 2020 12:41:10 +0000
(13:41 +0100)
Previously only the power LED was working.
With this patch all leds except 5GHz are working.
Signed-off-by: Davide Fioravanti <
[email protected]
>
[rephrased commit title, drop status property]
Signed-off-by: David Bauer <
[email protected]
>
(cherry picked from commit
67d019ac94015707926235a3ac0aa6bb12cee8c2
)
target/linux/ramips/dts/RT-AC51U.dts
patch
|
blob
|
history
diff --git
a/target/linux/ramips/dts/RT-AC51U.dts
b/target/linux/ramips/dts/RT-AC51U.dts
index 3e54ffdad271016449a0698dbdb7e052e761d47c..1294357569b20b33b0b62d28363fb7aab56f33a6 100644
(file)
--- a/
target/linux/ramips/dts/RT-AC51U.dts
+++ b/
target/linux/ramips/dts/RT-AC51U.dts
@@
-53,17
+53,6
@@
linux,code = <KEY_WPS_BUTTON>;
};
};
-
- gpio_export {
- compatible = "gpio-export";
- #size-cells = <0>;
-
- enable-leds {
- gpio-export,name = "enable-leds";
- gpio-export,output = <1>;
- gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
- };
- };
};
&spi0 {
@@
-114,6
+103,15
@@
status = "okay";
};
+&gpio0 {
+ enable-leds {
+ gpio-hog;
+ line-name = "enable-leds";
+ output-low;
+ gpios = <10 GPIO_ACTIVE_HIGH>;
+ };
+};
+
&gpio3 {
status = "okay";
};