From patchwork Sun Dec 10 15:20:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chukun Pan X-Patchwork-Id: 176350 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp6569207vqy; Sun, 10 Dec 2023 07:24:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IF03cQKcMyCwH0R1wtV6BhxiLoEOAA2P+oEoV3R907vO3Siy9MoVQSoT4hPcjSHo8gXJSj5 X-Received: by 2002:a05:6a21:9985:b0:190:2ae6:c685 with SMTP id ve5-20020a056a21998500b001902ae6c685mr4269421pzb.42.1702221893731; Sun, 10 Dec 2023 07:24:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702221893; cv=none; d=google.com; s=arc-20160816; b=Xys2urNUJ4bn3422z/G8wDtoo5/1m9ffFVJ1GYrZmmuzz4CdWILM2M99U624GwgyKq 6kMts5WuuGL3pSf5T+PnT7rKhoz0Yz75MdlFNSgwkA90TTyre501vKoM46e+WZyR8ZQ4 KGjMtTKWskYzlyAaHofvetSkoIoWbmKTC5+9lq9+Glqt7ENK3okS5GnSaCf8kaxLBbjr GNniiFOITyA8b5AhA3PyAaTodohaREaX0P7I7iChbdo5wY4T3J7kmPEaPWoRjxZGbQka eyGZIcfx+W9PwcuiWaY6bNBQMDuTKDn8VXqsAcCbNBJA0TRnpFuERklfdSAwNNDRIf+2 0ifw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=NWw4/cnqRgfNxT0nYOgyZXfhLbOGPhpyjpbvaB49eac=; fh=Effcaa3CXjPW/355LHQ7z9e7az9DvB0NxtqGGs6hXhk=; b=yfTFxJLGY3xQ3k30t6W/AnpxLn4OU9/FozDm8QUWSRmfDvv5Esr+Fg00Xn+obZNq7o PrhrFWizE8hwqTDuzFSVR+jyEv3mLU6sUCQT6ozd34nsY64QVnQfII5/eMr4LBx/ejaV nLzmqPHi47yBBuFk/YySpfsv6SXahN/7SpqbhhSVEJIH0AFIJkwkPr1wE+lPeOw5oYat /abz5dXKtAOCOJtEtzeI6T+sqLYO+xKrsbm1xA2/K1SqBolBJTS84zAm/mGvpIOev118 G0ZB2zQ2u7ueCGWRZ/A7cnkBQ4kC9uY1qAIelLfIz4Wcoq+zG5QyW9ODVnQ3OlOjJOfi lehA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id b21-20020a6567d5000000b005ab92870413si4748103pgs.498.2023.12.10.07.24.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 07:24:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id BC44F80558F8; Sun, 10 Dec 2023 07:24:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232270AbjLJPUe (ORCPT + 99 others); Sun, 10 Dec 2023 10:20:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229584AbjLJPUd (ORCPT ); Sun, 10 Dec 2023 10:20:33 -0500 Received: from mail-m17244.xmail.ntesmail.com (mail-m17244.xmail.ntesmail.com [45.195.17.244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 382D3F0; Sun, 10 Dec 2023 07:20:37 -0800 (PST) Received: from amadeus-Vostro-3710.lan (unknown [113.118.189.146]) by mail-m121145.qiye.163.com (Hmail) with ESMTPA id 4F7F08000A2; Sun, 10 Dec 2023 23:20:18 +0800 (CST) From: Chukun Pan To: Andy Gross Cc: Bjorn Andersson , Rob Herring , Konrad Dybcio , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chukun Pan Subject: [PATCH 1/1] arm64: dts: qcom: ipq8074: add MicroSD node Date: Sun, 10 Dec 2023 23:20:15 +0800 Message-Id: <20231210152015.2243310-1-amadeus@jmu.edu.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVlCTUIfVk1NSUJITBgZQkgeTVUTARMWGhIXJBQOD1 lXWRgSC1lBWUpKSFVKSkNVSkNCVUpPTVlXWRYaDxIVHRRZQVlPS0hVSkpLSEpDVUpLS1VLWQY+ X-HM-Tid: 0a8c54509dc1b03akuuu4f7f08000a2 X-HM-MType: 10 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6OlE6TTo5TjwwFkwPFypKGBcp IxRPCy5VSlVKTEtJSUlKTUpCSUJKVTMWGhIXVRoWGh8eDgg7ERYOVR4fDlUYFUVZV1kSC1lBWUpK SFVKSkNVSkNCVUpPTVlXWQgBWUFJT05CNwY+ X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sun, 10 Dec 2023 07:24:49 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784909024496539268 X-GMAIL-MSGID: 1784909024496539268 Enable MicroSD card found on ipq8074 devices. Tested fine when SD card IO voltage is 3.3v. Signed-off-by: Chukun Pan --- 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,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>;