From patchwork Fri Aug 18 11:10:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13357758 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E7E7DC678DC for ; Fri, 18 Aug 2023 11:11:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zCAZ1PgyKFluPWfCj+L2c8L5Fy1UZDw4gmb0W0onIPw=; b=fNCME24FbSv8+W RRo+ikTYsdK4K8rTLFiJCPlHbw/ZGPc/SASbhxo5cGtVqfbvkaokjRp1Bw/q5uKbXqOxU46H8s4Jn KSL9rCHlEwZOnK2KPH2nNUkR/qfFtChrtYMYvp6orwTmR3hGqTfpWbvZpIBZQRM/rCDPpguML2Sga Xmc+3HlMbEbx4f6XSzgPCa9LwGldksYmdBp1QWjZv08YjczhDLFOLfWQBhdikA3adNGek8di/GNYT DMkCiXYavFMzagM4iK6716TQ34/ahfl7XyNpk/O8EL6k4CSmgJuR/FSAQxqvNW6OTM4C6lolGlNjv g2RXyAONyNdoJY0lY7rA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWxNW-008XsB-2s; Fri, 18 Aug 2023 11:10:54 +0000 Received: from mail-ve1eur01on062a.outbound.protection.outlook.com ([2a01:111:f400:fe1f::62a] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWxNT-008XlM-2H for linux-arm-kernel@lists.infradead.org; Fri, 18 Aug 2023 11:10:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jn3SUCJUmSkTxPpQlj0XwinygGKkiNf2RO2Gnz12VVGOGlvJLy8Cwo5H3g+C22Z2aXIQ9ik2Ls7Q03KZ8zcAkPrSsb1Uh9N+xaLFAeYvgI3dL2l37Imt4UL9IfquHgp7v2TIgOfFAPCIRklyLFbrsLIBau5fWgO/qWI1fS4T/+aMSDOkDmc3HmBu4VwMpfLkWnPnA/BMLMjvrngLvHkPUisPk1GWBvxcdn2id9XuZnplN+e/AqjqUI6i+lv31vBoHh8X9Qe8Fo6ArXl6qytHw4XQ5W262M//nN7x0+uT4cNFqYn7y1p1faJ0BUnHU0T5+ne2u02cQVPrOwSRiCNQrQ== 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=o/oJK3L8/faPZKuS1naDiEV8EXazESuyl8z36nUpH5M=; b=Vge8Ye7PvE4E2kHvaIGGEhwqzeba0pwjwiU2kR1CIhHZA/bHJMvOTiPeLjkwfJOMgww3gOYGgzSkfP6z8JaD0DUpG4repzZUpoSUtvBg/1b3hoPAXmmdNQJsWLBw/o9sMxYw+YMlmga+O4QGo2U/rK1R9SrtI0UG4LRCG8AguBB8wSXkux1saJMsiFwsUlPHMxLtJJkrO2hRSYhZOI+X0H74MtLFw9lFqKsqzmO8EIK4l6XtO4sOgUVVh9314qd1zpchrDLkyHSJOLMVQYGOoe3LF7RJm27MPxbQ2c/HrmfeAeIRhRuPISYmwHy1KKCsy8hOVA5vyxQS2G7huFLjrg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=o/oJK3L8/faPZKuS1naDiEV8EXazESuyl8z36nUpH5M=; b=dPlrzcLB4bPF9odAOrmE/mQGv3nKR0yfwdwzjYomikzC93V8UipkGZzuDH9rNOkmddr0gugt1Kvw4+utQWD+B/+pt2En3rZTGXWU3FMruAY2rl1A8V8ksQOmWPY2CXe6GjXlhF32Zoj8+a4k+/QUU9IAvbJ6LxDoxjAiePsHpXY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by DU0PR04MB9441.eurprd04.prod.outlook.com (2603:10a6:10:359::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.20; Fri, 18 Aug 2023 11:10:40 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::c19e:3b5a:c081:ce3b]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::c19e:3b5a:c081:ce3b%4]) with mapi id 15.20.6678.031; Fri, 18 Aug 2023 11:10:40 +0000 From: Josua Mayer To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Josua Mayer , Shawn Guo , Li Yang , Rob Herring , Krzysztof Kozlowski , Conor Dooley Subject: [PATCH v5 1/4] arm64: dts: lx2160a: describe the SerDes block #2 Date: Fri, 18 Aug 2023 13:10:13 +0200 Message-Id: <20230818111016.11271-2-josua@solid-run.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20230818111016.11271-1-josua@solid-run.com> References: <20230818111016.11271-1-josua@solid-run.com> X-ClientProxiedBy: DO3P289CA0013.QATP289.PROD.OUTLOOK.COM (2603:1096:790:1f::16) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DU0PR04MB9441:EE_ X-MS-Office365-Filtering-Correlation-Id: 6649ff36-3fc1-44ab-e02b-08db9fdbc1eb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Kvsw7qvVi4hbV5OnSv13eRDV6r/7FBXgzL9CxGdNsehc8TmwhdZWJw+8PFxpMOOr4F5oqJwiJMDzbtodF4L+GvEYAhAvSkuXftaV19KpiwW3KSV29Eu//zz/oWGQK5IJ/YscQUSt27Gkti13isX6km1+UBkBEKZK3nMxpcVzQhdZVyvX4sCNwQLv4Sw4pliw0nygJxv9doTP/pR+QoHEi1B4HJPV7Od+TM54imD9iwYjaITxMRc/wLXEuIYeVJA0dvefQzR6na61B/WOT7E1CH/J0jhmWQWiKH1tdhAPgN9dZ5xR76bwijIwvtWlJzXW4oLl6Wl+guB6D9OfatXJPQJn0c1aUpAIL7sw1CjczRYaKnuUsIFUInXhMSIr0C/EfRwbZ2AMjuHW5yz9nIWVhDVavj7kAmUV2WA+rVZaU7Ga+bcR1cpFj72MisXK0rBG2WAFzbEi/ukx7Uoi1PmLy4EiAI1liYbUE4ihRw2WnKhK+dR12V6UfEq/yIqslJG56d28wEgCsepsqwnbJkCCJ0UfzvDSrhdmRlJT3VoPUeevXmXFVz3KJM5yI4zwgftJ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8963.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(376002)(346002)(396003)(39830400003)(136003)(451199024)(1800799009)(186009)(316002)(2616005)(1076003)(6666004)(6486002)(6506007)(52116002)(6512007)(83380400001)(4326008)(5660300002)(8936002)(8676002)(2906002)(4744005)(478600001)(41300700001)(54906003)(66476007)(66556008)(66946007)(38100700002)(36756003)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZdWM965hmJZUHThuoU3sSmQcQunaqqqEPxPk9GooDG9CFnXHzC903RJg6k5ifQBnL69cFMkai8ydKouOcnagjkuSU+pyxqMQUsnb1cWWkU3ywDfjyFgH++HzCllIAbDqrJCr2HKpubojpCvrO3uRTxrcko6Vjzci4bbROtXWzGa/aPInaU+iPDz8FcUnwmJ+Sg23n0ZcWkknAGGqsSlNhC2HZ1Lc6l+0hZi5G6ZdTo2BITSrCTGIYR28lI32xVt/wVlLzVXonrH2bOTcmmu6og7yO3XcvZMnpZe+cbSuNm3uVptyT+GqrAFRTMwAYtRjjjE6zZER2MVZEuTNZOIenjZmecxtr9L2FfySaYrqryHHx8PlX3BGY2L7mBZOmcyTD+ku/mJ6oXpdvhM4P22w0UHSKQeMElkhUZO7s3azVhUu3F9SVsuXVWV+nlJxu6M1UbMhatIanPoD3lOXXL0lMn9Heo9cpuFsnJV9ahSChBW87EOzR1uKXMpI9JqLOze4yJidhW08jwdvCUu6DJKJxfGBOTOhwg3s3Zi+lU1vQXvuNFdccyfjDizR3ZBHtffxhDiOVFodJzOVJ3wjOOeaW4Uh8AiuDTqKAbD0wEg6K2xkx/KLmQexPTfIkDzY7OWH1P8y575urk5GhE57561m1vsLuWvIPlr7r/Dh8oG5Eaz/bMRW63DBKlD9AJb0A6aCRz1Kh96srjstLWmzaTV+IYxVTftJkkQ3yGoysFQUi2IAu9kwRi3O99jZm70IuX6JX0ICvF6chHTjp0JiP8kF83E1A5KkY+5Op4wW3tT8fR7SKwn7p6uSz6KSCHK2r0FN8HpScFqzu6p8SJPqpOdjHzA6NmUb1nZrUwaYPLUnLorihB0+jcdadPTZCTNJON64vMUWaimwFWPLhxzM2SwsGmq4tWzfSsDtbgVH/7l7VWkHx9+ILO+ZWprL5wVR/Ai0WQ45NFzMNWM7UDIso1ipen/Sn/+XRSxhN8scGItRLsZaFRIPGTYgD6nPqWvKMbPW//6RQgNjTkCQ0yuOKKXB6JoyW5YmM1KriSaveBmKyjIsleqCwwfF5bsgV4YGWeyOfypYy+mr2085jPd1SYzjsXmgJH8T6IbGExh55BXVoxaWoueJbqYT+xLLPzHEwI0ObHcxJKRAWLIpcxmsM+2iDYps52etdlWhvfIAwlPbU2WaxqmWoEJYMD1l68u5DNfRXhnlpx2iVMu7OsDQRARxLScAQmKYnW8ekGvai/7kZSK5ThvjNm9MYhARJNklqqHsmCK5C8apjlDPDVj5cKoCiMYlVpcbJ0MtCEJWGH4xXn7F4m8sSGNVSrC51Q6N2PlexRRCxvJ4UTFE+wQmLr82TVJ+75bb3/rDEP0Y+0Jpsp1F+I2sw0VshZORvWz9B3GRwM+RtZzy2mlIdxBu05T5FAPTvLnXuZEnhdlO4iIHF4+AXvpnUMCHKQRNXpo3UnSB+MVkaldMsN6WP6DVllnpEatKqOsNgp5KXXAFalE+jhJaUUpdF9t4pvbVTvPzUwh8ndmGqbd/x9GkllrjXdwkW3ym8esx/gaWrZyjCbrg39OOnLlXqvz1R8neu2ApmWHU04B7M7llnqlhk7HLt5W6Vw6nvwIj5qzYgpjhCFAfK8A= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6649ff36-3fc1-44ab-e02b-08db9fdbc1eb X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2023 11:10:40.5915 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: xx+p6iNx3xoN2m60ucv9YiK/xMbI/efRJNNr8Ajl0yRlWbiNCYuYubfOLQnzfUfPkijiMWaqTbXe7G5xj3dp0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR04MB9441 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230818_041051_767925_E439A316 X-CRM114-Status: UNSURE ( 8.99 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add description for the LX2160A second SerDes block. It is functionally identical to the first one already added in commit 3cbe93a1f540 ("arch: arm64: dts: lx2160a: describe the SerDes block #1"). Signed-off-by: Josua Mayer --- V4 -> V5: expand commit hash reference in commit message arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi index ea6a94b57aeb..2e68c05181dd 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi @@ -626,6 +626,12 @@ serdes_1: phy@1ea0000 { #phy-cells = <1>; }; + serdes_2: phy@1eb0000 { + compatible = "fsl,lynx-28g"; + reg = <0x0 0x1eb0000 0x0 0x1e30>; + #phy-cells = <1>; + }; + crypto: crypto@8000000 { compatible = "fsl,sec-v5.0", "fsl,sec-v4.0"; fsl,sec-era = <10>; From patchwork Fri Aug 18 11:10:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13357760 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7A364C678DC for ; Fri, 18 Aug 2023 11:11:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+GFa0f/xVAI3Ijz8EOblIAfsqllmNssADPemQRR3u3A=; b=fbLIAdGxjidUKy ur15NCsvTNyQfKlt7yc4oeWRdFq3Odrs9KwWp3JrNwFLRPSdMDBU/ngfbmbPgY6wYAU5EHUWjCVYa ob9gQNsxSUwnufjKRud7kvsrasotO7lIsFYBMpIONn40wLXahXVVquoZYhQQBZlRIAE1CyRjg9Rzt c6k9kJri6Il0jrx9jXa32cwlx0/rKloM8cJJeoDmTRfpkh9Y/8Ep9EfdZhD+U+Zs7WQfdvYAeAAh4 ODlZ2bfEhYqB0/So54LYl8UekF+NjCsCdaLhSBmTjlWPyo6aa5yjqE6aCOeA0ZKOVY+GomwTR0bhq OdT4/zUyDiH5ToXcgVHw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWxNk-008Y24-1H; Fri, 18 Aug 2023 11:11:08 +0000 Received: from mail-ve1eur01on062a.outbound.protection.outlook.com ([2a01:111:f400:fe1f::62a] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWxNV-008XlM-1H for linux-arm-kernel@lists.infradead.org; Fri, 18 Aug 2023 11:10:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XtrtAsBTNEItkmJIFrWKOzKjNEq3+TmXLgoNNl7ejgaZddudUunKVgOYzvdHyMm02PzrefFaRUdwU9ymGpVZYCni8WKQlLigIa1q9iAQwQOld3QUPB/Zqr8bcy3RatJiLRroFxu2f4m/KEoHd9mS3wSG1JFPZzYTTHQOh9d/YOco/NQO885jzV/CbzBfQD5YXlEudp5Xp9GK0D0YhcC3ZxTRHI5FX5dRy4m6ZMUtKVp1ur/pWMfTk2VZCK4ml2q3I1++Ikkw+okvMDQGYaImj8tFI8iT9An3Pk06bEbzXHpu/f7H8TazhpyjlfsrMdXOZgdXA5wt6bHkGH+d9o8OJA== 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=K0B3b/ucyjOAYWlQFGDQjlTeWZr8CxeOTg0uej/vw2o=; b=h1S1Gc0bBNJpS/sL6sg2FQEwi5oYWBnOJkaTNcsqwmgufFFhlPIEiv6Mh18JYfIBk4/t699XUHSEn9XcdJm7CFBet5pN/vHNfq9PXCBnpQ5lPBlSULSPDJjDr4vhyELgMKKtxJPzn7SgCoezJzDgjzUVPGRscm5dJY4yuGhDjHgG197sz5XH45/sLAxftsTG+VTjjyWbvuRnbfne3JTw6QoRGJ2+xFkU1isGSa6DD+wed0YE4rSdvLP8hHc8GX9YGUEadLDxlFGRPpjXagiMzlkmnvU67DeeKDfXPLdpv8nWuycfnHC4KR8zY5QbnbEAnBeYeE2O7Jv9NBsvhH9ZRQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K0B3b/ucyjOAYWlQFGDQjlTeWZr8CxeOTg0uej/vw2o=; b=PhRdCliupZkjgIVFbFHH8lWY19SWcXuPJPaURCSJ9MDKEkTGcGuai983bssdRDS/ajgeuJhYTgJU2ATCqjNrx+2oKPyRWCNx5MFuhTNJhfC9fzhxqprqNQm5VJafYAI3ruk6tkzpR2DB2Z7Q8Btjve74XhxJkTN70FPp6a1mB24= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by DU0PR04MB9441.eurprd04.prod.outlook.com (2603:10a6:10:359::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.20; Fri, 18 Aug 2023 11:10:46 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::c19e:3b5a:c081:ce3b]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::c19e:3b5a:c081:ce3b%4]) with mapi id 15.20.6678.031; Fri, 18 Aug 2023 11:10:46 +0000 From: Josua Mayer To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Josua Mayer , Krzysztof Kozlowski , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ioana Ciornei Subject: [PATCH v5 2/4] dt-bindings: net: dpaa2 mac: add phys property Date: Fri, 18 Aug 2023 13:10:14 +0200 Message-Id: <20230818111016.11271-3-josua@solid-run.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20230818111016.11271-1-josua@solid-run.com> References: <20230818111016.11271-1-josua@solid-run.com> X-ClientProxiedBy: DO3P289CA0013.QATP289.PROD.OUTLOOK.COM (2603:1096:790:1f::16) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DU0PR04MB9441:EE_ X-MS-Office365-Filtering-Correlation-Id: a187c452-47cd-43d6-6c4e-08db9fdbc529 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GKSxJppszT4u/8PDg1uxYlpM5DAPhItr6tV49OcvLFhQPzMV5GqwvZ0Wzkddsamys2iZimCzNH17iMWuwAgMb6uoI0uPp8Ba8ukHZbo6udLCORC3he1EYAzpIK8Sym3fFDWorTJtIbdeKUPPaQ8W4tm+yUmeP0JH6VfkVhpEJu3XeLkDqZPu2//q+eWtlWjm2q5YgYXbBRsvIQNFplRy8aMvSV74k++zo/yHHsJUmI5dytkKeOScCHK9XPL8PxX3pDBpLwoDUlJi2rKpSU3erpio8yHpIHX3+HmKUMycZKB+RaKe4Vs4SzbOowgqVik6vWyWwYP1iSk2DghUEYuKxmU2E7F6EHtDiYe+JV9mFHjTu+hBCZgwEhLz1C0xl45cjBu95hFbHYgmahDDFbGFfEsFGe+tegc+OrHq9g2/bpfQ8/F4zWdorF61E09I6WJ3j5ArTVUvXqdXn0U/xgUapDAAiCxX67v8v6fvxZ7S6IP7uj4ryB+aRGRWlKmfahJPIN4AuESVSzi6lcknfY4bODxPTJc1r8zH1CE2GOIDDq35eiG4niM32mxeMlQ9BxI0 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8963.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(376002)(346002)(396003)(39830400003)(136003)(451199024)(1800799009)(186009)(316002)(2616005)(1076003)(6666004)(6486002)(6506007)(52116002)(6512007)(4326008)(5660300002)(8936002)(8676002)(2906002)(7416002)(478600001)(41300700001)(54906003)(66476007)(66556008)(66946007)(38100700002)(36756003)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OiUugkqnK2z0Prcd/vW6S3R6UY7SxE3a+QpLURTEtchu9bCS+kOJrWhCP+t08IkZ7VkfrtKSMAn5Vq92+7JVqLUWgvBweMyH56Iem4CAR3eKtHV5DRLERHUNjsalSIfWMM9Hwh3uxzbx8aBxeFFQWN9bk1cIeb2STU9PGJrbY/zfzC5+aeavR827yQnbxTBr9PODiioet9sJf5CF/Dx+2YowNUVWaLt2Q5bKChhuyznOH6ma7GkAjxeKBsKGYB3mywk8Gw6hE6vKb4+/zYE/sJTvPrrkPlyTIXzKifuGa05kJX4G0yVBy+KWj+WD34vxRb0RKEDZOlY/L5n5T6SShBj69THgRV4UEp5OUktxvl/nAPtTBlvzPILIwAsYNTsDfuyr+xyEOIxhqV3LKx6ATqw4smvMxRPLLLrbNSZAYdiJmviMF8DjDSZdNbn27rMo0VKh3StCqd4guJDNlFx00PzWJUYHnnu9fu47U9REDyBayI4AAiSIyGiSWdSF18zwo56OnK0IlJely6rla42v1ra94oHxRY66DRrRzl7RmY2GfG7f+ssf3V9oqhQeIcZSFxoUpG44zhboOrVZsZiclra4+Tf5fC/EY03+GEUjUpIfNlW2S3uP0jxoVMAo2WQ1q958MAa3P6uUcLcLaFa9Uu2XGnZkDuFDBwQW5yTyNEA0jWn4zsl6u/1Q78q5Bkhz+OJZHppDOupOGW1BTtLRX9bAvpTIlp9CfcakbUDtTi1cYIOg4mmLJvtsEabXROi1tEeEtmC3WJDq2UzOvdJPDbJpfNxJ9LS0iME56B4M8eugcKMXFg0GD0y+chZky0LWKRdZfqf7YPzdkIZ7Lz/boZu4G5/UB+JcyDhHpfjuG8roGJ0oVKqsGwymE1BXx6ziyjLEOpvFZOzOZlOOa2nD3UH+Dk47y5zyFQ9ZDrY57LwW0qE1NhCIDat4Dgx++vdrTjRKcm4BKfRhSwYYJKPmjXWIsIuzfaxZ4FtK+maTrGCMR5N3VDCb+NQidztSWPlBH6BvSN/yhjXlBp4gCubkbl7vfComx+7r5DedXkTDQal60scF1yaiTYV95Y9/xhnbkDYkqI7T1UOriV5LihFAdWkjwAMjMszPOXB/zlUJZC7wDNJqWpFKhidUmVli0UnBvfFyO/FazdnkxGDq1w29nONXyUKQQxL274o+sCXJXXhAsRHIrUpIdM7SN6P0ikCG7Qlwal7vP95mx3dqzy3as5RDTJnPC/yiFmIRFrzEqvvGvXccEiLJKysbLxR1ygquEGV2VnlZuoVJo3upWqWs1i8SWu31XT2WbdAj6lhzYY+CsxdPw3RpBQ5hwgPOmYaHySVYaTqD2DwwM4pUhcE/+/s7gN5jyfBwbTSNRX3w56yrRXUXZVEqou3cv79csfZXEuXPFz/8eLP8J0LKzemhEMh0A28cZSDZ3Q4jhyADjTk7LPE0l62Ub4BulEphABa36yF1SRmVhgLfSWzS+g/4vSfJAafIUywwIVvTXXN83rhTthFelOhA+tfRJWkyfsP+ODO0zAkt/YSyAWD1MZFfLvq2R5xqJvthH6JGoCU+qMo/b2VEKBeTol8X7NuZySDjpXSDLdi4HaiMRZXnVlCCvHJ5r6WObxNajCnS67Moad4= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: a187c452-47cd-43d6-6c4e-08db9fdbc529 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2023 11:10:46.0497 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: HeEFUTE0x7REgRNuaNteSuN4LEDY/N7HKMSXIiXTbnBeXwh07i8m0C18rVx4BZtSpo96z8xePx0yLGs/Yqo5wQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR04MB9441 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230818_041053_454833_7F41BF6F X-CRM114-Status: GOOD ( 10.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org dpaa2 mac supports runtime configuration of network protocols on a generic phy object specified via the "phys" property. It is currently used with the SerDes28G driver to switch SerDes protocol between SGMII and USXGMII at runtime. Support was introduced with: f978fe8 "dpaa2-mac: configure the SerDes phy on a protocol change" Add bindings description for the missing "phys" property, to fix dtc_chk errors present in various layerscape based dts: 'phys' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Josua Mayer Reviewed-by: Krzysztof Kozlowski --- V1 -> V2: this patch is newly added to patch-set Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml b/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml index a1b71b35319e..a40c7a84af2a 100644 --- a/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml +++ b/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml @@ -24,6 +24,10 @@ properties: maxItems: 1 description: The DPMAC number + phys: + maxItems: 1 + description: Generic PHY for SerDes runtime configuration. + phy-handle: true phy-connection-type: true From patchwork Fri Aug 18 11:10:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13357759 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 63F2AC678DC for ; Fri, 18 Aug 2023 11:11:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0O7N/1j/OJ+tisFyYgp+JtB3vDWSuVLPp/z+KJHaVo0=; b=2byvOwxmiDH2wv zak9nocirpmyQEJzowRV39+DCy+PZ/vkmBlyIbjuju/iqKBOhkR10Wv7yBYWCnnE7D+go3CmKiZqq +o2Xi0IMsXKzAGkheonYKOTrsEyIzpIRrvZLyvHARjllX/m3SxLYUL/eeOoNRUbhCeu3XJ3TbiM/R pMQJ5qwXat6GvzH200wmuxNApCcZMxSNvW0de7Y5t2jLJajMcqhnZ/YbFVEEIey6w1yt23e4Mm1g0 JNVqVbLeTAv9U7PM3n8sbn5AUsopii3QR1FQ0Qr6OlfeEjgjLpD1ShaSaqQOJdnqdmUPT8AROYA3s tJK7Cfp8qiCYXFzAqk5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWxNl-008Y2m-0a; Fri, 18 Aug 2023 11:11:09 +0000 Received: from mail-ve1eur01on062a.outbound.protection.outlook.com ([2a01:111:f400:fe1f::62a] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWxNX-008XlM-0K for linux-arm-kernel@lists.infradead.org; Fri, 18 Aug 2023 11:10:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O9jUQvWrTjJkXtmpNf/72W4Zyz9K3j7E2pcKNDJf+VyWQA5YfE0POdq8fhi1fd5kk4KkBeg6R9Oz4sLyOdTaOn/lUJyOcuVWmJ/ySeE0UAsDoeYT+AmtUYwis3L/3e8CjPxgMjE8BGAuE8Bgi02PFNblM5u72DU8z6z2CXEaAxofscVdQjsnBBE0XctUVD1g/xOsT+lgUHJlKe8hukpciPbdyxYiuG/mCKHiKuM8wXQ4SjfZEl5Y8Ni0rF8tZYuNZkUfgDrSDf4woK19/2utRgYaR0CwgIT1lhnh2z94apT1dTLcy5HAr4ASwFc/VRzNZJkIGY0v9zfgq8kx23/e5w== 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=6/kMZRWg37MsrhxB0ve8V8H3Ak3czJa/x43C8INCvUg=; b=fVSxCM772uhCdT2Hmb3sOdnPhIcn9Avb6nPnmFQSKK886PRaRwNdVjEWjlaVb+YXWADVyEuLdu0QbKU/qFvaVViGfqkMPNF8zBdnJnZ/vybnMMKtOWWKMp+wfBnfYHlBtHmYh+tWsmJod86lq18xvuQA5Q2S7vCqPvZ2Xb9x4/NCFj4cbMIvtXWGdsuYy8AZ1UQXFVaUfrDA95IjpOdXbVZWry1WkRbd0L9xPmXEkRu6TVQ1rZKWAzvanhecDXvjDMaWorOzRZ3V0YUvL8WhV0amUDt0EEO3wFoyK0pILt8MB8sSjAiaro4ifgfet/yaR3yhv1uh3vs4SnqbKoRmsQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6/kMZRWg37MsrhxB0ve8V8H3Ak3czJa/x43C8INCvUg=; b=AHpUvTo38+FfgTB1Jaz9Y0CtMtXw+2ddqlkMWtmCzxE0E4Cf6+nOwCOV9h+XfdLIkkmPyi9HV2fPm60s3fpsnjAOEGT1LlenH7D3t5arjeiexlPxQhjsJYkXKot+eT2pzLcTaAK1vb1fTQiL5fzkT2i9GUsKX9G932F5WkZwEyc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by DU0PR04MB9441.eurprd04.prod.outlook.com (2603:10a6:10:359::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.20; Fri, 18 Aug 2023 11:10:53 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::c19e:3b5a:c081:ce3b]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::c19e:3b5a:c081:ce3b%4]) with mapi id 15.20.6678.031; Fri, 18 Aug 2023 11:10:53 +0000 From: Josua Mayer To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Josua Mayer , Krzysztof Kozlowski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Marek Vasut , Stefan Wahren , Frieder Schrempf , Philippe Schenker , Christoph Niedermaier , Marcel Ziswiler , Li Yang Subject: [PATCH v5 3/4] dt-bindings: arm: Add SolidRun LX2162A SoM & Clearfog Board Date: Fri, 18 Aug 2023 13:10:15 +0200 Message-Id: <20230818111016.11271-4-josua@solid-run.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20230818111016.11271-1-josua@solid-run.com> References: <20230818111016.11271-1-josua@solid-run.com> X-ClientProxiedBy: DO3P289CA0013.QATP289.PROD.OUTLOOK.COM (2603:1096:790:1f::16) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DU0PR04MB9441:EE_ X-MS-Office365-Filtering-Correlation-Id: c0dd78b8-0eb1-4b86-7c3b-08db9fdbc97b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ORlIBqIfSHLWJBCidi8LAnrrzf5XiLUbwafmCizNVZT5MiUqnf68yVDDVwaFMj8NXpq4kZ8gjnBDIQ42eUVtoAFlQZryt6Ps7enKNCe2ZKhokY7ifKk0gorY2dWmgbgtrOiVdFXSH3GryRDtyLEix3rkoiSFC4TQg87VPZFTwF6cKDVSHSHEtJNBVvVUucKuOUkTcvTvLEj4Sl6dEQWm24T3ow/lhVqF1YbNhayXlwoZd5YIrSK6ungZ8FJhrkEFKYK5lY4wzN1e9vTA7r4cpMSEQJe/qsVHmWQcZZi4SxHrkDkevbG65qb+b1jWoj5d75gk2bpFAUTfErjvo2uzaYsM3ky7kLRx6f5AhSMFGfzKfi1QOP0/gqtZWnTifsL8bS1/IUAVjAmJzHFbBRpbm/Op21lKiZt66deBV/cZijgWam0yCN0DzJ4bEJ3cEc/2Gp4Rw5iNrrlhwEfEYJECuq2dvq2GbtXOlwV7yoalG8MQlbeMNVY3VdTih5bIuQYd1s/DnW0kCs/1GFm3mz+P0ZtJr4n5Be2X78EKvaATkYAvK9Gd2nAuf0yj7Z+8suZe X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8963.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(376002)(346002)(396003)(39830400003)(136003)(451199024)(1800799009)(186009)(316002)(2616005)(1076003)(6666004)(6486002)(6506007)(52116002)(6512007)(83380400001)(4326008)(5660300002)(8936002)(8676002)(2906002)(7416002)(478600001)(41300700001)(54906003)(66476007)(66556008)(66946007)(38100700002)(36756003)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OZVAaRuZ/eVFYp28/6v7QyL2aVDbzMqsciu9RUYJZahLmShF2CzHDPWCz+LycCS2ve69uNwXeOoLuABAqggwWCSreJDVvx3gEaJQQMEWRFGRAYF5W3JPSRJFRI2Fz1lUxmV7tFbMEiARV5ugSP41kR0DmCCxns1lv8l6T621wJBUCqNreVpZv559Nb8PJBZLBV29Gv9Pp/Seos38XQXV5szg7La9Z0Hi/AnQL0S41qTirYt7DrJvr1Fg6RXNYpDG5ChzsjO38Y9jTurRDtcnlVWOBFCAGft7pBowbOJunFrwEuLEohScdwRFWlyA/nOXcJ2dU072kaLAPmWBRKt+5DH5OLM4clkq5RvNHcgfrmqW9s/pOwhLJQFww3Z6Ssmxjvcjn3gNn4DdjeQ0ztxfP24Hnd+dhKtCF01Fs2YsRZVfztKZP34rJQDkpqFEtl7gy6bJTAubgeTBKmoagkkFCr7LxbSBxspnRBarmxhTGVb2o1+B5a2jE+1yuwyyQexYEmLQAhesN3qjhMCS0HRIyaJKQLuuKZ0NX3H/vdVj/4RjpFS5um/qlxx+5ZnZ6v+Vn+G7Nl3nXF9cENYR8tJC8JPkB3WifQ9djwSIcrwBy0kWci7jUhDte1Yl2entskBjUALI6tmWH6dhZ+HkuIcpng+pIS/XWn+oIpMkIP9JTpGJPHwptlHI0IVK46eagR+ZalB+lUvnSZZgwh+JQVO0kiEI444IgT5MLcx2q+w2MVozbaiG0yqGm+8Dnq+NnamEAykEHniEX45BS5AA+LhOlukopzcW68o83qZxnXMiWecpxbNifDBcF/EliR4934Y0sMSFwKLP2jKA77V/0kErSVJ1Ps40OcCI9vfP0WUgyv9rh+rYFBhVJRufG2apUVzm39dtGPYutj/KaSd9skZEa07q1YmxOG7NCLo6vQWIVfFUpt50sgQmMf3bJP+rURqgV2/A4mn28W62G9ebr49qiE/RJwQJ27aZZNEG+8UhhS7Kb3h07v6u4dTOFuEvDVslz6tQmkhWFn1sEDPKnXjiiZQUXTx3+OUButeimq+2DQKLggRspwtwNcXme3Bv6e6C1D/HCHQCMl8S3dx3qRzW22WdKdxp6l2y7p/vUu8W5InTrSgCNcRKkxWhP2+6D7WG/YxafRWS0Pe4FxrIF0k/QdvAJzjHoPnYMDjYc7Bb8YCcu2fyQLHt0ijlVzuUXctF2hmrLe7wpBYoqYMscMufeDfXpE+72ygZGSuhCWlR6fmy/hUrc4jTTnLbGS+hNpHBjBolaNyPZMc/iwimJ6iP5OYHETK6OdCCS24p/PLOGsUECYEeEy0pvdo/lBNO/qbn3EOOgeqkmjchbnSP2SvRoWku+gWr8KWUpRGHdYkj7QNCBZ4UlcaAEfbZ77WzaMHGhQNui7hNcfwK2niltaaAfyj9urWGNShxUSaXhb2SQHhASzyMoLpBqu9SdtsWj38tUvCMyKkRg01dsro437UhqZSt+w2seCbAykIxw/mX8kgr0Ye7jt5VNTrIG59BCzlhL4QPXIRT9wea0NTA459KKr43MGxkJ1OK1nUOB1W5KAPSZkuRAWRFoa5vfI2sAaF4N2WYtOumnuKFQY51sHctPylcXpe5OnaDTA1l9btjgII= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: c0dd78b8-0eb1-4b86-7c3b-08db9fdbc97b X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2023 11:10:53.3212 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: h5BZ1Try6/zryPhWyr8dWBfDo5SxNmTnxkGfLIx8rGgR9iIg9WRhKCXR5f4VzSXIhGeuR40DDXBTDAprbztiAw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR04MB9441 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230818_041055_183490_35A303F4 X-CRM114-Status: UNSURE ( 9.82 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org SolidRun now have 2 product lines around NXP Layerscape SoC: - LX2160A COM Express 7 - LX2162A System on Module LX2162 is a smaller package and reduced feature set to LX2160A; LX2162 SoM is also a smaller form factor and reduced feature set to CEX. Since both product lines are physically incompatible, the existing group "SolidRun LX2160A based Boards" has been renamed to include "CEX" in its name, meaning products based on LX2160A COM Express Module, following this pattern: "solidrun,", "solidrun,lx2160a-cex", "fsl,lx2160a" Add DT compatible for both SolidRun LX2162A SoM, and LX2162 Clearfog boards to a new group based on LX2162A SoM, following this pattern: "solidrun,", "solidrun,lx2162a-som", "fsl,lx2160a" Signed-off-by: Josua Mayer Reviewed-by: Krzysztof Kozlowski --- V1 -> V2: fixed to not break existing boards V1 -> V2: explained new board / som DT binding in commit message Documentation/devicetree/bindings/arm/fsl.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 2510eaa8906d..ff9bf9956972 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -1384,7 +1384,7 @@ properties: - fsl,lx2162a-qds - const: fsl,lx2160a - - description: SolidRun LX2160A based Boards + - description: SolidRun LX2160A CEX-7 based Boards items: - enum: - solidrun,clearfog-cx @@ -1392,6 +1392,13 @@ properties: - const: solidrun,lx2160a-cex7 - const: fsl,lx2160a + - description: SolidRun LX2162A SoM based Boards + items: + - enum: + - solidrun,lx2162a-clearfog + - const: solidrun,lx2162a-som + - const: fsl,lx2160a + - description: S32G2 based Boards items: - enum: From patchwork Fri Aug 18 11:10:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13357761 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BA0B6C001DE for ; Fri, 18 Aug 2023 11:11:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=K6+flPrjJLAn++PNHwuszDgp/YgSnuw4MR5kO39XAO4=; b=hT0JedIeXZwqFs RMSbIi9x7tw7A0eFmezUi1NFGiBUZ/diM9oKUfr/QPJTArcMmYG7O7xur3W+mKOTcAr8sdEzYCyIP iHvefEcE+m7aEThMFMAxyci3bUiSZz3yBg9kyWj0BFIxrF5g7zuQVES+8xt7HzseKKQNU6fPp2Vm/ LTJga5G8x4ohKwb/IaNu4r2AWHcskC3xO9XzGIEIM0UDm5vnlD4HggczRrTqehlOCzxuqVXqZI6WC ItKscDt40FcZYmhzuFVPi3VMMTuyXmWGHuBoxsfAmcZQbz36zfQthknVOBUN9urVUK5Bbk2Q5h8Fh OcOdjNqcC7V9f7bQCm4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWxNx-008YBo-1c; Fri, 18 Aug 2023 11:11:21 +0000 Received: from mail-am6eur05on2060f.outbound.protection.outlook.com ([2a01:111:f400:7e1b::60f] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWxNi-008Xz2-2A for linux-arm-kernel@lists.infradead.org; Fri, 18 Aug 2023 11:11:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xy7cg65FXcomaWs13rZYQqw+wzTGRY1RTBP/PFtKMPRWAYpxn1jvq/0HuEgPoyoJEhkKIVvrBFEQS1YSj6x1jbDZ9pQR6V9fX28NngwfpUFwPgHOEJ2256ygRN6rTJgLHVg+MBtvihaDatju++GISHk32ZS/TIfZ++dedSM7MPV40xKtnrCVgfR5aM7xvB8F/yVB7Ro+Ks7iHA3V8MThVf4p+p8ixsMcbu3Lv0kFo+QlCclk5bWJ5aDIjFpSiZjyLqYtuT/DKJ5oDOLWLvcu1YrlSxUFIRJkrvgmWBfoOJ1kx3tIZY3NHuglfCOCcOoPV0U83Kfl85R5k8J8mfx7yw== 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=2iloZxpRrqZ7sfbifm6n+C4drdnqyDKME1+p5lsCQpU=; b=JwFbV3mctEkaBKYZ93jt49+UpC4tIWnpwscLCW8rY009qD5hORzEuvagzgU29M1Tar0xw3rYXD3lSQcVdDZOEY6z67oEZ2Z3sGASH3zaGiV2bMsp/0QpHRG2gngOMfrunfnR0QTzKxS/wECVrFfw7RbS+rwuQOAEI4umm2ddHV0AxjtFHmXPKQRNODyvR8VJCdwthPcIBaLwl8V1oJ7f3vIJKIeSgivp2H+WnOZ7C1zuz5P+UUdvs+PxRKfkd28JEh5/UFqYpUVcv4Oad8K4nG4SqYbqJl8EI5VEHcdyPcRqKLIGnA9OnzC/OawUVX1Z/F95B/6i41+rZj+bkiRH2w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2iloZxpRrqZ7sfbifm6n+C4drdnqyDKME1+p5lsCQpU=; b=NC0K2JbtDTAknBWNEG1Kn5lL2JHTVCrMyfjDCICHRngSZg9fr1eBHBgEbd3+P7lVyFNLGl1n9tPBk1LgN1v1j6k+K6h9f/91myi7TonAzwBCypzD+9UzuS+vsHB9Kf0IZb3WFBlnkfwMHsBUXpzOWivsXEqPEK5sD2SK7pHpsiA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by DU0PR04MB9441.eurprd04.prod.outlook.com (2603:10a6:10:359::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.20; Fri, 18 Aug 2023 11:11:01 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::c19e:3b5a:c081:ce3b]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::c19e:3b5a:c081:ce3b%4]) with mapi id 15.20.6678.031; Fri, 18 Aug 2023 11:11:01 +0000 From: Josua Mayer To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Josua Mayer , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Li Yang , Philippe Schenker , Fabio Estevam , Aishwarya Kothari , Marco Felsch , Tim Harvey , Frieder Schrempf , Marek Vasut , Marcel Ziswiler , Alexander Stein Subject: [PATCH v5 4/4] arm64: dts: freescale: Add support for LX2162 SoM & Clearfog Board Date: Fri, 18 Aug 2023 13:10:16 +0200 Message-Id: <20230818111016.11271-5-josua@solid-run.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20230818111016.11271-1-josua@solid-run.com> References: <20230818111016.11271-1-josua@solid-run.com> X-ClientProxiedBy: DO3P289CA0013.QATP289.PROD.OUTLOOK.COM (2603:1096:790:1f::16) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DU0PR04MB9441:EE_ X-MS-Office365-Filtering-Correlation-Id: f062980e-f54b-4492-5461-08db9fdbce80 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 89xv5jmKFaXZTKYpmDDbteM4EeYTxvzmjm6RnCmmIec+j7JhH4dVBcBpAoT4PSr0Gus9fMxVUgTSQzqEQd1bF8maWHjLMayxTiegXwJtYoXe6jIUurNHAGcuTqMTbLYQ+RjHVyhAyTQ3av9rL+bJq397OO2WvKd2cEVo3/5A1CD3yPv2vpCAObi+lwG5wEOafGQoH8pPfBf9UOYOLR8U6EjrFuNvhh7FcTbkyuNX4J7hgQQfoAu4LvyRj9HBMJ77CxVxHDAGsXFyGEoevuLSKWwdmqIKdQSeBPDaeGZAAeu+X6FaWHNXsIzt/WkMLpRFh6WylrjAnPUykONri7uFzVU+ERMNL+S3qh8T5nTU6RgubVPrinHrjQHffh63wpthAewQNdOFm6G2GrkNTSWq4IqHve+8i5xmMHdv9/22UzGkuZPmRWHUCKXna7hVEoK7ExUIpoLe5vsMh3m1xyDYN2RJurkmyvSfj7Dul48DtxvqbBkOFAUwKi1mbehlivjnvVxieSweWUAYtIu3YWVU9B5vOVRZ7e2UQ9A2wNHfLTFlgfCThtsOGKwDcx55bGs3 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8963.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(376002)(346002)(396003)(39830400003)(136003)(451199024)(1800799009)(186009)(316002)(2616005)(1076003)(6666004)(6486002)(6506007)(52116002)(6512007)(30864003)(83380400001)(4326008)(5660300002)(8936002)(8676002)(2906002)(7416002)(478600001)(41300700001)(54906003)(66476007)(66556008)(66946007)(38100700002)(36756003)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6zsCjG65/fXrfrILPhLzX0hI6lSoksx3ExHsvnyB9HFLuIlgXPOQ+ZnzO/TV7W6m5JXu0VCRstqqNheHfSwLuergWtafBVC/a3962nk1b+yw5I8gt4e5rS3O+nQBtWCItTY7til1nSkpwGjL0dbZoxBBiyMfu0tsBP98bTc1L7kS5SxMuBhg7bU+H8CumjbWwTK0gPyktPXGmC14V17PELBnNliXsc5pIpPgrcPF/q4ljIV1C8Gc+YhEXyI/CXSZ6d5xRfO8eW3hjo8t/EFqAtqFch9lpS4zc7wZdhkshJ8d7ac8WjMX7eRmND7Wz4Y9FKyyKsbN3p/xl25R0WII2zCk2sTsSb3MbTwcjALrIljQcHg074KsJ6oPxDYi1FEUWI1mTMASW+eMkeLg2FUzgSo3CeVIslnDUfDv1Z6FhKZCwyj/hTMsg9x0OQuZC6Y+7u9BTNWV4P6TTvQ1huSbLgVJh2eWsXb872hc+TAxES3OfrTUDQAIJH0bx5SsK1bM6VprnQGWHCGSyYErRfJd0YubEimq+nXC7SlBcr9c4HfpBTijBJPvABauooCfeBeCOI1apK0kF/Of9onX2v+lIYbLqYd1On9XVNq/Gg/LqwlXmmdXoJ6NZ7Hv1t3Ihpag7R3+QkDF5KO8M2vzoTRQCMHe684LxPfBDQfOtAdEDx7Mg/0hOrlIWjVxONXZza1n++/TA3rz8brYNSXzJOtaeaIJJnU9mZ6Y+FqivyeIVXRkzTzzAAv9niJo890kgpIiukIJew6FeXHNX70jOZbQ1PaBchiQYq24LjtMRVAyl1IFDs6MzCP9PzohupmwytzsKerG8q9dmKEJlY+NGxtG6CV+mBU1eJSEN81jXCj2NldanizP/MmoUUdd/0iMv8SVVloM/95L8gajGHhGbXd8+lIse30IaNIq6Z4t7s9sDEQE+4YhDcINM8VvjvrITX9rnJmg5gLV3fFsW6S4ucsZmd+TzW3xGYjaMbPUWwwMOc1SrBcYD+SsZosmN+51eLTDLOYVDxfcfCp0Sz1PxNABQg6khyfn5yBiHm8F35OHVyoRaWEPyAYoLm9wW/vJqm/SzdiFNbGEUmf3LGLyHXWWbW7HFx0P4KbDXNV0NZNGkv4fAZdNqWOIXuGOnpriD4KdRAGJcCj0hQe2YZrha99UKtBRsizERBrwRHqCtXZ7XRpdm5SozZXs8G9UsE6Q30vcK7eeRPHP3lNts6Krhl76Gc66cMRw55WmwMD1gXCwGr1MShpBZhKtmXYXDTtYE4p4/zpDu51sSBNw/lcQzRk3xbxtAEmun+RtluAkg3qfWHfEL1b51zrbOnRJbz8pIJTx3w6UFYP88Ch7qW36/tEhxBI1SUnrZdHMlq4EnpsJMohFQaTQ/DHTJJoBwhIz/1HHglFFU1WiM+6QaiHDXX2lqFt6jv0SRGm4pcpvCzGzC6S+1tkJt5NXcBrw4j1r1YoymZ2dki6PIqo1CqRznLZmnfzvHQz3n/ykuF1u4MCJieMIkmj+I6ZquiFnxTmAtoRKhA9bZfosNDTA0MJQO+ePiiZTTyPOBVAB5B4UNUYwirG8hwD40YWAb5GxvGLWp4Imitp5qtQcsL+QtzrJcfbE8oDH3IMBwQSKUt5yIUr+6fQ= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: f062980e-f54b-4492-5461-08db9fdbce80 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2023 11:11:01.8330 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2BclpNKbuRGQqziXO9A7XZCtcjW1t8Fa4bw5kBoA3Ti9vHC0KxhB8KGkNKpOXFbbZ/UM0bC2vCmhgvUCvhIfkg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR04MB9441 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230818_041106_898890_2067E15D X-CRM114-Status: GOOD ( 16.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for the SolidRun LX2162A System on Module (SoM), and the Clearfog evaluation board. The SoM has few software-controllable features: - AR8035 Ethernet PHY - eMMC - SPI Flash - fan controller - various eeproms The Clearfog evaluation board provides: - microSD connector - USB-A - 2x 10Gbps SFP+ - 2x 25Gbps SFP+ with a retimer - 8x 2.5Gbps RJ45 - 2x mPCI (assembly option / disables 2xRJ45) The 8x RJ45 ports are connected with an 8-port PHY: Marvell 88E2580 supporting up to 5Gbps, while SoC and magnetics are limited to 2.5Gbps. However 2500 speed is untested due to documentation and drivier limitations. To avoid confusion the phy nodes have been explicitly limited to 1000 for now. The PCI nodes are disabled, but explicitly added to mark that this board can have pci. It is expected that the bootloader will patch the status property "okay" and disable 2x RJ45 ports, according to active serdes configuration. Signed-off-by: Josua Mayer --- V1 -> V2: reordered "compatible" and "reg" properties V1 -> V2: replaced chip-specific DT node names with generic ones V1 -> V2: removed dead code from fspi node V2 -> V3: dropped deprecated address-cells, address-size props from flash node V3 -> V4: reordered dt properties such that status is last V3 -> V4: changed ethernet-phy on som from /delete-node/ to disabled arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/fsl-lx2162a-clearfog.dts | 373 ++++++++++++++++++ .../dts/freescale/fsl-lx2162a-sr-som.dtsi | 73 ++++ 3 files changed, 447 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts create mode 100644 arch/arm64/boot/dts/freescale/fsl-lx2162a-sr-som.dtsi diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index a750be13ace8..9448d2effd8a 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -34,6 +34,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-honeycomb.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-qds.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2162a-qds.dtb +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2162a-clearfog.dtb fsl-ls1028a-qds-13bb-dtbs := fsl-ls1028a-qds.dtb fsl-ls1028a-qds-13bb.dtbo fsl-ls1028a-qds-65bb-dtbs := fsl-ls1028a-qds.dtb fsl-ls1028a-qds-65bb.dtbo diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts b/arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts new file mode 100644 index 000000000000..ad57f4cca62d --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts @@ -0,0 +1,373 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Device Tree file for LX2162A Clearfog +// +// Copyright 2023 Josua Mayer + +/dts-v1/; + +#include "fsl-lx2160a.dtsi" +#include "fsl-lx2162a-sr-som.dtsi" + +/ { + model = "SolidRun LX2162A Clearfog"; + compatible = "solidrun,lx2162a-clearfog", "solidrun,lx2162a-som", "fsl,lx2160a"; + + aliases { + crypto = &crypto; + i2c0 = &i2c0; + i2c1 = &i2c2; + i2c2 = &i2c4; + i2c3 = &sfp_i2c0; + i2c4 = &sfp_i2c1; + i2c5 = &sfp_i2c2; + i2c6 = &sfp_i2c3; + i2c7 = &mpcie1_i2c; + i2c8 = &mpcie0_i2c; + i2c9 = &pcieclk_i2c; + mmc0 = &esdhc0; + mmc1 = &esdhc1; + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + leds { + compatible = "gpio-leds"; + + led_sfp_at: led-sfp-at { + gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* PROC_IRQ5 */ + default-state = "off"; + }; + led_sfp_ab: led-sfp-ab { + gpios = <&gpio2 11 GPIO_ACTIVE_HIGH>; /* PROC_IRQ11 */ + default-state = "off"; + }; + led_sfp_bt: led-sfp-bt { + gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>; /* EVT1_B */ + default-state = "off"; + }; + led_sfp_bb: led-sfp-bb { + gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>; /* EVT2_B */ + default-state = "off"; + }; + }; + + sfp_at: sfp-at { + compatible = "sff,sfp"; + i2c-bus = <&sfp_i2c0>; + mod-def0-gpios = <&gpio2 16 GPIO_ACTIVE_LOW>; /* EVT4_B */ + maximum-power-milliwatt = <2000>; + }; + + sfp_ab: sfp-ab { + compatible = "sff,sfp"; + i2c-bus = <&sfp_i2c1>; + mod-def0-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; /* PROC_IRQ1 */ + maximum-power-milliwatt = <2000>; + }; + + sfp_bt: sfp-bt { + compatible = "sff,sfp"; + i2c-bus = <&sfp_i2c2>; + mod-def0-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; /* PROC_IRQ10 */ + maximum-power-milliwatt = <2000>; + }; + + sfp_bb: sfp-bb { + compatible = "sff,sfp"; + i2c-bus = <&sfp_i2c3>; + mod-def0-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>; /* EVT3_B */ + maximum-power-milliwatt = <2000>; + }; +}; + +&i2c2 { + status = "okay"; + + /* retimer@18 */ + + i2c-mux@70 { + compatible = "nxp,pca9546"; + reg = <0x70>; + #address-cells = <1>; + #size-cells = <0>; + i2c-mux-idle-disconnect; + + sfp_i2c0: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + }; + + sfp_i2c1: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + }; + + sfp_i2c2: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + }; + + sfp_i2c3: i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <3>; + }; + }; + + i2c-mux@71 { + compatible = "nxp,pca9546"; + reg = <0x71>; + #address-cells = <1>; + #size-cells = <0>; + i2c-mux-idle-disconnect; + + mpcie1_i2c: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + }; + + mpcie0_i2c: i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + }; + + pcieclk_i2c: i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + + /* clock-controller@6b */ + }; + }; +}; + +&dpmac3 { + sfp = <&sfp_at>; + managed = "in-band-status"; + phys = <&serdes_1 7>; +}; + +&dpmac4 { + sfp = <&sfp_ab>; + managed = "in-band-status"; + phys = <&serdes_1 6>; +}; + +&dpmac5 { + sfp = <&sfp_bt>; + managed = "in-band-status"; + phys = <&serdes_1 5>; +}; + +&dpmac6 { + sfp = <&sfp_bb>; + managed = "in-band-status"; + phys = <&serdes_1 4>; +}; + +&dpmac11 { + phys = <&serdes_2 0>; + phy-handle = <ðernet_phy3>; + phy-connection-type = "sgmii"; + status = "okay"; +}; + +&dpmac12 { + phys = <&serdes_2 1>; + phy-handle = <ðernet_phy1>; + phy-connection-type = "sgmii"; + status = "okay"; +}; + +&dpmac13 { + phys = <&serdes_2 6>; + phy-handle = <ðernet_phy6>; + phy-connection-type = "sgmii"; + status = "okay"; +}; + +&dpmac14 { + phys = <&serdes_2 7>; + phy-handle = <ðernet_phy8>; + phy-connection-type = "sgmii"; + status = "okay"; +}; + +&dpmac15 { + phys = <&serdes_2 4>; + phy-handle = <ðernet_phy4>; + phy-connection-type = "sgmii"; + status = "okay"; +}; + +&dpmac16 { + phys = <&serdes_2 5>; + phy-handle = <ðernet_phy2>; + phy-connection-type = "sgmii"; + status = "okay"; +}; + +&dpmac17 { + /* override connection to on-SoM phy */ + /delete-property/ phy-handle; + /delete-property/ phy-connection-type; + + phys = <&serdes_2 2>; + phy-handle = <ðernet_phy5>; + phy-connection-type = "sgmii"; + status = "okay"; +}; + +&dpmac18 { + phys = <&serdes_2 3>; + phy-handle = <ðernet_phy7>; + phy-connection-type = "sgmii"; + status = "okay"; +}; + +&emdio1 { + ethernet_phy1: ethernet-phy@8 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <8>; + max-speed = <1000>; + }; + + ethernet_phy2: ethernet-phy@9 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <9>; + max-speed = <1000>; + }; + + ethernet_phy3: ethernet-phy@10 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <10>; + max-speed = <1000>; + }; + + ethernet_phy4: ethernet-phy@11 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <11>; + max-speed = <1000>; + }; + + ethernet_phy5: ethernet-phy@12 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <12>; + max-speed = <1000>; + }; + + ethernet_phy6: ethernet-phy@13 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <13>; + max-speed = <1000>; + }; + + ethernet_phy7: ethernet-phy@14 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <14>; + max-speed = <1000>; + }; + + ethernet_phy8: ethernet-phy@15 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <15>; + max-speed = <1000>; + }; +}; + +&esdhc0 { + sd-uhs-sdr104; + sd-uhs-sdr50; + sd-uhs-sdr25; + sd-uhs-sdr12; + status = "okay"; +}; + +ðernet_phy0 { + /* + * SoM has a phy at address 1 connected to SoC Ethernet Controller 1. + * It competes for WRIOP MAC17, and no connector has been wired. + */ + status = "disabled"; +}; + +&pcie3 { + status = "disabled"; +}; + +&pcie4 { + status = "disabled"; +}; + +&pcs_mdio3 { + status = "okay"; +}; + +&pcs_mdio4 { + status = "okay"; +}; + +&pcs_mdio5 { + status = "okay"; +}; + +&pcs_mdio6 { + status = "okay"; +}; + +&pcs_mdio11 { + status = "okay"; +}; + +&pcs_mdio12 { + status = "okay"; +}; + +&pcs_mdio13 { + status = "okay"; +}; + +&pcs_mdio14 { + status = "okay"; +}; + +&pcs_mdio15 { + status = "okay"; +}; + +&pcs_mdio16 { + status = "okay"; +}; + +&pcs_mdio17 { + status = "okay"; +}; + +&pcs_mdio18 { + status = "okay"; +}; + +&serdes_1 { + status = "okay"; +}; + +&serdes_2 { + status = "okay"; +}; + +&uart0 { + status = "okay"; +}; + +&usb0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2162a-sr-som.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2162a-sr-som.dtsi new file mode 100644 index 000000000000..ac3f9bc60265 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-lx2162a-sr-som.dtsi @@ -0,0 +1,73 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Device Tree file for LX2162A-SOM +// +// Copyright 2021 Rabeeh Khoury +// Copyright 2023 Josua Mayer + +&crypto { + status = "okay"; +}; + +&dpmac17 { + phy-handle = <ðernet_phy0>; + phy-connection-type = "rgmii-id"; +}; + +&emdio1 { + status = "okay"; + + ethernet_phy0: ethernet-phy@1 { + reg = <1>; + }; +}; + +&esdhc1 { + status = "okay"; + bus-width = <8>; + mmc-hs200-1_8v; + mmc-hs400-1_8v; +}; + +&fspi { + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + m25p,fast-read; + spi-max-frequency = <50000000>; + /* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */ + spi-rx-bus-width = <8>; + spi-tx-bus-width = <1>; + }; +}; + +&i2c0 { + status = "okay"; + + fan-controller@18 { + compatible = "ti,amc6821"; + reg = <0x18>; + }; + + ddr_spd: eeprom@51 { + compatible = "st,24c02", "atmel,24c02"; + reg = <0x51>; + read-only; + }; + + config_eeprom: eeprom@57 { + compatible = "st,24c02", "atmel,24c02"; + reg = <0x57>; + }; +}; + +&i2c4 { + status = "okay"; + + variable_eeprom: eeprom@54 { + compatible = "st,24c2048", "atmel,24c2048"; + reg = <0x54>; + }; +};