Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1112140rdb; Sun, 7 Jan 2024 04:29:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IEGYWIMSp4s/IBsqY/PLlxImGy7oxgyQt0Wj+FTqrxFNwoRsZB9sUonvxPPFy/wqNH6Y/x1 X-Received: by 2002:a05:6e02:1d97:b0:35d:2f2e:f17 with SMTP id h23-20020a056e021d9700b0035d2f2e0f17mr4534359ila.1.1704630546707; Sun, 07 Jan 2024 04:29:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704630546; cv=none; d=google.com; s=arc-20160816; b=XgLNFCiGvYcubP1jtBtwpX6yOTx2vQmDReN9JTBbhrYMzdj+5rd6NNKmqXSHV9Zhz4 wZiaxWxDUQrrsyJcmlo/iaG5WCf0j4SUXIp9YHuSRSEPAsKswI/ijyAg2uvvBSU93R0g uZRm446LGc+qTsnCWOqzFk/wzHEPiVQUtGnJCxeMcjSHQ9T0kS3M7vhtkrxOqVWASrSu kV0vqOMbYeHW3IuKJBjUmS7ym54LgtJn+u1WPkjZYvDjyJo7QjBFjYQh9bUo2Otqkc5W y+WrBwc9RFjFQoHyBBDQhLbHd2g8UmM1xItyrff41VYD+p7h6j0+oPDAyiqYJ/axkTDl uoUA== 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=xCAoCL84CgPHWZw6BKivTPR7rtdkHqgfsZV+k/oNkhI=; fh=qDfKR04wyyfbYC5Mzk9mApACyXUQ1RQdCKo4R4ylK18=; b=AIJwgpbd7d7GTGpQIzLhEbRSm+64NEHMSBK5CdRD0kdmX9kM2ytDZLI6OLvV7Oa5RX tlyj0gjVL/SH/rrTiNJEmGAe6ooFO0OiCzxjI/+xb0d+ezByFAnMoNJs7NiVMtEuPOqY ES5vNdh/51NyScLYgefK22RYU4rUvtRpCFVKouD9oOhjxClcwqiGi3W0+sy8C1/E2fB2 oaGLeez2V++7EU0nO6dZBsrRuLTfTXZgP3DMY/kyL7YZDXQ40WXqU9i3R1owB7RUUODO WA0Ot5a/BT4lVZv91tpiv6vvcrkDQaqL4m3/LXpuOPpZ0m3rD9cBGLISJpl3HeEj2sFM /tPA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-18854-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18854-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id jo5-20020a170903054500b001d4666effbesi4348309plb.195.2024.01.07.04.29.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 04:29:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18854-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-18854-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18854-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5CA9B281FA0 for ; Sun, 7 Jan 2024 12:29:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 90977134A8; Sun, 7 Jan 2024 12:28:58 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail-m12820.netease.com (mail-m12820.netease.com [103.209.128.20]) (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 75BA412E4F; Sun, 7 Jan 2024 12:28:53 +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.127]) by mail-m121145.qiye.163.com (Hmail) with ESMTPA id 9C296800058; Sun, 7 Jan 2024 20:28:26 +0800 (CST) From: Chukun Pan To: Bjorn Andersson Cc: Konrad Dybcio , Krzysztof Kozlowski , Conor Dooley , Rob Herring , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Chukun Pan Subject: [PATCH 1/1] arm64: dts: qcom: ipq6018: enable sdhci node Date: Sun, 7 Jan 2024 20:28:21 +0800 Message-Id: <20240107122822.21667-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 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVkZH0xCVh0ZSxgdQktNHxlJGVUTARMWGhIXJBQOD1 lXWRgSC1lBWUpKSFVKSkNVSkNCVUpJTFlXWRYaDxIVHRRZQVlPS0hVSkhDTEhKVUpLS1VLWQY+ X-HM-Tid: 0a8ce3e555a7b03akuuu9c296800058 X-HM-MType: 10 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6PEk6Kgw4SzwjSTwaDSJKLx4r STYaCxxVSlVKTEtPTUhLTktMTk1CVTMWGhIXVRoWGh8eDgg7ERYOVR4fDlUYFUVZV1kSC1lBWUpK SFVKSkNVSkNCVUpJTFlXWQgBWUFJTktPNwY+ Enable mmc device found on ipq6018 devices. This node supports both eMMC and SD cards. Tested with: eMMC (HS200) SD Card (SDR50/SDR104) Signed-off-by: Chukun Pan --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index 5e1277fea725..39fb38914a1e 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -436,6 +436,28 @@ dwc_1: usb@7000000 { }; }; + sdhc: mmc@7804000 { + compatible = "qcom,ipq6018-sdhci", "qcom,sdhci-msm-v5"; + reg = <0x0 0x7804000 0x0 0x1000>, + <0x0 0x7805000 0x0 0x1000>; + reg-names = "hc", "cqhci"; + + interrupts = , + ; + interrupt-names = "hc_irq", "pwr_irq"; + + clocks = <&gcc GCC_SDCC1_AHB_CLK>, + <&gcc GCC_SDCC1_APPS_CLK>, + <&xo>; + clock-names = "iface", "core", "xo"; + resets = <&gcc GCC_SDCC1_BCR>; + max-frequency = <192000000>; + mmc-ddr-1_8v; + mmc-hs200-1_8v; + + status = "disabled"; + }; + blsp_dma: dma-controller@7884000 { compatible = "qcom,bam-v1.7.0"; reg = <0x0 0x07884000 0x0 0x2b000>; -- 2.25.1