From patchwork Thu Jul 7 07:48:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 12909182 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7177CCA481 for ; Thu, 7 Jul 2022 07:48:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235133AbiGGHs4 (ORCPT ); Thu, 7 Jul 2022 03:48:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234285AbiGGHsg (ORCPT ); Thu, 7 Jul 2022 03:48:36 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6789E28E13; Thu, 7 Jul 2022 00:48:33 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id t17-20020a1c7711000000b003a0434b0af7so10237811wmi.0; Thu, 07 Jul 2022 00:48:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oh1z//JLoO/Xhoxj5qMgPiUpRrKCA2Fe0sFhmzqNLgQ=; b=BHT8iMi8Wo3uBbfVjI1h09go2zHMfeSMc0nUfP8tJJ1igfG/UGZqI8+jdbL+qgHFnd sga7grW3odh5oOVly8ZRgnF8pQleuEB3WUYuVnlRDWAPKJ8bvrcBZhWxuztS5rDbj7qs Yu4YGERQlFEdVAfGFHCKvxbK9JmXB4cet78x0a9P1y2btDOEhrQ8G4RqvIgKylsI7x43 QASSsasfhgdBZgsKYQhtJ7hLkl0aKKSAqZ0jVCl3fpbjANkcC+jWD2YfWW72lMAbK/Kh f+cwHO2czZqVhpK5gRmwheTe2LP1RSLrOSADaNhyXuuDg09m89Ah+cKum5MmjO9Ff0Rb e10Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oh1z//JLoO/Xhoxj5qMgPiUpRrKCA2Fe0sFhmzqNLgQ=; b=svA0nYh0DRaO4I4pezIOaQTJHQwJr070ioYNa4LzM5zOcUWzQf46rBu+Ujz8wpXfxR BX1cZIPKOiNEUBwfufzVOEncNEJ/oOfgR0EyqI80JRL1higNyP70M/7VUKABIWaKMj9m FXpossS29S/kc9FbZBWCyB+03flqszTMv3ONPRACsy6+i7CJdJ8u4vxLyWQTK/SXx8cC H8u4l4iMHWfNKxNLoUkmvOMYd6s+io47RPXC9r9Y/SYTL1i/6aQndy0uTXUjBd0Uifgy fezHctGG69eDXX2DveJZHTjsdfKR4ho1nOqeBKbTOS71zyaQdtIEpiPhpXLn4wm5XwBs EXpA== X-Gm-Message-State: AJIora86+y7rBc+b9SVLWLclr8UqgaD6B2Lwzfp8FLR7PDcPCWyiPW5J ffnu27dWZZXMR2iM6WiDvUz2VjSa6Rw= X-Google-Smtp-Source: AGRyM1tpyk2bBtixDX+/lBP+Z4mrZSCq7CI4o6CBg1K2yMyGqBnZ/kdl0iTaRApYtqSStOPFe4bAkQ== X-Received: by 2002:a1c:7903:0:b0:3a0:3936:b71f with SMTP id l3-20020a1c7903000000b003a03936b71fmr2938942wme.168.1657180111920; Thu, 07 Jul 2022 00:48:31 -0700 (PDT) Received: from localhost (p200300e41f12c800f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f12:c800:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id n27-20020a05600c3b9b00b003a04e900552sm1972536wms.1.2022.07.07.00.48.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 00:48:30 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Jon Hunter , Rob Herring , Krzysztof Kozlowski , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Bhadram Varka , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v4 7/9] arm64: tegra: Enable MGBE on Jetson AGX Orin Developer Kit Date: Thu, 7 Jul 2022 09:48:16 +0200 Message-Id: <20220707074818.1481776-8-thierry.reding@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220707074818.1481776-1-thierry.reding@gmail.com> References: <20220707074818.1481776-1-thierry.reding@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Thierry Reding A Multi-Gigabit Ethernet (MGBE) instance drives the primary Ethernet port on the Jetson AGX Orin Developer Kit. Enable it. Signed-off-by: Bhadram Varka Signed-off-by: Thierry Reding --- .../nvidia/tegra234-p3737-0000+p3701-0000.dts | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts index eaf1994abb04..8e2618a902ab 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts @@ -1976,6 +1976,27 @@ chosen { stdout-path = "serial0:115200n8"; }; + bus@0 { + ethernet@6800000 { + status = "okay"; + + phy-handle = <&mgbe0_phy>; + phy-mode = "usxgmii"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + mgbe0_phy: phy@0 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x0>; + + #phy-cells = <0>; + }; + }; + }; + }; + gpio-keys { compatible = "gpio-keys"; status = "okay";