devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: Andy Gross <andy.gross@linaro.org>, linux-arm-msm@vger.kernel.org
Cc: devicetree@vger.kernel.org, srinivas.kandagatla@linaro.org,
	linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 07/13] ARM: dts: db600c: add usb support
Date: Tue, 12 Apr 2016 10:33:56 +0100	[thread overview]
Message-ID: <1460453642-5809-8-git-send-email-srinivas.kandagatla@linaro.org> (raw)
In-Reply-To: <1460453642-5809-1-git-send-email-srinivas.kandagatla@linaro.org>

This patch adds usb host and otg support on board with required
regulators.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts | 64 +++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts b/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts
index d921424..2c563df 100644
--- a/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts
@@ -58,6 +58,12 @@
 					bias-pull-down;
 				};
 
+				s3 {
+					regulator-min-microvolt = <1000000>;
+					regulator-max-microvolt = <1400000>;
+					qcom,switch-mode-frequency = <4800000>;
+				};
+
 				s4 {
 					regulator-min-microvolt	= <1800000>;
 					regulator-max-microvolt	= <1800000>;
@@ -72,6 +78,18 @@
 					qcom,switch-mode-frequency = <3200000>;
 				 };
 
+				l3 {
+					regulator-min-microvolt = <3050000>;
+					regulator-max-microvolt = <3300000>;
+					bias-pull-down;
+				};
+
+				l4 {
+					regulator-min-microvolt = <1000000>;
+					regulator-max-microvolt = <1800000>;
+					bias-pull-down;
+				};
+
 				l5 {
 					regulator-min-microvolt = <2750000>;
 					regulator-max-microvolt = <3000000>;
@@ -85,6 +103,12 @@
 					regulator-max-microvolt = <2950000>;
 					bias-pull-down;
 				};
+
+				l23 {
+					regulator-min-microvolt = <1700000>;
+					regulator-max-microvolt = <1900000>;
+					bias-pull-down;
+				};
 			};
 		};
 
@@ -111,6 +135,46 @@
 			};
 		};
 
+		/* OTG */
+		phy@12500000 {
+			status		= "okay";
+			dr_mode		= "peripheral";
+			vddcx-supply	= <&pm8921_s3>;
+			v3p3-supply	= <&pm8921_l3>;
+			v1p8-supply	= <&pm8921_l4>;
+		};
+
+		phy@12520000 {
+			status		= "okay";
+			vddcx-supply	= <&pm8921_s3>;
+			v3p3-supply	= <&pm8921_l3>;
+			v1p8-supply	= <&pm8921_l23>;
+		};
+
+		phy@12530000 {
+			status		= "okay";
+			vddcx-supply	= <&pm8921_s3>;
+			v3p3-supply	= <&pm8921_l3>;
+			v1p8-supply	= <&pm8921_l23>;
+		};
+
+		gadget@12500000 {
+			status = "okay";
+		};
+
+		/* OTG */
+		usb@12500000 {
+			status = "okay";
+		};
+
+		usb@12520000 {
+			status = "okay";
+		};
+
+		usb@12530000 {
+			status = "okay";
+		};
+
 		amba {
 			/* eMMC */
 			sdcc@12400000 {
-- 
2.5.0

  parent reply	other threads:[~2016-04-12  9:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12  9:33 [PATCH v2 00/13] ARM: dts: Add DB600c support Srinivas Kandagatla
2016-04-12  9:33 ` [PATCH v2 01/13] ARM: dts: apq8064: fix the pinctrls for i2c and spi Srinivas Kandagatla
2016-04-12  9:33 ` [PATCH v2 02/13] ARM: dts: apq8064: add support to gsbi1 uart Srinivas Kandagatla
2016-04-12  9:33 ` [PATCH v2 03/13] ARM: dts: apq8064: add gsbi7 i2c support Srinivas Kandagatla
2016-04-12  9:33 ` [PATCH v2 04/13] ARM: dts: db600c: add board support with serial Srinivas Kandagatla
2016-04-12  9:33 ` [PATCH v2 05/13] ARM: dts: db600c: add pmic regulator supplies Srinivas Kandagatla
2016-04-19 19:10   ` Stephen Boyd
2016-04-22  9:11     ` Srinivas Kandagatla
2016-04-12  9:33 ` [PATCH v2 06/13] ARM: dts: db600c: Add eMMC and SD card support Srinivas Kandagatla
2016-04-12  9:33 ` Srinivas Kandagatla [this message]
2016-04-12  9:33 ` [PATCH v2 08/13] ARM: dts: db600c: add pcie support Srinivas Kandagatla
2016-04-12  9:33 ` [PATCH v2 09/13] ARM: dts: db600c: add on board sata support Srinivas Kandagatla
2016-04-12  9:33 ` [PATCH v2 10/13] ARM: dts: db600c: Add on board leds support Srinivas Kandagatla
2016-04-12  9:34 ` [PATCH v2 11/13] ARM: dts: db600c: add i2c support Srinivas Kandagatla
2016-04-12  9:34 ` [PATCH v2 12/13] ARM: dts: db600c: add spi support Srinivas Kandagatla
2016-04-12  9:34 ` [PATCH v2 13/13] ARM: dts: db600c: add support to magnetometer Srinivas Kandagatla

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=1460453642-5809-8-git-send-email-srinivas.kandagatla@linaro.org \
    --to=srinivas.kandagatla@linaro.org \
    --cc=andy.gross@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-soc@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;
as well as URLs for NNTP newsgroup(s).