From patchwork Fri Aug 27 20:27:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 12462873 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3849CC432BE for ; Fri, 27 Aug 2021 20:30:08 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id EB3A660FD8 for ; Fri, 27 Aug 2021 20:30:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org EB3A660FD8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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: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:In-Reply-To:References: List-Owner; bh=lwbDmcnna4huweZPa18hLRy0FOyIm+Dw+UNesraviYQ=; b=KHll0nmJJFNZHZ KQCxZJjc+rs9V76RRQ2R/nHotSWPlDQQ9UtNsboD4aIke1USwhS/8vD0K5q7KTZChF/RBMDmZ9eVg dnNZNY93+Qvqkv3mC1gYdBvPi+u9HxvQawZhU38O3mkZtZFWmQfZioaV4X7aEsj0MwrUOyJrNqx/I 3bBO3SYglWt57ur++PGw22mu4MoNBbgX70DKAcYpvqOxHn3SrYfrU1nCBlDMkMU4kfdrFTysXz3+K NlfVzkpcl+ed2xLnqigN59vh+4phnyC8o7vEzDdWlP+aYsz2NcA/FI7+AbnoNDevs+EUPuB8uxtfu ozHhf7rz/Spi/FJ5Bwkw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mJiS6-00DCW3-GD; Fri, 27 Aug 2021 20:27:50 +0000 Received: from [40.107.21.64] (helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mJiS0-00DCUD-1Q for linux-arm-kernel@lists.infradead.org; Fri, 27 Aug 2021 20:27:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kvf5EnDroI2OgGkKn15tsvAAtiOe9AcR0LXOEdvpLw89max/92yrOg89Jc7wnCe1ISBc0KcyfLnKG5hGVo2pE6OXiPAm9dRtKbcHdCh8lliy6GxiI9iUbYIQaSmQkDvkIsCjee8tcFCltZOyLsPpPOSfMeWH5X78Aw1kngHut7FeXZKtvLM88f9pR/O/dOymU1oCXk8fo699NqL4Yyc2Vlh4iJVGzXvs1+vIgb+HbYda9lrpdCkRRdNiVqrmOxPI2OWXVOl4a1h0PcArdHfuMEkZQ4ve3nS1OAinSbzC+GYl27cPmD2rlTLKE5cZZjB0xmF9qiWarFfXLxFzllGEig== 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-SenderADCheck; bh=aPROTzm9OUvDuh3TtQAkyxwNeQcLJQVytdffhfQdSYM=; b=bcRtTiZ45XC7nj9PVgNVa8fFdwNBvo7ThKL/LCd+0l8Fdm+oDHJUzp+WUKmUUmKrBqp0Q/6FGxbujxj16+bR18l2FvvmNFgfleoDwC3ykCE3uaOCSO88E5afq6EpDnHW8Y8h5PGWwk5Oc1IqhucexRsoQFQiTH/h7TPhyiSx5aJ9gRY0SIjwXSzFDq1jmABYjgZmhl7ZxdehPkXa838LIVTpc7VER059sZKus2SguHZ20L4+Uj+8zjAwXxhGDhFit+eY6hHgkhmvPu5FELAu+neV2FUF49eIWLbMcFQ3LDJwsgbC/omsHJnmM77h9sNNi5JBK5W+nzeBmSjR2+URuQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aPROTzm9OUvDuh3TtQAkyxwNeQcLJQVytdffhfQdSYM=; b=aZeV3sTncOMqMzvcV8ayUGvG77oij9pGQA/EBPYFr89K9XWvv8zMNiAfmgx6eLAvF+yGVCqTSElwBr4hh+lbZ4ofCs5p4WyzrZJbBIArpIaa7y/GfJBqBixFgsgNZfaSR9Kk2zxZRxYpGzDdjLYw/qMN/ebWJS6aKsmCeypkiew= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) by VE1PR04MB7374.eurprd04.prod.outlook.com (2603:10a6:800:1ac::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.19; Fri, 27 Aug 2021 20:27:37 +0000 Received: from VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::109:1995:3e6b:5bd0]) by VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::109:1995:3e6b:5bd0%2]) with mapi id 15.20.4436.027; Fri, 27 Aug 2021 20:27:37 +0000 From: Vladimir Oltean To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org Cc: Rob Herring , Shawn Guo , Li Yang Subject: [PATCH devicetree 1/2] dt-bindings: arm: fsl: document the LX2160A BlueBox 3 boards Date: Fri, 27 Aug 2021 23:27:21 +0300 Message-Id: <20210827202722.2567687-1-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.25.1 X-ClientProxiedBy: VI1P194CA0051.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::40) To VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (82.78.148.104) by VI1P194CA0051.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.17 via Frontend Transport; Fri, 27 Aug 2021 20:27:36 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b455f373-4def-4f03-d4d5-08d969991c14 X-MS-TrafficTypeDiagnostic: VE1PR04MB7374: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3631; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: k7hqsM4xmySPQeM2IP23SO7zqmsh9IK62tToMWwlk6fth+Q6Rwn2Gtc6znXEQ4KIC4lh4TBbhVtD4bWtDerD4pS6RyXnA96MDvuVU/vu2EhPQVJ88hZDfHftSDEbVHbTsu7P0ic0J2Sj9Xc0Zm7N/AeiMoXsYc0Vg7tZwkT0KlAkRUExelnoC8JliEU3DkCwJE0kZfuXMHjCL1k5WX3RWKzfLw/Tv8cznfIy3hq9/aHN0deq4Xzgr8RvpQE4WHIbgMixG/vxoCLbeStsoYa5O51hTxuSprg8UB/5Ewm27OIm1CiZNbQtdK+/xXFtjT5oPp1JLbEwnpXQ0hXjHjU0UA+u9hy25yiNQEjc09i/mHu57Vkcb4+xdQIMaBTTpTj5u4iRKMAZV3TbMVLKtvAJ3nGshZyCFjxTpybmmyje4/RSMullgsL1sG5z0o/QgVdHmdlZskmPDiyM9HyqKBANprRLgH7IsRJncgb9gCvZG03pdfnDuC18SHDab3mhIU0RS4vULbX8SlphrkXVbg4MFo7vRtxq+XQ5XKpj1pZ/Mi8BJJYrviyq44zxwOogSWtPwKAR25w2EmpKAHrvYgrQL2OhUczfuxIVYwwcbGbxxrvQvQZHErWLOjOStUls4s92YQLylBakHn7U8mkvsGzeqY8gVrBsMXFXCeqVkOqr0hs69/NUg8iTFj2XQkpjSJi2RLUm77fY8vIen+xBwIGy0w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB5136.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39850400004)(396003)(376002)(136003)(346002)(366004)(2616005)(38100700002)(38350700002)(66556008)(8936002)(66946007)(956004)(6486002)(1076003)(26005)(316002)(4326008)(5660300002)(54906003)(8676002)(66476007)(44832011)(478600001)(186003)(36756003)(4744005)(86362001)(2906002)(6512007)(6666004)(6506007)(52116002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5sOoQAlnWYMAetTI9CFVQBUzDw64FsacDFiIOSy8Zu1E34h8ypq4FYfv/Rq2EETAcccmhOA9ZRV2sbERAcjVD17ox3Ek04QOLdaevK1E5RIZbdy0+FQlxFTqr7cmNuEWpJ8YwL73lh8nMEPlg/QbG1EbiOnvmDBDtzMzBGLynilPumu4y5NRQSLIm6wGSrp1BArS64CvEm1SUf3+fOT7rY+iW8IoiWlvxM+PiIzi6IfFsnJG5yTuPMpEJ455Bp2W4+P1j8YroYlEFOXOp8Ptox3JWn5ozLbCokKjQjqPbtmUPnL2yQMslWI2S5sZqgDZ+ZCDrXPpJxDSNLp1Mn2ISDpFky7cV1PMKj4sH4h/Bi3uJnB+fzB+Xr9+EC96sgdSJbbVRKEu+lsvNCP8LaTm62KF2xLmfyscs8ZCCPt/8D6Er5xoJAQNWG7HcC5/ZWfyuS61qD4pGtdLD2kTtfEpkNLezJ7Ka9Y//77Bqhj50Z0XTT20NfTre1NDY7QB68N4o6vC4uMHhT3jtOUzyvNEZmbzvqiu1LgNZhgmRZ7FcMFcjDd3RXgCimwshwO33eIekbbF7UGf6ylnfaKcetGej1MT4ESf9hILwj15jhA0pO1HsB8Bllo/DmCEvhleEfsDVg7aXBQ2ZFItd3zlI02bITd5A8uRfSvkYw1AAeBQKQxh7bYJP4STHnudXANwddaBBoOr9qYYxQl0I+2cSTT+AE41LdTJ3B56I97ndpjmhW+cZ6HC2uD9WOrrVGK6Gn2FuIKwfmFD3q1rJdRZa407oBy2OIStNtZqF/VmeTlQ+B2Yk8Qj0vJlDaHumX4zJmiVMHIvtADipvhX2pm6bUu0oD5J0WJb9OFsAN141zp1xJvs0TDgPvTOP9bohLYZJ9lqWq3+fPxmjkT3LAa6dbSE3wnA2nN2A4HBDdYZJWjUe/ChPR7FIfHUkzWlbS9LHJvXuh4c58q3vnGPHZI/aidTdMYGw8H4I+IwMJmj8kcQ8/TqRmYq57CW7Za2GGRk7/V+cJqzpD9cl/mQSHIL5ZAn9x8n0ljKwPvgzmsMVbatx1HxAlzWbapoy1kQ5udw9KoIHmBEpkRRpXybiyrvblDbl6KnEUDfG0CcbH5vNU+rGpL5+nqcM7FVeVmqDYmleMFxbQqnKawNt1PQQHQ+zg8IkRrdm6uyVDknhtQEyZhyiH1JWOcZHzToRjVL7x5Yf1fOlLfYKXuydLjA2P86ccxe2EU2k+FgzYT5GaD9NcJxbQZncbRrVfmoPQVbGgF/ln0d0YJD6Wt4MqM6i/D/cZVY+1Y8HIjFmdc8khoYIgtvL1XFDCG1Opikv/8BPBB0Eadx X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b455f373-4def-4f03-d4d5-08d969991c14 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5136.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Aug 2021 20:27:37.3774 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: LFF2yEYWXR0MxLHIHbJORTVXl8SpqRdAOBe8yVyYgUY/7vRriUhsgaMpCO7n01gjSLdoKvx04ToZ/vKxC2Jcag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7374 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210827_132744_155027_13F44732 X-CRM114-Status: UNSURE ( 8.84 ) 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 Document the compatible string for the LX2160A system that is part of the BlueBox 3. Also add a separate compatible string for Rev A, since technically it uses a different device tree. Signed-off-by: Vladimir Oltean Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 60f4862ba15e..d31464df987d 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -979,6 +979,8 @@ properties: - enum: - fsl,lx2160a-qds - fsl,lx2160a-rdb + - fsl,lx2160a-bluebox3 + - fsl,lx2160a-bluebox3-rev-a - fsl,lx2162a-qds - const: fsl,lx2160a From patchwork Fri Aug 27 20:27:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 12462875 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 230FEC432BE for ; Fri, 27 Aug 2021 20:30:16 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id DC3B460FD8 for ; Fri, 27 Aug 2021 20:30:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DC3B460FD8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=wYxnWevhP5GEEx27co8rWX9G2+UJHzipYefKUCfGWzo=; b=xwzSNm8ppnbqol FPR9Y2PKEA+Y8dH0R7b7C5xnjhMfSlmoUGcYhVi7KlAos5QX/7t9yWHfnl7aXC+IkImWLNhWF4B7O NIhAnWhBhxU5BaLpe2RROXwQfp+1DX9g/XdM0y2/e3r+p3BNoG6VSg9pP/xu4JoTOR8nGkHWM26kD ExRpD9BQiQYR2kD0GkEU8tBckgfvOZcybegTzDAuvR3SFbXQ/hkP7JSQYCDUzUDGuT0trKhVegI6g Yl6K8uuoSWhuLULHqG9WmRr1dAbpnpHbUTZjrtuccufqKT8GBtFQYpNaeuyEUA+ESHoRkVsuTu/Y9 yIDU66NnRIpGedXpa2Uw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mJiSH-00DCWn-G2; Fri, 27 Aug 2021 20:28:01 +0000 Received: from [40.107.21.64] (helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mJiS4-00DCUD-CX for linux-arm-kernel@lists.infradead.org; Fri, 27 Aug 2021 20:27:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bO5L97AU1DkQD7l+YeWJnUPriPQ+snE5B5jqAGSNC9krgr1NEayy0keLa7C3zcoKa2mDKnsH9DS+PQJzuxwVxaoy37z9s38Y5UHNnMpgjn52owO9iERcAwFfYdw6wvw8Au1Q82V9bLgC/NVGxAqeXQsGz5dVcaP397nicnkKVNpSKY+hWExo22saudr5X/VUMp54laCTpgKivXLwgW9NIye8QVK+0dZa+Nbd4uvIi888ym4P+msvxO9DA3daDGV5lzhjDeygxMSfv1Vk3lC5WHlpixdTBfMYvMxv3TF+xJkHoUMxmqvW3IyMEy1Qh7z0WkloN884ueabZbc5dRNqbA== 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-SenderADCheck; bh=b+ZF+s7CFVjgjT0/7UH1ahzVkV6Z2zUxukSCilgRu1U=; b=DiTUi4b2yiEUfpJuxBUYV+c8+gEdvrQ0kUCpKGM7ozhNO3ETD59U6JrUkIiGoBAqqqQ0RfhhN4QKVk9QSm9W+xAtAVVxKhB8z8cOLJPpuc79tg3y8xuPXKr5MzX+AM0dhzKqEOKPwQPyU/7ZuXDkRidBawTIKer+rbBcwntqA5qruC4tYw0UvHzHvDQ2AMfylhwa7Nz0DRZND97w4tTt3V59KNFDxZGivn8RZvB/pQoFBlUatplGuNgiJyEzkrbo8HNkUHsjEnoUX0C+Zp48mybZr9L+KclNuZVtWernNc4NpfjzfMk4pirAZzxVHGvR2QMLFLg4WjhPnjhaFfRT4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=b+ZF+s7CFVjgjT0/7UH1ahzVkV6Z2zUxukSCilgRu1U=; b=VERhAVECQLkwcmniojLucWGWezt2GRkGCxNXMTh74PnO3Jvldt216lVTPbikOJU+KHicgfjStSt+9JgvdbOh75VLcI/1GxZvpY6ZR/QnWIpEVkBpInEl5/pAmdAz9wYBmob6VzmOz0b/p0FuJhdY2L7wRflhIdCfSbEZbCsSM5c= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) by VE1PR04MB7374.eurprd04.prod.outlook.com (2603:10a6:800:1ac::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.19; Fri, 27 Aug 2021 20:27:38 +0000 Received: from VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::109:1995:3e6b:5bd0]) by VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::109:1995:3e6b:5bd0%2]) with mapi id 15.20.4436.027; Fri, 27 Aug 2021 20:27:38 +0000 From: Vladimir Oltean To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org Cc: Rob Herring , Shawn Guo , Li Yang , Wasim Khan , Vabhav Sharma , Kuldeep Singh , Florin Chiculita , Biwen Li , Heinz Wrobel , Yangbo Lu Subject: [PATCH devicetree 2/2] arm64: dts: add device tree for the LX2160A on the NXP BlueBox3 board Date: Fri, 27 Aug 2021 23:27:22 +0300 Message-Id: <20210827202722.2567687-2-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210827202722.2567687-1-vladimir.oltean@nxp.com> References: <20210827202722.2567687-1-vladimir.oltean@nxp.com> X-ClientProxiedBy: VI1P194CA0051.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::40) To VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (82.78.148.104) by VI1P194CA0051.EURP194.PROD.OUTLOOK.COM (2603:10a6:803:3c::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.17 via Frontend Transport; Fri, 27 Aug 2021 20:27:37 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: db791792-11fe-4f8d-81b1-08d969991c99 X-MS-TrafficTypeDiagnostic: VE1PR04MB7374: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rXMrU4ojS1Qo4Q2F9R91VpkSCyzUu6syi89UiY6pwO50QWdPJkITA2Z5NxeTIFaKgcW82009Vp6OacRKNlcfJ57ubwS7i7dzK2ZlBMqQrNRiFALPbFWVmOAkfeDEiHOk15HRZyqTcEbJAaAlqMkfSQCBysBABzjBW5aoak9YDJtYbPTm4TT7MLS7EKpdSOHM8RivqUbmy4oQa726Wl0NxEyuifKwdZhLAJ+JtZriTObtJQJr1YiLNBRzS2yxWW5/zaxBqS17mVmS7QhNvKVQRZLb9e0jVPWL3zPxy8vzqPV3psS/HhUCnR0e+r7jTU8MY2SJjfM1DmEVZjYfzAGYhklt/XFJ9o8/RYnJj+GFFAo867tJS3mHsN+yP9JGVyLWNWCDAeKdyY15BaOL01AKL8P32NQHav89Rd9g1bAbO2OGa8DI3Sb+eRPVa4QEK0o12KLF+En46f81Iy8Ygij93pwkui0JOBK4DK3VBEnVdskA2wp2kplhoo3Hd5gBvvdehm6EIioGfAmtsCJ5BvGu1vEG5sH3FOx8OKY4C3cZ3rHTTEp6ogu1ukIxhuFL83oTh5OAPhvpLZNFhcA85MDzcAh51k+Lh4/2tzJOkUenyGlCcgtcBuMTlKlwWzeMhtYBQikmlVnPNtv+QMqcK4vB28OR0rqIQlnnAIz4hAZnrejWRbIQDKwOTcQ5wKLAPeZmxm1g1gyv15mxtmCIQ63hcw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB5136.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39850400004)(396003)(376002)(136003)(346002)(366004)(2616005)(38100700002)(38350700002)(66556008)(8936002)(66946007)(956004)(6486002)(1076003)(26005)(316002)(4326008)(5660300002)(54906003)(8676002)(66476007)(44832011)(478600001)(186003)(83380400001)(36756003)(30864003)(86362001)(2906002)(6512007)(6666004)(6506007)(52116002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: FDi+9w4SsZz6ilU1ZmpDHuHL1OWImiuT1hOfbdyNadPLTJMQJhDDPzAgpRrp3CpXl8mKGdaUdK98nv3hIw6yzcg41gNpa3Q/bAPpm2IKNNqhVivWGwcNLDlXHis37AdxNfOnuxWjMdNH3tAlJsHYZjSsUKVAGi6HdJTbUGGUrBNResRlDzFRwOMwfXC9TWq1qUR2gkBFsIQtdKqzM98VL1EjrzHTRW3iZaw2aFCKlI9objkZIlaqs5PK842v2BxEbdO41UNjzpsp872aSakxknCRB/mC4Oa+Ed06p0gIuABiLMkpjI4Xhaxz/NCczTVkJfMs1yuLEGKaB321zLj1ar9OXKjz/6HC9LTAJ2CeN5vA1l1jU3B0zhh0VYUWCxjh56AkIErFDGHxNmBCFvU65t0zNTJ9xM+jP4Nc+T6yYM66BTtdEqsgAuC+oLIHZSiY4fo5MKzwt0dTowsrFtEsWAlIHacfmomaTGKuv+7Jcq2bGSPI9ECHHsVAMzwMmTeXknEEye8zIqU/kL7Zq/IaCq9xjX9wvNvGr/oP7FMrdX2RTzbzAUMTM7uxW5tO8ihTC+PVyUUnaX79ZT0NbJNis7exPm8hd3A8G8sLnRBXQfgVAdEfM34NiV5izd+xPEXBQHpUDCQgFZVwzhaaNpx3OmYhZ8oY+QSwNjkgVAJchFsyGoYm7z9h9SjAVhrKdmZF6RBp0AhzfcMxnL87chY3ecoBKct0TNgUQrhBVdTN4H7ng8UnDtQTtH2v8RUTQhPEaIMe3fJL7y5P6KIv2JoWw7x66rCnPZv36/Ycuj3P4P7qUhBRRvFeMbqAxU4+OToEbqLJuoG5KHLlJ1UjSymGgth+V37BgM6kl3BKrdUaqLbF5MNY/8IyxyD+LfQW6XE598D9KS6BZiIxDArUIuZMx7xmXJ+Zzlew+Go781PjvB2huUsFnISJKUxWvDLFnjg1NOJ0YOBkW0m3wXhK9LaoJMjlJ5N6fBpCiZHbXmjD+Xm0i8vRRspBTCpuBuaruSz3X2d7xbWzrWh87Uh3v/UlehcpxUEBi0m2rN8/l0Mld2NZGizNZRyLnwVn+wfBo1updiwLHuVetHTgAtPHbyGL8vCsRyu6rNxPSyOLhJ93EG0r89YEZelGwwjLGtJcGU+Io9Arl03MxArGzfr9ew+QVOpwy7JSY5kwoBtpTpUziojGKD6czAOb0CMLyY0oihFbcfI9rtBBVJCsoBydndRX1G/gUwfi4f7zv3+so4XRz/2O6F18LY0Z6pMNIY34R2XSL5Ejm35PXaCnVEW56B8tcLtuyTDFUVaMLZBMf+xuPJ7ss09LxW1RTA4n5BY0Dn4L X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: db791792-11fe-4f8d-81b1-08d969991c99 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5136.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Aug 2021 20:27:38.3209 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: jAg86JJWgscrl7JMQPa+6o5lxfsFBKaBEBKx8H5mqkTyMWqZAbuteTLM8tax9IXkA0g3APX160EaAVzcAKd9Wg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7374 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210827_132748_631967_0BFA7692 X-CRM114-Status: GOOD ( 19.14 ) 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 From: Wasim Khan The NXP BlueBox3 is a prototyping board for high-performance autonomous driving systems. It contains two Linux systems, on running on the LX2160A and the other on the S32G2 SoC. This patch adds the device tree support for the LX2160A SoC. In terms of networking from the LX2160A's perspective, there are: - 4 RJ45 10G ports using Aquantia copper PHYs which are attached directly to DPAA2 ports on the LX2160A - 3 NXP SJA1110 automotive Ethernet switches. First two are managed by the LX2160A (each switch has a host port towards a dpmac), the third switch is managed by the S32G2. All 3 switches are interconnected through on-board SERDES lanes. The cascade ports between the 2 switches managed by LX2160A form a DSA link, the cascade ports between the LX2160A and the S32G2 domain form user ports (the "to_sw3" net device). - 2 RJ45 1G ports using Atheros copper PHYs which are attached directly to NXP SJA1110 switches - 12 automotive 100base-T1 single-pair Ethernet ports routed from the SJA1110 internal PHY ports (TJA1103) - One SGMII SERDES lane towards an internal connector, attached to one of the SJA1110 switch ports On board rev A, the AR8035 RGMII PHY addresses were different than on rev B and later. This patch introduces a separate device tree for rev A. The main device tree is supposed to cover rev B and later. Signed-off-by: Wasim Khan Co-developed-by: Vabhav Sharma Signed-off-by: Vabhav Sharma Co-developed-by: Kuldeep Singh Signed-off-by: Kuldeep Singh Co-developed-by: Florin Chiculita Signed-off-by: Florin Chiculita Co-developed-by: Biwen Li Signed-off-by: Biwen Li Co-developed-by: Heinz Wrobel Signed-off-by: Heinz Wrobel Co-developed-by: Yangbo Lu Signed-off-by: Yangbo Lu Co-developed-by: Vladimir Oltean Signed-off-by: Vladimir Oltean Acked-by: Li Yang --- arch/arm64/boot/dts/freescale/Makefile | 2 + .../freescale/fsl-lx2160a-bluebox3-rev-a.dts | 34 + .../dts/freescale/fsl-lx2160a-bluebox3.dts | 658 ++++++++++++++++++ 3 files changed, 694 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3-rev-a.dts create mode 100644 arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index db9e36ebe932..ecf74464705f 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -25,6 +25,8 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-rdb.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-qds.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-rdb.dtb +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-bluebox3.dtb +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-bluebox3-rev-a.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-clearfog-cx.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-honeycomb.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-qds.dtb diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3-rev-a.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3-rev-a.dts new file mode 100644 index 000000000000..15d273c93154 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3-rev-a.dts @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Device Tree file for LX2160A BLUEBOX3 +// +// Copyright 2020-2021 NXP + +/dts-v1/; + +#include "fsl-lx2160a-bluebox3.dts" + +/ { + compatible = "fsl,lx2160a-bluebox3-rev-a", "fsl,lx2160a"; +}; + +/* The RGMII PHYs have a different MDIO address */ +&emdio1 { + /delete-node/ ethernet-phy@5; + + sw1_mii3_phy: ethernet-phy@1 { + /* AR8035 */ + compatible = "ethernet-phy-id004d.d072"; + reg = <0x1>; + interrupts-extended = <&extirq 6 IRQ_TYPE_LEVEL_LOW>; + }; + + /delete-node/ ethernet-phy@6; + + sw2_mii3_phy: ethernet-phy@2 { + /* AR8035 */ + compatible = "ethernet-phy-id004d.d072"; + reg = <0x2>; + interrupts-extended = <&extirq 7 IRQ_TYPE_LEVEL_LOW>; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3.dts new file mode 100644 index 000000000000..be7d01630a6f --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3.dts @@ -0,0 +1,658 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Device Tree file for LX2160A BLUEBOX3 +// +// Copyright 2020-2021 NXP + +/dts-v1/; + +#include "fsl-lx2160a.dtsi" + +/ { + model = "NXP Layerscape LX2160ABLUEBOX3"; + compatible = "fsl,lx2160a-bluebox3", "fsl,lx2160a"; + + aliases { + crypto = &crypto; + serial0 = &uart0; + mmc0 = &esdhc0; + mmc1 = &esdhc1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + sb_3v3: regulator-sb3v3 { + compatible = "regulator-fixed"; + regulator-name = "MC34717-3.3VSB"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; +}; + +&can0 { + status = "okay"; + + can-transceiver { + max-bitrate = <5000000>; + }; +}; + +&can1 { + status = "okay"; + + can-transceiver { + max-bitrate = <5000000>; + }; +}; + +&crypto { + status = "okay"; +}; + +&dpmac5 { + phy-handle = <&aqr113c_phy1>; + phy-mode = "usxgmii"; + managed = "in-band-status"; +}; + +&dpmac6 { + phy-handle = <&aqr113c_phy2>; + phy-mode = "usxgmii"; + managed = "in-band-status"; +}; + +&dpmac9 { + phy-handle = <&aqr113c_phy3>; + phy-mode = "usxgmii"; + managed = "in-band-status"; +}; + +&dpmac10 { + phy-handle = <&aqr113c_phy4>; + phy-mode = "usxgmii"; + managed = "in-band-status"; +}; + +&dpmac17 { + phy-mode = "rgmii"; + status = "okay"; + + fixed-link { + speed = <1000>; + full-duplex; + }; +}; + +&dpmac18 { + phy-mode = "rgmii"; + status = "okay"; + + fixed-link { + speed = <1000>; + full-duplex; + }; +}; + +&emdio1 { + status = "okay"; + + aqr113c_phy2: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x0>; + /* IRQ_10G_PHY2 */ + interrupts-extended = <&extirq 3 IRQ_TYPE_LEVEL_LOW>; + }; + + aqr113c_phy1: ethernet-phy@8 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x8>; + /* IRQ_10G_PHY1 */ + interrupts-extended = <&extirq 2 IRQ_TYPE_LEVEL_LOW>; + }; + + sw1_mii3_phy: ethernet-phy@5 { + /* AR8035 */ + compatible = "ethernet-phy-id004d.d072"; + reg = <0x5>; + interrupts-extended = <&extirq 6 IRQ_TYPE_LEVEL_LOW>; + }; + + sw2_mii3_phy: ethernet-phy@6 { + /* AR8035 */ + compatible = "ethernet-phy-id004d.d072"; + reg = <0x6>; + interrupts-extended = <&extirq 7 IRQ_TYPE_LEVEL_LOW>; + }; +}; + +&emdio2 { + status = "okay"; + + aqr113c_phy4: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x0>; + /* IRQ_10G_PHY4 */ + interrupts-extended = <&extirq 5 IRQ_TYPE_LEVEL_LOW>; + }; + + aqr113c_phy3: ethernet-phy@8 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x8>; + /* IRQ_10G_PHY3 */ + interrupts-extended = <&extirq 4 IRQ_TYPE_LEVEL_LOW>; + }; +}; + +&esdhc0 { + sd-uhs-sdr104; + sd-uhs-sdr50; + sd-uhs-sdr25; + sd-uhs-sdr12; + status = "okay"; +}; + +&esdhc1 { + mmc-hs200-1_8v; + mmc-hs400-1_8v; + bus-width = <8>; + status = "okay"; +}; + +&fspi { + status = "okay"; + + mt35xu512aba0: flash@0 { + compatible = "jedec,spi-nor"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0>; + m25p,fast-read; + spi-max-frequency = <50000000>; + spi-rx-bus-width = <8>; + spi-tx-bus-width = <8>; + }; + + mt35xu512aba1: flash@1 { + compatible = "jedec,spi-nor"; + #address-cells = <1>; + #size-cells = <1>; + reg = <1>; + m25p,fast-read; + spi-max-frequency = <50000000>; + spi-rx-bus-width = <8>; + spi-tx-bus-width = <8>; + }; +}; + +&i2c0 { + status = "okay"; + + i2c-mux@77 { + compatible = "nxp,pca9547"; + reg = <0x77>; + #address-cells = <1>; + #size-cells = <0>; + + i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x2>; + + power-monitor@40 { + compatible = "ti,ina220"; + reg = <0x40>; + shunt-resistor = <500>; + }; + }; + + i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + + temp2: temperature-sensor@48 { + compatible = "nxp,sa56004"; + reg = <0x48>; + vcc-supply = <&sb_3v3>; + #thermal-sensor-cells = <1>; + }; + + temp1: temperature-sensor@4c { + compatible = "nxp,sa56004"; + reg = <0x4c>; + vcc-supply = <&sb_3v3>; + #thermal-sensor-cells = <1>; + }; + }; + + i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4>; + + rtc@51 { + compatible = "nxp,pcf2129"; + reg = <0x51>; + interrupts-extended = <&extirq 11 IRQ_TYPE_LEVEL_LOW>; + }; + }; + + i2c@7 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x7>; + + i2c-mux@75 { + compatible = "nxp,pca9547"; + reg = <0x75>; + #address-cells = <1>; + #size-cells = <0>; + + i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + + spi_bridge: spi@28 { + compatible = "nxp,sc18is602b"; + reg = <0x28>; + #address-cells = <1>; + #size-cells = <0>; + }; + }; + }; + }; + }; +}; + +&i2c5 { + status = "okay"; + + i2c-mux@77 { + compatible = "nxp,pca9846"; + reg = <0x77>; + #address-cells = <1>; + #size-cells = <0>; + + i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1>; + + /* The I2C multiplexer and temperature sensors are on + * the T6 riser card. + */ + i2c-mux@70 { + compatible = "nxp,pca9548"; + reg = <0x70>; + #address-cells = <1>; + #size-cells = <0>; + + i2c@6 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x6>; + + q12: temperature-sensor@4c { + compatible = "nxp,sa56004"; + reg = <0x4c>; + vcc-supply = <&sb_3v3>; + #thermal-sensor-cells = <1>; + }; + }; + + i2c@7 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x7>; + + q11: temperature-sensor@4c { + compatible = "nxp,sa56004"; + reg = <0x4c>; + vcc-supply = <&sb_3v3>; + #thermal-sensor-cells = <1>; + }; + + q13: temperature-sensor@48 { + compatible = "nxp,sa56004"; + reg = <0x48>; + vcc-supply = <&sb_3v3>; + #thermal-sensor-cells = <1>; + }; + + q14: temperature-sensor@4a { + compatible = "nxp,sa56004"; + reg = <0x4a>; + vcc-supply = <&sb_3v3>; + #thermal-sensor-cells = <1>; + }; + }; + }; + }; + }; +}; + +&pcs_mdio5 { + status = "okay"; +}; + +&pcs_mdio6 { + status = "okay"; +}; + +&pcs_mdio9 { + status = "okay"; +}; + +&pcs_mdio10 { + status = "okay"; +}; + +&spi_bridge { + sw1: ethernet-switch@0 { + compatible = "nxp,sja1110a"; + reg = <0>; + spi-max-frequency = <4000000>; + spi-cpol; + dsa,member = <0 0>; + + ethernet-ports { + #address-cells = <1>; + #size-cells = <0>; + + /* Microcontroller port */ + port@0 { + reg = <0>; + status = "disabled"; + }; + + /* SW1_P1 */ + port@1 { + reg = <1>; + label = "con_2x20"; + phy-mode = "sgmii"; + + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + + port@2 { + reg = <2>; + ethernet = <&dpmac17>; + phy-mode = "rgmii-id"; + + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + + port@3 { + reg = <3>; + label = "1ge_p1"; + phy-mode = "rgmii-id"; + phy-handle = <&sw1_mii3_phy>; + }; + + sw1p4: port@4 { + reg = <4>; + link = <&sw2p1>; + phy-mode = "sgmii"; + + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + + port@5 { + reg = <5>; + label = "trx1"; + phy-mode = "internal"; + phy-handle = <&sw1_port5_base_t1_phy>; + }; + + port@6 { + reg = <6>; + label = "trx2"; + phy-mode = "internal"; + phy-handle = <&sw1_port6_base_t1_phy>; + }; + + port@7 { + reg = <7>; + label = "trx3"; + phy-mode = "internal"; + phy-handle = <&sw1_port7_base_t1_phy>; + }; + + port@8 { + reg = <8>; + label = "trx4"; + phy-mode = "internal"; + phy-handle = <&sw1_port8_base_t1_phy>; + }; + + port@9 { + reg = <9>; + label = "trx5"; + phy-mode = "internal"; + phy-handle = <&sw1_port9_base_t1_phy>; + }; + + port@a { + reg = <10>; + label = "trx6"; + phy-mode = "internal"; + phy-handle = <&sw1_port10_base_t1_phy>; + }; + }; + + mdios { + #address-cells = <1>; + #size-cells = <0>; + + mdio@0 { + compatible = "nxp,sja1110-base-t1-mdio"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + sw1_port5_base_t1_phy: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x1>; + }; + + sw1_port6_base_t1_phy: ethernet-phy@2 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x2>; + }; + + sw1_port7_base_t1_phy: ethernet-phy@3 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x3>; + }; + + sw1_port8_base_t1_phy: ethernet-phy@4 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x4>; + }; + + sw1_port9_base_t1_phy: ethernet-phy@5 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x5>; + }; + + sw1_port10_base_t1_phy: ethernet-phy@6 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x6>; + }; + }; + }; + }; + + sw2: ethernet-switch@2 { + compatible = "nxp,sja1110a"; + reg = <2>; + spi-max-frequency = <4000000>; + spi-cpol; + dsa,member = <0 1>; + + ethernet-ports { + #address-cells = <1>; + #size-cells = <0>; + + /* Microcontroller port */ + port@0 { + reg = <0>; + status = "disabled"; + }; + + sw2p1: port@1 { + reg = <1>; + link = <&sw1p4>; + phy-mode = "sgmii"; + + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + + port@2 { + reg = <2>; + ethernet = <&dpmac18>; + phy-mode = "rgmii-id"; + + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + + port@3 { + reg = <3>; + label = "1ge_p2"; + phy-mode = "rgmii-id"; + phy-handle = <&sw2_mii3_phy>; + }; + + port@4 { + reg = <4>; + label = "to_sw3"; + phy-mode = "2500base-x"; + + fixed-link { + speed = <2500>; + full-duplex; + }; + }; + + port@5 { + reg = <5>; + label = "trx7"; + phy-mode = "internal"; + phy-handle = <&sw2_port5_base_t1_phy>; + }; + + port@6 { + reg = <6>; + label = "trx8"; + phy-mode = "internal"; + phy-handle = <&sw2_port6_base_t1_phy>; + }; + + port@7 { + reg = <7>; + label = "trx9"; + phy-mode = "internal"; + phy-handle = <&sw2_port7_base_t1_phy>; + }; + + port@8 { + reg = <8>; + label = "trx10"; + phy-mode = "internal"; + phy-handle = <&sw2_port8_base_t1_phy>; + }; + + port@9 { + reg = <9>; + label = "trx11"; + phy-mode = "internal"; + phy-handle = <&sw2_port9_base_t1_phy>; + }; + + port@a { + reg = <10>; + label = "trx12"; + phy-mode = "internal"; + phy-handle = <&sw2_port10_base_t1_phy>; + }; + }; + + mdios { + #address-cells = <1>; + #size-cells = <0>; + + mdio@0 { + compatible = "nxp,sja1110-base-t1-mdio"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + sw2_port5_base_t1_phy: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x1>; + }; + + sw2_port6_base_t1_phy: ethernet-phy@2 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x2>; + }; + + sw2_port7_base_t1_phy: ethernet-phy@3 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x3>; + }; + + sw2_port8_base_t1_phy: ethernet-phy@4 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x4>; + }; + + sw2_port9_base_t1_phy: ethernet-phy@5 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x5>; + }; + + sw2_port10_base_t1_phy: ethernet-phy@6 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x6>; + }; + }; + }; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +};