diff options
author | Sander Vanheule <sander@svanheule.net> | 2021-11-26 22:10:24 +0100 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2022-07-10 09:54:35 +0200 |
commit | f4065485d3d9c6efa06c323fd5f61099a390c4c3 (patch) | |
tree | 1bcddd0cae7c2214fff9108108f459aa242f5222 /target/linux/realtek/dts-5.10 | |
parent | c29b13cfa09ebb4e81d4c6f65a4d1190316126bc (diff) | |
download | upstream-f4065485d3d9c6efa06c323fd5f61099a390c4c3.tar.gz upstream-f4065485d3d9c6efa06c323fd5f61099a390c4c3.tar.bz2 upstream-f4065485d3d9c6efa06c323fd5f61099a390c4c3.zip |
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>
Diffstat (limited to 'target/linux/realtek/dts-5.10')
3 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi b/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi index 078f8ff228..5e587f278d 100644 --- a/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi +++ b/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi @@ -14,6 +14,9 @@ }; keys { + pinctrl-names = "default"; + pinctrl-0 = <&pinmux_disable_sys_led>; + compatible = "gpio-keys"; mode { diff --git a/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210.dtsi b/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210.dtsi index aaaa872162..09f5555307 100644 --- a/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210.dtsi +++ b/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210.dtsi @@ -19,6 +19,9 @@ }; leds { + pinctrl-names = "default"; + pinctrl-0 = <&pinmux_disable_sys_led>; + compatible = "gpio-leds"; led_power: power { diff --git a/target/linux/realtek/dts-5.10/rtl8382_inaba_aml2-17gp.dts b/target/linux/realtek/dts-5.10/rtl8382_inaba_aml2-17gp.dts index 30960afff4..4808141494 100644 --- a/target/linux/realtek/dts-5.10/rtl8382_inaba_aml2-17gp.dts +++ b/target/linux/realtek/dts-5.10/rtl8382_inaba_aml2-17gp.dts @@ -15,6 +15,9 @@ }; keys { + pinctrl-names = "default"; + pinctrl-0 = <&pinmux_disable_sys_led>; + compatible = "gpio-keys"; reset { |