Skip to content

Commit

Permalink
realtek: add missing gpio0 pinctrl properties
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
svanheule committed Jul 10, 2022
1 parent c29b13c commit f406548
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi
Expand Up @@ -14,6 +14,9 @@
};

keys {
pinctrl-names = "default";
pinctrl-0 = <&pinmux_disable_sys_led>;

compatible = "gpio-keys";

mode {
Expand Down
3 changes: 3 additions & 0 deletions target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210.dtsi
Expand Up @@ -19,6 +19,9 @@
};

leds {
pinctrl-names = "default";
pinctrl-0 = <&pinmux_disable_sys_led>;

compatible = "gpio-leds";

led_power: power {
Expand Down
3 changes: 3 additions & 0 deletions target/linux/realtek/dts-5.10/rtl8382_inaba_aml2-17gp.dts
Expand Up @@ -15,6 +15,9 @@
};

keys {
pinctrl-names = "default";
pinctrl-0 = <&pinmux_disable_sys_led>;

compatible = "gpio-keys";

reset {
Expand Down

0 comments on commit f406548

Please sign in to comment.