mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-06-26 17:47:29 +02:00
ramips: enable LED VCC for Asus RT-AC51U
Previously only the power LED was working.
With this patch all leds except 5GHz are working.
Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
[rephrased commit title, drop status property]
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 67d019ac94
)
This commit is contained in:
parent
d0b8be75ff
commit
3f5fecfd33
|
@ -53,17 +53,6 @@
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
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 {
|
&spi0 {
|
||||||
|
@ -114,6 +103,15 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&gpio0 {
|
||||||
|
enable-leds {
|
||||||
|
gpio-hog;
|
||||||
|
line-name = "enable-leds";
|
||||||
|
output-low;
|
||||||
|
gpios = <10 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&gpio3 {
|
&gpio3 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user