forked from radxa/kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2044410
commit b080bc4
Showing
1 changed file
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
commit d3a053a5d47dddc8b4f7e68b284415e322a53945 | ||
Author: Raphael <[email protected]> | ||
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"; |