Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4685685rwj; Tue, 20 Dec 2022 13:40:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Wo7g8OHz8te+mtt8XrQO1NumV3UIAAQsW0YIGv/Q+k/JFBewgS6S897NsbOZiwybU/JYO X-Received: by 2002:a17:90a:b908:b0:21a:8c6:c89e with SMTP id p8-20020a17090ab90800b0021a08c6c89emr49879954pjr.2.1671572454368; Tue, 20 Dec 2022 13:40:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671572454; cv=none; d=google.com; s=arc-20160816; b=zJsjDn3q2QX7QKwVr4bQLdu8RdLBoase7+dyZIYxgn3U4Ad7Gh+GKxD71cnPja7epP 0clr0MaWSbSgjSq03CMOFKcssGhOWz2iW9tUCoT9MuWscaV8QDA1SjwBBuiYZ1nvzE+k 9rzD5UY0IWR7RpY+vhAwXambPBrRAc/Q50G8OGTl+ZXZcWHIs32qjVd/k0dIUlWDUc84 XUcgN8YVBvqls2nlngpRLr2Rq7HWDAEccTp5SdnlLFatmnBQH5yKKDV+1WsNnyEAFyHC Ei3Ns6TIpJn8FiKqUUPk6rKo/5Ouh6xxijjC24lPe9NiCBKDvuoNUh1BoOPfyG8xClxR s7tQ== 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=dCOh2rfIWVhC/36ZAyzBGchYpD4q+Gv7p2GMRYuKzgQ=; b=SFQcmivLAcFQ30p3zo12aZ8fHLMZaGDkq1WF/jVeAzZwv6wIc8Dipe4CmBGPcelepj hXvcGemlkWI370YmAxT0D1zCYHXoI5VE7s7LqtYUTzJSvIQTm5AEssYL0ssPgroyiRlh WlDHFcgsipgH7inDm42eex47D9pH8IBpY7jM/ekwPPG5PqoCjsjqMR1i4ZAw2BkrrepU XchmLW/Zjvej6SIg89B01+wgYZQBPcZHv8LpY73YlZkRyPSgvAT85TI5W4c0K5b9b7OB IeplGNVqAsVPxue9N9eelGdnmnJDGExDTFwCvL3nqIO7AI2ewp/LeviQECNs9O1gwtGI rHTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ASxomZZ5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bn12-20020a056a02030c00b00439d86cf509si15091526pgb.645.2022.12.20.13.40.36; Tue, 20 Dec 2022 13:40:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ASxomZZ5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234149AbiLTVby (ORCPT + 68 others); Tue, 20 Dec 2022 16:31:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233890AbiLTVbv (ORCPT ); Tue, 20 Dec 2022 16:31:51 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E1501EC68; Tue, 20 Dec 2022 13:31:50 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 2439661530; Tue, 20 Dec 2022 21:31:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1241EC433EF; Tue, 20 Dec 2022 21:31:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671571909; bh=4guvi9YPGFRvRQkeTTfj8xKEOlTkQRxYmYlBnGBXEX0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ASxomZZ51mjz4Jo/cYvbgQ8eSBD4Tn8igs2KbvX90bcV+batkM9mcEcqR6yEFxKaL m6eRlqXxtHZR8VhA5kAbbr6LjbEcjO+RPq6+oqD1yGOzrZDgu59kpEPGA2T1xLz01B jdlJk4CJCkE4Y+wRWhotjfCFXnlT1GyfNF0oj10fMTQ/p5TOpWLG81hoUgxBnmWWNd lGjeJUQS05LoIFGXZqnUHE2AnoB/bWI/ARiD9MGFabxR5csrcyp2L3u8bmIIBJ26L3 yMO8Zmm0BAMkrZ6YcY7IA90xnO2ufKbygNruyugkqY/3jfgdEW9VPeZ1boHijaWKt9 0M+sYe8B4HrnA== Date: Tue, 20 Dec 2022 21:31:43 +0000 From: Conor Dooley To: Hal Feng Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, Palmer Dabbelt , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Albert Ou , Ben Dooks , Daniel Lezcano , Thomas Gleixner , Marc Zyngier , Stephen Boyd , Michael Turquette , Philipp Zabel , Linus Walleij , Emil Renner Berthing , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 6/7] riscv: dts: starfive: Add initial StarFive JH7110 device tree Message-ID: References: <20221220011247.35560-1-hal.feng@starfivetech.com> <20221220011247.35560-7-hal.feng@starfivetech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ObhNkYFiXiedhNNQ" Content-Disposition: inline In-Reply-To: <20221220011247.35560-7-hal.feng@starfivetech.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 --ObhNkYFiXiedhNNQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 20, 2022 at 09:12:46AM +0800, Hal Feng wrote: > From: Emil Renner Berthing >=20 > Add initial device tree for the JH7110 RISC-V SoC by StarFive > Technology Ltd. >=20 > Signed-off-by: Emil Renner Berthing > Co-developed-by: Jianlong Huang > Signed-off-by: Jianlong Huang > Co-developed-by: Hal Feng > Signed-off-by: Hal Feng > --- FWIW, this cpu-map is now the default in linux, so you no longer *need* to add it for that purpose - but there's obviously no harm in being explicit for other operating systems etc. (IOW, don't remove it!) > + cpu-map { > + cluster0 { > + core0 { > + cpu =3D <&S76_0>; > + }; > + > + core1 { > + cpu =3D <&U74_1>; > + }; > + > + core2 { > + cpu =3D <&U74_2>; > + }; > + > + core3 { > + cpu =3D <&U74_3>; > + }; > + > + core4 { > + cpu =3D <&U74_4>; > + }; > + }; > + }; > + }; > + syscrg: clock-controller@13020000 { For obvious reasons, I cannot apply this until both the clock & pinctrl bindings are in my tree - but you know that already. > + compatible =3D "starfive,jh7110-syscrg"; > + reg =3D <0x0 0x13020000 0x0 0x10000>; > + clocks =3D <&osc>, <&gmac1_rmii_refin>, > + <&gmac1_rgmii_rxin>, > + <&i2stx_bclk_ext>, <&i2stx_lrck_ext>, > + <&i2srx_bclk_ext>, <&i2srx_lrck_ext>, > + <&tdm_ext>, <&mclk_ext>; As Krzk asked - are these clocks really all inputs to the SoC? > + clock-names =3D "osc", "gmac1_rmii_refin", > + "gmac1_rgmii_rxin", > + "i2stx_bclk_ext", "i2stx_lrck_ext", > + "i2srx_bclk_ext", "i2srx_lrck_ext", > + "tdm_ext", "mclk_ext"; > + #clock-cells =3D <1>; > + #reset-cells =3D <1>; > + }; > + > + gpio: gpio@13040000 { > + gpioa: gpio@17020000 { Out of curiousity, why gpio & gpioa? Thanks, Conor. --ObhNkYFiXiedhNNQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCY6IpvwAKCRB4tDGHoIJi 0rWYAQDTig/t+OM+9hgBx8d3GAyl2YXKCY8myegiWUBmFC6xAQD/aQpZ/dHH5sUO IXoDliLR2oe/z45FzDkNU6ZSUhqQEAA= =U8m6 -----END PGP SIGNATURE----- --ObhNkYFiXiedhNNQ--