diff mbox

[v2,5/5] ARM: dts: msm8974-FP2: Add USB node

Message ID 20171011110229.24413-5-luca@z3ntu.xyz (mailing list archive)
State Accepted, archived
Delegated to: Andy Gross
Headers show

Commit Message

Luca Weiss Oct. 11, 2017, 11:02 a.m. UTC
This introduces the usb node which can be used e.g. for USB_ETH

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts | 25 ++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Comments

Bjorn Andersson Oct. 11, 2017, 5:21 p.m. UTC | #1
On Wed 11 Oct 04:02 PDT 2017, Luca Weiss wrote:

> This introduces the usb node which can be used e.g. for USB_ETH
> 

Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>

Regards,
Bjorn

> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> ---
>  arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts | 25 ++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
> index c42e70d7158f..d0a5df90b543 100644
> --- a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
> +++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
> @@ -279,6 +279,31 @@
>  		pinctrl-names = "default";
>  		pinctrl-0 = <&sdhc1_pin_a>;
>  	};
> +
> +	usb@f9a55000 {
> +		status = "ok";
> +
> +		phys = <&usb_hs1_phy>;
> +		phy-select = <&tcsr 0xb000 0>;
> +		extcon = <&smbb>, <&usb_id>;
> +		vbus-supply = <&chg_otg>;
> +
> +		hnp-disable;
> +		srp-disable;
> +		adp-disable;
> +
> +		ulpi {
> +			phy@a {
> +				status = "ok";
> +
> +				v1p8-supply = <&pm8941_l6>;
> +				v3p3-supply = <&pm8941_l24>;
> +
> +				extcon = <&smbb>;
> +				qcom,init-seq = /bits/ 8 <0x1 0x64>;
> +			};
> +		};
> +	};
>  };
>  
>  &spmi_bus {
> -- 
> 2.14.2
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
index c42e70d7158f..d0a5df90b543 100644
--- a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
+++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
@@ -279,6 +279,31 @@ 
 		pinctrl-names = "default";
 		pinctrl-0 = <&sdhc1_pin_a>;
 	};
+
+	usb@f9a55000 {
+		status = "ok";
+
+		phys = <&usb_hs1_phy>;
+		phy-select = <&tcsr 0xb000 0>;
+		extcon = <&smbb>, <&usb_id>;
+		vbus-supply = <&chg_otg>;
+
+		hnp-disable;
+		srp-disable;
+		adp-disable;
+
+		ulpi {
+			phy@a {
+				status = "ok";
+
+				v1p8-supply = <&pm8941_l6>;
+				v3p3-supply = <&pm8941_l24>;
+
+				extcon = <&smbb>;
+				qcom,init-seq = /bits/ 8 <0x1 0x64>;
+			};
+		};
+	};
 };
 
 &spmi_bus {