From patchwork Tue Nov 28 09:07:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 10079005 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4AFA860353 for ; Tue, 28 Nov 2017 09:07:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 381C9289E8 for ; Tue, 28 Nov 2017 09:07:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2A9C128FCB; Tue, 28 Nov 2017 09:07:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 87DE9289E8 for ; Tue, 28 Nov 2017 09:07:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751142AbdK1JHn (ORCPT ); Tue, 28 Nov 2017 04:07:43 -0500 Received: from mail.z3ntu.xyz ([128.199.32.197]:38250 "EHLO mail.z3ntu.xyz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750829AbdK1JHm (ORCPT ); Tue, 28 Nov 2017 04:07:42 -0500 Received: from localhost.localdomain (ip146255062186.rev.nessus.at [146.255.62.186]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id D77FFC07AB; Tue, 28 Nov 2017 09:07:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1511860061; bh=Xwj1QEonTBOp5mmlwrs63ilMhL/mV36NV5VL8lB5/hg=; h=From:To:Cc:Subject:Date; b=KQhqbQ6e668y839SJLz3u0rqan9Ddv2ZJSLzTB+Qq75YIcC5QQ6jkGpFtTzxejzqB fyyRzh5qDvics7VhfI9vS6bxSS+ErvmSOUbx+ByjfisplUCXnmR4ZIuCR6LFieGEY/ coFb541g7RHf1QMtXka49C+PnErdnDFM4CKVmsEE= From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: Luca Weiss Subject: [PATCH] ARM: dts: msm8974-FP2: Add uSD slot nodes Date: Tue, 28 Nov 2017 10:07:06 +0100 Message-Id: <20171128090706.22080-1-luca@z3ntu.xyz> X-Mailer: git-send-email 2.15.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add and enable the sdhci2 slot and the pinctrl configuration. Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts index d0a5df90b543..643c57f84818 100644 --- a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts +++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts @@ -265,6 +265,28 @@ bias-pull-up; }; }; + + sdhc2_cd_pin_a: sdhc2-cd-pin-active { + pins = "gpio62"; + function = "gpio"; + + drive-strength = <2>; + bias-disable; + }; + + sdhc2_pin_a: sdhc2-pin-active { + clk { + pins = "sdc2_clk"; + drive-strength = <10>; + bias-disable; + }; + + cmd-data { + pins = "sdc2_cmd", "sdc2_data"; + drive-strength = <6>; + bias-pull-up; + }; + }; }; sdhci@f9824900 { @@ -280,6 +302,18 @@ pinctrl-0 = <&sdhc1_pin_a>; }; + sdhci@f98a4900 { + status = "ok"; + + vmmc-supply = <&pm8941_l21>; + vqmmc-supply = <&pm8941_l13>; + + bus-width = <4>; + + pinctrl-names = "default"; + pinctrl-0 = <&sdhc2_pin_a>, <&sdhc2_cd_pin_a>; + }; + usb@f9a55000 { status = "ok";