Commit da8d0634 authored by Marek Belisko's avatar Marek Belisko
Browse files

linux-mainline: Enable uart1 and uart2


Signed-off-by: default avatarMarek Belisko <marek.belisko@open-nandra.com>
parent d470c8e0
From 0859598602b09c61940502b9fca4a8dc40cf5673 Mon Sep 17 00:00:00 2001
From: Marek Belisko <marek.belisko@open-nandra.com>
Date: Fri, 28 May 2021 14:40:24 +0200
Subject: [PATCH] dts: Enable uart1 nad uart2
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
index 35bc4b5..4c56cee 100644
--- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
+++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
@@ -203,13 +203,13 @@
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&uart1_pins>;
- status = "disabled";
+ status = "okay";
};
&uart2 {
pinctrl-names = "default";
pinctrl-0 = <&uart2_pins>;
- status = "disabled";
+ status = "okay";
};
&usb_otg {
--
2.7.4
......@@ -4,6 +4,7 @@ SRC_URI_append = " file://spidev.cfg \
file://usb_lte.cfg \
file://g_serial.cfg \
file://0001-sun8i-h2-orangepi-zero-Enable-spidev-uart1-uart2.patch \
file://0002-dts-Enable-uart1-nad-uart2.patch \
"
KERNEL_MODULE_AUTOLOAD += "g_serial"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment