Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1504469rdb; Thu, 7 Dec 2023 00:26:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IHq6aRKQ4JWJC9ZwD9E/ISV2/9DlSaFia3b/kJqwEy5XXqtPTy/nPH7NMRwr0Dgc7FvVNpf X-Received: by 2002:a05:6a00:1345:b0:6ce:4018:a726 with SMTP id k5-20020a056a00134500b006ce4018a726mr2807389pfu.62.1701937601702; Thu, 07 Dec 2023 00:26:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701937601; cv=none; d=google.com; s=arc-20160816; b=pS8XLAypwAmy7d8ujmJopKVxnM3sUmOo9wcnNJVWPAq9+SCTPg+EA1HWT8m1T8/pqm KYk4CqsiaEzlOTZYug1o3DZwC9VTyFYEM+AhdISOtb7GOPnLyMg9OjI4pw/jz3n2KRO+ 3j8QjFnHmBrDcK1S58GMO6R6vAzhdVlwhR6WXcTuBvZGa1t9Nf1Nk157wGNTz2ueR/S7 skhmb4fx2QqoQ4PkL1jG5ZFP26ZBA7wmlYI6eExP7sGpVIToVV1jP6p/j8x3Y8RYyfcg Ue3yq/2dFWpcYgVD2724Zw2vPpVsyLkNULMNe+QS794uQnXMDwoPDOydG7w3gu/c9MUh YDpw== 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=t0Mi94pY5SeZCt9N1kp1W+hGw2ohOX6rN8FeG2f4kb4=; fh=r4rx/y3k5j1Bdmyvyq9ayFrZC+r+PoJqtKBJnwK7dBA=; b=PFsClYewuRe47RO0a3Gro2/2ufJLz6yB64Qw2rXzVuzVrtH2/4RR8G/8PJQ0uxv3xj gQG7DvUhlUCETUZm8G7/TbVtRq6LhfJN9ugxDC0m3hwvtANT5dyGxNsbJbgUU+o2oBrI Aym5c/JdelUAdtWCmKsuVZuCZiPPnYawi1qYu9IfDJu9kyhtdqsaR5MVx6+Mcd2FeTgj mRKPUbf7+47cj9IXw5WuiVzuU5/ncGaWzRaac3eyl/0hFaEzZh/E60Fbv/eM0U1AP/Mp lGzDNK9pzzxlQjVkS0CgCfyVcIEahY1OxUIDaEfi8GwAW8HN9UMlptBbqIiHFniCuhW6 rQ8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BdHVz7o7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id n6-20020a056a0007c600b006ce060dba6esi805968pfu.240.2023.12.07.00.26.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 00:26:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BdHVz7o7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id DD4CD80EE7AB; Thu, 7 Dec 2023 00:26:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378112AbjLGIZi (ORCPT + 99 others); Thu, 7 Dec 2023 03:25:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231220AbjLGIZh (ORCPT ); Thu, 7 Dec 2023 03:25:37 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C25F122 for ; Thu, 7 Dec 2023 00:25:43 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC709C433C9; Thu, 7 Dec 2023 08:25:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701937542; bh=fpz3hSpcQoJnZmp0wb8Pb6jeykz0fSOXPRjRXzbi/ZA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=BdHVz7o7bo/SFplvfZVidqwY6Tgg8lYu2OEOsxtd103fkz7gdWZJWDMdFK0KNe4Gt gBay/UGWX0idnnetOLeAVWiWDVnoVz9vROfe/Jzqnht4h0nV6TzjJ0tXYlEE39p3e/ tzNaXMCrNQCi9WbDzCs5hgUPZXXr9TrgwOgtUzpsUY4UCUC2UE/94xNGgvXvWkDPxN ez4Z0D58UcPt/QC32XB2u3foXTILoQsbkHgJl05jtXaHXYnZQgs1ASGvc+dUB2ctN2 jajV0a3vuxu6TRFpcMDOKMzh8nUT9KQyOpSqTpLo3grw7sBWmi5fpbFBVPWkySFmQe BEo75eEcAwHgQ== Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a1e2ded3d9fso75165566b.0; Thu, 07 Dec 2023 00:25:42 -0800 (PST) X-Gm-Message-State: AOJu0Yw9PkqPtLz25U5WqsLHaAQ/jW99Uu9KJis4dVP4TnxjVFouDLO5 380eQyBKF9OZsCn6fYBOplbC1rq0kkCVbXufELA= X-Received: by 2002:a17:906:2c7:b0:a1e:2e2b:1b7 with SMTP id 7-20020a17090602c700b00a1e2e2b01b7mr908589ejk.132.1701937541279; Thu, 07 Dec 2023 00:25:41 -0800 (PST) MIME-Version: 1.0 References: <20231206-th1520_mmc_dts-v8-0-69220e373e8f@baylibre.com> <20231206-th1520_mmc_dts-v8-4-69220e373e8f@baylibre.com> In-Reply-To: <20231206-th1520_mmc_dts-v8-4-69220e373e8f@baylibre.com> From: Guo Ren Date: Thu, 7 Dec 2023 16:25:30 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v8 4/4] riscv: dts: thead: Enable LicheePi 4A 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 groat.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 (groat.vger.email [0.0.0.0]); Thu, 07 Dec 2023 00:26:10 -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 > --- > .../boot/dts/thead/th1520-lichee-module-4a.dtsi | 20 ++++++++++++++= ++++++ > 1 file changed, 20 insertions(+) > > diff --git a/arch/riscv/boot/dts/thead/th1520-lichee-module-4a.dtsi b/arc= h/riscv/boot/dts/thead/th1520-lichee-module-4a.dtsi > index a802ab110429..1365d3a512a3 100644 > --- a/arch/riscv/boot/dts/thead/th1520-lichee-module-4a.dtsi > +++ b/arch/riscv/boot/dts/thead/th1520-lichee-module-4a.dtsi > @@ -29,6 +29,10 @@ &apb_clk { > clock-frequency =3D <62500000>; > }; > > +&sdhci_clk { > + clock-frequency =3D <198000000>; > +}; > + > &uart_sclk { > clock-frequency =3D <100000000>; > }; > @@ -36,3 +40,19 @@ &uart_sclk { > &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"; > +}; > > -- > 2.34.1 > Reviewed-by: Guo Ren --=20 Best Regards Guo Ren