From patchwork Mon Dec 18 15:00:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chukun Pan X-Patchwork-Id: 180464 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1302338dyi; Mon, 18 Dec 2023 07:03:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IH4TjSa5i+twHt7rLgYkN8Q9WHek9Oeu2auBIX+JRNjjznZVpZ+tYUmNHaU/C7NGeiyreJ6 X-Received: by 2002:a05:6a20:4b21:b0:18c:138e:f268 with SMTP id fp33-20020a056a204b2100b0018c138ef268mr7223628pzb.21.1702911810370; Mon, 18 Dec 2023 07:03:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702911810; cv=none; d=google.com; s=arc-20160816; b=RjHxGVyaerAUVxG3Td/6T0YvutzfL+5s80giMDIa7TFytBcvb2moi8I5SeXmKc1Z1f ejZ4z2gYDfBrTat/DzQoAUpXys5R3ujr0w7+OwpAeB379GMpuNd2rL8+U+P3UhDYtiN0 E6JrO+PABWI1+NpLgHyXyUVVoLJqRwb1q6mVde1bF5Vfpn7xFm8n2DP1k6ObfA00tlFf SpwvDB6LKkVwwHUpRDy0QJ0aq2piuc1ZvUNGk16Wqlfm1h6SzHJ7N+5bpDaAgcjtUFf3 qA6obPZjBEwrElM3ScDa901AjfViySTyGPzBuf/ctQUY7PfEk2QE3oMsoEVU6XnnyM9e CGuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=VDWwp1g9W+59swnFAsil/ZVL7Nf040AsqAQK1twCl+0=; fh=/LDUP/55+TpjAa28cqhbCig7eCOjJdyDR1Lh/LvE/Os=; b=d84eR2xg/jCLDQQYz7EQfAMPyal+IKWCXwCHQwtRJUDnmePhim654zYU1YYQrOYKAW WJMLO2B3F2Av78uEeiyBXEuoSyA7qTxpylBRSUSFVkgSEVhRaWflxdPBrK/KmSK1FusQ +vktwXfgtaogVMMCeTWGa1Gi2YVwTLDIlkKuI3BdpzhANWox1DA/ys0hctw3kQujNGEi 8fJT/QDSbV0EEcN8ppu5NErad2doGenM4hilSheqLi16EzxIMpLyilxzlH/9vcj0EDmS vz5IiFgazO34V3cgKNOf9cAAEzY9/Mca26Reet5r9LjLlIK62BakmxWaBK8rUJ/TUXL2 7oBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-3875-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3875-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id i12-20020a63d44c000000b005cd86a1beccsi3479434pgj.593.2023.12.18.07.03.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 07:03:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3875-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-3875-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3875-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 2F1FFB23927 for ; Mon, 18 Dec 2023 15:01:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C057F3D546; Mon, 18 Dec 2023 15:00:48 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail-m155101.qiye.163.com (mail-m155101.qiye.163.com [101.71.155.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2A6937874; Mon, 18 Dec 2023 15:00:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=jmu.edu.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=jmu.edu.cn Received: from amadeus-Vostro-3710.lan (unknown [113.118.189.58]) by mail-m121145.qiye.163.com (Hmail) with ESMTPA id 68C108001A7; Mon, 18 Dec 2023 23:00:12 +0800 (CST) From: Chukun Pan To: Bjorn Andersson Cc: Konrad Dybcio , Andy Gross , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Chukun Pan Subject: [PATCH v2 1/1] arm64: dts: qcom: ipq8074: add MicroSD node Date: Mon, 18 Dec 2023 23:00:09 +0800 Message-Id: <20231218150009.1227848-1-amadeus@jmu.edu.cn> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVkaGB0dVk1JGBhJHR1PGhpPQ1UTARMWGhIXJBQOD1 lXWRgSC1lBWUpKSFVKSkNVSkNCVU5DWVdZFhoPEhUdFFlBWUtVS1VLVUtZBg++ X-HM-Tid: 0a8c7d711708b03akuuu68c108001a7 X-HM-MType: 10 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6ME06Mzo*ATw6QihLAj4LLx81 FDIaFClVSlVKTEtJQkpKTUpITklNVTMWGhIXVRoWGh8eDgg7ERYOVR4fDlUYFUVZV1kSC1lBWUpK SFVKSkNVSkNCVU5DWVdZCAFZQUlOTkk3Bg++ X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785632454268578666 X-GMAIL-MSGID: 1785632454268578666 Enable MicroSD card found on ipq8074 devices. Tested fine when SD card IO voltage is 3.3v. Signed-off-by: Chukun Pan --- Changes in v2: * add dedicated qcom,ipq8074-sdhci compatible arch/arm64/boot/dts/qcom/ipq8074.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index a4f7ae35be27..4f23c4459112 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -422,6 +422,26 @@ sdhc_1: mmc@7824900 { status = "disabled"; }; + sdhc_2: mmc@7864900 { + compatible = "qcom,ipq8074-sdhci", "qcom,sdhci-msm-v4"; + reg = <0x7864900 0x500>, <0x7864000 0x800>; + reg-names = "hc", "core"; + + interrupts = , + ; + interrupt-names = "hc_irq", "pwr_irq"; + + clocks = <&gcc GCC_SDCC2_AHB_CLK>, + <&gcc GCC_SDCC2_APPS_CLK>, + <&xo>; + clock-names = "iface", "core", "xo"; + resets = <&gcc GCC_SDCC2_BCR>; + max-frequency = <192000000>; + bus-width = <4>; + + status = "disabled"; + }; + blsp_dma: dma-controller@7884000 { compatible = "qcom,bam-v1.7.0"; reg = <0x07884000 0x2b000>;