Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp1036268lqs; Wed, 6 Mar 2024 04:41:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXnCftxI/52A+pdj5x84pNiKa3kLwSu5RS9PZBMsHwICBlv4Tj2B1u36lcghaYRHZgYuNhGZTpCmJJPSKPxrjtRQmU61eBd4FBZ05tpsg== X-Google-Smtp-Source: AGHT+IGVS7QTMOU056RUlmUbf0RGY4H/f4S/suikOa+vb76IQdMm+Ws8KtvjRC9ibHo77dj7Svil X-Received: by 2002:a17:902:ec92:b0:1dc:afff:9f96 with SMTP id x18-20020a170902ec9200b001dcafff9f96mr5614093plg.44.1709728899737; Wed, 06 Mar 2024 04:41:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709728899; cv=pass; d=google.com; s=arc-20160816; b=vUE4eZ9Ag+alt1nR/JON+v/R7giWUfhu4u6Ti/5ghk2xu2eKwLzltBXLuULcCIpnbv U9V+PyBb1ARnnaPAcVnownq8fvTIWzfdycWmY3oG7OWSodNdCTf7Qp6xX/FHJ6vH3SSB tPPViQD0DJ9ou8pH/xeocsjkydP7n1//2ekYW70+2Pash3KwPwSuPXANvlRz0PBaiKfj lR0g50Jd25JgbpHY/7jE/4aw84EAQcmJL69l+kyJrw7DtZwW9tT2QTEfs92eMNz/kuyO AXpr1oO76B9dPbUuTihdJ9Ymwh/a7LRTZOhMDrresfmQfx4WfB96jJr8HmMz1abc+f1f +sPg== ARC-Message-Signature: i=2; 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:references:in-reply-to:message-id :date:subject:cc:to:from; bh=89RDpJaVZ3/uRBxC6QeEoV6/7HgD2NOsw9VIXbz4xvA=; fh=ArhBUpgT7osDSb11aMGl7uoZuHgrbUMcZ74fJl8jIoM=; b=GmtWc6O9lq6y9quxRlWXGH6N9xya09GbCMoUWI5KGZ7knPJiAe+Q64B05YFpJjapYx PHu2IxIEesFnzcmDZaz1IQwHnnDuxjCkoWwm++OvJfx5/jMuEIMllqJYsUmCv5IIVaNk 47mlX1EhgznYmzo6wYAtJn0hBTflJPiUgD1h5yUzUGeJR5ecuE92tNsjd1z2Zu+LUk5R Z4by5O68RMuSqn8XfE64EydZv3BejGdgoeZaLFPQK1ZeNAfbrOlraQIrOQKWkakLOk59 4DT+iAYEdal7AKdwDf2IoWNh+7EMiF9AgcsRHYAEyQwZ2wyrb9Po3HcCxVfA/mG8QNsn 3q/w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=jmu.edu.cn dmarc=pass fromdomain=jmu.edu.cn); spf=pass (google.com: domain of linux-kernel+bounces-93894-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93894-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 iw4-20020a170903044400b001d917fa8be8si11522429plb.257.2024.03.06.04.41.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 04:41:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93894-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; arc=pass (i=1 spf=pass spfdomain=jmu.edu.cn dmarc=pass fromdomain=jmu.edu.cn); spf=pass (google.com: domain of linux-kernel+bounces-93894-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93894-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 3F93C282A43 for ; Wed, 6 Mar 2024 12:41:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2630A8289A; Wed, 6 Mar 2024 12:30:56 +0000 (UTC) Received: from mail-m49197.qiye.163.com (mail-m49197.qiye.163.com [45.254.49.197]) (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 1A5C882D68; Wed, 6 Mar 2024 12:30:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.254.49.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709728255; cv=none; b=DEGE3fQuaC5MSx98iJM3LYb8q9zgCO+TzUJABoJd/3g3hQ4zZkEJ6N9r1fOR++J9k6H1uN3QrNmbb6WeQMi2N4bsHy/GNo5b0KbaRPkCC2W/gwQYTOw7tLqEBde52Edxa7upF+rhU36ptLfALJTnth49jPw2y0O+38M34xYA7K4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709728255; c=relaxed/simple; bh=dd2Jx+08JxjgBH+HAXKgiSjHOiOGW8h2sPlP18xoQHA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=JOTWLVdOZn8+zRZ8NZ4r9RlPu67ZTPpr67z52K3X3lX6mfVA18xJw0/NgJsysfzos1yMc0ky3Z2lZhcPBhOktCWG/AGx39vfAwiIDxhWpzgvthu3NYJngv/IM16ypktGs7fNXigIVr2+Xob2TDjolNmyn6uHs1am96QIRDKV3s4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=jmu.edu.cn; spf=pass smtp.mailfrom=jmu.edu.cn; arc=none smtp.client-ip=45.254.49.197 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 [IPV6:240e:3b3:2c01:4970:eaac:ef59:d8ae:5dc6]) by smtp.qiye.163.com (Hmail) with ESMTPA id 3F98E7E0173; Wed, 6 Mar 2024 20:30:13 +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 v5 1/1] arm64: dts: qcom: ipq6018: add sdhci node Date: Wed, 6 Mar 2024 20:30:06 +0800 Message-Id: <20240306123006.724934-2-amadeus@jmu.edu.cn> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240306123006.724934-1-amadeus@jmu.edu.cn> References: <20240306123006.724934-1-amadeus@jmu.edu.cn> 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 tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVkZGUlLVk4aTkpKGkgZSEpKQlUTARMWGhIXJBQOD1 lXWRgSC1lBWUlPSx5BSBlIQUkYS0pBT0JMS0EeGhoYQR4dTkJBH0MaHkFOHxhNWVdZFhoPEhUdFF lBWU9LSFVKSktISkNVSktLVUtZBg++ X-HM-Tid: 0a8e13be2a0403a2kunm3f98e7e0173 X-HM-MType: 10 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6ND46Gjo5GTMQMUNWIQ5OQk4X CUMKFEJVSlVKTEtCTElDSUpIQ0xCVTMWGhIXVRoWGh8eDgg7ERYOVR4fDlUYFUVZV1kSC1lBWUlP Sx5BSBlIQUkYS0pBT0JMS0EeGhoYQR4dTkJBH0MaHkFOHxhNWVdZCAFZQUlNTEw3Bg++ Add node to support mmc controller inside of IPQ6018. This controller 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 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index 322eced0b876..420c192bccd9 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -441,6 +441,25 @@ dwc_1: usb@7000000 { }; }; + sdhc: mmc@7804000 { + compatible = "qcom,ipq6018-sdhci", "qcom,sdhci-msm-v5"; + reg = <0x0 0x07804000 0x0 0x1000>, + <0x0 0x07805000 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>; + status = "disabled"; + }; + blsp_dma: dma-controller@7884000 { compatible = "qcom,bam-v1.7.0"; reg = <0x0 0x07884000 0x0 0x2b000>; -- 2.25.1