Commit 55de171b authored by Quentin Schulz's avatar Quentin Schulz Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: fix pinmux of UART5 for PX30 Ringneck on Haikou



UART5 uses GPIO0_B5 as UART RTS but muxed in its GPIO function,
therefore UART5 must request this pin to be muxed in that function, so
let's do that.

Fixes: 5963d97a ("arm64: dts: rockchip: add rs485 support on uart5 of px30-ringneck-haikou")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarQuentin Schulz <quentin.schulz@cherry.de>
Link: https://lore.kernel.org/r/20250225-ringneck-dtbos-v3-2-853a9a6dd597@cherry.de


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 2db7d29c
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -194,6 +194,13 @@ sd_card_led_pin: sd-card-led-pin {
			  <3 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
		};
	};

	uart {
		uart5_rts_pin: uart5-rts-pin {
			rockchip,pins =
			  <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
		};
	};
};

&pwm0 {
@@ -228,6 +235,9 @@ &uart0 {
};

&uart5 {
	/* Add pinmux for rts-gpios (uart5_rts_pin) */
	pinctrl-names = "default";
	pinctrl-0 = <&uart5_xfer &uart5_rts_pin>;
	rts-gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
	status = "okay";
};