From 8cfb538934f14d38b22bfd37652943a9a8b5a1e0 Mon Sep 17 00:00:00 2001
From: "Igor Zalatov (from Citadel PC)" <flyrouter@gmail.com>
Date: Sat, 2 Oct 2021 20:23:43 +0300
Subject: [PATCH] Add some DTS changes for Hisilicon

---
 .../kernel/patches/21_hi3516ev200_dts.patch   | 11 +++++++++
 .../kernel/patches/21_hi3516ev300_dts.patch   | 11 +++++++++
 .../kernel/patches/21_hi3518ev300_dts.patch   | 24 +++++++++++++++++++
 3 files changed, 46 insertions(+)
 create mode 100644 br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/21_hi3516ev200_dts.patch
 create mode 100644 br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/21_hi3516ev300_dts.patch
 create mode 100644 br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/21_hi3518ev300_dts.patch

diff --git a/br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/21_hi3516ev200_dts.patch b/br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/21_hi3516ev200_dts.patch
new file mode 100644
index 00000000..366a1cf4
--- /dev/null
+++ b/br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/21_hi3516ev200_dts.patch
@@ -0,0 +1,11 @@
+--- a/arch/arm/boot/dts/hi3516ev200-demb.dts	2021-10-01 00:59:59.904659633 +0300
++++ b/arch/arm/boot/dts/hi3516ev200-demb.dts	2021-10-02 17:22:14.731751300 +0300
+@@ -35,7 +35,7 @@
+ };
+ 
+ &uart1 {
+-	status = "disabled";
++	status = "okay";
+ };
+ 
+ &uart2 {
diff --git a/br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/21_hi3516ev300_dts.patch b/br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/21_hi3516ev300_dts.patch
new file mode 100644
index 00000000..a591216e
--- /dev/null
+++ b/br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/21_hi3516ev300_dts.patch
@@ -0,0 +1,11 @@
+--- a/arch/arm/boot/dts/hi3516ev300-demb.dts	2021-10-01 00:59:59.908659616 +0300
++++ b/arch/arm/boot/dts/hi3516ev300-demb.dts	2021-10-02 17:23:05.343488505 +0300
+@@ -35,7 +35,7 @@
+ };
+ 
+ &uart1 {
+-	status = "disabled";
++	status = "okay";
+ };
+ 
+ &uart2 {
diff --git a/br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/21_hi3518ev300_dts.patch b/br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/21_hi3518ev300_dts.patch
new file mode 100644
index 00000000..7b29fbca
--- /dev/null
+++ b/br-ext-chip-hisilicon/board/hi3516ev200/kernel/patches/21_hi3518ev300_dts.patch
@@ -0,0 +1,24 @@
+--- a/arch/arm/boot/dts/hi3518ev300-demb.dts	2021-10-01 00:59:59.908659616 +0300
++++ b/arch/arm/boot/dts/hi3518ev300-demb.dts	2021-10-02 17:30:45.364964260 +0300
+@@ -35,7 +35,7 @@
+ };
+ 
+ &uart1 {
+-	status = "disabled";
++	status = "okay";
+ };
+ 
+ &uart2 {
+@@ -132,6 +132,12 @@
+ 	status = "okay";
+ };
+ 
++&usbdrd3_0: {
++	hidwc3@0x100e0000 {
++		interrupt-names = "host";
++	};
++};
++
+ &gpio_chip0 {
+ 	status = "okay";
+ };