Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp472236lqp; Tue, 11 Jun 2024 09:34:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUUYm4PMJiyTfIKYfJLMjXafFYPMNeKctLTGXFhmTR63GuoqrkbC9NWtXgKMgI2YgH8pj+9FG3US+KuJsY0zTqwhrDj340nad/sAlt6UA== X-Google-Smtp-Source: AGHT+IEsbHTjz3RpUQpbRaeDzdehYidqCYiTyUliub7FrVxjouzEAvnjWZbfFxbaXRGbV2CxPLKt X-Received: by 2002:a05:6a20:4391:b0:1b8:9f3b:65d9 with SMTP id adf61e73a8af0-1b89f3b6612mr1209473637.54.1718123658449; Tue, 11 Jun 2024 09:34:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718123658; cv=pass; d=google.com; s=arc-20160816; b=duaF7WAQFX3QY4cH8XlrMxZAChCGFOaKbs3ARi0E2QVvRj2HSuhddK1+QLvBlFXL40 HbLLf4THBcyH/N8eAqL9ymvnJ3N1drC+v++niot92plcWIOn/K6vQAbZ5jT64+rjMxHk 94iuePzat/+rqAJu04LvGhn5jTccnQZuu6eP8syCyinfDUuQOb2BZOZZ7y/iY7UO8WqG PxZO7Z9B9cUga5pNn1lL9ps6J637+/yZhLQl7lFz7b8yRJUjj1+pefU9lV0M5UmMuRuM hRgMy45VXZVBwfK5qz4tPKEYppDRx5qmc1IRkjdL7yijNrxAdqaZ+OQhrC2SKwYVGM4l sT3w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=O4xcNRl3CHQW+EiGpIF1hVhCrDy1Vr4VdOoxWEPTrGI=; fh=sgQjGiHrbnGj5tz9OyovH1vAccKBNHrK5QJS23eRwtk=; b=XyrFdPW93QevHlsDuOnGE4tqsO41Ba9HZophT6sDLD0Xi6VdMKUN3BB8EsZsarAaT7 LwcUdfvRMqxAhG9zmL6RQyER6OdnVF7AwfYzjcch7XjdOv578uZxJeaY+4EeG/YxQ/+e 9qucjqASJ7veP954QtBTeCzXBPweZF0Ir8jiD/7sz7sRXVIUIwXfKmsIjqO8dlapkO+m S7R+eRjZn5bkuPK/nUJIlW9LQF6VWdXiqdaFT3rD+zf6+OCe0Dsmfm/LRU7Pi2BXJoud wFAp3jbn8DzRmS/2OQ2g9F4tVtBhVkVVtajb0yrte9JZUZW350I9VQ5SNalgXFKEeg86 YAqA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bo8W7+Ns; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210241-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-7041f2eb18asi6765644b3a.330.2024.06.11.09.34.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 09:34:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bo8W7+Ns; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210241-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 82B08289C30 for ; Tue, 11 Jun 2024 16:26:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61CC643AB4; Tue, 11 Jun 2024 16:24:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bo8W7+Ns" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8683D3BB25; Tue, 11 Jun 2024 16:24:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718123062; cv=none; b=rNX0yp0FHOSHykzrMlDz1cboDZI0ocLoi0Nnvjx4s8taZfT5jHgR8u5kyXioRyoAbpSupOC3zsR8LkHGaNg+RcKue0Qzijxn3XAuyoiuaXw3xYX65CeNyp00bhyEDJJXJTZvD0qFtXmpJlGZqdxsZAGXYSO3FnbtIUTA9hRGswA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718123062; c=relaxed/simple; bh=e2JRZAInX4VbpDRXbsbxfaga+F/z//woWGhb8XL6kFA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bvtgyW8DgCSTTe9fKx5ssK0YREtMPG5G6AUab/mtbquMO5oeUDoI4C6TecpqRc24PQu3V8t4AtdUcWMc7YzKUCiRtl6ySdQE+vifgx0fse7YmVjycC8KAVuu4DcZRL/EiKAxbf1ak2mMPxz0+1MN635POZXsNOPIhAQ2cn3tpr4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bo8W7+Ns; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0867FC2BD10; Tue, 11 Jun 2024 16:24:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718123062; bh=e2JRZAInX4VbpDRXbsbxfaga+F/z//woWGhb8XL6kFA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bo8W7+Nsmby3FBoOMRdMQxnBcT41xKkNNkijVXEx+MFxGy3lE1nIwiamipM48xVaO cxXeLblMLHoColDh6jSxBmQiTIet0GtPca+IGdMHHRxIUutbzqBf7S13DdBthpQ1wS Yfb6/5gNUi3jL90M9/7OOZ36wNDW9d8JaOywWjKT5R/4IZPIJGN0KwuATCptlowdhy AAALLHqCvERrV1gBKfKZMPfH1hQBcawKLvdXOgo6+aXZ8rH24VI4DdCNkaSlInMnBa OHdG4X0mmJjQ9XRETAvKy4QfIIPhvPLwKZY+Ce+KWtavaZzVjKoon5Hc2Dh5+HlXIo DOVW1zTBgzeFQ== Date: Tue, 11 Jun 2024 17:24:17 +0100 From: Conor Dooley To: Minda Chen Cc: Rob Herring , Emil Renner Berthing , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Paul Walmsley , Palmer Dabbelt , Albert Ou Subject: Re: [PATCH v1] riscv: dts: starfive: add PCIe dts configuration for JH7110 Message-ID: <20240611-irk-hypocrite-a53e98e6c394@spud> References: <20240611015200.40996-1-minda.chen@starfivetech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wzZC5MCZUi+ZMG8A" Content-Disposition: inline In-Reply-To: <20240611015200.40996-1-minda.chen@starfivetech.com> --wzZC5MCZUi+ZMG8A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 11, 2024 at 09:52:00AM +0800, Minda Chen wrote: > Add PCIe dts configuraion for JH7110 SoC platform. >=20 > Signed-off-by: Minda Chen > Reviewed-by: Hal Feng > --- > .../boot/dts/starfive/jh7110-common.dtsi | 64 ++++++++++++++ > arch/riscv/boot/dts/starfive/jh7110.dtsi | 86 +++++++++++++++++++ > 2 files changed, 150 insertions(+) >=20 > diff --git a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi b/arch/riscv= /boot/dts/starfive/jh7110-common.dtsi > index 8ff6ea64f048..1da7379f4e08 100644 > --- a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi > +++ b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi > @@ -294,6 +294,22 @@ > status =3D "okay"; > }; > =20 > +&pcie0 { > + perst-gpios =3D <&sysgpio 26 GPIO_ACTIVE_LOW>; > + phys =3D <&pciephy0>; > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&pcie0_pins>; > + status =3D "okay"; > +}; > + > +&pcie1 { > + perst-gpios =3D <&sysgpio 28 GPIO_ACTIVE_LOW>; > + phys =3D <&pciephy1>; > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&pcie1_pins>; > + status =3D "okay"; > +}; Do all 3 of the mars, star64 and visionfive 2 have both PCIe ports exposed? I assume if one does, all does, since they're basically identical? --wzZC5MCZUi+ZMG8A Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZmh6MQAKCRB4tDGHoIJi 0v1MAP9PTX9Hu0d+NafLeM2JG8n5oxSljJKr6Q/CDKPbUeaOcgEAxScFlExYbnQb F951+zWbwytmbr3baByHSjGl6D2Cigg= =ds5C -----END PGP SIGNATURE----- --wzZC5MCZUi+ZMG8A--