[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200204090022.123261-1-gch981213@gmail.com>
Date: Tue, 4 Feb 2020 16:59:31 +0800
From: Chuanhong Guo <gch981213@...il.com>
To: devel@...verdev.osuosl.org
Cc: Chuanhong Guo <gch981213@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
NeilBrown <neil@...wn.name>, linux-kernel@...r.kernel.org
Subject: [PATCH] staging: mt7621-dts: add dt node for 2nd/3rd uart on mt7621
There are 3 uarts on mt7621. This patch adds device tree node for
2nd and 2rd ones.
Signed-off-by: Chuanhong Guo <gch981213@...il.com>
---
drivers/staging/mt7621-dts/mt7621.dtsi | 38 ++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/drivers/staging/mt7621-dts/mt7621.dtsi b/drivers/staging/mt7621-dts/mt7621.dtsi
index d89d68ffa7bc..cee23710d03b 100644
--- a/drivers/staging/mt7621-dts/mt7621.dtsi
+++ b/drivers/staging/mt7621-dts/mt7621.dtsi
@@ -166,6 +166,44 @@ uartlite: uartlite@c00 {
no-loopback-test;
};
+ uartlite2: uartlite@d00 {
+ compatible = "ns16550a";
+ reg = <0xd00 0x100>;
+
+ clock-frequency = <50000000>;
+
+ interrupt-parent = <&gic>;
+ interrupts = <GIC_SHARED 27 IRQ_TYPE_LEVEL_HIGH>;
+
+ reg-shift = <2>;
+ reg-io-width = <4>;
+ no-loopback-test;
+
+ status = "disabled";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart2_pins>;
+ };
+
+ uartlite3: uartlite@e00 {
+ compatible = "ns16550a";
+ reg = <0xe00 0x100>;
+
+ clock-frequency = <50000000>;
+
+ interrupt-parent = <&gic>;
+ interrupts = <GIC_SHARED 28 IRQ_TYPE_LEVEL_HIGH>;
+
+ reg-shift = <2>;
+ reg-io-width = <4>;
+ no-loopback-test;
+
+ status = "disabled";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart3_pins>;
+ };
+
spi0: spi@b00 {
status = "disabled";
--
2.24.1
Powered by blists - more mailing lists