All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ramon Fried <ramon.fried@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 6/7] db410: added pinctrl node and serial bindings
Date: Wed, 16 May 2018 12:13:41 +0300	[thread overview]
Message-ID: <20180516091342.7509-6-ramon.fried@gmail.com> (raw)
In-Reply-To: <20180516091342.7509-1-ramon.fried@gmail.com>

Added TLMM pinctrl node for pin muxing & config.
Additionally, added a serial node for uart.

Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
---
 arch/arm/dts/dragonboard410c.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/dts/dragonboard410c.dts b/arch/arm/dts/dragonboard410c.dts
index d9d5831f4f..182a865b0a 100644
--- a/arch/arm/dts/dragonboard410c.dts
+++ b/arch/arm/dts/dragonboard410c.dts
@@ -8,6 +8,7 @@
 /dts-v1/;
 
 #include "skeleton64.dtsi"
+#include <dt-bindings/pinctrl/pinctrl-snapdragon.h>
 
 / {
 	model = "Qualcomm Technologies, Inc. Dragonboard 410c";
@@ -38,6 +39,17 @@
 		ranges = <0x0 0x0 0x0 0xffffffff>;
 		compatible = "simple-bus";
 
+		pinctrl: qcom,tlmm at 1000000 {
+			compatible = "qcom,tlmm-apq8016";
+			reg = <0x1000000 0x400000>;
+
+			blsp1_uart: uart {
+				function = "blsp1_uart";
+				pins = "GPIO_4", "GPIO_5";
+				drive-strength = <DRIVE_STRENGTH_8MA>;
+				bias-disable;
+			};
+		};
 		clkc: qcom,gcc at 1800000 {
 			compatible = "qcom,gcc-apq8016";
 			reg = <0x1800000 0x80000>;
@@ -49,6 +61,8 @@
 			compatible = "qcom,msm-uartdm-v1.4";
 			reg = <0x78b0000 0x200>;
 			clock = <&clkc 4>;
+			pinctrl-names = "uart";
+			pinctrl-0 = <&blsp1_uart>;
 		};
 
 		soc_gpios: pinctrl at 1000000 {
-- 
2.17.0

  parent reply	other threads:[~2018-05-16  9:13 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-16  9:13 [U-Boot] [PATCH v2 1/7] db820c: set clk node to be probed before relocation Ramon Fried
2018-05-16  9:13 ` [U-Boot] [PATCH v2 2/7] serial: serial_msm: fail probe if settings clocks fails Ramon Fried
2018-05-16 15:40   ` Simon Glass
2018-05-28 19:12   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-05-16  9:13 ` [U-Boot] [PATCH v2 3/7] serial: serial_msm: initialize uart only before relocation Ramon Fried
2018-05-16 20:57   ` Simon Glass
2018-05-28 19:12   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-05-16  9:13 ` [U-Boot] [PATCH v2 4/7] mach-snapdragon: Fix UART clock flow Ramon Fried
2018-05-28 19:12   ` [U-Boot] [U-Boot,v2,4/7] " Tom Rini
2018-05-28 19:19     ` Jorge Ramirez-Ortiz
2018-05-28 19:24       ` Ramon Fried
2018-05-28 19:26         ` Tom Rini
2018-05-28 19:28           ` Ramon Fried
2018-05-28 19:35             ` Tom Rini
2018-05-28 19:37               ` Ramon Fried
2018-05-28 19:48         ` Ramon Fried
2018-05-28 19:59           ` Jorge Ramirez-Ortiz
2018-05-28 20:01             ` Ramon Fried
2018-05-28 20:07               ` Jorge Ramirez-Ortiz
2018-05-28 20:14                 ` Ramon Fried
2018-05-28 20:25                   ` Ramon Fried
2018-05-28 21:07                     ` Jorge Ramirez-Ortiz
2018-05-28 21:11                       ` Jorge Ramirez-Ortiz
2018-05-28 21:28                         ` Ramon Fried
2018-05-16  9:13 ` [U-Boot] [PATCH v2 5/7] mach-snapdragon: Introduce pinctrl driver Ramon Fried
2018-05-16 15:40   ` Simon Glass
2018-05-28 19:12   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-05-16  9:13 ` Ramon Fried [this message]
2018-05-28 19:12   ` [U-Boot] [U-Boot, v2, 6/7] db410: added pinctrl node and serial bindings Tom Rini
2018-05-16  9:13 ` [U-Boot] [PATCH v2 7/7] serial: serial_msm: added pinmux & config Ramon Fried
2018-05-28 19:12   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-05-16 20:57 ` [U-Boot] [PATCH v2 1/7] db820c: set clk node to be probed before relocation Simon Glass
2018-05-28 19:12 ` [U-Boot] [U-Boot, v2, " Tom Rini

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=20180516091342.7509-6-ramon.fried@gmail.com \
    --to=ramon.fried@gmail.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 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.