Skip to contentSkip to conversation

ARM: dts: qcom: msm8974-hammerhead: Add sdhci1 node

PATCH In review Bhushan Shah 2 participants 2 messages Jul 20, 2016 – Jul 29, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: qcom: msm8974-hammerhead: Add sdhci1 node

This introduces the eMMC sdhci node and its pinctrl state

---
 .../dts/qcom-msm8974-lge-nexus5-hammerhead.dts     | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts +29 -0
index 68f071f..947bd7f 100644
@@ -233,6 +233,35 @@
 		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>;
+	};
+
 	gpio-keys {
 		compatible = "gpio-keys";
 		input-name = "gpio-keys";
Signature · 1 line
2.9.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Bhushan Shah

This introduces the eMMC sdhci node and its pinctrl state

Regards,
Bjorn

Quoted 47 lines
---
 .../dts/qcom-msm8974-lge-nexus5-hammerhead.dts     | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts +29 -0
index 68f071f..947bd7f 100644
@@ -233,6 +233,35 @@
 		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>;
+	};
+
 	gpio-keys {
 		compatible = "gpio-keys";
 		input-name = "gpio-keys";
Signature · 1 line
2.9.0