From patchwork Wed Apr 13 21:05:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stuart Yoder X-Patchwork-Id: 8828561 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 254109F3D1 for ; Wed, 13 Apr 2016 21:07:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4BED720373 for ; Wed, 13 Apr 2016 21:07:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C358520270 for ; Wed, 13 Apr 2016 21:07:09 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aqRz3-0002jO-9q; Wed, 13 Apr 2016 21:05:57 +0000 Received: from mail-bn1on0088.outbound.protection.outlook.com ([157.56.110.88] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aqRyz-0002bv-29 for linux-arm-kernel@lists.infradead.org; Wed, 13 Apr 2016 21:05:54 +0000 Received: from BY2PR03CA055.namprd03.prod.outlook.com (10.141.249.28) by BY2PR0301MB0712.namprd03.prod.outlook.com (10.160.63.154) with Microsoft SMTP Server (TLS) id 15.1.453.26; Wed, 13 Apr 2016 21:05:31 +0000 Received: from BY2FFO11FD012.protection.gbl (2a01:111:f400:7c0c::197) by BY2PR03CA055.outlook.office365.com (2a01:111:e400:2c5d::28) with Microsoft SMTP Server (TLS) id 15.1.453.26 via Frontend Transport; Wed, 13 Apr 2016 21:05:31 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11FD012.mail.protection.outlook.com (10.1.14.130) with Microsoft SMTP Server (TLS) id 15.1.453.6 via Frontend Transport; Wed, 13 Apr 2016 21:05:30 +0000 Received: from right.am.freescale.net (right.am.freescale.net [10.81.116.70]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u3DL5TSF008182; Wed, 13 Apr 2016 14:05:29 -0700 From: Stuart Yoder To: , Subject: [PATCH 2/2 v2] arm64: dts: ls2080a: fsl-mc dt node updates Date: Wed, 13 Apr 2016 16:05:23 -0500 Message-ID: <1460581523-32146-1-git-send-email-stuart.yoder@nxp.com> X-Mailer: git-send-email 1.9.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131050551302798456; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(1096002)(4326007)(1220700001)(586003)(77096005)(81166005)(5003940100001)(50986999)(11100500001)(104016004)(5001770100001)(575784001)(92566002)(189998001)(2906002)(50226001)(5008740100001)(50466002)(19580395003)(85426001)(36756003)(19580405001)(6806005)(87936001)(106466001)(48376002)(105606002)(229853001)(33646002)(86362001)(47776003)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB0712; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD012; 1:Z5PsvxUQ086v1taq8xw+B835SG0sVYP+kBEzDTJokngQfs2kefNd53hMb1xtNLKv0AVrg0Shks+qwFJcyxOJ/uw/HU5OF80sypq2Ty1XMXlyCyUiEHsdErVG1CZZkF66JPd5NYpYdNUs0rOv99z9hlrwrZuIgIbFsaixY8TOqoihBEdH9qhLFgHqFRZCnWjwOMmgYD4WPMM6/pgNHi4pso8N+E3mmaFrGn4x7dpEccjYsQduWvMB5fnVLdiAcNQUNRolPEpRlFF8+IRd7ewnxtaovuNBc10BUsaDE2SH5uxVvEB0WlP1L8b2x12HO/hB5GiHW45BIyupofC+WM/zIdV3Dq+awdD68UPPKlmsquYXlRI7zDP5iod37AZexAEJJNmsumFtJkYMCPUs7dpPvrq/CZcoUKUDpGkJ3+CLf1NTWI9+3J14LF3Qp14Sz/trJ60h2tsvEyuaoWfP/I/Pf+Mz3e6FDZKm164upzWtfiUPVdfS+cDgKLSaqei+fHeDplxN7Grg6RlnJ9X5zc3/bGEae+o5zQWvyYAtXTV3svaMctpI1G15g0YifzVskvz1+c0BbE0h5YOn7VCf8/OeGa+RekCdizqr3UR8DtCfc6TIRZScYov6Sw4fvfZfZNGLLYk4/2knGazp+VHvbNDCb7rU6Ssd1kXtI+khO0TIRvZDHoYMLKL6qIDhyCenR9/50iq/62uRv57hLBOFmd8SY7kz5gBxJlOFHqCHDHiN62A= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 21d24228-5c92-459c-b170-08d363df5869 X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0712; 2:i1TZ/Uf/oifUNnjWCJU8hIc0W5PySc4QmnNPuW63QwHhBtvD2yMm+GRIVklfIlSBfRo6kwhYWCTqrje35fm8WFDQlArUZ64GiVPDx7szntFFjR6Z14A3olQvyazQoeriier60PJ9QbWjb+GYTrGXKf7xWnP8wrZBP84zuACBX8Xaz1h3M2KKQacT1mJWYOVi; 3:E16tGhwXyPC7rpcF19eDuJZ+7tJGo6iMq1YJ8mgRG+8RgYG9nfdIeXvfKSiCE4E6pangNQmQ33Ipr5mdc9PPzEPpw76z1scxvXnA7wvqT1go4lLtSNc00tupJ8srzVQ4NuwAgIi66krJbjg0JL76pluiMElfKSDXtVvxksGATt56par8cGlyQhEXn2+gQfE/fjayRAmhDCwmMtJ/T3//uhYSUW1cFnm/hC/sL0a8Hmw=; 25:i4tpT839yUt0M6yqXemDazIlit0ByHupNEsUmEmgXPYEjVgBKGo3YiJW/tHtefdBmVuhOzTfCYrVs0mh+qom/7wR5dy5JqooVr4AEx6Xohc9pj0UOu/tsN204XtzpTTTDjWbjyU8ffrxtmvs5fSNaGZeZZqmRObFDm6BUj8ud+V5zuJ6U866cE66VjmKCHbCj+YWZ0EFAmQRV4UdxGObxvD27g8GneWnzOL4RgwtTkJg6/tDLyK3RJs3C7IDcYRVWoyNENSOm332a+DqSLNPlyQXs1oZ1RUJtmQlw0e794dVbyjDXmMqCmUri4GaOKfWt71VcdX32qU68y4iMM76bw== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB0712; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13018025)(13017025)(13015025)(8121501046)(5005006)(13024025)(13023025)(3002001)(10201501046)(6055026); SRVR:BY2PR0301MB0712; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB0712; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0712; 4:xJhN0AYLrjPJcalQbIhM7jwgVrRUkkKpdHv3WCuVhYDX+Nwo7r0jZRs7kzyB5cM1t0MB6+hK4SkXYbo3A7YcnkIRWTB+NWJLp+oRUe7QMnfkNRYQrWrpQoru/x2p2t/d9PX0Lrex29e/mQ+4qClZfjZejCDGFbRiBOKCYk5TSYxTHnc3FJVY4dBP6x50Kqp+VJHzOJpHSNS+cSNLIQ2UEAEDjdOKGxXJHKKpFDFdmMEYDBZ760XRDVpN+dL+XeYqTIiBqGJInfxiAxYRs6iotVolNS6funycOfnH637DIZuODMNKGTuCKUXYWHdrL258DZTQJqZJIQs19w//EePLyiRopOt2HGScQ8iOV3wMCOcn0SZajbl+hzdAFHyCN2gwhKbHkI90FsiI5328QCAlE7/qTnNEMXD2wI/O7FMWATVuBBUnZ3z6cvu+auIZeKfF0btmqPLm8m4XnhsWYjh65YJ+X1Kr4rfZwZAsQkpAZUA= X-Forefront-PRVS: 0911D5CE78 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB0712; 23:4H4OcSS3ZE9iBqOOuPZU104Hshflx41/xe+ka4E?= =?us-ascii?Q?w61LeajuqlyfDidYnU3M8ko1t+3PKh8rWaAjxh6Lzp8jd9NQD6V//YAyh5R5?= =?us-ascii?Q?tJqDDT8bEKCEuXKEL7gc1GhE04AyPQ0Twg1OkXoUHmlsEp1/VMjhVzNvTm4n?= =?us-ascii?Q?blaaT9WAUDFuGCvYrV9sCv4pRKKz766bWfDHIgPGru1dKkYVzZaDzBd5LLUx?= =?us-ascii?Q?AC1NTTfmz+7eSDoIAluXUSy/dwxQu7NMB0UpX7RvBbv3h3MzrZM4ARh+spq3?= =?us-ascii?Q?/Z5lovdfwnEu2d3y8vJKWjZgKrs6zOmishWQts41HJRd1Dt3FnspfVejx6iY?= =?us-ascii?Q?+cY5RnO4HUee8WWJ+k9kiMP3cNMZAO1BNvR2moyx9dW3C6DRLn0cC0CMWQlm?= =?us-ascii?Q?bbxHsH/8g4elSeCLvcw4eDGeiE28bYJB4McfbxehTsmY95uWi1eo8gcjxifx?= =?us-ascii?Q?zRlxzyDleCNGfRDXATQadWLocYplozNXHucCh/DB8xe88+2W94CXRMYqnpIA?= =?us-ascii?Q?z53N/PVoFjPm7ZW8liqJcQKlLVAYu1H2o9fNkGA4xLZt79kcLy3igpuRT3Ue?= =?us-ascii?Q?t9oxBYMce399UR8E5CFB0XU+gWb2dKFxtdbvZb7rhkBzcHpDwrSTn02tZEp7?= =?us-ascii?Q?BBb9isEedFSAVVJxdS2BUJEY6W0HnP9qR3TBk1b+nwXwF38VCEFS966MsB4f?= =?us-ascii?Q?npL31uS7eYEeFuX3eetG1VcxWXKuYVCeGk6cNP2Vqtk4baazxEsIoz0P5o6d?= =?us-ascii?Q?2TQBEcYvZjBjK6QlhcFaYiA+WGOTaiOyZk80QA7l1iXMwlJNuHlwGazyAdmk?= =?us-ascii?Q?fj4wbOphZBrKPpNOUhLHIEjkaCLOZGm0gMhw2dpjvQ6O5OEf5AGAGP5BYq4y?= =?us-ascii?Q?TCZ2iJG2DKFxj4C766/7FuZAgVAn3gqpJS5ou4xpQpVUkif9kBYMfjsu5r1j?= =?us-ascii?Q?P/ZYgI1thLORN5HLrwbJEjg9H5w6OkGgoH+V7DnSJc1FSpIHt9IH0kgR9vGp?= =?us-ascii?Q?K3uvwqq3cDl3Tf7oAl3+zGWB+lDs2emesgDui+xMPUouQHQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0712; 5:JlzJ+6vGvy/nKPnksE/lRUHeO0hEMW5h7YAQU9St+Ml1KeL6UflhrhCJzXuEhAXJFJZjOW3rRxLeQsVsHbY1y6MTCjQtZC0ho7QWgDnis2hn9xFrC17ubNI2irrmJxiyqVD6QUyIpDv+lFgJK5c7hNS0bxWuNRfyfLtVjknjGmw=; 24:OZKSivxSk1EPYZ8KV7xGbU+oMmyI310joNI5y0wdKiDKholwqzbAPBww2znhMkoEe714rU3hTdBj4rtyPxLlFJVAdvjicX69vdp46A2nSvU= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2016 21:05:30.0302 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB0712 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160413_140553_407452_A497362C X-CRM114-Status: UNSURE ( 8.37 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: german.rivera@freescale.com, linux-kernel@vger.kernel.org, Stuart Yoder , robh+dt@kernel.org, leoyang.li@nxp.com, shawnguo@kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP updates to the fsl-mc node for full functionality: -msi-parent is needed for interrupt support -ranges is needed to enable the bus driver to translate bus addresses -dpmac nodes provide a basis for relating dpmac objects to PHYs Signed-off-by: Stuart Yoder --- -v2: updated comment to remove some extraneous info, added carriage returns after dpmac nodes arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 98 ++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi index 9d746c6..15498eb 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi @@ -265,6 +265,104 @@ compatible = "fsl,qoriq-mc"; reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */ <0x00000000 0x08340000 0 0x40000>; /* MC control reg */ + msi-parent = <&its>; + #address-cells = <3>; + #size-cells = <1>; + + /* + * Region type 0x0 - MC portals + * Region type 0x1 - QBMAN portals + */ + ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000 + 0x1 0x0 0x0 0x8 0x18000000 0x8000000>; + + /* + * Define the maximum number of MACs present on the SoC. + */ + dpmacs { + #address-cells = <1>; + #size-cells = <0>; + + dpmac1: dpmac@1 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <1>; + }; + + dpmac2: dpmac@2 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <2>; + }; + + dpmac3: dpmac@3 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <3>; + }; + + dpmac4: dpmac@4 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <4>; + }; + + dpmac5: dpmac@5 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <5>; + }; + + dpmac6: dpmac@6 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <6>; + }; + + dpmac7: dpmac@7 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <7>; + }; + + dpmac8: dpmac@8 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <8>; + }; + + dpmac9: dpmac@9 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <9>; + }; + + dpmac10: dpmac@10 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0xa>; + }; + + dpmac11: dpmac@11 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0xb>; + }; + + dpmac12: dpmac@12 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0xc>; + }; + + dpmac13: dpmac@13 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0xd>; + }; + + dpmac14: dpmac@14 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0xe>; + }; + + dpmac15: dpmac@15 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0xf>; + }; + + dpmac16: dpmac@16 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0x10>; + }; + }; }; smmu: iommu@5000000 {