mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-24 04:55:40 +00: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 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinmux_disable_sys_led>;
|
||||
|
||||
compatible = "gpio-keys";
|
||||
|
||||
mode {
|
||||
|
@ -19,6 +19,9 @@
|
||||
};
|
||||
|
||||
leds {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinmux_disable_sys_led>;
|
||||
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led_power: power {
|
||||
|
@ -15,6 +15,9 @@
|
||||
};
|
||||
|
||||
keys {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinmux_disable_sys_led>;
|
||||
|
||||
compatible = "gpio-keys";
|
||||
|
||||
reset {
|
||||
|
Loading…
x
Reference in New Issue
Block a user