From patchwork Mon Jun 19 09:00:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13284174 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 87BEFEB64D9 for ; Mon, 19 Jun 2023 09:02:57 +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=ee10UwjEqChuzbvdjUpfRO07IizN+l5NbtcvbWK7swk=; b=ZTGiIP2O+cQTaJ zeXuzPBWPeHhcreYHdQDrQLcVtjmcIJGCQBOeMKraQrb14ZZJo/EqZJXhNGCcpQZ9emQUFbMHlrov eWBnus+Asgx4CGCEMg9Kmjfz6pQIMbLKWCCOvcD8Pro4oBm8i9z72+qPUPX8Q4KmrUAeoB/1ll6zW NIrwVypcyj5sH/U4rXXdFtdsk/jdPBHGaYRekT5QIR/SfiXce0+DM/FjPV5bmuMnHUy3O2NEtZE0H 0CmNw2Qqq2e6b9lqhkRqZUhvIBrP7dlS8HcgsmIh1bgjn6JQdv63/sV/vK9OT5AKbKjngMdOco8AR SZeQl7amMAtr18HYrcNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qBAmR-007vrY-2r; Mon, 19 Jun 2023 09:02:35 +0000 Received: from mail-he1eur01on0614.outbound.protection.outlook.com ([2a01:111:f400:fe1e::614] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qBAmP-007vpy-19 for linux-arm-kernel@lists.infradead.org; Mon, 19 Jun 2023 09:02:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=axh3Lr7Yo3TmhmjPX5/uQ9sX7xr0Et60SpuJUwA2AOPqpq8joAGhJFVdsHebYlDPvg/pWMIAME7CWFXwJycpAhDQviT1Lj9pP+PV8XbJUnhEqRr/+eYJxmK8j1A9aDO04xk0qJGvqBWloaXZB5oSN3U5Dkyi3Tght8Xsg1k+ckj7CMjSXCVjiiyh1Ia6IOAE67U9Bytsq9XDJWoxlHO4JS14o02vC4n37BbsNyBz3S5FMfXpSAf3HvFzE5VDev8XhM7/2JZLdMI5l7+ySD0//BtRsZCadMHjwq9daEewQNTFpFFEyt039bAkW65mvkgyP+SDtOm7bT3zCUiwhAj+vQ== 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=3P4IeMRZLwo/YRicrA79JgdAVN0iC/qiXtjWlXoXLdw=; b=ZnF41rjoRdyluXPTZRT9leDDnjh0gqcRL7EcTn9g+x8eNm1g5Wb/OxiOOkxcUrfX2I+iclRHhggQY7qlsIrKpE1QZE/iBUNDKNgE967IpCpLSuG1xvnIKfLsbG46spDvqvC+C0yDKk3pZjcOIpUxhHS/Getzy8ql7kat1Y3XiXtnD7/jXfx+7KQeyYZCYROEBDrvZbHlrO8BTkMyZbkCm7++FnKQs40ilmVdQevlb9VWHOZdeMDrj7f37VbJYidqGk6Q/w7hyt9+ri5QPBdpplFxRyNwiaXw5uMqrBxquOe9fdWVvoZtCuPcu1bBgVi9XbNzvR55C1t/mUFULXTrYQ== 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=3P4IeMRZLwo/YRicrA79JgdAVN0iC/qiXtjWlXoXLdw=; b=P1lVek7jG0Cs/fdL2FyDrhqkA8azyNXRwx0t1BFhCgopT7BBy2tCBIL9TdFwvbQccOk+5B/FzrwXB68EMPcJOhkN3EgDzVMP3VmHRsR4gvolAGDIpSb5ygtFtJ+C/dx9hdIz2qdVAfnh3qvMrZF692h1AObEhAKZvtQMjq4n5h0= 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 DBBPR04MB7946.eurprd04.prod.outlook.com (2603:10a6:10:1ec::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Mon, 19 Jun 2023 09:02:17 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::5a4:421d:f180:9105]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::5a4:421d:f180:9105%6]) with mapi id 15.20.6500.036; Mon, 19 Jun 2023 09:02:17 +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 v3 1/4] arm64: dts: lx2160a: describe the SerDes block #2 Date: Mon, 19 Jun 2023 12:00:23 +0300 Message-Id: <20230619090026.22713-2-josua@solid-run.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20230619090026.22713-1-josua@solid-run.com> References: <20230619090026.22713-1-josua@solid-run.com> X-ClientProxiedBy: FR0P281CA0236.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b2::8) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DBBPR04MB7946:EE_ X-MS-Office365-Filtering-Correlation-Id: c9da835e-347b-40bf-91cb-08db70a3e1f0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: m0bNn0vGDOLIyjyvjIft6Qgxg3VrU7gwQA+n8p21DJYr5Mwnom9BdvLt1kuXOBQ+NxQbEI6C2jwwrURpQtB3gqoZZGDpOcxuRh7v7I4EX/0kruC0JriDGJjFqZ9k6I5wpkA3PXljo0G+z636cQbObnbbEFSoV4O4av7qfxniWv9x8wJYsVtIZDl8oN+L+HdoS2nnpgbfN+4avPu7KsqSxJZZWlfaUnIDkWzRaA49lJAg/hozwSfmqnJhlm9b6gTJx79ZLAOXw+z5EFSOwpNPF2yIZra38v5dS8d6nGBefPIUGHHvNqU9bmobOUoQS1CIIeR54tRQktYzfkQjyp9lVJwx5vY5FTYkHD8XhzcyUVVEuHbmRp6iatr5LyKuzS5KiwTUUrBgOLNZ52r5LueevrzziHjrTzyaKQ/+OGhsjTBCtl/YZ3POzAMJchOwZrOCLUEn673FLRgtnIItyM/FaG2ccgdP4TzcOYmJLVcUrppBsi4EOCHDQb8F3QWbeW9877zWdzkw+AfePnC4AWmMBIDi8/sdGNehcuv2nwYklHibxqzlYlhcsRsif45qOl26WNIvgtlSyG2YcFhjA/2Xvdd3Ow+L3t2ZWMKYPaH6oADAch1Gq6UegAVY77B5fcbK 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:(13230028)(366004)(39840400004)(136003)(396003)(346002)(376002)(451199021)(478600001)(6486002)(1076003)(6506007)(52116002)(6666004)(5660300002)(86362001)(4744005)(2906002)(36756003)(4326008)(54906003)(8936002)(8676002)(41300700001)(66556008)(66476007)(66946007)(316002)(83380400001)(2616005)(38350700002)(38100700002)(186003)(6512007)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: uUulzcef83176QkJmX3IAJ1cZ1kcbAyn0RJS3iwRjjP9rZLSBhbzYmu474BOa6r0IpvZTh99Ea7To/v1azgxhrEtb34kjlwgO+Xf7OeZlYXYrHrqwAjnvmqeNrHRF8UhhfpNXuLXQyP7Bd+DXcM3zQzN4VVrEHrSz5xOMZORAhwhg9zYqtQlCX8/QazbbjduUo/hp625/2E91DkHQoz68T2vrfVfNAvj8hfIc9i5f1MNeCanoJEnotl1Hdd3Ic2UOEWw1mTWBqfpKV6A7nScgEL3QrQcQcqwqtcTU1q0kVraAlJGsbUSC1UYM32YlriIAGUEBcNCcF6kCDgHdY04CRaNd1lq8xQaZuz3+XOiE3ZpHNqEjN1Ugeue/ZfoyJshRqF2v6QoqXK3JZPYZ35Ks2DJvlT1fDSziOQIKGUrKm/i2Q2rOFwclGDL+jAlC6Uqpmq4+C1R/xaAu7oaWZGEWXqu5JEDeIQysYld5n75LB+JV41vF+unTEE8XhAGnaefn6nBC95MeJlLDRJSk8RdGhZBDFZNfw8B28R0H3kvTgAi8W5YFi56qwIy3nvo9rcMdK7BhQc4UXVFfRRfyOQWpgvMaGgTrgSI0ST+kLWFaFqSxxBO3/jYGP6Hntwt8rL52UVl16E+2gFiY1iVLxgYHZCfGnXoG2lcA3WtjBdvks4qyOzxgOYHlHVvKfy2Vyi+J6upiT9IB2E3TUq+dVU5L105/lQ3vp7aCOSSJn5L2UOTQpT1+r1LdwU1chItSXXAODXLq7JT1J1UJsQ4vRjQrjtS283fCi0ZjTDNjJMeqgIc8PS4RmtWOsFiOXzqUjTLkoYfn3YCC3f11BL4gTD0O7heCk1ZqfcGeNHlkdwxb1pehqh8dGe+3Y2Yuuxuaccr78iJDInyA0a6E/BGy7DQJ9EwPfzN0rWdm5+LYC/zzyPBTw0HB2D9leDGzn1J0NvzzR7mvoyLiJvm1DxCGYVfQXe10U72ImDIWHV6Ev1UGJvrnX13xfNKODqGHRBuJ/aBh7ngmJP6Re+dUWcaaLh63e5pzW9SNL9NPVOgpmq1ZHj9QvaGmCc+Lq/vAl1HRILTJaP05pmzCdVOq+DFdrdXxAThL70kSQXzU6ZfGkOvrTIAwp/F9npIR4fS3WI0yTAlUZI9+lUSM82+y9hbnuH+OtmwSMEia8i3oe/mnXj88FowqxnVuLoWB1Z5TGAma+Lq/y5hOmuWwzlP/u6DIOhPS1MGKMwlu8i6YUGmA3Ax9LkcZI45Q2X/y9EzlH4v6i4iwY97TIFV/60Urt7ISrkU6f6y2SavrdsMTzLsVA7BGwZADKUSISj9J02wRJPMRNMajcUuwr/P4/Vlynt+9DCfGTMfdpbUgtwybT9TlsnyBrx+gMDeCjprKmcR9u85EwwqlvjJOWhp/G0rROL4lCEttTQXzwfA9A0vcXZoantjM8Kd5VcKpDarm0Aiu5qtXWvF/Pp3PaJvdikaTNDCLcfXKJrh6PU32Yjdpi35CsWh/BouqbD+pLUl+E0KFw54QIF/XIAiGlANNS7YcFBlKOE3zS3I6KmqhJIgjw2XhWtMAftrk9vbA/SKf87LIbfj+W8J X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: c9da835e-347b-40bf-91cb-08db70a3e1f0 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2023 09:02:17.7472 (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: 3XNh4SuhF+niMhb8SQ04/H+PMGuO6M5rQ5qUAAG3gNSciUfZW8Uk/MbmM79R3XjL/0t4ltew3SsyE99cKhGP/Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7946 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230619_020233_423807_BCECC86B X-CRM114-Status: UNSURE ( 8.97 ) 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: 3cbe93a "arch: arm64: dts: lx2160a: describe the SerDes block #1" Signed-off-by: Josua Mayer --- 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 Mon Jun 19 09:00:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13284175 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 EDB23EB64D9 for ; Mon, 19 Jun 2023 09:03:01 +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=fWNj7dWQJA2Ao7 4mTOc8nRqdAqEydXtHSU+L1S44lIj8FBDNBkAiD/q5z0ZfEN3OdBjsCRYJs7bl7djVGQKxjl5gc9E U+uN6hJ+mVP5XhDFAji+nUM+NUEP4wYZsqPjwrGN2Y58Rjhy8+NdAVPbvUrefQFMxtF2SQkQw698A St1HUv9zrJqdbOlN13mZZCFg1LByDaNUBRpAzZJ6/vbpB5JevpaF0XtjUi2aRQwCbIb4Gd3Krb5qa GlquC7NpZn85XxbQhc3nuAhSCtDJOfyZ161wIoVESKL8ITMxEl6DMQs0+5/mje7GnPLAiz8qw4UeL CKVeAgT5T/7NEs2d/xgQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qBAmZ-007vuE-1m; Mon, 19 Jun 2023 09:02:43 +0000 Received: from mail-he1eur01on0614.outbound.protection.outlook.com ([2a01:111:f400:fe1e::614] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qBAmR-007vpy-0K for linux-arm-kernel@lists.infradead.org; Mon, 19 Jun 2023 09:02:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JSlShRMIqkTLsFLsSnE1lYp0JHIcI2u/NY7wTLnQPS40/6SgAAnU5WzGPqAPhWmu/IAudJnBSfcRURhvJ6N9dzQPinwhx8QBfM+sxexhsRUePdLqo5WlD6KEFbhikewSNov2wT8v+da53EDFT/9QU1NNO/oL0HMtHCsRGGhgI45wyGi/BTmRv8G9KHb1FkwbKQxbvDJVGypnokvYtLov2K0CyAVrjetxzqtNzQbRs/zgXj1cces7oUl1sgYaWwj6rKCg2MR1X599JnNoFYZ1Vb1mVqRW9J93TOc4IHfqNsMWIVobIqZ4iuH/a8NAu9nZcs86Ey9cMbYr+UBCcUPaTQ== 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=WNWWN3TbGtxRzYRE1mNfBx+3RjAXlm2QYibMiBJKYt0t93Rx25uOHsBJZ2caIIBKolKTMN0rbTLd/k4u2xmSycMGoYTccyxrRhusQN2J/NH8XhO0NjdgBZtNBeoXz81p6muLbhh4MPvll6HnQjb6Q/OldNLeTkJmR80/mZSPUaM9PX703Y9dzUDpqzzmFTZpjdwvqC6gmXF3V6AkpMrD4iIO/vm5iRMhO7kJbku5aIyvf/0K33IdQy+CJPEzG6IUv2sZF5XxHodUWsNAjfXUWmKeuigsTVuJLNp9RLuxEDwgaYtlt9d42YGlgL+9quBfCGsJKdo9ZhrEENMZZzQXtw== 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=hdtCxKOGrX+un8Swpa1xG46YzMmxCyhmwT/mwAzfJjKwgLOIIx3qjNC7rHkzMClHY2VN58JTKTi5TBlHD08W0Db6FbLGE8f2sUcJdQzuBMqiNsgEueQ/PP6JsW2m2b1ADowT3CkbTPPcnEIUBwe53kPJ7X6lk1/j5B84pqDnnEA= 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 DBBPR04MB7946.eurprd04.prod.outlook.com (2603:10a6:10:1ec::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Mon, 19 Jun 2023 09:02:18 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::5a4:421d:f180:9105]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::5a4:421d:f180:9105%6]) with mapi id 15.20.6500.036; Mon, 19 Jun 2023 09:02:18 +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 v3 2/4] dt-bindings: net: dpaa2 mac: add phys property Date: Mon, 19 Jun 2023 12:00:24 +0300 Message-Id: <20230619090026.22713-3-josua@solid-run.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20230619090026.22713-1-josua@solid-run.com> References: <20230619090026.22713-1-josua@solid-run.com> X-ClientProxiedBy: FR0P281CA0236.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b2::8) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DBBPR04MB7946:EE_ X-MS-Office365-Filtering-Correlation-Id: e3228910-e0fd-4feb-244c-08db70a3e26a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lGHUpDpp9WIjFZi+MuWZYP0PI2yw8x4Eh1La1Fye03YzPfnRWqW8YynqQkpETPTglrBtBAxvN+d93YdfB+4+mM2CBVthOXrumBR3z9fGnVlV1sYA7pykW+Vel/q/o0X3rN3nl0JMm/SfEw3hi8yYowJ5RbDEFan8b7pQvjjy+mvFpKiURRYUoDVC7lYafadB38k+4S73WKa83Yl9hBFXYQTolarAvoxW2kqe7fzyKsgO5xOTXcK3kebIfcjWtZHGmTanlqAtwb//64pY8UCm3T/OtuogjuZFXc90pAhyUY+QcXhkXE5Vlw7l3Psv1I4HXjUq75oXIAL6SGe7NV2NgOuBEo1QSim3AHLl6p1eIR9tJmG9x/ZZTSpjiyNj39vvA9L+KhHIYb6yias4MOCboo3qoyKcrBohO9bt2Ubwf3FPebi295/oiQS2nIGQs6K/1a0Tt+TUMiOTo2Qafe3nbFn/6PUkgfluxY+ggKL+45Vc/7LbZauJ+8Ocffg4/x5F3MFZkzqy568v3STeJQ5JMwET+ivtvr+l12NkbqRxvKLK30tMVTL/t6EEM102bmOR1wxQnFvKsV1+70YoMX38iH1QcH5k09Pi2RTed/eF8GsVj+Ye+bhoIC+WxbJhIDsW 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:(13230028)(366004)(39840400004)(136003)(396003)(346002)(376002)(451199021)(478600001)(6486002)(1076003)(6506007)(52116002)(6666004)(7416002)(5660300002)(86362001)(2906002)(36756003)(4326008)(54906003)(8936002)(8676002)(41300700001)(66556008)(66476007)(66946007)(316002)(2616005)(38350700002)(38100700002)(186003)(6512007)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: wleUaY1husHqEcRzkDO2hfTt8GRDwtJloDFeFcegis/LVtgJ8RkItZNIlEw7vT4P1dKKhKNo/HgiUM6nHz0Hqy8TOXYPdzlcvh5eGaAkmDhKm4twX8Hps/BmayUyGyhgACuWNd4PfEtW29Op0sFgBcVBRZMXRhAuvsRa60MHv0qfXOeEYEIFDEKjAuwIJONRAGVmEEfFDbXMw2fnJHndoipYCxTdfM0JWEwdb1VvGWBSojhEqeesbD10Mqoc4tQ9a136WQ/sHYssmqHg6HLnHlSCa7oNtLis+KrI1JW+OwP4GlmHZaT2Pmt2zvGFkOnaaLWl9AhnDGTxPb+iJ+GePH7gE3/kH50MXsSGbrpBMcNGIT+KIWpBjZDaeDdcC3tK/rz5cTnTgcysub+n5UDRFmTkUljK04AB/DND42yn3UBSXHuE1Jth4SDX7vSIK+KrAot6dLTV7z5PEj3wCK/83VJo6rqvcX1F9EecBEqqGMIINzN3/ZHecd9sA86lptmzzu/Q1KCWPEPPEwV36AQbgRJk9OdCrj282AiwNqmIDLJMHjXsvyXtv2OSC5DqygRqyzWdcau1C0BzZqy676hobCRi1nyG2hxmJfDzBPUmnML3DenGkDIGaJxSYQT0uUBT004VMdY/LAo2+3hV92fiPhjKssfm50p8JAGjHKoML8+q/FZcrgPsj9lyGTgaAO+grpc+SLHF093sDqIX42IMZMgCqRR720qPqToAHI6AHTzaYhOndhwzuzIN9qkzVc0ijCA6Qp58wImuyZu+xVbR948my7ZqEN1G0653yma5MvVM4ILDMwY/DqLjcXpAHSEERrB/LcCl05sdPz18vtL/9Gg3npjzKA7AMr6IBTXeOD+Xje2T6aA+Up1ilOAiUAJLYRzHJv9XlAFHb8itABbcJdQPR9Ri3+oCgKx35jGlwueMzY9T3JfGWm/pmqCUUZmr+mAxJ02zNgKwJ5EW/izfAy3bAYb+wwqwXA3UVB4HD5/ADTxKY0hMMvRg4H7kYlM+Dg7Bc2PhsAK7+KoSGMWELU8edww0WsA4ehABiqOJgLUzMSKGXv1fEB/m6aLj74yjBRAOSB/ct7E82xiLI9kJvWxqiLPwnNPQqJKhLIMuhVjVHWL5YVgTGhEU+YuBNnqoIc6AxiDw39eJuAn9QfNrTF2NlokZKmWglgcg8cnFZYpn5vEMFJgDDkGS7dqkrOLI3aGECFWJZ7g1RTUAaAR1RHhto1fwGVGfNUEfZ996JZPzHsl0Tws4dLShvGtpW3bnAL1Qv7lfCvZJTWDJDZFkMI/u1zk5L/yHIBwRJi85y6CTWXWPuZuDusux0wao2LXYAectjPL5+RfMOtdlVlHtqhiuSKgykpUkwriSmzGoIixX7l4ebkPtUq4g4OYAN0UWZgIngwg70IcC3IMnGj8nbEapFTsFb1cZj8ahU0kbqdXRrH6d87Lmbul7yF6CJMY3xDVl6HzTS0o8+o4C8NqKPYRSD244Kzeq+WRHKR33JmYC0iwch5Y203ZIH3ilzkY3E+j1BXL2JRpU90UpVS3K3hQsPvFPpD7Mk86tuY5+50OiLjuMREgoKMDcCPgeEn4z X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: e3228910-e0fd-4feb-244c-08db70a3e26a X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2023 09:02:18.4664 (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: 3H0b7Afrwx/ff5K/DAEsodJRHO3ea/kiJRwPXLDtUockG5uyLN1Cb39h9sAM7y7SjsxLJwRlrF9Zqy7jx6abcw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7946 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230619_020235_142474_1F28210B X-CRM114-Status: GOOD ( 10.82 ) 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 Mon Jun 19 09:00:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13284176 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 09F00EB64DB for ; Mon, 19 Jun 2023 09:03:03 +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=1ezrq1htDBsLa0qYQUY0sQp0ywHNQkJulfeb3AhjIIE=; b=J6wuC98jzwmcnU /Zx+5V2Mnq/dl16hckiUUHzwcqKhJY33F60wMkbFo8UJfwPfCzdrNMMeEKcNY9YUoZyMedXHzd8qA gKdVIPJRQ2E3e36nIcjMG2lti3LWbPQWxVZeaNhwzGSslC7gn+i7aLTe073ASYyy9len9YxKBArha G0WBpzsJSpAgUTvVvu/1z58E8T+2V5FjQ3jvN8hwuLuZGvN5p8Z4/snnZdzdi27suiuVxKrOdHxoD e/11k1+pTv4NzZ28VhW8cvamcG96NW7q0rslzDZJjOMwjKZC0g8UZhkx6gvUd3Cfw8mXq0qi7VM10 f0KJa9CrJ34M9EOhlS8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qBAma-007vvC-1h; Mon, 19 Jun 2023 09:02:44 +0000 Received: from mail-he1eur01on0614.outbound.protection.outlook.com ([2a01:111:f400:fe1e::614] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qBAmU-007vpy-1R for linux-arm-kernel@lists.infradead.org; Mon, 19 Jun 2023 09:02:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fPYgQvM43zI/TpSSfiDWzCrrCytNi5LKivXYPFa44RJ6zJgmPmthYGRC2wtfdhH8P8lpyMzG7nklvdaqKZNzAi8Su+XPRgp1aYJlRKIrKo6kBeJH82+YgZAIMigdKLSUlh7JePnF9a2GHmpJaqixFTQ1gGD3km6DIAO7hxut+HKc4257+5M87EctBL41djvKdXjemy6F4mrki0iQiwRFRzCahYMwfWkti+E+wbisj7l5y+iEAeWysdrb65cWRO7ZdWznoyhYhLQylQI0thYQ7gF2OeUltXts6pX1emXLFLff0GyAgJv0NOkGnZfGSwR3uqqiBV9//gKc7/nCbpFZeQ== 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=8H2jGjKz+35/PSAl2sJFb27Pb9Jwju/vIYFpMDrBGuY=; b=fOP8zXMkhA7eknJj2afvaDVJVWMRgtgsKagKHA37dIyP+gT7b9nraJLp32XfiELZ6zirzFoqg6cLnDkLEbIOw2XSBYQd3FrzDxqXAckvn9khKZLjP/Z+DH5Ewyna3leeu03VKeFMY0hP9KcKkgZOC5JDHHyLt8kTc6sszoEry2ks01A6SqtQaq8qhbt/8Eegmy8wwWAERT3Rl0ZzZxIDZ3pxuddFXhZ+joGDx8ml8J/ocuL24dUrHaEIugJ53a9EiFjBma+yDewFi8OLlurF4NGkGDEs3v0GIzfvJMb9qI0Sw+BxEcwttykdORFUNj+gzhogAmne/BNEx0EZfbkO4g== 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=8H2jGjKz+35/PSAl2sJFb27Pb9Jwju/vIYFpMDrBGuY=; b=Ib40bpLpBEtbzCHNh4wuCVTZrZedWSibVdKjn7bkuGHCiBvZ8cXA+xzAmQxYaIgiGT1SxVBRTD9q90n4BATcdchSJBzPd2RRivnvbcjHQzh/tGOIqLJ0CvC05iX+C9TGal90q4cb+u5MpKShKmJgAvqYEZ2YDAtYR8DwYLiW2dk= 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 DBBPR04MB7946.eurprd04.prod.outlook.com (2603:10a6:10:1ec::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Mon, 19 Jun 2023 09:02:20 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::5a4:421d:f180:9105]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::5a4:421d:f180:9105%6]) with mapi id 15.20.6500.036; Mon, 19 Jun 2023 09:02:20 +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 , Fabio Estevam , Stefan Wahren , Marcel Ziswiler , Frieder Schrempf , Philippe Schenker , Li Yang Subject: [PATCH v3 3/4] dt-bindings: arm: Add SolidRun LX2162A SoM & Clearfog Board Date: Mon, 19 Jun 2023 12:00:25 +0300 Message-Id: <20230619090026.22713-4-josua@solid-run.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20230619090026.22713-1-josua@solid-run.com> References: <20230619090026.22713-1-josua@solid-run.com> X-ClientProxiedBy: FR0P281CA0236.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b2::8) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DBBPR04MB7946:EE_ X-MS-Office365-Filtering-Correlation-Id: 2506a568-6439-45c8-9897-08db70a3e34c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: u6eWmHW/jOJ40R+eZJpWIi2+IpKSig5HIg/MnMfpRcHTj83P43AgaAyZFiPr9ER67tt0ir33CX1rU+kSsNI8ftJpnTXz5Z3vpBNbc9HIgh8F4mykOYeNl6DECCHLGrQaohziZg19+dgl+iBuvw/Rhi2/L6aUnGNwDRJ8MRx1y9C2qUEdPQafVLHvhmIJKSEGfzCPNIf5ZBQHVSK5vouS3riwU0BDsD2h+Uj59heuPxm9779YC/rXCIncqwvKG1mayAyqLT8DJn+kU7FRps/41yCin/tXiYzu1xCqA32kopXoHBPz26cPCMVh4qojvfipRGRlzlHguFDuky6B/biOiTIN3sMgD2oyzaANe2/XMoKj/qQro1O0vM0CfcNjWtYD+o3oHGGQcq6Dics0HjIOwrgT8YbW7wT8Eo2hVAOvFswCNJcImApFrMMDM2xzKYQBeeUD5NrqWTVDRwr6YzbBGPLsGf5oIqAo/5oxXqZOcj3RlgdiDhMI+kbA0+B9neeC9JlsSBKnVfc1PVw55QF5ZMoCDXUb8HuFBmNTyIuEIN3BjJY/1RpGJBzgDqF+5u72nG4a4HGr4NfK/rsMATVrBnqshV5c0O2xJ3IotCl4JCILwAkm2fZUVZi5VxaICmsE 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:(13230028)(366004)(39840400004)(136003)(396003)(346002)(376002)(451199021)(478600001)(6486002)(1076003)(6506007)(52116002)(7416002)(5660300002)(86362001)(2906002)(36756003)(4326008)(54906003)(8936002)(8676002)(41300700001)(66556008)(66476007)(66946007)(316002)(83380400001)(2616005)(38350700002)(38100700002)(186003)(6512007)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: LjErSEKZyfEPfus41JpJJeBpqQQS2lI0UDpd5WfLNJedmbrEQBBF8qF2r6A3IHbnaa1qAbcdphzgZgJjc9WLgV9/gk3QvUJ2QCfIpOb6k5my4Ip+gr9EFE8MwYE1DMLpptMaa8aLGHasb89tz6dPSLuGSdFfAh/TMHjKlZ8cM6xZlakV3d118zHTfxnggJhFagUXz58r49FPinywHUJxt+FX871j5/xMrFw7Hcs+N4RkXFI+7TnzWhRDa5M3529a0oiypGWb1VHC6l6a5HpLCAwG3TOU4XJye8EhIyA0uRXixUXXEy7REZGqw4koh2kLIb2tXai/fSYGfL2e5zeVLITx775XqEYHs/B24IESykpDC7SM7Vbt1WQYm9UI1a0/L0C3PoK7/nJSqOzGODB6l8jlz/UPMDjgJR1BAQmQRMIMHLFX5XWaFV+0C8CzXK0iClxL275LB9at5X9ZaoSIJG4udv02egfuohavoAgvHsXomwC3kBfmB+eLjgmAw1OdUUdFfbBD9I7Hczl1g+hRZsFUai7lubCPVi2+iOqO6JJV4OiDj2gVIq8qtKSrGYMVcm2ua1pR6souK5wVuOTBImX0NaR+B/X7Q9chBFbdlUK5JiuXx44DqgmKg80ebKLQgWAtSkLoIYoI8ZmF220F3dnGp1ZRXV+e/v1kE9gwsZT0i95lK2kM05QolY7zA5r78y75BcuJ1APe7Ocoqz7MYA1PMcccMbo1YYNqI+07jUedY8uLkeoN1O0fctbt/PIe0aU2CAnrwkzl2E+rGzNm8lm7plDNV3aoL88fM64wQiRp2Urz7OijlLhuNZHQDWTWT4yIkdzWg4r6ViMlUal+VYYlylF2hAyqkPeJKj0wAINFMuJc+Lpf5bD4SiE+6MoBvQD2cRU2WYT6ydkqGhGzR3JZoPF0/+TjHleEIpmPYOJ+9byZ/QTWQN7KVZMqf1JNLkhzFvG3dlqdpZwXNNm6ZtrbS+b+esRqpU/MUHLR2Rxc6xSS3TSCbs3NmETWirps8Q0pEcCmSoXlhUBJuwLJ0JYXRA9UxhzijpPlsV80vGjg/nzDCs1euq/4BKGL/BZGSHcw6yLoST2U1ER3vKSs8JXAfhAw2cUdU7TGlRUw8coarMPLej3dGfMNGPmpdG3kdlHq0mPMUDRjBCeTnueCdUj79q53KDpnagd6pkY6oQlGOieGsdCUzYT60dI1JcPaXjchUQxMpwdKeGQHZQ+8DhQH4QyhE0tTV0y5AHdff9I3i6lW0Ukde7EVDR977Dp2gOKFOVnnw8qLi+QTSFnIhloPfBtfQLVY4xs7vsWfS0qZJ0Pde+PIfO75es+Wpj/pSu/yJbwWghQP6oN658kl6cVPT4fR9/2EJh5BAc5baQzvNpTm/5hzodc9jQNsGLzIzArslzKSKCRYYs+4Kr+r4cpqlj5rh4fL9LERJEUVjTci9dNV66NmoYT5t0tyfOBrkrEAxqS65EM4M22hVOJQlsPAQJA7+TrLcvvKrb18VZvYsbX1DLFbBNJgXpsZWM6Hyho/Mry7vlCUgwx7p1egV/ve4Tpe4D8uOWBtHBC+g5Up778abxaYAvv6hPgEFqxN X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2506a568-6439-45c8-9897-08db70a3e34c X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2023 09:02:19.9719 (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: wgsbG/9fDafHgChEGFlQ3O/PwfyNBW6zKvwswa6TEIEmq4nsw3+1tozi7+yFY8rS00lLgveDnjN891DP6qKPpg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7946 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230619_020238_486664_EB930EB5 X-CRM114-Status: GOOD ( 10.02 ) 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 15d411084065..51911a89ebb4 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -1370,7 +1370,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 @@ -1378,6 +1378,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 Mon Jun 19 09:00:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13284178 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 8ED93EB64DC for ; Mon, 19 Jun 2023 09:03:07 +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=1SPa7FiAV725TfXMEPURppCiSm7NdTJspZ1ytjLx7r4=; b=q0Ew9hT+W11eQ7 iExxcWdmpwh36Pf/+NqAXmodjN6eIqITQQYakKIOFG0DJ6D/M+tJZb4+YDd8XIURlW9m/qTMdDEMh 8xoB5npfDq04iDCubcWOWs3e+DVxeFug6NPv7ox8MyzU6V5lm744V23oFJENy04CygrHnrWy2a0op uHt8SBnSPFiOp7RriYNaSkk+KKgU4gtCNG7j72whl94AjzZgAk/O1r2YCvig6Qod2wrhCwfbobgMa vHSWAnhbkRcUbyL/ovvT6RFsuG6HWIr8oOl2bEqf5+WrxQ0AOffPPhEjbPRMPb8Fb8oRAHsQy/hKw ftkGEA9EEzLbAsRDRJvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qBAmb-007vvc-0D; Mon, 19 Jun 2023 09:02:45 +0000 Received: from mail-he1eur01on0614.outbound.protection.outlook.com ([2a01:111:f400:fe1e::614] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qBAmW-007vpy-0Z for linux-arm-kernel@lists.infradead.org; Mon, 19 Jun 2023 09:02:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C/H6+no8KA/lZXM4xh9eFngZEj8GkvUEHsy+z1xt31Rf+BhSsN9CoFs5ZMkorTOIzsiQdwgThlOJOuvla1wyumsIzyjoRcRI/T9nDCC/xzntX+KqPrezxUmd5MIgQxtEw5fuWHFhjJBGCd7qPrm1mPcV9blnQYHhrYDPLkTTmPIxWPwojItRkmp1uZnLb1p/U6wKX/UPdIqtDM8mz9bgcYWznFZ+E9jxzuym2NspWXF1BGI68Atk+wwZ6EJ/stxgokRxwIebrtoUKbrXO+cvUxhkGtFc0N9u9y5Hpi1sGQOheqTmKMAezKDZNcQ4ryoFZrKbnyEVpelzrux7nTlo2A== 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=xN5vmTSHzIVh/4jQdKDEKhXvvXz8l/fey99lgcDJBqM=; b=UoCKjenIkIJxKf+PS+DhX2vkjIW8OAZwuetAo4YPE9xOO2WuVhArkp6DI5jQMBkRe0XK9w68/c2rRudDwzi1RnozbHQ73clDh1LsVkclykJX/SUfbN1vAIOZRCJGnb8zr7q24U03qKWmYV+Mfetrg2M7AzWNtZ8tYPME3sn3Jk/HJYrgh0SrpIRLEJA8YCpriKIrbvvb4I7H76NzXMuhC9GFcWteql4RDPN8ayhqPpP+kCuCDRI+WlOp5N+QSLuXITBvDxGyXZ38P8aXtzBS+qeLIH145QubMe1EMLCyF/1TUmlM16DzDwnxEtfM38vyAFZOTnIFjF++iCHu5bKY8w== 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=xN5vmTSHzIVh/4jQdKDEKhXvvXz8l/fey99lgcDJBqM=; b=H8BPmp9070lmHlOW5aoMCd2wyc+7H5ibfoC3jSW0fCXg0SFPEHcfuVT2VhrOpf/NbZvNYrk7tkwulpHIKP7Xbyok//OL0Tam6Sn1v+83hN2hI2WToB+zUSez5cIb9VaxVwrH1T1logIdaPvO4TJhTu2HOg7vk5nxQXjIsHO63Cg= 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 DBBPR04MB7946.eurprd04.prod.outlook.com (2603:10a6:10:1ec::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Mon, 19 Jun 2023 09:02:21 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::5a4:421d:f180:9105]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::5a4:421d:f180:9105%6]) with mapi id 15.20.6500.036; Mon, 19 Jun 2023 09:02:21 +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 , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Li Yang Subject: [PATCH v3 4/4] arm64: dts: freescale: Add support for LX2162 SoM & Clearfog Board Date: Mon, 19 Jun 2023 12:00:26 +0300 Message-Id: <20230619090026.22713-5-josua@solid-run.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20230619090026.22713-1-josua@solid-run.com> References: <20230619090026.22713-1-josua@solid-run.com> X-ClientProxiedBy: FR0P281CA0236.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b2::8) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DBBPR04MB7946:EE_ X-MS-Office365-Filtering-Correlation-Id: a7199539-1fef-4eda-d4bc-08db70a3e414 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sDaQsnzsAou9K/H+mHLoPuy4rfSx/SDxqhzd6r4fuhW5JkocYJsvjjQo0BCMQ5J+Tp6N1p6UGVy6X6RUhtRLlU4o0ratg7VzDCjeC8aoqE8gWYm9RrxDrXkJDVLxtlR4xM7a8JNyv+kDPBYC0ebs6rTVGol8IwYwbqbxA7FI/9YRwrOF19ydM+e4rmRXfU0pIJ38wHCkwni7gHtmHntZYQdX9tbVArK0PuC0c+IOxZKlc5tctqm2OXTAtUjhhleQqAA2+NeIkAitjsTFzjXLhMbyIJOD25I9Kje0U0YLJKz6AfWuCGDYq/Buv65I9vza0Y+YrkV4Aqwm7zBPRxZbCRL4h/h5UkQc39ZvD+GOiOD16jxThmPnmsNlXgao1Fw3tMX6iOW4tQHIwQrP3TGrfWAIsdSD3EC8O0+yo8gxumI4XWk8cWjrDwLzycH+h6hEkhig/2U0a6TQTeJ7rby9VD7U514IfoZgatgYtdg8nEuJb4Z84kfdJUNJzyKLtHrBP4D/5/uH8S1alb8XlmtgB01mOh9Q1JH3EhLdB/b0s49w60pr/gICFphzPdHf6e+B0EODDZW+SY0sUledZjMGPL5OcR72emSbjzwoxfGeRoeO0XDpVQwzifZVXYPya1tu 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:(13230028)(366004)(39840400004)(136003)(396003)(346002)(376002)(451199021)(478600001)(6486002)(1076003)(6506007)(52116002)(7416002)(5660300002)(86362001)(30864003)(2906002)(36756003)(4326008)(54906003)(8936002)(8676002)(41300700001)(66556008)(66476007)(66946007)(316002)(83380400001)(2616005)(38350700002)(38100700002)(186003)(6512007)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: VC3NBZXkIkYhk58uEV8I4qATgQUpjcMbKnaouqArrZLhOai2r5jm8n7Uf2Vq4TO7lXHGFCV/DsDOQ+nW48scXJDzN/BgU0ZTREa+l2CvorsIjHGiYP2QxmhjXG1lpDaP5dmSWyxXdINocxTI30afgFFMNc8CZR9wBLaTPZ7bkEnDI4UyWd8TKJnKhTNeq9gJ9Hurtgr5Fe+7VzUVDXOXw40x3hgibTRgrZGDqWHHCP3uLSAWHiWtktUxaTjsPPTShptt2AzSxW5ybswekDFYkdD56pBrWhKmKUVtJQ3Opi8wYH7QyhipOoKhWum7fHsY1YUJBN7qeBJk7Q5Ztejm09nEqtXOmDpQAXo169LswqVrhcLcfUjAmrwrDIvbWAsQ258bcflLcAJybHaaIJApqIc5wIzx9mNFBmpmkZx+n1AL1madgoqPqGaqPyEmm7Hy+WfsdEl3zcLTLfqC6A2CCLc+l33rBreNx7bT4ScamXPSxus+/y4W4y3oxwxzQTaVST8pdQoh/0+ktfArK2EgmOcp8WZlHkLsvFQ46npcuoYC8NRYQV40Y9D3NpuAU47m1KPEGjeegjj0luoi+EhZvXTGCToZg3OzbPa19oZ3D22vWubMbFXSpww4DCGAJnPbBzsSpOhfMxzueOHjCxuX7SaQPJqWii2nGNJFcw9ZDKZS4FjiiCHZDKR0ErcYCxj4DoGVCQ/LxL69s27IKKt5sWrQMy1Z06VW5bUb0KL62OBOiquldceMa8W/urIdkTeZ/K0SdiejC+zVR5stnZT2vyi1gP7ZIxE2ylMwptzpWmDFwzSqr3AC7mhStE5MSU4nait/K2mz65zJADjipdHfdUC3OBTkfQhz7tCRop4RXFqcV267KSO0A8RdJ4TNmNaWIxjMjrHzB6F6euwpLzr2RSPn98tVaa3pUvFrMpsbDVlk8kYqNjHWyuuYeRiJGNtklR4Knq7kSxyhAVap8IWr++JDLMh5znIEzIWg5CX/ycqrwDoQgi30IyrVkSbFGx9VFPaXqnfcc7iOJdhyRNHmu2pCjnXqH7nSM5wr/D4p+b42p03SoGr/4TqZ4+2nKmcbJY/sjovTKJfF7EeknW1trVIkFcDLxKS+Q489+va3pl0gvscXj2b6g6EaRYq1yhpX+UR17FK5ROqGiOoAHJC8aKp/URvPv2bO1zug//GbW/nCjJorm4Uv9oQveKpZrpovpUDMKO22v5Mapdz9R9LQVSNX6vsrDZItk+miPWiJI7cBgrlSHr3wXfiUPWpijavFBShFC+tBZybElpAEbEaO7BYs6yZdtO47/uEF571K7vwgXTBhedV70cfqqNhkW1sMgRwB71Z9xq0c44z/AsumAi+84Bb7/zRVZhNkTZhvBpWwU6McDJGOTk8UVf9GN4lxeyas9UxgMrH/j8KQOX3kngVXUL7+hax0iKhNi1O+ICiVWCqs3haKE7IjpZVFwjCOhXUIk8gl1lInCuJmUrq0yTvaKKz+hENDKFGYf4wkWwhhPEVRV1A7FMhXlCZ2mB5Wp7qLmH0wi7BMx4yIeVjDpe9puk61LtPfIiLuZJeBhjZTSNigrkCNrVpTfaN1yrWD X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: a7199539-1fef-4eda-d4bc-08db70a3e414 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2023 09:02:21.2475 (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: wxQsCAGaWe0PjKDCjqZug9SQkzpP+Y1nSdGvoyCnWwaA/diGk7f/0Db2N+OT7aFyz7X2ldMF76UfNvVhHP1GBw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7946 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230619_020240_220937_4250D3F7 X-CRM114-Status: GOOD ( 16.81 ) 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 arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/fsl-lx2162a-clearfog.dts | 371 ++++++++++++++++++ .../dts/freescale/fsl-lx2162a-sr-som.dtsi | 73 ++++ 3 files changed, 445 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 ef7d17aef58f..b4fb5044d1c7 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..57d8c93bfc57 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts @@ -0,0 +1,371 @@ +// 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 { + status = "okay"; + phys = <&serdes_2 0>; + phy-handle = <ðernet_phy2>; + phy-connection-type = "sgmii"; +}; + +&dpmac12 { + status = "okay"; + phys = <&serdes_2 1>; + phy-handle = <ðernet_phy0>; + phy-connection-type = "sgmii"; +}; + +&dpmac13 { + status = "okay"; + phys = <&serdes_2 6>; + phy-handle = <ðernet_phy5>; + phy-connection-type = "sgmii"; +}; + +&dpmac14 { + status = "okay"; + phys = <&serdes_2 7>; + phy-handle = <ðernet_phy7>; + phy-connection-type = "sgmii"; +}; + +&dpmac15 { + status = "okay"; + phys = <&serdes_2 4>; + phy-handle = <ðernet_phy3>; + phy-connection-type = "sgmii"; +}; + +&dpmac16 { + status = "okay"; + phys = <&serdes_2 5>; + phy-handle = <ðernet_phy1>; + phy-connection-type = "sgmii"; +}; + +&dpmac17 { + /* override connection to on-SoM phy */ + /delete-property/ phy-handle; + /delete-property/ phy-connection-type; + + status = "okay"; + phys = <&serdes_2 2>; + phy-handle = <ðernet_phy4>; + phy-connection-type = "sgmii"; +}; + +&dpmac18 { + status = "okay"; + phys = <&serdes_2 3>; + phy-handle = <ðernet_phy6>; + phy-connection-type = "sgmii"; +}; + +&emdio1 { + /* + * SoM has a phy at address 1 connected to SoC Ethernet Controller 1. + * It competes for WRIOP MAC17, and no connector has been wired. + */ + /delete-node/ ethernet-phy@1; + + ethernet_phy0: ethernet-phy@8 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <8>; + max-speed = <1000>; + }; + + ethernet_phy1: ethernet-phy@9 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <9>; + max-speed = <1000>; + }; + + ethernet_phy2: ethernet-phy@10 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <10>; + max-speed = <1000>; + }; + + ethernet_phy3: ethernet-phy@11 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <11>; + max-speed = <1000>; + }; + + ethernet_phy4: ethernet-phy@12 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <12>; + max-speed = <1000>; + }; + + ethernet_phy5: ethernet-phy@13 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <13>; + max-speed = <1000>; + }; + + ethernet_phy6: ethernet-phy@14 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <14>; + max-speed = <1000>; + }; + + ethernet_phy7: ethernet-phy@15 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <15>; + max-speed = <1000>; + }; +}; + +&esdhc0 { + status = "okay"; + sd-uhs-sdr104; + sd-uhs-sdr50; + sd-uhs-sdr25; + sd-uhs-sdr12; +}; + +&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>; + }; +};