From: Oskar Senft <osk@google.com>
To: linux-aspeed@lists.ozlabs.org
Subject: [PATCH 2/2] arch: arm: boot: dts: aspeed: Add UART routing driver to Aspeed G5 DTS.
Date: Tue, 4 Sep 2018 16:20:18 -0400 [thread overview]
Message-ID: <20180904202018.198707-3-osk@google.com> (raw)
In-Reply-To: <20180904202018.198707-1-osk@google.com>
Signed-off-by: Oskar Senft <osk@google.com>
---
.../bindings/misc/aspeed,uart-routing.txt | 22 +++++++++++++++++++
arch/arm/boot/dts/aspeed-g5.dtsi | 6 +++++
2 files changed, 28 insertions(+)
create mode 100644 Documentation/devicetree/bindings/misc/aspeed,uart-routing.txt
diff --git a/Documentation/devicetree/bindings/misc/aspeed,uart-routing.txt b/Documentation/devicetree/bindings/misc/aspeed,uart-routing.txt
new file mode 100644
index 000000000000..d0a93173593c
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/aspeed,uart-routing.txt
@@ -0,0 +1,22 @@
+* ASPEED AST2500 UART routing
+
+This file describes the bindings for the UART routing selector present
+in the AST2500 BMC SoC.
+
+The Aspeed AST2500 allows to dynamically route the inputs for the built-in
+UARTS and physical serial I/O ports.
+
+This allows, for example, to connect the output of UART to another UART.
+This can be used to enable host<->BMC communication via UARTs, e.g. to allow
+access to the host's serial console.
+
+Required properties:
+- reg: address and length of the register for the device.
+- compatible: "aspeed,ast2500-cvic"
+
+Example:
+
+ uart_routing: uart_routing at 1e78909c {
+ compatible = "aspeed,ast2500-uart-routing";
+ reg = <0x1e78909c 0x4>;
+ };
diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
index 87fdc146ff52..03094e8878eb 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -375,6 +375,12 @@
status = "disabled";
};
};
+
+ uart_routing: uart_routing at 9c {
+ compatible = "aspeed,ast2500-uart-routing";
+ reg = <0x9c 0x4>;
+ status = "disabled";
+ };
};
uart2: serial at 1e78d000 {
--
2.19.0.rc1.350.ge57e33dbd1-goog
prev parent reply other threads:[~2018-09-04 20:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-04 20:20 Aspeed UART routing driver Oskar Senft
2018-09-04 20:20 ` [PATCH 1/2] misc: aspeed: Add Aspeed UART routing control driver Oskar Senft
2018-09-04 21:55 ` Linus Walleij
2018-09-05 0:15 ` Andrew Jeffery
2018-09-05 0:19 ` Oskar Senft
2018-09-05 6:06 ` Linus Walleij
2018-09-05 13:45 ` Oskar Senft
2018-09-05 19:27 ` Linus Walleij
2018-09-04 20:20 ` Oskar Senft [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180904202018.198707-3-osk@google.com \
--to=osk@google.com \
--cc=linux-aspeed@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).