Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp475374imn; Tue, 26 Jul 2022 00:20:56 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uVUn2tXYdTNxBJq8a4EpD2ZTaVFybzUqpoYSDVkMsSG2iz7RdHFNSF7mFzCTgke6+XLZLc X-Received: by 2002:a17:90a:5d93:b0:1f1:b730:11bd with SMTP id t19-20020a17090a5d9300b001f1b73011bdmr18308062pji.105.1658820056251; Tue, 26 Jul 2022 00:20:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658820056; cv=pass; d=google.com; s=arc-20160816; b=e31OFwIVNZ1F6ePWQeKIHbwF+wdlFaTf71YSwqA6rbowNe6wvGruJdH06vLBg/lqol hzF4qjRM+WGSuty5g+YzJFn7GJ6MdM+14KmhSotd2izShDk5F3slnMLY1jDXW1eQYYrX yIac/8DxVPG+ubYl7jq2QPVjV04pWuUO2tiFZ9YzulnjDDn03/7BabYo1JQ53KYcJh2J nGqnszO57/l2sv0Wj/gr5loipS2Epq+qLlK60/UmESbDjhpMm8BcYn8QwOUORYDUkj3k O+/9FuBuIvRxwuIOxRUjmXUpS4q/ZQ7Nyi9TLCFA+P3Br4iziMvYyv3QwzZC5EOQpNvm gr3A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eRAwVmY9wygknB+nG7zm5fnssP02DCuG6DgRhkld35A=; b=i50aWhDTiDfKTGkTyEoXnMHuaw6D1a/ujphySCj83h2ruogfOV4Nkxl+F0EN4LRg+V TPjWJwVvKRcBFJ/mObvTDPcVOLrFuAQKj/LF2rE6RpuH+BTOoDjawbGFLyUY6XlzAC+d CCSOFcxTYVFziYuVdTOMiSEHCdisZWR0Z27OnKWeVFe19zytUh9zVzb9Ykj/Wicqn/j6 bMJ5nPZjebQpFa53W4wyLLXsA9aU8THOtr8pocfLeabEyrA2xxLIwwh6ceoE15CW/2k0 SSh/xosfWfGgkxOyrm1JYX16oCt4IdsscDUb+ancWcRHN2wj4RE/TUiUhGFZNAjrxjpu rrGg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=VflKyrUb; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n4-20020a170902e54400b0016d69ade4bfsi7943258plf.68.2022.07.26.00.20.41; Tue, 26 Jul 2022 00:20: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=@nxp.com header.s=selector2 header.b=VflKyrUb; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229749AbiGZGqA (ORCPT + 99 others); Tue, 26 Jul 2022 02:46:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237971AbiGZGpx (ORCPT ); Tue, 26 Jul 2022 02:45:53 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70080.outbound.protection.outlook.com [40.107.7.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4207822B0B; Mon, 25 Jul 2022 23:45:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XuoUOU/KhQUNT7McbMpciqRu1Ma0TDN5IRck3AojxJbaNbm7Ch6ix8YK+valPpLvJ03KyvdV7wgxNSJGhgp1TuPyzujNKMZ8ZYczX0JF9WF3Q2xKz+kGNjDdf3SpSuvvBEJ7Fgnw/Fq6NsVQUUxmyb4IaxfpMAxnyORb9BzGfUJdM4YuTsk356WXNmeZj94fkFjZjZZk4NehPH2EopjWI0QbT0vvkqo+QDwDxFXohxoPu6hW8H2rlhUEv3ct+dGAoU5UP9d+DbWTHt+0p5ZGxD2ArbjeTuXBpNmBXgPg2WlxCS0Xxwb0+WTpxWMwIdvGOasu/PE8DJWznVZMMfQkvw== 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=eRAwVmY9wygknB+nG7zm5fnssP02DCuG6DgRhkld35A=; b=LaBfnNTiA54zWoJLZOzTtz6AtOd2jn42yV5XBzUVuourz7SfC/i8mXEVg6Oebj6T8uD8sYBW+ZKXkbuYd0DcGBoEcINGfdvSKBO6Tg9drJ8GuI+3O82wFXTxGNIkeP3QB1zLFzrB7ZavOH8v8EU90+DVvkn+STWaZjrCXYBY7U9zCZCS+3yrtryqiJfKZ5eUZ/apYJjOt/BaXeda94uqn/FwAGJ1NmXOCvAUdhe+TnxpuD11DMK5khku1KETpI6HJpO5MeYuz8KlO0b3F7IDWlYERgWLG8EIERr+QF5GbF6y7zHo6l91NhlQ0CTPINEG2UEcbZJAw2Gu4BpERjP+eA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eRAwVmY9wygknB+nG7zm5fnssP02DCuG6DgRhkld35A=; b=VflKyrUbm+Ool3M9/zCbsvsQU+khJ/az4f18nvtZv6aou+rrjVBfd+EqzcF/ceWDRyw+7YFx2aI/50iEUQK1VaLJ0MeyDXLwur5IYLWMFKerZAHOJ6Z9UOAk2wdcL+ppm6w9CRG1oHf6mo2BfcFlqJ1qxXHxKmTMy7opos8mx28= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM9PR04MB9003.eurprd04.prod.outlook.com (2603:10a6:20b:40a::9) by VI1PR04MB3247.eurprd04.prod.outlook.com (2603:10a6:802:8::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.25; Tue, 26 Jul 2022 06:45:39 +0000 Received: from AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::3848:9db:ca98:e5c1]) by AM9PR04MB9003.eurprd04.prod.outlook.com ([fe80::3848:9db:ca98:e5c1%8]) with mapi id 15.20.5458.024; Tue, 26 Jul 2022 06:45:39 +0000 From: wei.fang@nxp.com To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peng.fan@nxp.com, ping.bai@nxp.com, sudeep.holla@arm.com, linux-arm-kernel@lists.infradead.org, aisheng.dong@nxp.com Subject: [PATCH V4 2/3] arm64: dts: imx8ulp: Add the fec support Date: Wed, 27 Jul 2022 00:38:52 +1000 Message-Id: <20220726143853.23709-3-wei.fang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220726143853.23709-1-wei.fang@nxp.com> References: <20220726143853.23709-1-wei.fang@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2P153CA0003.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::20) To AM9PR04MB9003.eurprd04.prod.outlook.com (2603:10a6:20b:40a::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0724a80c-c02f-4654-f48e-08da6ed273ee X-MS-TrafficTypeDiagnostic: VI1PR04MB3247:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ftha6vmL/itk+QFeCiFH6JDXiD9PuJbAPAMKP8SmHns4C9ExBNQGhdL8SWFI7TbqYjEV1I0ApsjjuJ1HDzsQagqMp10OtO8TlUro85iNs8cHfLwlpjNWf1BFS9759iqCM1NqJ3MdZ4SkDgNzMNRa5SVFoeFwE1qeEKvSD4/6bIIth7XvGkhGGIA3EkZ/ntKcFbsTOKDkk16/pAYr+sSjinbl3WGi3OJtaXjIec1/dabp+DBXewdu3ttefed8MJhHSr8P334SXfdHWJ6IXV27DEUQT/kuWJW+QThki+T5mjCUtpvuoljKY5vkHWyTLJiw06lJYWcyIHeA9GnRQrn6dhnKEKsRiHaoOcyegUquDJBFff00Gxr+XuueSa1vOgRO+C+dBKOT/HJ+RUHCRmirEBHD3nUy0nEYjOG9vLbXcoDZDpUdPUTUDUF/qjRcEqdydMiaXiRAohd7RW5Oj0187TuVIHmol3/R1M9q1ISpm9uRSiOxBCso9JxP3HWv0FKSEFL0VudPOgviAorqqghvgM5efeKZhFTeT06Er+90TSAISpHwtyLlWI9ehqlr/3UnrbHTxELf6Jch35viqIpV4i1ps39K28WYuTNxOywdZHnWiqrf7MzEaYkzTS9jGOvZYtroJtQRG1QK1RefLSLBOOVbThDpXHK9IwG0KHS+vMB5q4YWNjGEKcs2jXFZ8mogpqEYhGUQ7/eelD7oh+q7JqWuTFsThYb9NOAxniOecRf4lyKXUuRkpriEHDKOZDmut+YB8OXYsguk3SdXR6xU7tYi/FqSjUEyxRDUY/WAst5WyBnekUhK78G7E1uSqdI6CT1IQqotNNRHH9y0ccxk9w== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB9003.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(396003)(366004)(136003)(39860400002)(346002)(376002)(36756003)(1076003)(186003)(86362001)(2616005)(83380400001)(2906002)(5660300002)(7416002)(4326008)(38100700002)(8676002)(66946007)(66556008)(66476007)(38350700002)(8936002)(41300700001)(6666004)(316002)(6506007)(52116002)(9686003)(6512007)(26005)(6486002)(478600001)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?2y5R7jvFFRLLSb5BBYhB9BauYOvhdnaUbcdapa30qfhkyf91bSpiuovOHmLr?= =?us-ascii?Q?hQRplATUX5gl8fYJQGg1okNg1dihUZUeLdip0w2laJBOgR913g9r1+/EwzTs?= =?us-ascii?Q?gGpe6SuWx1NSjJnr8whZTTmDCG6mI3Vp8OZW6QpZwfXRxz4+AfIg8FCsjeyQ?= =?us-ascii?Q?Y7p/jQx0fT5thEUu+YZNKl1qLc4tfGzaqsZJz0TGCS8Dqx5wchbqcjrFmDd/?= =?us-ascii?Q?adbDriBs/UfkiigFxtWLc3Gtj1puDhx9GXL6STbp/x7r884piBYXpR3/QXix?= =?us-ascii?Q?MtScYkNyqi6bbYlRfJzIzxxdejIKHPO105erCUtUuufhRNjz/5K+/dGRIKel?= =?us-ascii?Q?Tbj2K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MJiGORPYw3XhSQF?= =?us-ascii?Q?Ve+7vRJZTRsezf6/M65CgWsZrlyslOZ2js/1QyyPrlZMlZ3WmnrUvqQ6ScZ2?= =?us-ascii?Q?8fPF+VUHE1qf6xAMQ4azH2fjwaQOWZiYPEOCmMmGvL6raz8/JdPmmsKEx4oh?= =?us-ascii?Q?VIxBmbTwDi43Syst+9uqpay2QRWImkWi2Rjkn9sCvep0kVw4/DzlNhd5Lyez?= =?us-ascii?Q?TLHdgvDP4VYreUG2LRqRN/IaWD4YtOvHNkA1DSxTH9T3GaeOVeRxtLorlU2t?= =?us-ascii?Q?hxOT3DjqS7pXxhEtfxI8wtMFeEz9KPO+8KFOhoEyhA+WtwMxJv8qxMU4dO9r?= =?us-ascii?Q?1H3qpBEEjSf3MiJPgwSQanmxT/JNf6utC8OAor5a?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0724a80c-c02f-4654-f48e-08da6ed273ee X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB9003.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jul 2022 06:45:39.8116 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: z7CcddovCXPRMGNytXKWKZEbdlzw313hwONr//3FI/0BRvgAOJu6T1n0zu6SttZ5YSQROkDgv4Rp3hfDybDLiQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3247 X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DATE_IN_FUTURE_06_12, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 From: Wei Fang Add the fec support on i.MX8ULP platforms. Signed-off-by: Wei Fang Reviewed-by: Ahmad Fatoum --- V2 change: Remove the external clocks which is related to specific board. V3 change: No change. V4 Change: Add Reviewed-by tag. --- arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi index 60c1b018bf03..3e8a1e4f0fc2 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi @@ -16,6 +16,7 @@ / { #size-cells = <2>; aliases { + ethernet0 = &fec; gpio0 = &gpiod; gpio1 = &gpioe; gpio2 = &gpiof; @@ -365,6 +366,16 @@ usdhc2: mmc@298f0000 { bus-width = <4>; status = "disabled"; }; + + fec: ethernet@29950000 { + compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec", "fsl,imx6q-fec"; + reg = <0x29950000 0x10000>; + interrupts = ; + interrupt-names = "int0"; + fsl,num-tx-queues = <1>; + fsl,num-rx-queues = <1>; + status = "disabled"; + }; }; gpioe: gpio@2d000080 { -- 2.25.1