From: Neil Armstrong <narmstrong@baylibre.com>
To: khilman@baylibre.com
Cc: Neil Armstrong <narmstrong@baylibre.com>,
linux-amlogic@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH v2 5/8] arm64: dts: meson: g12a: Add UART A, B & C nodes and pins
Date: Mon, 18 Mar 2019 10:58:48 +0100 [thread overview]
Message-ID: <20190318095851.4062-6-narmstrong@baylibre.com> (raw)
In-Reply-To: <20190318095851.4062-1-narmstrong@baylibre.com>
This patch adds the 3 UART nodes in the EE power domain with the corresponding
pinctrl nodes.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 72 +++++++++++++++++++++
1 file changed, 72 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
index cefd6e27c7a7..992751024366 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
@@ -114,6 +114,51 @@
#gpio-cells = <2>;
gpio-ranges = <&periphs_pinctrl 0 0 86>;
};
+
+ uart_a_pins: uart-a {
+ mux {
+ groups = "uart_a_tx",
+ "uart_a_rx";
+ function = "uart_a";
+ bias-disable;
+ };
+ };
+
+ uart_a_cts_rts_pins: uart-a-cts-rts {
+ mux {
+ groups = "uart_a_cts",
+ "uart_a_rts";
+ function = "uart_a";
+ bias-disable;
+ };
+ };
+
+ uart_b_pins: uart-b {
+ mux {
+ groups = "uart_b_tx",
+ "uart_b_rx";
+ function = "uart_b";
+ bias-disable;
+ };
+ };
+
+ uart_c_pins: uart-c {
+ mux {
+ groups = "uart_c_tx",
+ "uart_c_rx";
+ function = "uart_c";
+ bias-disable;
+ };
+ };
+
+ uart_c_cts_rts_pins: uart-c-cts-rts {
+ mux {
+ groups = "uart_c_cts",
+ "uart_c_rts";
+ function = "uart_c";
+ bias-disable;
+ };
+ };
};
};
@@ -258,6 +303,33 @@
compatible = "amlogic,meson-g12a-clk-measure";
reg = <0x0 0x18000 0x0 0x10>;
};
+
+ uart_C: serial@22000 {
+ compatible = "amlogic,meson-gx-uart";
+ reg = <0x0 0x22000 0x0 0x18>;
+ interrupts = <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&xtal>, <&clkc CLKID_UART2>, <&xtal>;
+ clock-names = "xtal", "pclk", "baud";
+ status = "disabled";
+ };
+
+ uart_B: serial@23000 {
+ compatible = "amlogic,meson-gx-uart";
+ reg = <0x0 0x23000 0x0 0x18>;
+ interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>;
+ clock-names = "xtal", "pclk", "baud";
+ status = "disabled";
+ };
+
+ uart_A: serial@24000 {
+ compatible = "amlogic,meson-gx-uart";
+ reg = <0x0 0x24000 0x0 0x18>;
+ interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;
+ clock-names = "xtal", "pclk", "baud";
+ status = "disabled";
+ };
};
};
--
2.20.1
next prev parent reply other threads:[~2019-03-18 9:59 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-18 9:58 [PATCH v2 0/8] arm64: dts: g12a: Add peripherals Neil Armstrong
2019-03-18 9:58 ` [PATCH v2 1/8] arm64: dts: meson: g12a: Add AO Clock + Reset Controller support Neil Armstrong
2019-03-18 20:02 ` Martin Blumenstingl
2019-03-19 8:47 ` Neil Armstrong
2019-03-19 21:22 ` Martin Blumenstingl
2019-03-18 9:58 ` [PATCH v2 2/8] arm64: dts: meson: g12a: add pinctrl support controllers Neil Armstrong
2019-03-18 9:58 ` [PATCH v2 3/8] arm64: dts: meson: g12a: add uart_ao_a pinctrl Neil Armstrong
2019-03-18 19:38 ` Martin Blumenstingl
2019-03-18 9:58 ` [PATCH v2 4/8] arm64: dts: meson: g12a: add reset controller Neil Armstrong
2019-03-18 9:58 ` Neil Armstrong [this message]
2019-03-18 19:38 ` [PATCH v2 5/8] arm64: dts: meson: g12a: Add UART A, B & C nodes and pins Martin Blumenstingl
2019-03-18 9:58 ` [PATCH v2 6/8] arm64: dts: meson: g12a: Add SAR ADC node Neil Armstrong
2019-03-18 9:58 ` [PATCH v2 7/8] arm64: dts: meson: g12a: Add G12A USB nodes Neil Armstrong
2019-03-18 19:40 ` Martin Blumenstingl
2019-03-18 9:58 ` [PATCH v2 8/8] arm64: dts: meson: g12a: Add mali-g31 gpu node Neil Armstrong
2019-03-22 23:05 ` [PATCH v2 0/8] arm64: dts: g12a: Add peripherals Kevin Hilman
2019-03-23 9:55 ` Neil Armstrong
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=20190318095851.4062-6-narmstrong@baylibre.com \
--to=narmstrong@baylibre.com \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.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