Skip to contentSkip to conversation

ARM: dts: orange-pi-zero: enable uart

PATCH Applied Sergey Kuzminov 2 participants 2 messages Nov 20, 2021 – Dec 11, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: orange-pi-zero: enable uart

Enable uart1 and uart2 on orange-pi-zero board.

---
 ...4-ARM-dts-orange-pi-zero-enable-uart.patch | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch
board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch new file +35 -0
new file mode 100644
index 0000000000..839bc16087
@@ -0,0 +1,35 @@
+From e8768cc1f0f1231cbd4864417de629330e21222d Mon Sep 17 00:00:00 2001
+From: Sergey Kuzminov <[email protected]>
+Date: Sun, 21 Nov 2021 00:58:32 +0300
+Subject: [PATCH] ARM: dts: orange-pi-zero: enable uart
+
+Enable uart1 and uart2 on orange-pi-zero board.
+
+Signed-off-by: Sergey Kuzminov <[email protected]>
+---
+ 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 f19ed981da9d..03acf166ab70 100644
+--- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
++++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
+@@ -184,13 +184,13 @@ &uart0 {
+ &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.32.0
+
Signature · 6 lines
2.32.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hi Sergey,

The summary line should mention the file (or most important file) that is
being modified. In this case, I changed it to:

board/orangepi/orangepi-zero: enable uart

Applied to master with that change.

Quoted 14 lines · Sergey Kuzminov

Enable uart1 and uart2 on orange-pi-zero board.

---
  ...4-ARM-dts-orange-pi-zero-enable-uart.patch | 35 +++++++++++++++++++
  1 file changed, 35 insertions(+)

create mode 100644 board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch

board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch new file +0 -0
new file mode 100644
index 0000000000..839bc16087

board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch line 8

Quoted 8 lines
board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch new file +8 -0
@@ -0,0 +1,35 @@
+From e8768cc1f0f1231cbd4864417de629330e21222d Mon Sep 17 00:00:00 2001
+From: Sergey Kuzminov <[email protected]>
+Date: Sun, 21 Nov 2021 00:58:32 +0300
+Subject: [PATCH] ARM: dts: orange-pi-zero: enable uart
+
+Enable uart1 and uart2 on orange-pi-zero board.
+
+Signed-off-by: Sergey Kuzminov <[email protected]>

Ideally you should reference the upstream submission here. I was too lazy to
look it up so I left it as is for now.

Regards,
Arnout

Quoted 18 lines
board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch new file +17 -0
+---
+ 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 f19ed981da9d..03acf166ab70 100644
+--- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
++++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
+@@ -184,13 +184,13 @@ &uart0 {
+ &uart1 {
+ 	pinctrl-names = "default";
+ 	pinctrl-0 = <&uart1_pins>;
+-	status = "disabled";
++	status = "okay";
+ };
+
+ &uart2 {

board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch line 35

Quoted 10 lines
board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch new file +10 -0
+ 	pinctrl-names = "default";
+ 	pinctrl-0 = <&uart2_pins>;
+-	status = "disabled";
++	status = "okay";
+ };
+
+ &usb_otg {
+--
+2.32.0
+

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot