Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1063560ybg; Wed, 29 Jul 2020 05:01:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyV3ZooFgCsn/51BOFENMmoaPwXnH6ALFaR8g6sH8fQZOA6mKAiZkfnoStkpPCHTe348CbZ X-Received: by 2002:a05:6402:559:: with SMTP id i25mr30233802edx.35.1596024107449; Wed, 29 Jul 2020 05:01:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596024107; cv=none; d=google.com; s=arc-20160816; b=gaa0L97RTXMbHjZqJaPlRvdAHY7EoPScHQeW0UHUn0V+gVfd1rOMrc4vbpqIpfedQu dZ3Vg5BJeof94wN713m1oNzDeuenRwAv+8ieHjYads4cPZDVIZC3VstTwjbjZjL4YZeX b+IDYNvMayfaKl6F8flFBQiS8C81GlaBP4GMaRQPhWifpEvPM2IUZjcXgGgSzh3aASda +hxYYZ8skBIQPbDDX5Tdng/xVdbuLsh+9NY9kkV2ycu6P2yO4NEvswKdDo6HRGnhgt0l vh+IhMWtrh4JIPaCzzGFfmvStHI7F4Q6HZmw2KWCWiXkYZCj0Rd+tCSK29OQtWAY2FeE puuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ffWqQU26EKVHaH4j5TG8VdhwKZhWQGA8HNUdkfskr1g=; b=CuqyvdU5aXOEUACPRjZJkV3wVn97NGfL6ziWw/SeRcTaNbSsygusLAdd/EOQ8aj1Bk h5QN2QfiLm5EgV39M6hbbeKYy4/o9NneHwvJsHhuALPpfqpS/raKH3qDmXsAfqWmpyc/ H403vjHLjwgQDeUp1qPYGPtALj/KGpvtlPgr0mpqspHytMeUOqYG8rBYS1LGMxe5qpFW z74wWUJmAYUG3X//XM0656KZptuczUHs2rXP8IwC0v9FqUpGRNfQUItRwF+sqgnKBW/d RjT94vJYAjPJ6m/9Y7S20XQtfNJ/giT9GjHtHqhD2L+EMxNu/FC9wBXmIgi08e4C7NvX +s4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n07AGrTU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f9si899470ejt.242.2020.07.29.05.01.24; Wed, 29 Jul 2020 05:01:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n07AGrTU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726813AbgG2MBJ (ORCPT + 99 others); Wed, 29 Jul 2020 08:01:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726353AbgG2MBG (ORCPT ); Wed, 29 Jul 2020 08:01:06 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA8CEC061794; Wed, 29 Jul 2020 05:01:05 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id p14so2490210wmg.1; Wed, 29 Jul 2020 05:01:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ffWqQU26EKVHaH4j5TG8VdhwKZhWQGA8HNUdkfskr1g=; b=n07AGrTUY4ZeBZzgsUrEEayU6p3xaMblwE8U62fxRMRJ4OFsGX3bGqH140wFA2tjSg WGmfZqFZIF+V1jKynRUbH61VsDaRD09T5W085ZUjcg3IG0XeYRnqp/AYaxis0ue2jDNJ Fev4kbMVnFXiudzsB/YZyGIQ4kGrMsdkzqRiqVHf8F3mtYwANxON1imLOwwdR5x8Zkpb Coc/hpKgdZIsQriiD8GQHd/PN1ZQ9q3z33e7ixenNpAtSO7Nzx8zmbgfgwvSYybiyp5T SAZwBB4YZ2oLCZ/tEy5d6gA8T95SRbqE7VPHaTkt9JcUkigEILSCSzxiR+lNiafToP7j PGOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ffWqQU26EKVHaH4j5TG8VdhwKZhWQGA8HNUdkfskr1g=; b=ms1zGPu0SPvL9CIlokQc3dubhfb5VYup0f8F6nGnzupz14Vg5rN7d3FvW6otzC2wv2 DLKFHcas/JLHmxhWl8c2O6lFZrcHnQju64rfVjHu1KCdxNWUmjLxi2Y0BIG/GmXS3gBn fk6Ic3JtVN4ljYiiNbnCtqw2xp7KzGHrUYhe8X6JKXdK5Bo4E3jQEmaSG+Qufqh4Tz23 XP8rqcF8wsgaJXImDjilN6vW9qtIIj2t86t2HW2aPL3eH2V+shEXQJemkbWsmen905tr OqFdX+M5mwi82qJlN3qqfdrkrtlQDXb3EMyY72hlt+xYcEAqHLT0lY0Y9oecvbrgzX/1 kcFg== X-Gm-Message-State: AOAM5317FYKasvHBmptuPv91uG2fLlcYFna+9Xy3R4fcaDYQtimha1xg HJ+szZQcI+CrH4fjCJDiLRE= X-Received: by 2002:a1c:3285:: with SMTP id y127mr8501315wmy.104.1596024064564; Wed, 29 Jul 2020 05:01:04 -0700 (PDT) Received: from localhost.localdomain (abad207.neoplus.adsl.tpnet.pl. [83.6.167.207]) by smtp.googlemail.com with ESMTPSA id l67sm5426000wml.13.2020.07.29.05.01.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2020 05:01:03 -0700 (PDT) From: Konrad Dybcio To: konradybcio@gmail.com Cc: lauren.kelly@msn.com, Andy Gross , Bjorn Andersson , Rob Herring , Michael Turquette , Stephen Boyd , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH v2 01/10] arm64: dts: qcom: msm8992: Add support for SDHCI2 Date: Wed, 29 Jul 2020 14:00:47 +0200 Message-Id: <20200729120057.35079-2-konradybcio@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200729120057.35079-1-konradybcio@gmail.com> References: <20200729120057.35079-1-konradybcio@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This will let us use SD cards on our devices. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8992.dtsi | 58 +++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8992.dtsi b/arch/arm64/boot/dts/qcom/msm8992.dtsi index 188fff2095f1..9b42ac42b171 100644 --- a/arch/arm64/boot/dts/qcom/msm8992.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8992.dtsi @@ -269,6 +269,28 @@ sdhc_1: sdhci@f9824900 { status = "disabled"; }; + sdhc_2: sdhci@f98a4900 { + compatible = "qcom,sdhci-msm-v4"; + reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>; + reg-names = "hc_mem", "core_mem"; + + interrupts = , + ; + interrupt-names = "hc_irq", "pwr_irq"; + + clocks = <&gcc GCC_SDCC2_APPS_CLK>, + <&gcc GCC_SDCC2_AHB_CLK>, + <&xo_board>; + clock-names = "core", "iface", "xo"; + + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>; + pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>; + + bus-width = <4>; + status = "disabled"; + }; + blsp1_uart2: serial@f991e000 { compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; reg = <0xf991e000 0x1000>; @@ -573,6 +595,42 @@ i2c13_sleep: i2c13-sleep { drive-strength = <2>; bias-disable; }; + + sdc2_clk_on: sdc2-clk-on { + pins = "sdc2_clk"; + bias-disable; + drive-strength = <16>; + }; + + sdc2_clk_off: sdc2-clk-off { + pins = "sdc2_clk"; + bias-disable; + drive-strength = <2>; + }; + + sdc2_cmd_on: sdc2-cmd-on { + pins = "sdc2_cmd"; + bias-pull-up; + drive-strength = <10>; + }; + + sdc2_cmd_off: sdc2-cmd-off { + pins = "sdc2_cmd"; + bias-pull-up; + drive-strength = <2>; + }; + + sdc2_data_on: sdc2-data-on { + pins = "sdc2_data"; + bias-pull-up; + drive-strength = <10>; + }; + + sdc2_data_off: sdc2-data-off { + pins = "sdc2_data"; + bias-pull-up; + drive-strength = <2>; + }; }; }; -- 2.27.0