Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1363008rdb; Mon, 2 Oct 2023 07:25:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFjrqcIQHwf6oNIQ2xUpQ8YeE5MMQVUhaizWGrGOleSKGHDnPFkygXEm/FMAK7LBU9fuPlc X-Received: by 2002:a05:6870:6111:b0:1d6:40f9:804a with SMTP id s17-20020a056870611100b001d640f9804amr14425681oae.57.1696256724526; Mon, 02 Oct 2023 07:25:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696256724; cv=none; d=google.com; s=arc-20160816; b=YOWnRcZlMBj6YsfYrG7qZ+gxP2UPKh+AKbO+qvpFzciEuLgFkOiizYYBKrKxFGU0yG WJu4jHZTILERuP4EEhs5XFsY26n0Dth03G0cPb1w7/V8HCB/R1J5THpMYKhYVWaWk9MY TYkPCmQZmyMwgVh+dJPUKwXYDyIgA99OnTZwJS2GStlo/6FFHljtmuzjerK5uAuhD/S1 LemM0WBRSKU9ry9BZUYSpRhW/Z6anFesTPtEVBe4vmOw1n5bz14p3zXMoSHi1lGZbMe/ aJpLsmIxn2cBygTSQVJWbJ35qpznF8uW833fi6Xg5vzhIj8Un7EcOeBwDplT42Lv+qZ9 4R7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=oyFL0LVmVMTaYMmAOQmRmQqdREaJN+3UJCactPIb1SY=; fh=ywoEuP1jylpac4MnMOrVOyXPk/p/Fph6GRVrHsmEuH8=; b=oDEvxa5lkL6bYH1o0yCyqm+4hK8MoRJbEbf0ZA5lOpfP9T6sZHDp1ShMsRCxJmXDK4 XR9/vE5fR1gvBTigzl77sA9oKutAzUIIVc2xUEinYN9/Rz2FUTn3PX2zJYMGwqQ51vfx HMYWQQ5B6VClf2VAgfukRaSXsLVh0Y3b5/AYr4Dr2OytUSu+fa27lqfsNO7M94wOBsfE 2YVwdBrNvxmL4/0VBm0Znbr2h4wSsRvuh5BzrDJuQ2e2oKmGbQuDeOZaWTj1kaHhzrG4 jCGxVa1SCTKcdJf4YLPOJ3oMVRkiG8ONf8LCpss+46nwMQUK+o/R2cLXSsXPiAs4/b8C hw2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BecpC1VY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id m1-20020a656a01000000b0056fa1ac3722si30942754pgu.698.2023.10.02.07.25.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 07:25:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BecpC1VY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 9FE7680425AD; Mon, 2 Oct 2023 05:17:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237102AbjJBMR3 (ORCPT + 99 others); Mon, 2 Oct 2023 08:17:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237265AbjJBMRR (ORCPT ); Mon, 2 Oct 2023 08:17:17 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8810CDB for ; Mon, 2 Oct 2023 05:09:49 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D81DC433C9; Mon, 2 Oct 2023 12:09:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696248583; bh=XF2JWUI7upFEWvpMLleiS+AFi4n6n/o2bBoXGwL6lk4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BecpC1VYEdSlAGMnwJk1z8khG//CgJLN0SwRus9GT82CKiB7g/tbumWSmDLt0FJke oLiLsb8Vb4QWoTjlHWfOrKu7z5MGtTb086eMcu1FWrGG+Sio6gs18EwlMaHt0aG0Hj bwXKNTQuOsAjQ6aBI4WQYiuZiUGZeKKSYu4mfMVEXgPMxXazT5mm77UwSV4L40cEbh Htp754cmmiGJoyjKjbiwPisxe6JPTbpXHD1KNI1fBF0goFDGAs2tLAExKbsstW99U1 nu6BrQyyDn/M7NR7BM2SqqRcUNWhqGtLONpWzVVbODbuslYRijBSqz/s2JUNbMPq7r 6CaR5wQk84OOA== Date: Mon, 2 Oct 2023 13:09:38 +0100 From: Conor Dooley To: Jisheng Zhang Cc: Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Palmer Dabbelt , Paul Walmsley , Albert Ou , Daniel Lezcano , Anup Patel , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Inochi Amaoto , chao.wei@sophgo.com, xiaoguang.xing@sophgo.com Subject: Re: [PATCH 4/5] riscv: dts: sophgo: add initial CV1800B SoC device tree Message-ID: <20231002-pessimism-sycamore-a854a098cf43@spud> References: <20230930123937.1551-1-jszhang@kernel.org> <20230930123937.1551-5-jszhang@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7ADpDYkm6P9PW77/" Content-Disposition: inline In-Reply-To: <20230930123937.1551-5-jszhang@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Mon, 02 Oct 2023 05:17:41 -0700 (PDT) --7ADpDYkm6P9PW77/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 30, 2023 at 08:39:36PM +0800, Jisheng Zhang wrote: > Add initial device tree for the CV1800B RISC-V SoC by SOPHGO. >=20 > Signed-off-by: Jisheng Zhang > --- > arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 117 ++++++++++++++++++++++++ > 1 file changed, 117 insertions(+) > create mode 100644 arch/riscv/boot/dts/sophgo/cv1800b.dtsi >=20 > diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dt= s/sophgo/cv1800b.dtsi > new file mode 100644 > index 000000000000..8829bebaa017 > --- /dev/null > +++ b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi > @@ -0,0 +1,117 @@ > +// SPDX-License-Identifier: (GPL-2.0 OR MIT) > +/* > + * Copyright (C) 2023 Jisheng Zhang > + */ > + > +#include > + > +/ { > + compatible =3D "sophgo,cv1800b"; > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + > + cpus: cpus { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + timebase-frequency =3D <25000000>; > + > + cpu0: cpu@0 { > + compatible =3D "thead,c906", "riscv"; > + device_type =3D "cpu"; > + reg =3D <0>; > + d-cache-block-size =3D <64>; > + d-cache-sets =3D <512>; > + d-cache-size =3D <65536>; > + i-cache-block-size =3D <64>; > + i-cache-sets =3D <128>; > + i-cache-size =3D <32768>; > + mmu-type =3D "riscv,sv39"; > + riscv,isa =3D "rv64imafdc"; > + riscv,isa-base =3D "rv64i"; > + riscv,isa-extensions =3D "i", "m", "a", "f", "d", "c", "zicntr", "zic= sr", > + "zifencei", "zihpm"; > + > + cpu0_intc: interrupt-controller { > + compatible =3D "riscv,cpu-intc"; > + interrupt-controller; > + #address-cells =3D <0>; > + #interrupt-cells =3D <1>; > + }; > + }; > + }; > + > + osc: oscillator { > + compatible =3D "fixed-clock"; > + clock-output-names =3D "osc_25m"; > + #clock-cells =3D <0>; > + }; Is this a stub that will later be replaced by a real clock controller node, or is this actually a fixed oscillator? If it is the former, could you add it to the commit message if there is a respin? Thanks, Conor. --7ADpDYkm6P9PW77/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZRqzAQAKCRB4tDGHoIJi 0pUpAQCeg85iTvHhxt7N5JpBUouXbz8728VXeHIyIz55IAQEtQEAgvB4/xg9EGuu tvn8dqb7SzCgq/xW6fGN6uoZFBmJUQI= =Jjvq -----END PGP SIGNATURE----- --7ADpDYkm6P9PW77/--