[PATCH] Enable USB-UART (uart2)
Will make debugging easier (like in #4 (closed)) w/o having to recompile the kernel yourself w/ uart2 enabled
From 651a98266caf4f0fbd7482e741265ef44b42d039 Mon Sep 17 00:00:00 2001
From: Max Fierke <max@maxfierke.com>
Date: Sun, 28 Aug 2022 21:13:11 -0500
Subject: [PATCH] Enable USB-UART (uart2)
Signed-off-by: Max Fierke <max@maxfierke.com>
---
0001-arm64-dts-clockworkpi-a06-dts.patch | 4 +---
PKGBUILD | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/0001-arm64-dts-clockworkpi-a06-dts.patch b/0001-arm64-dts-clockworkpi-a06-dts.patch
index a47dab0..c4c4f19 100644
--- a/0001-arm64-dts-clockworkpi-a06-dts.patch
+++ b/0001-arm64-dts-clockworkpi-a06-dts.patch
@@ -15,7 +15,7 @@ new file mode 100644
index 000000000..1c8fb451a
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3399-clockworkpi-a06.dts 2021-12-05 20:46:08.851233995 -0600
-@@ -0,0 +1,1014 @@
+@@ -0,0 +1,1012 @@
+/*
+ * SPDX-License-Identifier: (GPL-2.0+ or MIT)
+ * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd.
@@ -384,11 +384,9 @@ index 000000000..1c8fb451a
+
+};
+
-+/*
+&uart2 {
+ status = "okay";
+};
-+*/
+
+&i2c0 {
+ clock-frequency = <400000>;
diff --git a/PKGBUILD b/PKGBUILD
index e5c89fd..9a42f99 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,7 +30,7 @@ md5sums=('f91bfe133d2cb1692f705947282e123a'
'd89c87a448cca0f1192666e538984761'
'9e6b7f44db105fef525d715213dce7cf'
'e2f08e3bc6d1b36e7000233abab1bfc7'
- '8faf3d20b4c87cb05519e8ef56bfeaa6'
+ 'dc6cb17e3c05f38fda8e52abadd2ec34'
'3ce64f0b521cde07eeb82683a55663a0'
'f2577b39b1eda4a18b9111775843f83b'
'3203d018422505068fc22b909df871aa'
--
2.37.2