diff mbox

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

Message ID 20171011110229.24413-4-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 eMMC sdhci node and its pinctrl state

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

Comments

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

> This introduces the eMMC sdhci node and its pinctrl state
> 

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 | 29 ++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
> index 6dd553a61ae6..c42e70d7158f 100644
> --- a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
> +++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
> @@ -250,6 +250,35 @@
>  	serial@f991e000 {
>  		status = "ok";
>  	};
> +
> +	pinctrl@fd510000 {
> +		sdhc1_pin_a: sdhc1-pin-active {
> +			clk {
> +				pins = "sdc1_clk";
> +				drive-strength = <16>;
> +				bias-disable;
> +			};
> +
> +			cmd-data {
> +				pins = "sdc1_cmd", "sdc1_data";
> +				drive-strength = <10>;
> +				bias-pull-up;
> +			};
> +		};
> +	};
> +
> +	sdhci@f9824900 {
> +		status = "ok";
> +
> +		vmmc-supply = <&pm8941_l20>;
> +		vqmmc-supply = <&pm8941_s3>;
> +
> +		bus-width = <8>;
> +		non-removable;
> +
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&sdhc1_pin_a>;
> +	};
>  };
>  
>  &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 6dd553a61ae6..c42e70d7158f 100644
--- a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
+++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
@@ -250,6 +250,35 @@ 
 	serial@f991e000 {
 		status = "ok";
 	};
+
+	pinctrl@fd510000 {
+		sdhc1_pin_a: sdhc1-pin-active {
+			clk {
+				pins = "sdc1_clk";
+				drive-strength = <16>;
+				bias-disable;
+			};
+
+			cmd-data {
+				pins = "sdc1_cmd", "sdc1_data";
+				drive-strength = <10>;
+				bias-pull-up;
+			};
+		};
+	};
+
+	sdhci@f9824900 {
+		status = "ok";
+
+		vmmc-supply = <&pm8941_l20>;
+		vqmmc-supply = <&pm8941_s3>;
+
+		bus-width = <8>;
+		non-removable;
+
+		pinctrl-names = "default";
+		pinctrl-0 = <&sdhc1_pin_a>;
+	};
 };
 
 &spmi_bus {