mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-10 22:52:11 -05:00
realtek: add missing gpio0 pinctrl properties
Not all devices using the gpio0/sys-led pin as a GPIO, configure the pinmux. Add the necessary pinctrl properties to these devices to ensure the pin is set up for use as GPIO. Co-developed-by: INAGAKI Hiroshi <musashino.open@gmail.com> Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> Signed-off-by: Sander Vanheule <sander@svanheule.net> Tested-by: Bjørn Mork <bjorn@mork.no>
This commit is contained in:
parent
c29b13cfa0
commit
f4065485d3
@ -14,6 +14,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
keys {
|
keys {
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinmux_disable_sys_led>;
|
||||||
|
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
|
|
||||||
mode {
|
mode {
|
||||||
|
|||||||
@ -19,6 +19,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinmux_disable_sys_led>;
|
||||||
|
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
led_power: power {
|
led_power: power {
|
||||||
|
|||||||
@ -15,6 +15,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
keys {
|
keys {
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinmux_disable_sys_led>;
|
||||||
|
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user