Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2060843rdh; Sat, 28 Oct 2023 21:29:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1M48eaAZzDl5+N1VJQ5JLlKO/E9ec7bWD5HsQe6JbF+9a/D/LS6aJMSEafm+CKLcNfDEp X-Received: by 2002:a05:6e02:2162:b0:34f:dfdb:be08 with SMTP id s2-20020a056e02216200b0034fdfdbbe08mr10454308ilv.23.1698553748521; Sat, 28 Oct 2023 21:29:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698553748; cv=none; d=google.com; s=arc-20160816; b=x45Kb/ZRR9dvMqLCPEHNwgN3L3Xers/EhTLKcoIYNCC1vW3eES6lMNfqBA0/p0Kw7x 3suX8C8kp9pYezRyskCqduY5Y9w+kN/x55uUgn6ghhxUOwQqkyp9gV4r2XNuztn8PokY 8ZygY9OZERKLJGUamRztC9lqLNgAISt35WaSq4cuUJ/vCrN0J1R9oJFOdQb8Rf/yrS/x 4eZBTmzsbYByI3prLhtrlZzxVq9vHcG4eklzWiIGTVP4K9QRYghTntbiKg4b/lz2Bhib 8Xcw0N17GhoDB2VOz7YSStWobS6GMRHRt1w8/TZwH11Z5fzO0b1TzZF7umYjLuCJQoHO xWMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=R/hqep9zm/y7eZ0xoDfFl8RD0mDRRfzccEwAWV81eFk=; fh=25s3loOErHHhz1K9ubO5//IshGSacG8hTjzYtMWmGEo=; b=TS1kPdMJbnnCVibiq4NsU7ApRYOqrgUoDZcRyFVnTFdry2gYYzaJQZOotJ9E8Izr5i 8y87baZ9cNywCEMmA9qScap173Vi3nPr6HOa+QyxA1wOjjkrLFgIH4zjC2sm7YPqjPaM qnl/zF9j9QQt5smME4koy7SxSymGtok+b8ck+NnZUOICdq2ZgEetzQoF0mU/RZgUOgMB z1r0I/zo8RIq7fBHSqmmfQvShQjTp19RTH370HQK601lLx//GE6KkM15oBRhzs09dZ0X DgKHHyx5GZdvwZ0Bv3EzuK+QcFCAaWYVa3gGaIDJ3jbVxXtptIKW7R+VazW+3DzvtCql jrjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=X8xz1amO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id f3-20020a170902f38300b001c8944c933dsi3196599ple.380.2023.10.28.21.29.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Oct 2023 21:29:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=X8xz1amO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id EAD4A80A6887; Sat, 28 Oct 2023 21:29:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230198AbjJ2E2v (ORCPT + 99 others); Sun, 29 Oct 2023 00:28:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230132AbjJ2E2Z (ORCPT ); Sun, 29 Oct 2023 00:28:25 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14AA31731; Sat, 28 Oct 2023 21:27:57 -0700 (PDT) Received: from localhost (unknown [188.24.143.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id 6FE22660738D; Sun, 29 Oct 2023 04:27:56 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1698553676; bh=IawNSWO2nYKHHHriF9PdoR+WZ4Zc1Xf7Yl52QH6o0QU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X8xz1amOAUhfC1grOMQOkX6TCY90OvTcGTlMMTuyLOxvgt+jCk+tlII2+qv6mUbzp LjSmLIKhWkpXCnWBw1q08+h8l97XkKbjXckbJTOz8mgbVsRSnXlvxVRKhAhtS03Umc 4SLSJppYNagRnNboB8csnRcflTemiFfXMMRfLqPR8AdoUpL62eqp7y7o59elnkNZwc dhnnjp2a+C26/ld9tNKWr//lm0ZvAemc2RXj4BYDUgRd6CjBxlOlvuj7pO7o+L9XnH 4diRZg6XeYYrXsy9Hp/LySve42JZFWWaFvtfevlo/im6ikISE8WvoSVm0KSbBRkiMw j5f2rWmemIeiQ== From: Cristian Ciocaltea To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Emil Renner Berthing , Samin Guo , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Richard Cochran , Giuseppe Cavallaro Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, kernel@collabora.com Subject: [PATCH v2 12/12] [UNTESTED] riscv: dts: starfive: beaglev-starlight: Enable gmac Date: Sun, 29 Oct 2023 06:27:12 +0200 Message-ID: <20231029042712.520010-13-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231029042712.520010-1-cristian.ciocaltea@collabora.com> References: <20231029042712.520010-1-cristian.ciocaltea@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email 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 (pete.vger.email [0.0.0.0]); Sat, 28 Oct 2023 21:29:06 -0700 (PDT) The BeagleV Starlight SBC uses a Microchip KSZ9031RNXCA PHY supporting RGMII-ID. TODO: Verify if manual adjustment of the RX internal delay is needed. If yes, add the mdio & phy sub-nodes. Signed-off-by: Cristian Ciocaltea --- arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts | 5 +++++ 1 file changed, 5 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..d3f4c99d98da 100644 --- a/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts +++ b/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts @@ -11,3 +11,8 @@ / { model = "BeagleV Starlight Beta"; compatible = "beagle,beaglev-starlight-jh7100-r0", "starfive,jh7100"; }; + +&gmac { + phy-mode = "rgmii-id"; + status = "okay"; +}; -- 2.42.0