Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1504948rdb; Thu, 7 Dec 2023 00:28:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IHYjp06ZFHspPgGvbaG2JyEL5giWbLYYa7x06XLRKeCf7pJfCxyl3zFCmFEVd0bxwjVXDR0 X-Received: by 2002:a05:6870:cc8e:b0:1fb:75b:2fbd with SMTP id ot14-20020a056870cc8e00b001fb075b2fbdmr2428875oab.84.1701937683818; Thu, 07 Dec 2023 00:28:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701937683; cv=none; d=google.com; s=arc-20160816; b=cEqn9XzzePSsh/2lHAwt+CFe/d351rDrEuCUJweTO8xy/vTC5n+35dIx/S0xmW1afx tt1+r+T6wFOBIyIRJRuL06SR88KbtzWhrtPNGduG9e+Lqx9VdXdriWmQ12hSQifLUomw Lx+6eaGVFdhzzXp81YBwBUyg6Ago2RvPvjzBd5ggPQTtvEJHpRwu8MOGNsV0zIxq1mlz GaNDykbnShIR+9GUKpZeUvn3DLnFP/NUJn3W2KNAYKz2is3QguBe+p12Hz8+SY3Vn4kf nYTVLlYKFrCiT4ZcDTdcJRMwnynV6cw/hhrM7CK88XZdvXAkYMPozAztg+t/7lFXVFG3 9ReA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Sr3qcDXtBNU3q/+RhHslJPQFtz+Bmo7qmD/i6bk/clI=; fh=r4rx/y3k5j1Bdmyvyq9ayFrZC+r+PoJqtKBJnwK7dBA=; b=YTZG2BzqhLwwWgBSnsd6N6HSDGT6YOJIccLCTcXHtWxaKuWhD/ZlrZw86S4MdyIu4c NE4keeDSXfPqid6rnx+FGsqBaXfUT9K577/H9jkIh5nQGHyrfVFr68rPIRQyYieSZH3q BCJDI3cyp1GfqB7VeZH7kD0dXq7C/41XpdD7KzgTKrm6N+4BlY6G3R8pS2bjLLcnmMPv NMyWWt6XzLMIvdzdhALQSK9oG65xMUdaEU1rpLYzZQA438gU2kfXRr8+kqDPTTP0zqN/ jw62at6icAP2BnQ8wNutXpD5xAGfr+nNxVeDtOyhJHv6yqTPPuh0+zj3RRjsVVETurJ2 Zrlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EgoWbrNo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id c8-20020a631c48000000b0056fbf85c743si729937pgm.790.2023.12.07.00.28.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 00:28:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EgoWbrNo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id A4FEB8339392; Thu, 7 Dec 2023 00:28:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229489AbjLGI1t (ORCPT + 99 others); Thu, 7 Dec 2023 03:27:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjLGI1q (ORCPT ); Thu, 7 Dec 2023 03:27:46 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E393C6 for ; Thu, 7 Dec 2023 00:27:53 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5C38C433CC; Thu, 7 Dec 2023 08:27:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701937672; bh=HdOGiDC74cN+R/1jMps1M6Cpu/JgOIIA9PS+KkU5Jho=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=EgoWbrNoeKido2fp/wA97ahq5XsTXL4sEr/J2gWH910uAuctgxAFaAILpYZDqyyuy a9AfrDDgo+547ZeCPEmkjBIADRRzWvX2IVano5agHWaqcLO4jdUpnzxT2HMeIg56VK +fAIABDaN+RtzZZUovQJb73/hWDBPOvwfO6Y2zmeG2rpZAPOCg9NxQ+U1xNZCn9pwA ZBHG+h4KbU8ElJ/hUEb32SDhmwDGZy91f92qsb0TdeaxyCjKyt0LRIV0vNgtMArvNJ oGOP1IR+GloFvwX+L5GW1wnXVVvH3dtuMzZvQYac+sh+OSlRcaB4PTn5Z1OiUNvGnZ /tozLi9yduL/g== Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-54c846da5e9so561852a12.3; Thu, 07 Dec 2023 00:27:52 -0800 (PST) X-Gm-Message-State: AOJu0YyFQZVfS+qOV4kWT5xslC8rjKwhkdK7kyQfjZ/SgilVXZ+MrchS na+tBkTtE8zrW9Zh53LRCll/aezhthi1pEzghg0= X-Received: by 2002:a17:906:a2d0:b0:a17:ab92:3d55 with SMTP id by16-20020a170906a2d000b00a17ab923d55mr1658721ejb.19.1701937671332; Thu, 07 Dec 2023 00:27:51 -0800 (PST) MIME-Version: 1.0 References: <20231206-th1520_mmc_dts-v8-0-69220e373e8f@baylibre.com> <20231206-th1520_mmc_dts-v8-3-69220e373e8f@baylibre.com> In-Reply-To: <20231206-th1520_mmc_dts-v8-3-69220e373e8f@baylibre.com> From: Guo Ren Date: Thu, 7 Dec 2023 16:27:40 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v8 3/4] riscv: dts: thead: Enable BeagleV Ahead eMMC and microSD To: Drew Fustini Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Jisheng Zhang , Fu Wei , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Jason Kridner , Robert Nelson , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 morse.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 (morse.vger.email [0.0.0.0]); Thu, 07 Dec 2023 00:28:01 -0800 (PST) On Wed, Dec 6, 2023 at 4:09=E2=80=AFPM Drew Fustini = wrote: > > Add emmc node properties for the eMMC device and add sdio0 node > properties for the microSD slot. Set the frequency for the sdhci > reference clock. > > Signed-off-by: Drew Fustini > --- > arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts | 20 ++++++++++++++++= ++++ > 1 file changed, 20 insertions(+) > > diff --git a/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts b/arch/ri= scv/boot/dts/thead/th1520-beaglev-ahead.dts > index 70e8042c8304..d9b4de9e4757 100644 > --- a/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts > +++ b/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts > @@ -48,6 +48,10 @@ &apb_clk { > clock-frequency =3D <62500000>; > }; > > +&sdhci_clk { > + clock-frequency =3D <198000000>; > +}; > + > &uart_sclk { > clock-frequency =3D <100000000>; > }; > @@ -56,6 +60,22 @@ &dmac0 { > status =3D "okay"; > }; > > +&emmc { > + bus-width =3D <8>; > + max-frequency =3D <198000000>; > + mmc-hs400-1_8v; > + non-removable; > + no-sdio; > + no-sd; > + status =3D "okay"; > +}; > + > +&sdio0 { > + bus-width =3D <4>; > + max-frequency =3D <198000000>; > + status =3D "okay"; > +}; > + > &uart0 { > status =3D "okay"; > }; > > -- > 2.34.1 > Maybe, we could share some parts with th1520-lichee-module-4a.dtsi. Others, LGTM.| Reviewed-by: Guo Ren --=20 Best Regards Guo Ren