Browse Source

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 <[email protected]>
Signed-off-by: INAGAKI Hiroshi <[email protected]>
Signed-off-by: Sander Vanheule <[email protected]>
Tested-by: Bjørn Mork <[email protected]>
Sander Vanheule 4 years ago
parent
commit
f4065485d3

+ 3 - 0
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 {

+ 3 - 0
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 {

+ 3 - 0
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 {