build/patch/kernel/archive/odroidxu4-5.12/0088-ODROID-N2-arm64-dts-Add-UART_B-node.patch

40 lines
1.1 KiB
Diff

From 9e17a896fb33d2f492cc878a0a700b2620c0dfdc Mon Sep 17 00:00:00 2001
From: Deokgyu Yang <secugyu@gmail.com>
Date: Fri, 16 Apr 2021 12:17:41 +0900
Subject: [PATCH 088/109] ODROID-N2: arm64/dts: Add UART_B node
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Icd77deb14d6047c051b16ca97c54d49fe1662aa8
---
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
index 17614be1901c..54adc2f4c46e 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
@@ -19,6 +19,7 @@ aliases {
i2c1 = &i2c3;
serial0 = &uart_AO;
serial1 = &uart_A;
+ serial2 = &uart_B;
};
dioo2133: audio-amplifier-0 {
@@ -726,6 +727,12 @@ &uart_A {
pinctrl-0 = <&uart_a_pins>;
};
+&uart_B {
+ status = "disabled";
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart_b_pins>;
+};
+
&uart_AO {
status = "okay";
pinctrl-0 = <&uart_ao_a_pins>;
--
2.25.1