Message ID | 20231215204050.2296404-8-cristian.ciocaltea@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-1638-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp9565755dys; Fri, 15 Dec 2023 12:44:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IG84ZINWcwkNwc4ILKr0NGCxOk7Qis31pjjFA5od1iQdN1frnDkuie+z7Twr41xU3VsxCjd X-Received: by 2002:a17:907:9058:b0:9b2:982e:339a with SMTP id az24-20020a170907905800b009b2982e339amr3455122ejc.22.1702673050189; Fri, 15 Dec 2023 12:44:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702673050; cv=none; d=google.com; s=arc-20160816; b=ftbTwFo1nwD1n939NZ1qC8kANSEtiLWmSGekv3Gt3AGiNAgSxyxg733XVoj5RrEYYm w15jzneQufgSc4351+lzh+lwB4xxgpKHhgPy9MYPpfcHxp3ChQnI0aLxxIY0i6/lo3TR yKunyxw2myiIvoAHLKDFSeAxyzXvLtxcMPkn0VY/Neb07lxxSFPIu8BFremT0fzK8udz 9ZtXyMU+bmQe6ZjEEOmAYLtr6x5QdB0sn03tgZ0f0yjYD1KsY9OU3Arw3Jw6mhOzzAm/ 9EorFAvxTVqPdAbsy8J6aU438hanJqyPBXTnsNsyt9WiCAI0/n/KVHlpkCC9auh8aEFg KDlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=fmqSK4qrshfLIF7xAMp76swuJ4LKi+kZvGyuZZMWrxk=; fh=MOJyzNMsFAJQqEQehvdnrwT/huG78rLnZqS8spAjFqo=; b=ZCCbk1b3DcfFOzTXmw4qXCOp2jfgyuyQxRjrJaJwRfkulQoTyaXH4hH0C5yZFAHeIO uKrkWkpEJvVK9/5QqqHzoE8ShnRFJBjwdWrStohdw8px+H3GHRU8zTTW0kEZJ5lES8Mo ce1J4KY2w4TqS5o3LwKA5mWVQ5Au40/q6qRsG7R24ogH3aPqHx54Ko6eputHoHWN+vMR 8xnQngfKsAHv4C1rMXEPSv+zk+7AGFTRU9Z6NwpXOkKx0TcCRzmRTWdVN0mACf8LqZV6 /q2VWQ7V5ewN8+XJtlylXxaWIJmmZ8y806Pd2QyxXpfWqNfqeXzx7ZRdlXUKRSfpS1hP RUnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=0VQUmgdO; spf=pass (google.com: domain of linux-kernel+bounces-1638-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1638-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id k13-20020a170906578d00b00a1d6e327627si7754995ejq.1030.2023.12.15.12.44.10 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 12:44:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1638-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=0VQUmgdO; spf=pass (google.com: domain of linux-kernel+bounces-1638-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1638-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id CB9AF1F23654 for <ouuuleilei@gmail.com>; Fri, 15 Dec 2023 20:44:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 950EF671FD; Fri, 15 Dec 2023 20:41:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="0VQUmgdO" X-Original-To: linux-kernel@vger.kernel.org Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 866C459E50; Fri, 15 Dec 2023 20:41:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1702672860; bh=13nYBaS43Erb2zaIsqmjcCswwzKBAczeiQDmZKy/7BQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0VQUmgdONlp6DemfkgQSJY2nfgtPZUkSYhTKzKQu/ko3Cfrqz1nrkHG3GVRq/iI9/ MfYfLNFOoQIvbBo1uuagYJtw5sGV48VmDwoF1DEs7VHWXUwi2bYfNmOm7c6mwgB9Q8 bgNKswAoIUCrwoupL5SYqqef4hVreifFVilixkoLFQPnRsXdXvAzukM7SlUKOX+PTo HZ+Oe2cei+aDH2mupPN3PyOtUTy/i0Ob1hEYFJy69kLG+rVWXuxO15aOWyoDPivGjf HFORQoOdkT+2TiDhdQiVIXnK0fbeqDn4obOyZC8WRLup9gqSXXWalHXdSMhYg9MHzx 16udmEwUDGzNA== Received: from localhost (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madrid.collaboradmins.com (Postfix) with ESMTPSA id A26483781FF3; Fri, 15 Dec 2023 20:40:59 +0000 (UTC) From: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> To: "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Emil Renner Berthing <kernel@esmil.dk>, Samin Guo <samin.guo@starfivetech.com>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Hal Feng <hal.feng@starfivetech.com>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Jose Abreu <joabreu@synopsys.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Richard Cochran <richardcochran@gmail.com>, Giuseppe Cavallaro <peppe.cavallaro@st.com> Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-clk@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, kernel@collabora.com, Emil Renner Berthing <emil.renner.berthing@canonical.com> Subject: [PATCH v3 7/9] riscv: dts: starfive: beaglev-starlight: Setup phy reset gpio Date: Fri, 15 Dec 2023 22:40:46 +0200 Message-ID: <20231215204050.2296404-8-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231215204050.2296404-1-cristian.ciocaltea@collabora.com> References: <20231215204050.2296404-1-cristian.ciocaltea@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785382096480207844 X-GMAIL-MSGID: 1785382096480207844 |
Series |
Enable networking support for StarFive JH7100 SoC
|
|
Commit Message
Cristian Ciocaltea
Dec. 15, 2023, 8:40 p.m. UTC
The BeagleV Starlight SBC uses a Microchip KSZ9031RNXCA PHY supporting RGMII-ID which doesn't require any particular setup, other than defining a reset gpio, as opposed to VisionFive V1 for which the RX internal delay had to be adjusted. Co-developed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> --- arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts b/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts index 7cda3a89020a..5ac9961226fc 100644 --- a/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts +++ b/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts @@ -11,3 +11,10 @@ / { model = "BeagleV Starlight Beta"; compatible = "beagle,beaglev-starlight-jh7100-r0", "starfive,jh7100"; }; + +&mdio { + phy: ethernet-phy@7 { + reg = <7>; + reset-gpios = <&gpio 63 GPIO_ACTIVE_LOW>; + }; +};