Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A152FC7EE30 for ; Fri, 3 Mar 2023 21:20:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 53E7485D6B; Fri, 3 Mar 2023 22:20:33 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="eaZIT8HW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C026A85D81; Fri, 3 Mar 2023 22:20:31 +0100 (CET) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7DE7D85D1C for ; Fri, 3 Mar 2023 22:20:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=conor@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 1A828B81907; Fri, 3 Mar 2023 21:20:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4405C433D2; Fri, 3 Mar 2023 21:20:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677878427; bh=3alGOiMasa7j1xV3ym2vNmbv5dGIZKFbgJHosgXwiwQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eaZIT8HWQoTc2AB9rvpwv4eXpbsnU/IkGTJP0TFzPN0lR4OYkAl6d7V2S+YjYWjSf XftbnKTlQ4necPi2UI/o0KSoQvDuZGJDW+Z8HTTBM9X5lhZYeoac05Knz1YUVPBE29 PrN8zdaq1dQgnc1p//vsuHpvfJyPap+qTKqp5RekvRW2CwRtmSZikT4b6fQfhCfjKo OFFci3LBMuBa/gopyT53tf5Nq/XtcYVrSgJr8z1WrEoCPAVKLbtCxwUvhfV1Oq9i84 3pSWr9lB6kL2BTtojJylW0wV36Z87/2BL9uW0qIYUCg2PWGcUVYT9c8sQ+/r8ro/Vu yHj1wuuzCdw3w== Date: Fri, 3 Mar 2023 21:20:23 +0000 From: Conor Dooley To: Yanhong Wang Cc: u-boot@lists.denx.de, Rick Chen , Leo , Lukasz Majewski , Sean Anderson , Lee Kuan Lim , Jianlong Huang , Emil Renner Berthing Subject: Re: [PATCH v3 16/17] riscv: dts: jh7110: Add initial StarFive VisionFive v2 board device tree Message-ID: <1ea9ba0c-1ca2-4a62-8ec0-ffc5efe3ac78@spud> References: <20230303032432.7837-1-yanhong.wang@starfivetech.com> <20230303032432.7837-17-yanhong.wang@starfivetech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UfmeP9XZXH8uti95" Content-Disposition: inline In-Reply-To: <20230303032432.7837-17-yanhong.wang@starfivetech.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean --UfmeP9XZXH8uti95 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 03, 2023 at 11:24:31AM +0800, Yanhong Wang wrote: > Add initial device tree for StarFive VisionFive v2 board. >=20 > Signed-off-by: Yanhong Wang > --- > arch/riscv/dts/Makefile | 3 +- > ...10-starfive-visionfive-2-v1.2a-u-boot.dtsi | 85 ++++++ > .../jh7110-starfive-visionfive-2-v1.2a.dts | 12 + > ...10-starfive-visionfive-2-v1.3b-u-boot.dtsi | 85 ++++++ > .../jh7110-starfive-visionfive-2-v1.3b.dts | 12 + > .../dts/jh7110-starfive-visionfive-2.dtsi | 253 ++++++++++++++++++ > 6 files changed, 449 insertions(+), 1 deletion(-) > create mode 100644 arch/riscv/dts/jh7110-starfive-visionfive-2-v1.2a-u-b= oot.dtsi > create mode 100644 arch/riscv/dts/jh7110-starfive-visionfive-2-v1.2a.dts > create mode 100644 arch/riscv/dts/jh7110-starfive-visionfive-2-v1.3b-u-b= oot.dtsi > create mode 100644 arch/riscv/dts/jh7110-starfive-visionfive-2-v1.3b.dts > create mode 100644 arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi > diff --git a/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi b/arch/risc= v/dts/jh7110-starfive-visionfive-2.dtsi > new file mode 100644 > index 0000000000..e669c2a26a > --- /dev/null > +++ b/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi > @@ -0,0 +1,253 @@ > +// SPDX-License-Identifier: GPL-2.0 OR MIT > +/* > + * Copyright (C) 2022 StarFive Technology Co., Ltd. > + */ > + > +/dts-v1/; > + > +#include "jh7110.dtsi" > +#include > +/ { > + aliases { > + serial0 =3D &uart0; > + spi0 =3D &qspi; > + mmc0 =3D &mmc0; > + mmc1 =3D &mmc1; > + }; > + > + chosen { > + stdout-path =3D "serial0:115200"; > + }; > + > + cpus { > + timebase-frequency =3D <4000000>; > + }; > + > + memory@40000000 { > + device_type =3D "memory"; > + reg =3D <0x0 0x40000000 0x2 0x0>; > + }; > +}; > + > +&S7_0 { > + status =3D "okay"; > +}; Please forgive me if I am missing something obvious, but should this be be in -u-boot.dtsi instead? Cheers, Conor. --UfmeP9XZXH8uti95 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZAJklwAKCRB4tDGHoIJi 0ul4AP9he08fNYkjuSbsBbrJpQRnxX8nQpsLcIN7DqvmIqr2jgD8D5fkJTQ2rvIp /kqYvHuv09DygG1yEEucyNItCfJVnws= =Zkgy -----END PGP SIGNATURE----- --UfmeP9XZXH8uti95--