Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1376577rwi; Mon, 31 Oct 2022 15:53:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5ZyP6Ek38ROHe6q7W9XhddQQzxwH2gdBat01ld7T3uUWXeXHwKaORk+nXfrEsvU3J+ysEf X-Received: by 2002:a17:907:6e1b:b0:78e:15a3:5be6 with SMTP id sd27-20020a1709076e1b00b0078e15a35be6mr15319621ejc.750.1667256776676; Mon, 31 Oct 2022 15:52:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1667256776; cv=pass; d=google.com; s=arc-20160816; b=A6z0FG0Vn+BfBbk4EfYo+9xd+IPdmRrUrPgyJxLxMx46UecCN7z5CUU/IezEJ/HQ1t 4Cm+hnQp7q26NN9I8D2e6lrrEb3Fvccdb9kA3CXQcQ8CyUr+eRvz1k4m0vpECHwGSk7d 1TkenS4i+2lqwLgB8hZa/Bw9XSUy7VdmQPbMtom99MjhcX5GQqqlERXmxhe+2QXUV9wc kfwm3QPeVUN/2uDbErRi0agS9sNwmYTnIUvWP2KzlfhFQQ7Bta89SGQyfQiedTT0w/w3 zx3LKIKykkRR/jwjfwDp+7tnzXdhLM3qxwPrHKCJB3mKNmJe5yjbpP8lFluUS6qZ3kb9 mFmg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=GL+u7I6vshLxc+lc7f2ceFRJzvgHSy476u86eYMqRNQ=; b=0hzrhs4UGgM1rpFAASLc9IFPWgmaU7gdFeqj2Nq/F4DfSIdkSWa1G27DzoJuMtcPGy O18ZePsquqlgEoeXTXbfS9Z3VIPGRfWDEEDcEzJsWxXFmTGEmcvqiV6s/N9J8ZoqLWM/ 3llYaE8kVaRW/3Ad0wjnHjPGLXWYsLPQ0XwaUGyQK7eI9C7uHpytRJx8hYYlPfnxXV/J 3LL21b2CQb1ZmKvDCxGhSLUPaFfSZsBxi6n3ttSMRLzJLgG2uzL1vroMIY2ttXVZIY1q pGuRrbjHfIzOYovx2r0ZcC/FDa/MFPRoW97kJxCcgt5gXgCNuofX5x7CzW6uJmI60Fk9 fCzQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@seco.com header.s=selector1 header.b=jJLNUfWd; arc=pass (i=1 spf=pass spfdomain=seco.com dkim=pass dkdomain=seco.com dmarc=pass fromdomain=seco.com); 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=REJECT sp=REJECT dis=NONE) header.from=seco.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb8-20020a1709077e8800b0078333d9f17bsi8867919ejc.819.2022.10.31.15.52.32; Mon, 31 Oct 2022 15:52:56 -0700 (PDT) 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=@seco.com header.s=selector1 header.b=jJLNUfWd; arc=pass (i=1 spf=pass spfdomain=seco.com dkim=pass dkdomain=seco.com dmarc=pass fromdomain=seco.com); 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=REJECT sp=REJECT dis=NONE) header.from=seco.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229651AbiJaWUL (ORCPT + 99 others); Mon, 31 Oct 2022 18:20:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbiJaWUI (ORCPT ); Mon, 31 Oct 2022 18:20:08 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2046.outbound.protection.outlook.com [40.107.104.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CC7813E1E; Mon, 31 Oct 2022 15:20:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N80kpR++TYJC8kbGPZtfentlKFhyaNNPikZArmnIBw5Y3IYjGT/FsiUtGBuztdgr0U+asEfsDcfd00EJtexndD0BOHBAZk3Qlp4D99p271RXlbQX2DKNAiSpxWEvawO3Y7F2LAx2tved7KdcoztyDuKKrn8kj3vOaU8r5R0LKqc7RJbOz3Kzy6P/WtiZNmtn76CSjDk8UPZmCxUC9E8YBR7S+cqVOhVY6syX0Sh1cIk+pEPATwHqBLrMnzUMp+Hd38HfZN7LwA0ncctB4v97a/DE4+1OyIDxc7xY1xkpRQmdcvReRFmjdH3Aa/Efni/cLyzr7uBfeoJ7dOSyFbd8vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GL+u7I6vshLxc+lc7f2ceFRJzvgHSy476u86eYMqRNQ=; b=LGoeb6sHm+Rt1LljvLMFgyZX2kHmcPzzcUxv29YXFYlv2CsesWAigzCeYEsmqrFotGetmmYaOpYH80/ePAXrtwgW0hYLVFkVpSkfLPLg2mSoSbOBLTDc/p6lAjTmOTnS4wcXQx5d+X3WtSbL507JLsuUcOn1EFunRjqw+f3jdw8B4pH7xOnfjlkuhgY3JurU+mfalNLf4f+h4y/XHUuKyjPfhbQaYeGG1qTQWdakp72QkAgak+V4/WAEEXAlMw7uoFYfj7eMdu00AePEKAZcpTCjo2jsOjDpu3/mmv08vsuZnydDKijZsaxwGaUFv/Gj0AVghHRQlRCeS8oxDQRX8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=seco.com; dmarc=pass action=none header.from=seco.com; dkim=pass header.d=seco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seco.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GL+u7I6vshLxc+lc7f2ceFRJzvgHSy476u86eYMqRNQ=; b=jJLNUfWddmcW32lnVn5VVJf3MGPtghLkvq7d6NwFCxTNP+Fed1myItpeVN905Xr2PgVKtSfNNeOWTgcDWOqM6V7/zTfpN0JzM+7BCeIgpa+Gl9+hqYriFiWbyjokjbEtWsa5wcP0Gwpu4h9nbWaCVCgSitKIqHnKGUveFC1WQur/PyF7VfLRJyfK3vzbmZs2I7v6+yKjeIgkuNuUu4aE5CgqTM+Fj4n0WvTL3+ay4zTUjmEJd6KkqFUHQX9kQcBjD3pR4sIJ81DkBIW9vF2TCqUa6HJaJK3Ija6GgMTnmdgF03TF0tS/Ha1BhptVRVDWWVlg1b+hLU7HWbilyshB5g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=seco.com; Received: from DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) by GV1PR03MB8454.eurprd03.prod.outlook.com (2603:10a6:150:59::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.19; Mon, 31 Oct 2022 22:20:03 +0000 Received: from DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::9489:5192:ea65:b786]) by DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::9489:5192:ea65:b786%7]) with mapi id 15.20.5769.015; Mon, 31 Oct 2022 22:20:03 +0000 Message-ID: <7aa0afe7-5bbf-b213-c83a-72ffdc19a8f1@seco.com> Date: Mon, 31 Oct 2022 18:19:58 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH net-next v7 08/10] powerpc: dts: t208x: Mark MAC1 and MAC2 as 10G Content-Language: en-US To: Camelia Alexandra Groza , "David S . Miller" , Jakub Kicinski , Madalin Bucur , "netdev@vger.kernel.org" Cc: Eric Dumazet , "linuxppc-dev @ lists . ozlabs . org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Russell King , Paolo Abeni , Benjamin Herrenschmidt , Krzysztof Kozlowski , Leo Li , Michael Ellerman , Paul Mackerras , Rob Herring , "devicetree@vger.kernel.org" References: <20221017202241.1741671-1-sean.anderson@seco.com> <20221017202241.1741671-9-sean.anderson@seco.com> <348c4b17-1e2a-cd30-b0e0-3a88c24aafec@seco.com> From: Sean Anderson In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BL1PR13CA0025.namprd13.prod.outlook.com (2603:10b6:208:256::30) To DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR03MB4972:EE_|GV1PR03MB8454:EE_ X-MS-Office365-Filtering-Correlation-Id: 31cf6e5e-411f-4550-e1ed-08dabb8e0e3b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uB7PzMQwnew+pYEMGtywFhNPSX0IGP/nrGEq/uGpIJAeDWvgS30ci0Q9c5FluJIt1SVuL9eww00TmBPVHEjZa4kf9JIb75bs9BEr5UN9/kQ3ipGNsXR2dKuIK+pMETHLhfV6T4fRaP7p+QRGS93BkobbnJcXGAsMec6eHw5ift4rvTHm7gGbIAX8y3+/fQjNo9C4YpxDLLpVfpMiF1PPxywdykshRLA1pJyoWVD/07IQyAY6kNyat4pm4cZd64RCT9RM/TGYu4HyS5ynxgpZyKPXgCPArgca53kDfXTFWv6Kq/P4Cw3rCFxcK7B4yUEYPvpxowDXmSG8ndcgwo94ecB8CnY6ap2CwkTrJSM0CPn7BtlLI/i1J/bGbnLqZaBIvq+KB3MDt6cyu6ua6teDNTz9LmG5Lg7d4+c78dnRIZOcNwFdAUfate1a3pyOSpQjVUrGHPwgaUIDR+ahp6AUV1rboD7xGwED8g8+42mBh4GZ5QnHuQgJEOJexTPf4tkAq1908u0vWy1gKekfntMyT77MzUhtK0GU5nQ9aoLuOOW+iYEMQen0ObtvwafnM0DVYI9gK0oLfd3+5XlIxOru3CvLMqhOItIrjSbqNR7GZFJDZb2JktwGGlE3QU9MXTHF4uL6p/ER+O9LCb0rfGbQtr5yF5MW8WZfQq6sfDXDlDn7YPi1ZTqCNkKb1ghwctj8UW1BAv75B+cJS3ltNj1Gk4H0NGVLBBM19v7sgI3jLyWzOU26wAeHQOHGXvSvw/l3BMZ9lOdvT7GqcO4mLSWUNY7LUt1kSC9CmWJv3iYX/9eRC0Z5PK+AVl5Uw3b2VhL/ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR03MB4972.eurprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(39840400004)(366004)(136003)(376002)(396003)(346002)(451199015)(86362001)(83380400001)(478600001)(6486002)(186003)(110136005)(2616005)(8936002)(38100700002)(38350700002)(316002)(7416002)(8676002)(4326008)(41300700001)(66946007)(66476007)(2906002)(66556008)(44832011)(54906003)(31696002)(5660300002)(31686004)(6666004)(52116002)(6506007)(53546011)(26005)(36756003)(6512007)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?d0NoV0tQSWNYWEd0SHRBOE5BVVFNUm5ZVlcxSnZJK3FXSHoyVEFUaS9HUVh1?= =?utf-8?B?cDNlSHVvS2RiQk5FR0FZTE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=?utf-8?B?cFdKZUtoSEpvbXNYbE1yUytLelRTS3psVE1ON3FteEdIYWNiaTBMWDdHa2dl?= =?utf-8?B?UGZmZ2ppYXBRK1hlaFRSRXFRVEltcUp2cnovZmNCclpaOTNlK3M4Zi9iYUVH?= =?utf-8?B?bHFCbHRhNGJacFJKazNYLzhYMFBiNVMvd2wwaVo5Q0M4eFdtelh4eTJoSXBE?= =?utf-8?B?NThIRUM0aTAzV3pDa1NTNVppT2V4bkErd2ZnR3EveEk4bUVYQllrUHpnZ2lP?= =?utf-8?B?TVlPU24wbHRkaWhXYWJDQkxSRmpxYW9DVlA1QXh0dDUvdm1HTU5WRDJJWllB?= =?utf-8?B?VFE9PQ==?= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 31cf6e5e-411f-4550-e1ed-08dabb8e0e3b X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4972.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2022 22:20:02.9745 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bebe97c3-6438-442e-ade3-ff17aa50e733 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 86kbBs6aicCahHsJCGtU56V5sKPRyqpLRhzJrmmM7UP3kA++80haj66PlvsHoIMytNlOiQK3ELK2fLDzRLLEiQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR03MB8454 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,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 On 10/31/22 10:12, Camelia Alexandra Groza wrote: >> -----Original Message----- >> From: Sean Anderson >> Sent: Friday, October 28, 2022 19:55 >> To: Camelia Alexandra Groza ; Sean Anderson >> ; David S . Miller ; >> Jakub Kicinski ; Madalin Bucur >> ; netdev@vger.kernel.org >> Cc: Eric Dumazet ; linuxppc-dev @ lists . ozlabs . >> org ; linux-arm-kernel@lists.infradead.org; >> linux-kernel@vger.kernel.org; Russell King ; Paolo >> Abeni ; Benjamin Herrenschmidt >> ; Krzysztof Kozlowski >> ; Leo Li ; Michael >> Ellerman ; Paul Mackerras ; Rob >> Herring ; devicetree@vger.kernel.org >> Subject: Re: [PATCH net-next v7 08/10] powerpc: dts: t208x: Mark MAC1 and >> MAC2 as 10G >> >> On 10/28/22 12:30, Camelia Alexandra Groza wrote: >> >> -----Original Message----- >> >> From: Sean Anderson >> >> Sent: Monday, October 17, 2022 23:23 >> >> To: David S . Miller ; Jakub Kicinski >> >> ; Madalin Bucur ; Camelia >> >> Alexandra Groza ; netdev@vger.kernel.org >> >> Cc: Eric Dumazet ; linuxppc-dev @ lists . ozlabs . >> >> org ; linux-arm- >> kernel@lists.infradead.org; >> >> linux-kernel@vger.kernel.org; Russell King ; >> Paolo >> >> Abeni ; Sean Anderson >> ; >> >> Benjamin Herrenschmidt ; Krzysztof >> Kozlowski >> >> ; Leo Li ; >> Michael >> >> Ellerman ; Paul Mackerras ; >> Rob >> >> Herring ; devicetree@vger.kernel.org >> >> Subject: [PATCH net-next v7 08/10] powerpc: dts: t208x: Mark MAC1 and >> >> MAC2 as 10G >> >> >> >> On the T208X SoCs, MAC1 and MAC2 support XGMII. Add some new MAC >> >> dtsi >> >> fragments, and mark the QMAN ports as 10G. >> >> >> >> Fixes: da414bb923d9 ("powerpc/mpc85xx: Add FSL QorIQ DPAA FMan >> >> support to the SoC device tree(s)") >> >> Signed-off-by: Sean Anderson >> >> --- >> >> >> >> (no changes since v4) >> >> >> >> Changes in v4: >> >> - New >> > >> > Hi Sean, >> > >> > These changes prevent MAC2 from probing on T2080RDB due to >> insufficient FMan hardware resources. >> > >> > fsl-fman ffe400000.fman: set_num_of_tasks: Requested num_of_tasks >> and extra tasks pool for fm0 exceed total num_of_tasks. >> > fsl_dpa: dpaa_eth_init_tx_port: fm_port_init failed >> > fsl_dpa: probe of dpaa-ethernet.5 failed with error -11 >> > >> > The distribution of resources depends on the port type, and different >> FMan hardware revisions have different amounts of resources. >> > >> > The current distribution of resources can be reconsidered, but this change >> should be reverted for now. >> >> OK, so this patch does two things: >> >> @@ -37,12 +11,14 @@ >> cell-index = <0x8>; >> compatible = "fsl,fman-v3-port-rx"; >> reg = <0x88000 0x1000>; >> + fsl,fman-10g-port; >> }; >> >> fman0_tx_0x28: port@a8000 { >> cell-index = <0x28>; >> compatible = "fsl,fman-v3-port-tx"; >> reg = <0xa8000 0x1000>; >> + fsl,fman-10g-port; >> }; >> >> ethernet@e0000 { >> @@ -52,7 +28,7 @@ >> fsl,fman-ports = <&fman0_rx_0x08 &fman0_tx_0x28>; >> ptp-timer = <&ptp_timer0>; >> pcsphy-handle = <&pcsphy0>, <&pcsphy0>; >> - pcs-handle-names = "sgmii", "qsgmii"; >> + pcs-handle-names = "sgmii", "xfi"; >> }; >> >> mdio@e1000 { >> >> First, it marks the ports as 10g. I believe this is what's causing the >> resource problems above. > > That's right. > >> Second, it removes support for QSGMII and adds >> support for XFI. This is a matter of correctness; these MACs really >> don't support QSGMII, and do support XFI. > > Correct, these MACs don't support QSGMII on this SoC. > >> As I understand it, you can >> run a 10g port at 1g speeds, it just won't perform as well. So I think a >> more minimal revert would be to delete the fsl,fman-10g-port properties >> in t2081si-post.dtsi. > > Since these two new dtsi files are included by only one SoC, I don't see an > advantage in adding these properties and then deleting them. No other > users benefit from adding them in the first place. OK, so would you prefer just overriding pcs-handle-names in the SoC dtsi? --Sean >> That said, is 10g even being used on these ports? I included this patch >> in order to avoid breaking any existing users. > > It is used, though less efficiently, with fewer FMan hardware resources. > > Camelia > >> --Sean >> >> > Regards, >> > Camelia >> > >> > >> >> .../boot/dts/fsl/qoriq-fman3-0-10g-2.dtsi | 44 +++++++++++++++++++ >> >> .../boot/dts/fsl/qoriq-fman3-0-10g-3.dtsi | 44 +++++++++++++++++++ >> >> arch/powerpc/boot/dts/fsl/t2081si-post.dtsi | 4 +- >> >> 3 files changed, 90 insertions(+), 2 deletions(-) >> >> create mode 100644 arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g- >> 2.dtsi >> >> create mode 100644 arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g- >> 3.dtsi >> >> >> >> diff --git a/arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-2.dtsi >> >> b/arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-2.dtsi >> >> new file mode 100644 >> >> index 000000000000..437dab3fc017 >> >> --- /dev/null >> >> +++ b/arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-2.dtsi >> >> @@ -0,0 +1,44 @@ >> >> +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later >> >> +/* >> >> + * QorIQ FMan v3 10g port #2 device tree stub [ controller @ offset >> >> 0x400000 ] >> >> + * >> >> + * Copyright 2022 Sean Anderson >> >> + * Copyright 2012 - 2015 Freescale Semiconductor Inc. >> >> + */ >> >> + >> >> +fman@400000 { >> >> + fman0_rx_0x08: port@88000 { >> >> + cell-index = <0x8>; >> >> + compatible = "fsl,fman-v3-port-rx"; >> >> + reg = <0x88000 0x1000>; >> >> + fsl,fman-10g-port; >> >> + }; >> >> + >> >> + fman0_tx_0x28: port@a8000 { >> >> + cell-index = <0x28>; >> >> + compatible = "fsl,fman-v3-port-tx"; >> >> + reg = <0xa8000 0x1000>; >> >> + fsl,fman-10g-port; >> >> + }; >> >> + >> >> + ethernet@e0000 { >> >> + cell-index = <0>; >> >> + compatible = "fsl,fman-memac"; >> >> + reg = <0xe0000 0x1000>; >> >> + fsl,fman-ports = <&fman0_rx_0x08 &fman0_tx_0x28>; >> >> + ptp-timer = <&ptp_timer0>; >> >> + pcsphy-handle = <&pcsphy0>; >> >> + }; >> >> + >> >> + mdio@e1000 { >> >> + #address-cells = <1>; >> >> + #size-cells = <0>; >> >> + compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; >> >> + reg = <0xe1000 0x1000>; >> >> + fsl,erratum-a011043; /* must ignore read errors */ >> >> + >> >> + pcsphy0: ethernet-phy@0 { >> >> + reg = <0x0>; >> >> + }; >> >> + }; >> >> +}; >> >> diff --git a/arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-3.dtsi >> >> b/arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-3.dtsi >> >> new file mode 100644 >> >> index 000000000000..ad116b17850a >> >> --- /dev/null >> >> +++ b/arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-3.dtsi >> >> @@ -0,0 +1,44 @@ >> >> +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later >> >> +/* >> >> + * QorIQ FMan v3 10g port #3 device tree stub [ controller @ offset >> >> 0x400000 ] >> >> + * >> >> + * Copyright 2022 Sean Anderson >> >> + * Copyright 2012 - 2015 Freescale Semiconductor Inc. >> >> + */ >> >> + >> >> +fman@400000 { >> >> + fman0_rx_0x09: port@89000 { >> >> + cell-index = <0x9>; >> >> + compatible = "fsl,fman-v3-port-rx"; >> >> + reg = <0x89000 0x1000>; >> >> + fsl,fman-10g-port; >> >> + }; >> >> + >> >> + fman0_tx_0x29: port@a9000 { >> >> + cell-index = <0x29>; >> >> + compatible = "fsl,fman-v3-port-tx"; >> >> + reg = <0xa9000 0x1000>; >> >> + fsl,fman-10g-port; >> >> + }; >> >> + >> >> + ethernet@e2000 { >> >> + cell-index = <1>; >> >> + compatible = "fsl,fman-memac"; >> >> + reg = <0xe2000 0x1000>; >> >> + fsl,fman-ports = <&fman0_rx_0x09 &fman0_tx_0x29>; >> >> + ptp-timer = <&ptp_timer0>; >> >> + pcsphy-handle = <&pcsphy1>; >> >> + }; >> >> + >> >> + mdio@e3000 { >> >> + #address-cells = <1>; >> >> + #size-cells = <0>; >> >> + compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; >> >> + reg = <0xe3000 0x1000>; >> >> + fsl,erratum-a011043; /* must ignore read errors */ >> >> + >> >> + pcsphy1: ethernet-phy@0 { >> >> + reg = <0x0>; >> >> + }; >> >> + }; >> >> +}; >> >> diff --git a/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi >> >> b/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi >> >> index ecbb447920bc..74e17e134387 100644 >> >> --- a/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi >> >> +++ b/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi >> >> @@ -609,8 +609,8 @@ usb1: usb@211000 { >> >> /include/ "qoriq-bman1.dtsi" >> >> >> >> /include/ "qoriq-fman3-0.dtsi" >> >> -/include/ "qoriq-fman3-0-1g-0.dtsi" >> >> -/include/ "qoriq-fman3-0-1g-1.dtsi" >> >> +/include/ "qoriq-fman3-0-10g-2.dtsi" >> >> +/include/ "qoriq-fman3-0-10g-3.dtsi" >> >> /include/ "qoriq-fman3-0-1g-2.dtsi" >> >> /include/ "qoriq-fman3-0-1g-3.dtsi" >> >> /include/ "qoriq-fman3-0-1g-4.dtsi" >> >> -- >> >> 2.35.1.1320.gc452695387.dirty >> > >