Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3480969rdb; Sun, 10 Dec 2023 07:24:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IEGUecN83H4kD2tiUaP/0VpfTci0GKmKKKhdUw/9v9eGM6wCQ6yi5316jpApYtUIVOx88kB X-Received: by 2002:a05:6a00:4b0e:b0:6be:25c5:4f74 with SMTP id kq14-20020a056a004b0e00b006be25c54f74mr3973911pfb.13.1702221897624; Sun, 10 Dec 2023 07:24:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702221897; cv=none; d=google.com; s=arc-20160816; b=tY0MR6sKlaNeUTLiiKsIrqN3WrziEfR7vdBncQXdg8s1RQdzZ9lCJ7VUowi4PGAaUK Z2asA8irq6RE9jq4gLB/VECNpbJckqD0aDXGD43PAR8azCFQcdCUMQhvw248TPgJazJQ 45KBZIZAzg5qgfuA5KReJNkzxjIG1XRbtk8CDwJldoLER1NQRDoAP136tI9Zt61Mz/wE tYUdUzoGILjBtNah3avFtIibrsTFXn3MstooSfIaujXQYEPVHU9e7rf4mcP5gwI+g0hz /h4iMGlUyltAYaXtQbo9cSaSxWpyaZSiY1Jl0ODw8hd2DKQojlVcSb//lyv9AdDLEdrQ WrMQ== 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 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id y12-20020a62ce0c000000b006cbe53e19fdsi4642649pfg.222.2023.12.10.07.24.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 07:24:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 3E7CA80558F8; Sun, 10 Dec 2023 07:24:55 -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 Content-Transfer-Encoding: 8bit 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:55 -0800 (PST) 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>; -- 2.25.1