From patchwork Wed Mar 1 15:35:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Madalin Bucur X-Patchwork-Id: 9598659 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 403DC604DC for ; Wed, 1 Mar 2017 15:48:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2EABA2818E for ; Wed, 1 Mar 2017 15:48:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2276B284E7; Wed, 1 Mar 2017 15:48:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9B3BB2818E for ; Wed, 1 Mar 2017 15:48:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:To:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/t7gA3NVjCcXPZi/eCMBV6Sh/8UywOg64H3Edtj6/sU=; b=bLUBAtCO3NJ70Q 9X5TilEBqzYfehPJ9xSJDz/YTurjJFOTpSfZCpKHLofA6z16+m0dFOrMMIIGtCPWfZuxRpkBhu9XO 1NYdJ7dl+07M6pTzCw5EQ2rpELzcqkH40TI3bPgynJMef+PT6wJtqU7Xw+UPbaASRaTcu4UH7HZVn cpyDFzcMwgMC0rUyFUL4rM33dQuqdSiU84cPfb5ZP0mZ9M8juQwePZdwwCv0CDAjPw9FPpgeEg5nF a2pvwUqhrDD63ifrvy/pgrAs9ZVjXX1keDlm3aXr/ckeJs5bxBHB2ze2MFpjnqZv1N3BXh3leFfxn uY8z03T8x1x+z9iZhfTQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cj6UO-0006uo-3a; Wed, 01 Mar 2017 15:48:28 +0000 Received: from mail-co1nam03on0623.outbound.protection.outlook.com ([2a01:111:f400:fe48::623] helo=NAM03-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cj6Hz-0000yw-Js for linux-arm-kernel@lists.infradead.org; Wed, 01 Mar 2017 15:35:42 +0000 Received: from CY4PR03CA0009.namprd03.prod.outlook.com (10.168.162.19) by CY1PR0301MB0732.namprd03.prod.outlook.com (10.160.159.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.12; Wed, 1 Mar 2017 15:35:17 +0000 Received: from BN1AFFO11FD045.protection.gbl (2a01:111:f400:7c10::174) by CY4PR03CA0009.outlook.office365.com (2603:10b6:903:33::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.12 via Frontend Transport; Wed, 1 Mar 2017 15:35:18 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD045.mail.protection.outlook.com (10.58.53.60) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.933.11 via Frontend Transport; Wed, 1 Mar 2017 15:35:17 +0000 Received: from fsr-fed2164-101.ea.freescale.net (fsr-fed2164-101.ea.freescale.net [10.171.73.197]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v21FZ7LS015281; Wed, 1 Mar 2017 08:35:14 -0700 From: Madalin Bucur To: Subject: [PATCH v2 2/2] dts: arm64: add LS1046A DPAA support Date: Wed, 1 Mar 2017 17:35:05 +0200 Message-ID: <1488382505-17554-3-git-send-email-madalin.bucur@nxp.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1488382505-17554-1-git-send-email-madalin.bucur@nxp.com> References: <1488382505-17554-1-git-send-email-madalin.bucur@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131328561176120135; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(336005)(39840400002)(39860400002)(39410400002)(39400400002)(39850400002)(39380400002)(39450400003)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(77096006)(8656002)(189998001)(43066003)(5003940100001)(626004)(50986999)(76176999)(54906002)(50466002)(33646002)(356003)(5660300001)(8676002)(81166006)(48376002)(38730400002)(3450700001)(53936002)(110136004)(50226002)(4326008)(2950100002)(2906002)(106466001)(6666003)(305945005)(47776003)(36756003)(2351001)(86362001)(575784001)(85426001)(105606002)(104016004)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0732; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD045; 1:nAMfCpgD25TZn0D2AnGXEVfwsCJWCfLFSEiYlG9e9JNzxtBU6/mYMOxTMM0VNs4hWnSEiLr+a6yYVW6+oYTfTs2VQ2ZGxBio/jFpmB2/QpgAI4m+Wfhw47XpPUySABm6lrVYz2MwwVfk/uJ8GKeYN++TU9kFNd9IlUlnXOZjhgHfWl9FxcVYFP2/yPt6pHDy2TOsbBuzA4hEN1965xVtNycWB5I8PLr9Ux/iONEfQhF51TSvtVKLRMPxsQ3Y+FGTOLaZN/WtZcfhBx/OczfbMy7bdpIlQ05kw+npIuxkEuEj4BXZFtstXFI8I5fjdRFjqK860e2JDYH4n5AzxvTURi2R13/iO+gFlwyhPSXgQsazSCSnT99tXEhVCTPT4q9gwIDl11zlqSVvtruWT/WMLEwSpxVwMuKmJNREhNEZRSWNra5htMcbXvVhCetJkdjdHFzt/P6NSbo8FRZ0D8xipdJqae6ZIpH0gLFVv6NGin0Z2tUnZHkKHi6gWK5HO8F+OgmkdFrslAWNKP9gnZhlSauR9HwSpu0c7OeO7iakNkZEXD3Hv16P1IsFbPcsdYUseQA/OVXZJRP4xDiaqOcHH0vtxIV177R/EbgOos5TKRr+VFrFWzWQlEbf6evrZpFK7NW1UT4cKyiQ+Z3mASE/UI0lddSA/3fw/3x9j2hyP7YhFFMrI1M9T4HJbySUjJuKGRxuU0G7kpiop1Uab+Bq3Z41bHTFY2yQD9usD/WwnbQ= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 4c4baf3d-8045-4729-a9e8-08d460b89038 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY1PR0301MB0732; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0732; 3:y+Pkwv3GxkJgXmqr7HB0Y/ji4RW297Lig8nX5HQfIGpibdLOB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H+g5Jojnn46cM86EQ36TSoFOkWM+8kVeFfxiZK+4XDY3Giw3sYGA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13015025)(13017025)(13024025)(13023025)(8121501046)(5005006)(13018025)(3002001)(10201501046)(6055026)(6096035)(20161123561025)(20161123559025)(20161123556025)(20161123563025)(20161123565025); SRVR:CY1PR0301MB0732; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB0732; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0732; 4:Z9iBj3XO5O0mbZrXrNwoXvAuWi6yeWSZBpeUOnwvhye8P9F2GkrC4DT//9o0fADWHXlyos8rZmgy8EY2McGvQWS2BzOL/M4pMlyUKXYdvc6kU/ThJcsSt0k4v9sKiiyRfrMCJeuzBVQEA2XqMdh0CA22Yc9mzaroubXYsUksn7GmX9B/yaD2FpzZCixK27ottTntR9YENGQslnPVgCuXml9oozJPQHzGZwOk+KEd0fSdg0CKgwZsOKvJxDm86X+p9m11JNMCXyotAgNQaD+SLRAXOLh2QegwFf8CXJxHJ++DgC+PjM2OhUB3nwThOKexFgWtR/tjPbeIWem351BTagF3XP0LN9KMV5FGFZq68aKM7rULnqlweG+s3pVvO+ih6VSfrIKdf4X7bE9c50iicaB2ZULdBXD5+4S4ppbxaX/+LlL3VdhyS6Vkl8yC/0o7KhUtSugTxoAsXiqTWflFSXvzh3sxIkXWTZlbItYdASwsry8erTKXKcp7kdvZm2gjMoJJJACWUq/StB8BXRDk4J5f+NdXLJPizEPv+5lfuWOLypLePJjwHNvPbu2KW6qHW1QWHkRDZcCbN8wUXRO/xwCiGzT/cy19BPCs2V+MGdImAf/e9D/zkIV0CEvcnM8N2eXqfij5+LTWKGH56CdQe7tfECf2AQgmsP6s4CtHvV7Sr6VXsFx5mwoWVBgxGD2j3FrhgddLMDla/k5V4GxS/bJpzEGv7m8HiuCWdYvg7P0= X-Forefront-PRVS: 0233768B38 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0732; 23:RHjqQ+hxKgSrQeNpNz1xcqty0pzl6CIq8VSMWom?= =?us-ascii?Q?anRANRVqncXWDSeK6UyMw/yNepTjY/lJyFJhJVM7XSQtgbl84diFl8+fw4LR?= =?us-ascii?Q?rIOoZ949lEQMVfTyShUUfAOR2J2Ez7+FYvT5Sb3COhYtpgyRQsC/s1t+X+se?= =?us-ascii?Q?ngUMC/8cgtwgIGa1Zg2acnR80ECFemIWaMz4u6wF8imBEn5dihqDYQ2N4COL?= =?us-ascii?Q?1lXpUp0/ODfDyS1W9zX7j46n1FdtyF7Yhk/IEjSDOPKfRnsLPvrC+4YNwor6?= =?us-ascii?Q?hDase8DjcMCqJRgcjrelCyH7Wny7guKxq1c7DfY8H9sxtnWk9iu4shqNHp50?= =?us-ascii?Q?HlB+6CinO/OSxFeZGDaeUc60/91+C17/6thx/zlHO4KoW1h5FsZCYpyTP5FN?= =?us-ascii?Q?JbWOm67n3XAMo4vjOEb74a/2Xm0RFcc4n5br4wbAftgCR+CU4AcI1CHZAnx1?= =?us-ascii?Q?3nRTV0K+kcc2G8p1DA7rI4m2QI0sRTjvOpJFgDo+i72LOg3Cf8IJYHz+rjx1?= =?us-ascii?Q?gQyFwJffVlyau0VhHPaFlOAnvVVazxQX2iuQCUcdtEirh6bHPIOf8nMEs2NJ?= =?us-ascii?Q?QrXZfHOIBmhjW87i6W7CBX1nPanX2y5RUEr+1lobwnRlQR2w6dOR+qF1gp/q?= =?us-ascii?Q?EwB5RgeaA4r1MIw8QOjy7RelxsIstATEGLl+eT9NydZHhGeUrpizL9VffYoj?= =?us-ascii?Q?APPR7AQXJYiFObEM15+7z+/7gUNc571pOJqCVuns8HTfpnFihgd2V98r1fg0?= =?us-ascii?Q?0ua959n+fgL6z/TSOu/k06ixdm4Qc1nkx8k7gV95bzH7GeYBDeqWEsH8gaZf?= =?us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yB7Y8Nm+0=; 5:whWMAbZ+Z8gWl6dngTBU3MW/pxfv9/ahH8w+LBM34f0r7VWyZHgSly5etnmjLSxkdfw4NSXF2NF1p8MZ84R5VLuLyf5UF5OxuC9YVwW8f18y3obCf3Zk18tL2WPYoaBbvLQzIZ4neI2+PNRqI3+0t1h7JVAI3MJJG/5pab/yEZihOIazfPDGhRplAEaNLjC8; 24:xwRO+YXAbKvseG0Hjz8p19uhMIMILJhsdBSXI8LSIRl55onNHcGzqa+FJqe7TPD4NXRYUYflw/xdxjDwZh9nGMJNfrN5ZMDhHRz4Zf2h1/c= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0732; 7:ZatosUR404bcgLQJSSiWaoA8g0EZ1ddhuJrcE4KBjTPgBSfXJBu133I8HVtHq7rWpTz3P58eXATe68cGHITBmHM2AYchgH6EyL/6+B+hN15PmjRzqzyIqHO3yGQK/+XZz9YZk6yD3yD84esGvdTUDxhYKXWifbZWGjQnAgoy6oV5dnGT63F91JmVesT7eucaygAZK3ggv2od7PYkTRiskpexJ2RN4K8mPH8g8b0VCt2Q7jzM6REtaeKEdT0cvhkmDQTQpEMNiLv3o8y4GOWFBb8dwtDNHoSmbsKr/v/+0b1ujzGVF7PEekIe/lLxoh5f5jzTm/7rkrrwPsdcuX8jpw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2017 15:35:17.4248 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0732 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170301_073539_790345_EB7349A1 X-CRM114-Status: GOOD ( 15.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: madalin.bucur@nxp.com Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Madalin Bucur , catalin.marinas@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Madalin Bucur --- arch/arm64/boot/dts/freescale/fsl-ls1046-post.dtsi | 45 +++++++++++++++ arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts | 2 + arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 62 ++++++++++++++++++++ arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 66 +++++++++++++++++++++- .../boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi | 42 ++++++++++++++ 5 files changed, 216 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1046-post.dtsi create mode 100644 arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046-post.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046-post.dtsi new file mode 100644 index 0000000..1a29045 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046-post.dtsi @@ -0,0 +1,45 @@ +/* + * QorIQ FMan v3 device tree nodes for ls1046 + * + * Copyright 2015-2016 Freescale Semiconductor Inc. + * + * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) + */ + +&soc { + +/include/ "qoriq-fman3-0.dtsi" +/include/ "qoriq-fman3-0-1g-0.dtsi" +/include/ "qoriq-fman3-0-1g-1.dtsi" +/include/ "qoriq-fman3-0-1g-2.dtsi" +/include/ "qoriq-fman3-0-1g-3.dtsi" +/include/ "qoriq-fman3-0-1g-4.dtsi" +/include/ "qoriq-fman3-0-1g-5.dtsi" +/include/ "qoriq-fman3-0-10g-0.dtsi" +/include/ "qoriq-fman3-0-10g-1.dtsi" + fman@1a00000 { + enet0: ethernet@e0000 { + }; + + enet1: ethernet@e2000 { + }; + + enet2: ethernet@e4000 { + }; + + enet3: ethernet@e6000 { + }; + + enet4: ethernet@e8000 { + }; + + enet5: ethernet@ea000 { + }; + + enet6: ethernet@f0000 { + }; + + enet7: ethernet@f2000 { + }; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts index 290e5b0..ccd3948 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts @@ -210,3 +210,5 @@ reg = <0>; }; }; + +/include/ "fsl-ls1046-post.dtsi" diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts index d1ccc00..78d5609 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts @@ -148,3 +148,65 @@ reg = <1>; }; }; + +/include/ "fsl-ls1046-post.dtsi" + +&soc { + fman@1a00000 { + ethernet@e4000 { + phy-handle = <&rgmii_phy1>; + phy-connection-type = "rgmii"; + }; + + ethernet@e6000 { + phy-handle = <&rgmii_phy2>; + phy-connection-type = "rgmii"; + }; + + ethernet@e8000 { + phy-handle = <&sgmii_phy1>; + phy-connection-type = "sgmii"; + }; + + ethernet@ea000 { + phy-handle = <&sgmii_phy2>; + phy-connection-type = "sgmii"; + }; + + ethernet@f0000 { /* 10GEC1 */ + phy-handle = <&aqr106_phy>; + phy-connection-type = "xgmii"; + }; + + ethernet@f2000 { /* 10GEC2 */ + fixed-link = <0 1 1000 0 0>; + phy-connection-type = "xgmii"; + }; + + mdio@fc000 { + rgmii_phy1: ethernet-phy@1 { + reg = <0x1>; + }; + + rgmii_phy2: ethernet-phy@2 { + reg = <0x2>; + }; + + sgmii_phy1: ethernet-phy@3 { + reg = <0x3>; + }; + + sgmii_phy2: ethernet-phy@4 { + reg = <0x4>; + }; + }; + + mdio@fd000 { + aqr106_phy: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c45"; + interrupts = <0 131 4>; + reg = <0x0>; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 38806ca..7aef0d8 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -54,6 +54,15 @@ aliases { crypto = &crypto; + fman0 = &fman0; + ethernet0 = &enet0; + ethernet1 = &enet1; + ethernet2 = &enet2; + ethernet3 = &enet3; + ethernet4 = &enet4; + ethernet5 = &enet5; + ethernet6 = &enet6; + ethernet7 = &enet7; }; cpus { @@ -172,7 +181,7 @@ IRQ_TYPE_LEVEL_LOW)>; }; - soc { + soc: soc { compatible = "simple-bus"; #address-cells = <2>; #size-cells = <2>; @@ -266,6 +275,18 @@ }; }; + qman: qman@1880000 { + compatible = "fsl,qman"; + reg = <0x00 0x1880000 0x0 0x10000>; + interrupts = <0 45 0x4>; + }; + + bman: bman@1890000 { + compatible = "fsl,bman"; + reg = <0x00 0x1890000 0x0 0x10000>; + interrupts = <0 45 0x4>; + }; + dcfg: dcfg@1ee0000 { compatible = "fsl,ls1046a-dcfg", "syscon"; reg = <0x0 0x1ee0000 0x0 0x10000>; @@ -512,4 +533,47 @@ clocks = <&clockgen 4 1>; }; }; + + qportals: qman-portals@500000000 { + ranges = <0x0 0x5 0x00000000 0x8000000>; + }; + bportals: bman-portals@508000000 { + ranges = <0x0 0x5 0x08000000 0x8000000>; + }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + bman_fbpr: bman-fbpr { + size = <0 0x1000000>; + alignment = <0 0x1000000>; + }; + qman_fqd: qman-fqd { + size = <0 0x800000>; + alignment = <0 0x800000>; + }; + qman_pfdr: qman-pfdr { + size = <0 0x2000000>; + alignment = <0 0x2000000>; + }; + }; +}; + +&bman_fbpr { + compatible = "fsl,bman-fbpr"; + alloc-ranges = <0 0 0x10000 0>; }; + +&qman_fqd { + compatible = "fsl,qman-fqd"; + alloc-ranges = <0 0 0x10000 0>; +}; + +&qman_pfdr { + compatible = "fsl,qman-pfdr"; + alloc-ranges = <0 0 0x10000 0>; +}; + +/include/ "qoriq-qman1-portals.dtsi" +/include/ "qoriq-bman1-portals.dtsi" diff --git a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi new file mode 100644 index 0000000..2a36f18 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi @@ -0,0 +1,42 @@ +/* + * QorIQ FMan v3 10g port #1 device tree + * + * Copyright 2012-2015 Freescale Semiconductor Inc. + * + * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) + */ + +fman@1a00000 { + fman0_rx_0x11: port@91000 { + cell-index = <0x11>; + compatible = "fsl,fman-v3-port-rx"; + reg = <0x91000 0x1000>; + fsl,fman-10g-port; + }; + + fman0_tx_0x31: port@b1000 { + cell-index = <0x31>; + compatible = "fsl,fman-v3-port-tx"; + reg = <0xb1000 0x1000>; + fsl,fman-10g-port; + }; + + ethernet@f2000 { + cell-index = <0x8>; + compatible = "fsl,fman-memac"; + reg = <0xf2000 0x1000>; + fsl,fman-ports = <&fman0_rx_0x11 &fman0_tx_0x31>; + pcsphy-handle = <&pcsphy7>; + }; + + mdio@f3000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio"; + reg = <0xf3000 0x1000>; + + pcsphy7: ethernet-phy@0 { + reg = <0x0>; + }; + }; +};