]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: dts: rockchip: move uart2 pinmux to dtsi on rk3588-tiger
authorHeiko Stuebner <heiko.stuebner@cherry.de>
Mon, 10 Jun 2024 13:13:32 +0000 (15:13 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 14 Jun 2024 09:13:35 +0000 (17:13 +0800)
The association of uart2 to the q7-uart pins is part of the module
itself and not the baseboard used. Therefore move the pinctrl over
to the tiger dtsi.

Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Link: https://lore.kernel.org/r/20240422143356.2596414-1-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
[ upstream commit: 5adbad5c464a708a87cf5ade1bfe2ca947bb2f82 ]

(cherry picked from commit f8314a4fbc00a3d651a7e9b4d9462d10c6c02a12)

dts/upstream/src/arm64/rockchip/rk3588-tiger-haikou.dts
dts/upstream/src/arm64/rockchip/rk3588-tiger.dtsi

index d672198c6b64032996a2578156996c72c11939fb..9bdd14799eff5c76d3609dfac555b712285fba47 100644 (file)
 };
 
 &uart2 {
-       pinctrl-0 = <&uart2m2_xfer>;
        status = "okay";
 };
 
index 72fe696b00348ecb6508a8eba45553048774f724..4984e36a8c2d21c8f6331ab46db44aabeef0338f 100644 (file)
        status = "okay";
 };
 
+/* Routed to UART0 on the Q7 connector */
+&uart2 {
+       pinctrl-0 = <&uart2m2_xfer>;
+};
+
 /* Mule-ATtiny UPDI */
 &uart4 {
        pinctrl-0 = <&uart4m2_xfer>;