From: Franklin S Cooper Jr <fcooper@ti.com>
To: ssantosh@kernel.org, robh+dt@kernel.org,
devicetree@vger.kernel.org, linux@armlinux.org.uk,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Cc: Lokesh Vutla <lokeshvutla@ti.com>, Tero Kristo <t-kristo@ti.com>,
Franklin S Cooper Jr <fcooper@ti.com>,
Dave Gerlach <d-gerlach@ti.com>
Subject: [PATCH v2 3/3] ARM: dts: k2g-evm: Add pinmuxing for UART0
Date: Thu, 9 Jun 2016 10:26:18 -0500 [thread overview]
Message-ID: <1465485978-27910-4-git-send-email-fcooper@ti.com> (raw)
In-Reply-To: <1465485978-27910-1-git-send-email-fcooper@ti.com>
From: Lokesh Vutla <lokeshvutla@ti.com>
Avoid depending on the bootloader or the ROM for configuring the pinmux by
explicitly setting the pinmux here.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
arch/arm/boot/dts/keystone-k2g-evm.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/keystone-k2g-evm.dts b/arch/arm/boot/dts/keystone-k2g-evm.dts
index 5bfd9e7..692fcbb 100644
--- a/arch/arm/boot/dts/keystone-k2g-evm.dts
+++ b/arch/arm/boot/dts/keystone-k2g-evm.dts
@@ -27,6 +27,17 @@
};
+&k2g_pinctrl {
+ uart0_pins: pinmux_uart0_pins {
+ pinctrl-single,pins = <
+ K2G_CORE_IOPAD(0x11cc) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE0) /* uart0_rxd.uart0_rxd */
+ K2G_CORE_IOPAD(0x11d0) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */
+ >;
+ };
+};
+
&uart0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart0_pins>;
status = "okay";
};
--
2.7.0
next prev parent reply other threads:[~2016-06-09 15:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-09 15:26 [PATCH v2 0/3] ARM: Keystone: Add pinmuxing support Franklin S Cooper Jr
2016-06-09 15:26 ` [PATCH v2 1/3] ARM: dts: k2g: Add pinctrl support Franklin S Cooper Jr
2016-06-09 15:26 ` [PATCH v2 2/3] ARM: dts: keystone: Header file for pinctrl constants Franklin S Cooper Jr
2016-06-09 15:26 ` Franklin S Cooper Jr [this message]
[not found] ` <1465485978-27910-1-git-send-email-fcooper-l0cyMroinI0@public.gmane.org>
2016-06-09 16:44 ` [PATCH v2 0/3] ARM: Keystone: Add pinmuxing support Santosh Shilimkar
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=1465485978-27910-4-git-send-email-fcooper@ti.com \
--to=fcooper@ti.com \
--cc=d-gerlach@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=lokeshvutla@ti.com \
--cc=robh+dt@kernel.org \
--cc=ssantosh@kernel.org \
--cc=t-kristo@ti.com \
/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).