]> www.infradead.org Git - users/hch/misc.git/commitdiff
arm64: dts: rockchip: Move uart5 pin configuration to px30 ringneck SoM
authorLukasz Czechowski <lukasz.czechowski@thaumatec.com>
Tue, 21 Jan 2025 12:56:03 +0000 (13:56 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 3 Feb 2025 08:14:34 +0000 (09:14 +0100)
In the PX30-uQ7 (Ringneck) SoM, the hardware CTS and RTS pins for
uart5 cannot be used for the UART CTS/RTS, because they are already
allocated for different purposes. CTS pin is routed to SUS_S3#
signal, while RTS pin is used internally and is not available on
Q7 connector. Move definition of the pinctrl-0 property from
px30-ringneck-haikou.dts to px30-ringneck.dtsi.

This commit is a dependency to next commit in the patch series,
that disables DMA for uart5.

Cc: stable@vger.kernel.org
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Lukasz Czechowski <lukasz.czechowski@thaumatec.com>
Link: https://lore.kernel.org/r/20250121125604.3115235-2-lukasz.czechowski@thaumatec.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/px30-ringneck-haikou.dts
arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi

index e4517f47d519cc08ec9ee705a6f51a740687f6df..eb9470a00e549fc107603be216a5f714914e7a2c 100644 (file)
 };
 
 &uart5 {
-       pinctrl-0 = <&uart5_xfer>;
        rts-gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
        status = "okay";
 };
index ae050cc6cd050f730fb8fd7e3971a166d234d408..2c87005c89bd34973a389bc50fcdf3bfe1521cd4 100644 (file)
        status = "okay";
 };
 
+&uart5 {
+       pinctrl-0 = <&uart5_xfer>;
+};
+
 /* Mule UCAN */
 &usb_host0_ehci {
        status = "okay";