Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753956AbcDMVFk (ORCPT ); Wed, 13 Apr 2016 17:05:40 -0400 Received: from mail-bn1on0089.outbound.protection.outlook.com ([157.56.110.89]:43360 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753920AbcDMVFe (ORCPT ); Wed, 13 Apr 2016 17:05:34 -0400 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; From: Stuart Yoder To: , CC: , , , , , Stuart Yoder 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 Content-Type: text/plain 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2880 Lines: 125 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 { -- 1.9.0