From patchwork Fri Aug 26 11:12:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 9300789 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 7322D60757 for ; Fri, 26 Aug 2016 03:26:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62F5D28DA8 for ; Fri, 26 Aug 2016 03:26:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 539E42944F; Fri, 26 Aug 2016 03:26:50 +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=-2.3 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DATE_IN_FUTURE_06_12,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id F17BF28DA8 for ; Fri, 26 Aug 2016 03:26:49 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bd7lf-0006ap-D3; Fri, 26 Aug 2016 03:25:19 +0000 Received: from mail-sn1nam02on0072.outbound.protection.outlook.com ([104.47.36.72] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bd7lC-0005di-Ax for linux-arm-kernel@lists.infradead.org; Fri, 26 Aug 2016 03:24:52 +0000 Received: from BN6PR03CA0044.namprd03.prod.outlook.com (10.175.124.30) by SN2PR03MB1888.namprd03.prod.outlook.com (10.164.114.148) with Microsoft SMTP Server (TLS) id 15.1.403.16; Fri, 26 Aug 2016 03:24:27 +0000 Received: from BL2FFO11OLC007.protection.gbl (2a01:111:f400:7c09::125) by BN6PR03CA0044.outlook.office365.com (2603:10b6:404:10c::30) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.21 via Frontend Transport; Fri, 26 Aug 2016 03:24:28 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; armlinux.org.uk; dkim=none (message not signed) header.d=none; armlinux.org.uk; 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 BL2FFO11OLC007.mail.protection.outlook.com (10.173.160.142) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.587.6 via Frontend Transport; Fri, 26 Aug 2016 03:24:29 +0000 Received: from anson-OptiPlex-790.ap.freescale.net (anson-OptiPlex-790.ap.freescale.net [10.192.242.177]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u7Q3OKJx016217; Thu, 25 Aug 2016 20:24:25 -0700 From: Anson Huang To: , , Subject: [PATCH 1/3] ARM: dts: imx7: support SMP boot up Date: Fri, 26 Aug 2016 19:12:49 +0800 Message-ID: <1472209971-32469-2-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1472209971-32469-1-git-send-email-Anson.Huang@nxp.com> References: <1472209971-32469-1-git-send-email-Anson.Huang@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131166554692038133; (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)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(86362001)(68736007)(76176999)(229853001)(19580405001)(81166006)(19580395003)(4326007)(8676002)(586003)(104016004)(77096005)(2950100001)(97736004)(92566002)(8936002)(5660300001)(48376002)(50466002)(81156014)(189998001)(2201001)(5001770100001)(7846002)(356003)(85426001)(47776003)(36756003)(2906002)(105606002)(50986999)(50226002)(626004)(5003940100001)(8666005)(87936001)(106466001)(305945005)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB1888; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC007; 1:BffFHR3akDQTSXLOAaoiB745yEpk141iVCBWIcCtLTn1dOWaP3lrokjRbn5aa72ouj+MewXxbaK9yYgLhXWlY4DDYVFFm8B9mIItj35jkyof5GAop0jtRcuscruS1zaB2rUheGkRQNZbWNPdiuKjyMRzbSilPNtLkrTX2usn75XekMIcmvBrsmK1BpvMZrzjkVaRFKRnjGQzN7FWeMqUD/eZVadpnGVcPHd/nAJK0tA7NUH+ZFOW/pmL6gEVxcDLNlEUz34zQ+FEQPyLg4gn0B6KlASD0otGOSA+VquLOCrK1mbbkVUfqFh7f/eZIIG5NcZzP8sVG7M8oao3pP5dvUrl2CUb7NSOrUhJuSdXBRC2EqaQsJsvv4y94ithX8RRTdCMmCkRxWO7m31Ww7bWlKghdugAbnaR4jOJA1VLm+04wEqKA7Z+dvlu76t8bOcNWHow/Ys1oz1aHBeqQI53eTSnhKcpcPgHfzKBptytUTDinuhbN8dsPsJ1fkzOA6Kq/03xsYuIERgMFnHrvDHVBTLLmnGkw9VBtffp2eRfUrpYh6uGx8fYBaSV7i8baOVu7vScw84eKSFJ3JlrpT3nmGDrrs/A1vOxDKeBOTL7skHE0zovFnGBxRh6IJUeYJLjnXRBLizBHzUzS9K7wdD5OQ== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 97c94ccb-df7a-4099-4c96-08d3cd607d49 X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB1888; 2:Ysw44b72KbS3Ez79sFChs3YaWLr2IfxtqpHHfPOBtbWCAhpRPEYk2HdKAwE7INRjuvRdrw8QGycGALbed+jWdEssLSm+Udeqn9B9mC4gSQle8M+P9Mnie5ONKZQMLiJhG/dghTAT0QVSI5S2JWW5SJ+1OEWi1P7se4zcZR9p0svzYvYc2W7brf3/hcTaVErX; 3:4nwf0NSO4SOmDx26sQGKU5+qeaJYE0uEpQfIWbPN4BbEVkBzW6Xh1Qoe+BD/tpH6RUwVMMaJ2+cIusZ6YdWg72He37g7pdLIUmV9wacmbjsWpccinvfkOpglVDKd4/jYjue2XqUzMGYavyJWtpzDNTEF3LaXxz1QFIwtTGmfriGF697+gHBijxbMy6ktGEb/kqBP8V/g13g0ij9tv0MhBJr9YlpXZaMWUpPABSzhybA= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN2PR03MB1888; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB1888; 25:vygq4UzbGf/lUjc0q7L2bxTyqyn3rY7V61mkOzCORKwmib6GtVKz+IPZEDx/c4AV3hojETbeFhAWQmflXhh7olF91Fhtl4d5rlL2ljw5dKXTTuVLZ1wE3a6o3tACKOYojdah4EgZ2sg1gEcy9yp03LK/GkLlHfO+yoaWnIZ4FhhqSRTI+VYb9V/ijqml8OPAOMzvsmBW1nb3pcpBhVwlM0D+NCRC+lgBr8DdZ2P5S8dhx/C7mH85rgB9lGIuj7pGoSQ5TT+Ya3nZKidKqF3eEibP+HCwTjIRvdFloM7fnQHLGfatT2hptWqhCiVNo+/8KUfGzkDP9zf3g/VmaQUGvx4gRZGM/r784aAnkKVluiXuKPg8n1V0cK5P7v2ZK4XyBr+V93GyP8gi2syLnZ4/XKl5MYkjl9lWM8nUdfBMspWGqTG3pR4NMfQucyLyq7D9Py6NkDmPfbbfx6pCb5WKfur9x1CWriKnVjZELJs5iCp9SElmU8xBCm1n5tTeBjOfybVl5OrVDSo91L8oZc2Y5KhzWGnIF7DXjoiKrvGx50RPcUorzViqEEdMrf7CblT7UuzkiOU5Be6RZXbDPovlFw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13018025)(8121501046)(13024025)(13023025)(5005006)(13015025)(13017025)(3002001)(10201501046)(6055026); SRVR:SN2PR03MB1888; BCL:0; PCL:0; RULEID:(400006); SRVR:SN2PR03MB1888; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB1888; 4:E0jJ+DiokNpUSyIY0H7XzueZnuaUQXB1MWGM+GSs3XGJcJ5n4CY54K1qzm9yAr2pzPWl1nubPIhQRlMQNk8ESCHqhZmf1IF4OV/Fl5xR10bR26MC2j3bt9PrG+2cfFYX1cwF0Ptdv4VuiVw+FyMozMbtpHxImDjdn9I4K4k9sC5HpNH7d+gGEkU3T0rVLTFnUa2+QIbNCLXf8g7xrBjp1oRhuL4JXQesGD9HvDxP5F6FEsg59jRM7y9usH2GQkWm5btpitrdOZ9CZq4IV177gHlYfYm3GNdqnNmpHOnb1fh7O8OeVCRWUzTB/U53rc+2H+xHwLXE7w62q1uwU6zR+Xn1ffiQBZK0rGu0HbV7j03Y/oNojJl1geO0j5ue9hKp5khma7VylT5SByWwJphlAWPwvsIhlvm3QhjIS2YI9zcpltVuAzzSbf8W0wCVUN6gwgNN9/9aGB5dVd1rpzbNnOc1IUYCIQEX9Xepmn5r2FiVgRLWcInFVOBaAiSsZ9A5CdLBsVpbGD/Uy2S5DpJ8DA== X-Forefront-PRVS: 00462943DE X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR03MB1888; 23:WVg2dIyreGf//04YCOTbMfcMHLUeiU9QVx9h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ewhrBjJwh5noNVUnvsEFTC0p?= =?us-ascii?Q?hjCWNiUaKd8MOtc3uKIqOf8RNb6aq6hbtnPXlvSr5Xv7B8aN5HIgER18V/+S?= =?us-ascii?Q?ift7S4qkVBX4GIjslPsdejiwpulfZL1Zy6tq9wLd1Li1Hpfc+fI24Cm6JrJl?= =?us-ascii?Q?4TYm7MHdpINcU7CHSIXepGOF5bWu4lmy/p+uS6muJw6NsNbuM79VB8ELnVrx?= =?us-ascii?Q?DMMwuB39VHql19ZAeFMFkMhyAxna56a/ToTnaFHtL+qkmBMqYSDQJD8yxhPN?= =?us-ascii?Q?9wtgG8CgV7W570=3D?= X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB1888; 5:jUNBywcVY5kqoP16ZVv1JAAJ8b2K8kw8IarlntRO5BHaqB/eQXof2AqsN/QTcZx1SJs2khhHzxAihd8lNqQRWZPYMmFKDnYsiiio/ez4ERds3TWrmRof91JBdLKYEVgyYZs646GpmYwt6B7/vu8HU1PWnVM6LKo88/RblKkbjPo=; 24:d7pgND1ZjyqPLIYYQ8Wxcq+McdkWATTAc9K1TqT7dw3HSMt04l3S+WPDmIOWFFFjOrOKDCWa7ncZujGpnlMUjuosMhArr1+lthZlwFs5YIU= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2016 03:24:29.0010 (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: SN2PR03MB1888 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160825_202450_598673_F74CF296 X-CRM114-Status: GOOD ( 11.14 ) 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: mark.rutland@arm.com, linux@armlinux.org.uk, robh+dt@kernel.org, kernel@pengutronix.de, fabio.estevam@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-Virus-Scanned: ClamAV using ClamSMTP This patch adds GPC module, i.MX7 has a different design of GPC module from i.MX6, so we call it GPCV2, booting up secondary CPUs needs to access GPCV2 to enable secondary CPUs' power. Also, adds "arm,cpu-registers-not-fw-configured" property, interrupt parent and clock rate to arch timer. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx7s.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index bb7102c..e920436 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -299,10 +299,13 @@ timer { compatible = "arm,armv7-timer"; + arm,cpu-registers-not-fw-configured; interrupts = , , , ; + interrupt-parent = <&intc>; + clock-frequency = <8000000>; }; aips1: aips-bus@30000000 { @@ -312,6 +315,11 @@ reg = <0x30000000 0x400000>; ranges; + gpc: gpc@303a0000 { + compatible = "fsl,imx7d-gpc"; + reg = <0x303a0000 0x10000>; + }; + gpio1: gpio@30200000 { compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio"; reg = <0x30200000 0x10000>;