瀏覽代碼

arm64: dts: apq8016-sbc: Add DT node for the uSD SDHC interface

Add the necessary properties to enable the SD-card on db410c boards.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Georgi Djakov 9 年之前
父節點
當前提交
a9f91b40e2
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

+ 12 - 0
arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

@@ -140,6 +140,18 @@
 			status = "okay";
 		};
 
+		sdhci@07864000 {
+			vmmc-supply = <&pm8916_l11>;
+			vqmmc-supply = <&pm8916_l12>;
+
+			pinctrl-names = "default", "sleep";
+			pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
+			pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
+
+			cd-gpios = <&msmgpio 38 0x1>;
+			status = "okay";
+		};
+
 		usb@78d9000 {
 			extcon = <&usb_id>, <&usb_id>;
 			status = "okay";