From patchwork Tue Apr 19 21:53:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stuart Yoder X-Patchwork-Id: 8883501 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 A92AB9F39A for ; Tue, 19 Apr 2016 21:59:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C1787202D1 for ; Tue, 19 Apr 2016 21:59:33 +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 D3613202A1 for ; Tue, 19 Apr 2016 21:59:32 +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 1asdZg-0000we-6Y; Tue, 19 Apr 2016 21:52:48 +0000 Received: from mail-bn1on0086.outbound.protection.outlook.com ([157.56.110.86] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1asdZd-0000mb-BY for linux-arm-kernel@lists.infradead.org; Tue, 19 Apr 2016 21:52:46 +0000 Received: from BN3PR0301CA0036.namprd03.prod.outlook.com (10.160.180.174) by CY1PR0301MB0716.namprd03.prod.outlook.com (10.160.159.146) with Microsoft SMTP Server (TLS) id 15.1.453.26; Tue, 19 Apr 2016 21:52:22 +0000 Received: from BY2FFO11OLC008.protection.gbl (2a01:111:f400:7c0c::133) by BN3PR0301CA0036.outlook.office365.com (2a01:111:e400:4000::46) with Microsoft SMTP Server (TLS) id 15.1.466.19 via Frontend Transport; Tue, 19 Apr 2016 21:52:21 +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=none 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 BY2FFO11OLC008.mail.protection.outlook.com (10.1.14.255) with Microsoft SMTP Server (TLS) id 15.1.472.8 via Frontend Transport; Tue, 19 Apr 2016 21:52:21 +0000 Received: from right.am.freescale.net (right.am.freescale.net [10.81.116.70]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u3JLqKeZ004039; Tue, 19 Apr 2016 14:52:20 -0700 From: Stuart Yoder To: , 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 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?ZR70Oo9ZmUhh23AbP9d21CA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0z1vjsTYwkvJED2lcmKphD5Y00xWfI=; 24:+tzeohhPloDmsOuaOjsyr0dVRJ8e4bZ6DGX1YuDAzgEyjqJd36+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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160419_145245_703256_14AA0AF0 X-CRM114-Status: GOOD ( 11.65 ) 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 --- -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 {