Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752447AbcDSVwb (ORCPT ); Tue, 19 Apr 2016 17:52:31 -0400 Received: from mail-bn1on0066.outbound.protection.outlook.com ([157.56.110.66]:63968 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752269AbcDSVw0 (ORCPT ); Tue, 19 Apr 2016 17:52:26 -0400 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=none action=none header.from=nxp.com; From: Stuart Yoder To: , CC: , , , , , Stuart Yoder Subject: [PATCH 2/2 v3] arm64: dts: ls2080a: fsl-mc dt node updates Date: Tue, 19 Apr 2016 16:53:17 -0500 Message-ID: <1461102797-30632-1-git-send-email-stuart.yoder@nxp.com> X-Mailer: git-send-email 1.9.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131055763416206902;(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)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(50986999)(6806005)(36756003)(2906002)(5003940100001)(4326007)(77096005)(104016004)(50226001)(47776003)(586003)(87936001)(575784001)(15650500001)(81166005)(5008740100001)(48376002)(33646002)(106466001)(50466002)(1220700001)(1096002)(189998001)(229853001)(11100500001)(92566002)(86362001)(5001770100001)(19580405001)(19580395003)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR0301MB0716;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:sfv;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11OLC008;1:hii88NmfFLLqbwLnKaphixANn2f0EsTD7PUCZCxgTICC+rZqkz4GntY3zgV32aFPsR5djuKqSU9d6nLSfdqYUqOhK0LdNNkAXM4qX8iKOJ4U4+xfGo/swmix0ln9QgqJo4ErSANAMyDevqtFV4vRl8CQhPpkXXLYR4bLb3Vy/GravEtL5O1VFdKXdfYNr8Vgt/FGQ/BX1MkTJ4997+EroUJdn4HU9OgbLuzsqbwJ8EEVBHip+XNG3XAG7qfDEfBPxzbOU1CiU+Y+UdwmbdUZhh9fWMa23tGXEaCl+EmHuqwdFrgq2gKtbdcfP1BxUgnoicdSEaYHcFquzURfAuzlO0Ypf52Tjbw4iccOhEyvePzb1C332Mfwvu8jE9ubeIRMgJMM5fd8G8b32EakhRFg+BmIEYj60aeMOdYwgsJ7Q8D7azVAhaYJENxpoZXvMyyudPJg7Ke80Xt3rktEWwB25JSqhkpar/j5/8jwj0fz2sihAxe3D3QnX0Ek8xQ58qYujyVfxxAd3iRyZj0SCiI91EOKCgo1B8WndHwVQqnODwXM3UPgYRUVL2lstnbznfI2wRrY+yrdXjDcWHaSxPJEvy1aiA4CMnwRJQVWbKzms7bAOvI3347iSmJHmOpQYm6QCshNsSOxjdgTBI1jfSvtTyoZjDOtRgAQfNXFjb7KDuaLLczJuE7QtElcQhTHMY1uD0CBA7j78ePN6/TirdxASj6xMwe0r84szO2q/Hv2qYQ= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: fc1bda41-9a5b-4eb4-6cda-08d3689ce2a5 X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB0716;2:ryaTplSAVsjm12kwaX6+VIjdb+nnty46LM//mYw7nec06LvE/2/BaMWRs2qE1O+yDb4KGbiF/euSrSoUKodh3GKKw/dMGpa4Hu9TsWd8ffmB+LG5BwjCifkWHj4AfV6jjaJpkxwABSozRc7Htyi4mCzOouro1KZDIQliH9Y34NAlx/CyMNTbqjymbGFPJqWl;3:VB62oYkwVO64oFNmnZVK0OcoMscl/yGvRdQkGttCDjcusB7YIk0WPGO5yPG9aGWpBR675fToxStITNTrXHoMzBEjDM+5q2xwoFFLZLUmBTHGhxUBH2Eo9qWEa+aWWA4LX2+cWaHV15rErdebIXTbXj5bneRiB6PHNTxwL//9dvLO7ZWW/rK85G+UTgbakH2cmB/I3TGsDCXByl1+SvaGv6D6EeAUTcESSjjR+mG2kVM= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB0716; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB0716;25:zdYkmqOJ/oqPht4sUZgD7JNkKLu+7gbE907pw8VpJEYLg/g6L1Aiy3tPsgQAr3InHCko/o90AmeWOt8V8ES+DbN7nCUVjWXV2Wv4LIO6wQA2hRHwrMqCAky0uKi35uokpTIZq+b4L/kUP9FfcXDt1zgI5JOWnhpN1OU/VCszvX5OoEgXsJhN2qUsa7Mke9tqOAv7HOaGFgQg4L9BekHRR8YY+ieJ4GoJOgBAofqzg2QwVbgGvumYvzRxCLUFY3j+JCqLEF5dOQGLBHFs8BXUm9AR6p8qOSYSV4DQLMC9T9nIn8Etw/PqYKu4ElifrdnSPPvyfsWXeBl/bXgEDMLV+l+tbZsDuzrP8PeW0ODncGl0xxuBoq6Ghof1xGA6b4b6MeWVf5M4dftkirjMCpft+kuiucsoWajc3s67pApme+0ojmK8451yPJS1btgrs+SISEV4bQ/B/wAvNVo5OUKN4vrIJMvei1E1WxL57mPbCwToguSd2926AnuUr3aJT6Qo5EzGHbz8LwB+qDotXSp6ARxWX4U+Imv2K5D5U5heGOcFQs/lDLqYqO/PKVmOtLOSVOkra8VzyUiYhlC4jDaz/3S+/txQ4GPpdW3KRiuHcevUS1fqD9c1WZgsGQbD2SC+TcmULO2rxcfYo5vpZ6NQrGJZRW7GdbZR6/6KY4SZ5Eg= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(13015025)(13017025)(13018025)(13024025)(13023025)(5005006)(8121501046)(10201501046)(3002001)(6055026);SRVR:CY1PR0301MB0716;BCL:0;PCL:0;RULEID:(400006);SRVR:CY1PR0301MB0716; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB0716;4:dz8OaWIH+8omPl/AD9ucdn4jHiGjsTY84n+lyQhkH4qXfrboa/2ErjEb3mGzZg2givcGbMjRUChODCj8D5iVE9xLZhrCJENCzoE3jp2SFXYvD5vaW3xuwO3U8GWkboWtT0ZVoybZ1H3YyrYm4D/wV6qIcot6o/EQT8xozZD7UF4g7KfbcuR1X2WhwDCzQ6QV3eEqrIU+xDcjhz7Tgt8SLoWSdlc/y4d5cNUcnYXXIAHDDcUnfYPTZXG2UYdtE6PKCQWl3GTXCeKq+nnxD10r6e4W0breZfYUw2gc6t5cngUjZpx6rbz/LMxXuRF32D3fdTO+3HrizUob1Lxx58TgPowjCki38ZJ46acmrT/GPC1kP3OCyuATijEx7o3FSDJB10L6NiclbvASsOnBdbEFd0gNxGpPmQqUSa5gFVyvFDt9QmgHTAFuzc6CAlYP7bdsADYTKpfHPYCYWaC+xwo9UtdgbyB6DBlaEBR7yKciIAk= X-Forefront-PRVS: 0917DFAC67 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0301MB0716;23:SSUDMPsQSB4r6Exv8ZBjt0GKClKh4s6Winwzu3n?= =?us-ascii?Q?kKg+s1PzenycqqayeQ7fE+Qf5edE2nJXosCe763fq/7/huFfBE401E/JVOCu?= =?us-ascii?Q?BAL09rs4GBfIL1DrY5y63EyFCg/5yDn5nksnGeXEgABm/mZdBm7Eb9GCbVdP?= =?us-ascii?Q?DkfT9/WRSCr/kZmBuNe4oQxSqrXzcWyxRaQN/5yTfIeSzmwjdsgg69mmqr5L?= =?us-ascii?Q?6HgSN/Sh1wnSSzI3fiziYVSjvLIDsKnGg/fOYRjpTphhYLxmqk+YnRmf7kBm?= =?us-ascii?Q?ZR70Oo9ZmUhh23AbP9d21CA8asN6cO9Zsoabf/bUuIuz/N6ZiOzxh0ak2pMl?= =?us-ascii?Q?X8BNrM8GZpRUCNrFnczWblx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zgEyjqJd36+tAZmeMFfmRrNPCf6w6royGMcOuF6eED/swwG3XAG9QL3BK3ldQE8zkI0= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2016 21:52:21.4178 (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: CY1PR0301MB0716 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2862 Lines: 124 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 --- -v3 -updated unit addresses to be hex to match the reg properties. 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..0f21caf 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 = <0x1>; + }; + + dpmac2: dpmac@2 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0x2>; + }; + + dpmac3: dpmac@3 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0x3>; + }; + + dpmac4: dpmac@4 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0x4>; + }; + + dpmac5: dpmac@5 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0x5>; + }; + + dpmac6: dpmac@6 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0x6>; + }; + + dpmac7: dpmac@7 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0x7>; + }; + + dpmac8: dpmac@8 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0x8>; + }; + + dpmac9: dpmac@9 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0x9>; + }; + + dpmac10: dpmac@a { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0xa>; + }; + + dpmac11: dpmac@b { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0xb>; + }; + + dpmac12: dpmac@c { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0xc>; + }; + + dpmac13: dpmac@d { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0xd>; + }; + + dpmac14: dpmac@e { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0xe>; + }; + + dpmac15: dpmac@f { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0xf>; + }; + + dpmac16: dpmac@10 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0x10>; + }; + }; }; smmu: iommu@5000000 { -- 1.9.0