From patchwork Sun Jan 7 12:28:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chukun Pan X-Patchwork-Id: 185727 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp513802dyq; Sun, 7 Jan 2024 04:29:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IGNihPbjPXkqTt7e5anMbjtQX+HofWSV8h2fNF7WU9Z0fn97FWMaG+ZCi/kazIqqPosmCED X-Received: by 2002:a05:620a:40c5:b0:783:1ba9:4d01 with SMTP id g5-20020a05620a40c500b007831ba94d01mr1119718qko.147.1704630554713; Sun, 07 Jan 2024 04:29:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704630554; cv=none; d=google.com; s=arc-20160816; b=NMBfdm25Wg0mwmWN8NzRBfjhUqee5LPsbAO1jR5XG1sDfnpPw/fCuyGr1RWF+1qgo1 gmH2dNjzv65xMaP4hqdrfw2Dt8pr7+i8OIEIJoKTusbQVcownZjJhNUSIrx+iioKRkre H19lkHtmLmmd+i7WxJEJNOC46XDgJMC4ra1GrI0RhtygHG5SG+e2FklLi9oLlH6+YSC0 2cRAIgAktZ2N9WpyecSHGHr2ix38HV91q8mGauWAM32HgcKYtYMv+Zc6IjfQmI9WXwwp BPPhmQoDv7wOaS21Le9vvZv7SpNY9lbLSOOQrEbfzeRT3ina9Qvkwq5B3pMFnEcZjEOO El9w== 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18854-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c20-20020a37e114000000b00781b2c5771esi5342663qkm.606.2024.01.07.04.29.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 04:29:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18854-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-18854-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18854-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 838001C20B21 for ; Sun, 7 Jan 2024 12:29:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E65D134BD; Sun, 7 Jan 2024 12:28:59 +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 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVkZH0xCVh0ZSxgdQktNHxlJGVUTARMWGhIXJBQOD1 lXWRgSC1lBWUpKSFVKSkNVSkNCVUpJTFlXWRYaDxIVHRRZQVlPS0hVSkhDTEhKVUpLS1VLWQY+ X-HM-Tid: 0a8ce3e555a7b03akuuu9c296800058 X-HM-MType: 10 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6PEk6Kgw4SzwjSTwaDSJKLx4r STYaCxxVSlVKTEtPTUhLTktMTk1CVTMWGhIXVRoWGh8eDgg7ERYOVR4fDlUYFUVZV1kSC1lBWUpK SFVKSkNVSkNCVUpJTFlXWQgBWUFJTktPNwY+ X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787434688877218948 X-GMAIL-MSGID: 1787434688877218948 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>;