In our default wiki
SDK source code, the multiplexing function i2c7
is used;
Users can choose to turn off i2c7
to use uart9
;
Find the file: kernel/arch/arm64/boot/dts/rockchip/rk3588s-evb4-lp4x-yyt.dtsi;
Modify as follows:
diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-evb4-lp4x-yyt.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s-evb4-lp4x-yyt.dtsi
index deb8641dd..c6e9a7866 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588s-evb4-lp4x-yyt.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-evb4-lp4x-yyt.dtsi
@@ -632,7 +632,8 @@ dp_altmode_mux: endpoint {
};
&i2c7 {
- status = "okay";
+ // status = "okay";
+ status = "disalbed";
pinctrl-names = "default";
pinctrl-0 = <&i2c7m0_xfer>;
@@ -1071,7 +1072,7 @@ &u2phy3_host {
};
&uart9 {//
- status = "disabled";
+ status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&uart9m2_xfer>;
};
After the modification is completed and compiled and burned, you can see that there is an additional file node for serial port 9 under the /dev/ directory
root@R1:/# cd /dev/ttyS
ttyS5 ttyS7 ttyS9