From b080bc400375a762d10a8ea2afd06228ba1ec4c0 Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Sun, 21 Apr 2024 20:33:35 +0200 Subject: [PATCH] Create openhd_uart.patch --- scripts/patches/openhd_uart.patch | 57 +++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 scripts/patches/openhd_uart.patch diff --git a/scripts/patches/openhd_uart.patch b/scripts/patches/openhd_uart.patch new file mode 100644 index 0000000000000..ba79776bdf57c --- /dev/null +++ b/scripts/patches/openhd_uart.patch @@ -0,0 +1,57 @@ +commit d3a053a5d47dddc8b4f7e68b284415e322a53945 +Author: Raphael <68374617+raphaelscholle@users.noreply.github.com> +Date: Sun Apr 21 19:55:26 2024 +0200 + + enable uart + +diff --git a/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w-aic8800ds2.dts b/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w-aic8800ds2.dts +index e11ba6772eea..f209ba11a86a 100644 +--- a/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w-aic8800ds2.dts ++++ b/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w-aic8800ds2.dts +@@ -58,6 +58,12 @@ &uart1 { + pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn>; + }; + ++&uart2 { ++ status = "okay"; ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart2m0_xfer>; ++}; ++ + &sdmmc1 { + supports-sdio; + bus-width = <4>; +diff --git a/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w-ap6212.dts b/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w-ap6212.dts +index 0abc6e60db50..1b617414ff5b 100644 +--- a/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w-ap6212.dts ++++ b/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w-ap6212.dts +@@ -62,6 +62,12 @@ bluetooth { + }; + }; + ++&uart2 { ++ status = "okay"; ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart2m0_xfer>; ++}; ++ + &sdmmc1 { + supports-sdio; + bus-width = <4>; +diff --git a/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero3.dts b/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero3.dts +index a8a02c1572c2..8375fa10df42 100644 +--- a/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero3.dts ++++ b/arch/arm64/boot/dts/rockchip/rk3566-radxa-zero3.dts +@@ -537,6 +537,12 @@ bluetooth { + }; + }; + ++&uart2 { ++ status = "okay"; ++ pinctrl-names = "default"; ++ pinctrl-0 = <&uart2m0_xfer>; ++}; ++ + &gmac1 { + phy-mode = "rgmii"; + clock_in_out = "output";