build/patch/kernel/archive/odroidxu4-5.15/0055-FIXME-ODROID-N2-arm64-dts-add-uart_A-node.patch

40 lines
1.0 KiB
Diff

From 606c32071ce16e4186eca0bde7441649444baba5 Mon Sep 17 00:00:00 2001
From: Dongjin Kim <tobetter@gmail.com>
Date: Thu, 1 Jul 2021 18:11:40 +0900
Subject: [PATCH 55/75] (FIXME) ODROID-N2: arm64/dts: add uart_A node
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I1d2bf830265704d7d1f89af1bf033c3b6536b4c2
---
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
index 344573e157a7..cfcf70c48515 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
@@ -12,6 +12,7 @@
/ {
aliases {
serial0 = &uart_AO;
+ serial1 = &uart_A;
ethernet0 = &ethmac;
rtc0 = &rtc;
rtc1 = &vrtc;
@@ -668,6 +669,12 @@ &toddr_c {
status = "okay";
};
+&uart_A {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart_a_pins>;
+};
+
&uart_AO {
status = "okay";
pinctrl-0 = <&uart_ao_a_pins>;
--
2.25.1