From aa04c02f5aff14782084985f33912a91a224787e Mon Sep 17 00:00:00 2001 From: ZHANG Yuntian Date: Mon, 14 Oct 2024 11:47:44 +0800 Subject: [PATCH] feat: add rk3588-uart1-m1 Signed-off-by: ZHANG Yuntian --- arch/arm64/boot/dts/rockchip/overlays/Makefile | 1 + .../dts/rockchip/overlays/rk3588-uart1-m1.dts | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/overlays/rk3588-uart1-m1.dts diff --git a/arch/arm64/boot/dts/rockchip/overlays/Makefile b/arch/arm64/boot/dts/rockchip/overlays/Makefile index 66ec4c2f..8ee1773a 100644 --- a/arch/arm64/boot/dts/rockchip/overlays/Makefile +++ b/arch/arm64/boot/dts/rockchip/overlays/Makefile @@ -431,6 +431,7 @@ dtb-$(CONFIG_CLK_RK3588) += \ rk3588-spi4-m2-cs0-spidev.dtbo \ rk3588-spi4-m2-cs0-waveshare35.dtbo \ rk3588-spi4-m2-cs0-waveshare35b.dtbo \ + rk3588-uart1-m1.dtbo \ rk3588-uart1-m2.dtbo \ rk3588-uart2-m0.dtbo \ rk3588-uart2-m2.dtbo \ diff --git a/arch/arm64/boot/dts/rockchip/overlays/rk3588-uart1-m1.dts b/arch/arm64/boot/dts/rockchip/overlays/rk3588-uart1-m1.dts new file mode 100644 index 00000000..d87c6f86 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/overlays/rk3588-uart1-m1.dts @@ -0,0 +1,17 @@ +/dts-v1/; +/plugin/; + +/ { + metadata { + title = "Enable UART1-M1"; + compatible = "unknown"; + category = "misc"; + exclusive = "GPIO1_B6", "GPIO1_B7"; + description = "Enable UART1-M1."; + }; +}; + +&uart1 { + status = "okay"; + pinctrl-0 = <&uart1m1_xfer>; +};