All of lore.kernel.org
 help / color / mirror / Atom feed
From: Enric Balletbo i Serra <enric.balletbo@collabora.com>
To: Tony Lindgren <tony@atomide.com>,
	Rob Herring <robh+dt@kernel.org>,
	Russell King <linux@armlinux.org.uk>
Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH 2/6] ARM: dts: am335x-sl50: Enable UART1.
Date: Mon, 16 Jan 2017 17:57:32 +0100	[thread overview]
Message-ID: <20170116165736.17197-3-enric.balletbo@collabora.com> (raw)
In-Reply-To: <20170116165736.17197-1-enric.balletbo@collabora.com>

The UART1 is connected to the infrared (IR) receiver module, so enable it
to be able to comunicate with it.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
---
 arch/arm/boot/dts/am335x-sl50.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-sl50.dts b/arch/arm/boot/dts/am335x-sl50.dts
index 34f4900..89ddf26 100644
--- a/arch/arm/boot/dts/am335x-sl50.dts
+++ b/arch/arm/boot/dts/am335x-sl50.dts
@@ -136,6 +136,13 @@
 		>;
 	};
 
+	uart1_pins: pinmux_uart1_pins {
+		pinctrl-single,pins = <
+			AM33XX_IOPAD(0x980, PIN_INPUT_PULLUP | MUX_MODE0)	/* uart1_rxd.uart1_rxd */
+			AM33XX_IOPAD(0x984, PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_txd.uart1_txd */
+		>;
+	};
+
 	uart4_pins: pinmux_uart4_pins {
 		pinctrl-single,pins = <
 			AM33XX_IOPAD(0x870, PIN_INPUT_PULLUP | MUX_MODE6)	/* gpmc_wait0.uart4_rxd */
@@ -381,6 +388,12 @@
 	pinctrl-0 = <&uart0_pins>;
 };
 
+&uart1 {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&uart1_pins>;
+};
+
 &uart4 {
 	status = "okay";
 	pinctrl-names = "default";
-- 
2.9.3

  parent reply	other threads:[~2017-01-16 16:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-16 16:57 [PATCH 0/6] ARM: dts: am335x-sl50: Update to new hardware Enric Balletbo i Serra
2017-01-16 16:57 ` [PATCH 1/6] ARM: dts: am335x-sl50: Remove I2C1 node Enric Balletbo i Serra
2017-01-16 16:57 ` Enric Balletbo i Serra [this message]
2017-01-16 16:57 ` [PATCH 3/6] ARM: dts: am335x-sl50: Enable SPI0 interface and Flash Memory Enric Balletbo i Serra
2017-01-16 16:57   ` Enric Balletbo i Serra
2017-01-16 16:57 ` [PATCH 4/6] ARM: dts: am335x-sl50: Enable BQ32000 Real Time Clock Enric Balletbo i Serra
2017-01-16 16:57 ` [PATCH 5/6] ARM: dts: am335x-sl50: Enable the MCP23017 GPIO Expander Enric Balletbo i Serra
2017-01-16 16:57 ` [PATCH 6/6] ARM: dts: am335x-sl50: Enable the Ambient Light Sensor Enric Balletbo i Serra
2017-01-16 17:41 ` [PATCH 0/6] ARM: dts: am335x-sl50: Update to new hardware Tony Lindgren
2017-01-16 17:41   ` Tony Lindgren
2017-01-16 20:53   ` Enric Balletbo Serra
2017-01-16 20:53     ` Enric Balletbo Serra
2017-01-20 18:35     ` Tony Lindgren
2017-01-20 18:35       ` Tony Lindgren

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=20170116165736.17197-3-enric.balletbo@collabora.com \
    --to=enric.balletbo@collabora.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=robh+dt@kernel.org \
    --cc=tony@atomide.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.