From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/2] x86: edison: Add the rest of UARTs present on board
Date: Thu, 28 Feb 2019 10:10:07 +0200 [thread overview]
Message-ID: <20190228081007.7841-2-andriy.shevchenko@linux.intel.com> (raw)
In-Reply-To: <20190228081007.7841-1-andriy.shevchenko@linux.intel.com>
Intel Edison has three UART ports, i.e.
port 0 - Bluetooth
port 1 - auxiliary, available for general purpose use
port 2 - debugging, usually console output is here
Enable all of them for future use.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
arch/x86/dts/edison.dts | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/x86/dts/edison.dts b/arch/x86/dts/edison.dts
index b59171cb50..ea336eac19 100644
--- a/arch/x86/dts/edison.dts
+++ b/arch/x86/dts/edison.dts
@@ -17,6 +17,8 @@
compatible = "intel,edison";
aliases {
+ serial0 = &serial0;
+ serial1 = &serial1;
serial2 = &serial2;
};
@@ -53,6 +55,22 @@
0x01000000 0x0 0x2000 0x2000 0 0xe000>;
};
+ serial0: serial at ff010080 {
+ compatible = "intel,mid-uart";
+ reg = <0xff010080 0x100>;
+ reg-shift = <0>;
+ clock-frequency = <29491200>;
+ current-speed = <115200>;
+ };
+
+ serial1: serial at ff010100 {
+ compatible = "intel,mid-uart";
+ reg = <0xff010100 0x100>;
+ reg-shift = <0>;
+ clock-frequency = <29491200>;
+ current-speed = <115200>;
+ };
+
serial2: serial at ff010180 {
compatible = "intel,mid-uart";
reg = <0xff010180 0x100>;
--
2.20.1
next prev parent reply other threads:[~2019-02-28 8:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-28 8:10 [U-Boot] [PATCH v2 1/2] x86: edison: Use proper number of serial interface Andy Shevchenko
2019-02-28 8:10 ` Andy Shevchenko [this message]
2019-02-28 8:21 ` [U-Boot] [PATCH v2 2/2] x86: edison: Add the rest of UARTs present on board Bin Meng
2019-02-28 11:29 ` Andy Shevchenko
2019-02-28 14:45 ` Andy Shevchenko
2019-03-04 6:24 ` Bin Meng
2019-03-04 6:24 ` [U-Boot] [PATCH v2 1/2] x86: edison: Use proper number of serial interface Bin Meng
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=20190228081007.7841-2-andriy.shevchenko@linux.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=u-boot@lists.denx.de \
/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