From patchwork Thu Sep 24 08:29:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongsheng Wang X-Patchwork-Id: 7254381 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 1D3749F39B for ; Thu, 24 Sep 2015 08:38:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3FE522098A for ; Thu, 24 Sep 2015 08:38:00 +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 44ED420852 for ; Thu, 24 Sep 2015 08:37:59 +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 1Zf20S-0002Wl-Hq; Thu, 24 Sep 2015 08:35:56 +0000 Received: from mail-by2on0118.outbound.protection.outlook.com ([207.46.100.118] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zf20P-0002Tl-GO for linux-arm-kernel@lists.infradead.org; Thu, 24 Sep 2015 08:35:54 +0000 Received: from BY2PR03CA069.namprd03.prod.outlook.com (10.141.249.42) by BY1PR0301MB0870.namprd03.prod.outlook.com (10.160.194.140) with Microsoft SMTP Server (TLS) id 15.1.274.16; Thu, 24 Sep 2015 08:35:31 +0000 Received: from BL2FFO11FD056.protection.gbl (2a01:111:f400:7c09::160) by BY2PR03CA069.outlook.office365.com (2a01:111:e400:2c5d::42) with Microsoft SMTP Server (TLS) id 15.1.274.16 via Frontend Transport; Thu, 24 Sep 2015 08:35:24 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=freescale.com; Received-SPF: Fail (protection.outlook.com: domain of freescale.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 BL2FFO11FD056.mail.protection.outlook.com (10.173.161.184) with Microsoft SMTP Server (TLS) id 15.1.274.4 via Frontend Transport; Thu, 24 Sep 2015 08:35:24 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t8O8ZEvE022238; Thu, 24 Sep 2015 01:35:20 -0700 From: Dongsheng Wang To: Subject: [PATCH v3 2/2] arm/layerscape: add RCPM device tree support for ls1021a. Date: Thu, 24 Sep 2015 16:29:14 +0800 Message-ID: <1443083354-37369-2-git-send-email-dongsheng.wang@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1443083354-37369-1-git-send-email-dongsheng.wang@freescale.com> References: <1443083354-37369-1-git-send-email-dongsheng.wang@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD056; 1:lRH1+ewmYltPMqFlLpOXPXCotGJqH9stlQVGfZYTSXVAVFgU2Uptma8nf8ems/w0K5VYwp8JJFjcnt16so08NWASWCm99DJzIH1MkN5pDqnXFMVHA3yAK7sBJOHRyVBpMxSlPIrVoNCB72vdG75Nfk5j6Sw6ShxOsTEi/c96zJUn+b5PKjFVd7Kx9A8pE1b3QPWtS1Fye9BlKi61TOYAlqPVVZZs7civzpZ0EmbowvKyZZfIjmeGRVBel/ilsw6iCpKb8TBwnp2Q1MVj10Ez/fvRlF50JDqPFDkUpUyxQCttA/PqZLWAyyBibmAW9vQ6asKQ48SwLzV5qOHBx10892cmwWgZpu2wnla+wThEOhf7xK3jGkxIformJXPPf05xy18Sjyt5ww4a0sTcREoygA== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(2950100001)(81156007)(46102003)(107886002)(85426001)(97736004)(76176999)(50466002)(5001830100001)(19580395003)(2371004)(87936001)(5001860100001)(5007970100001)(92566002)(4001540100001)(4001450100002)(110136002)(48376002)(50226001)(50986999)(105606002)(62966003)(64706001)(11100500001)(229853001)(5001960100002)(2351001)(104016004)(68736005)(36756003)(5003940100001)(86362001)(77096005)(33646002)(106466001)(77156002)(47776003)(6806005)(189998001)(19580405001)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0301MB0870; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB0870; 2:ENen50B1+xBuPkXpqNXqXeZJ3JoUE49E4DkcZIiKePXw89FOLIqstzE78b7ZjeQPDiSZ/ZGB7vGanUlwFYJxFasoZgE7n7FFlUAty8CVk1PjHwYnbf4QDhtbXkfAVVfJvD0r4q5UBow8bCJWWWZMbbJsISm5dyW3u5cvGQD3vug=; 3:o9VMgfLHwmDhM6j1teQImhJ/OapivmT0T3oHxbsuqwWdsYbmCJf7m5oSRi32LcHHhneCYXgG9M4e2W241OD6No4Y8KGYJk0Zbschs+GXHayJJPEwsKnjdUuLH0QXEh0Odk1+ZYPNWTh1Ifw4m49Lz6F48kLf78klasaJ/RzjboPyRct7Mo1hf/awcyyPddu70bI6Ia/ba6PnlS/uLar2lroVbE5TF/p64X6quvxyTfY=; 25:Qenn7Ps2+K3zNcvH+UxrHB93BVv57J4P9u1jSEU4hQzpn+On0EFAGeBeat4Ho88iGfQC7V27s2PjinNhlngi0eHIE5kMOEAcIoPcJSsGytDcmXasWdRiN0/x09yU1A7Z/eZQ3LxpOA44xK1vt2tBvvZw9WFomnmdYwMj4SVGRSksnoKUscyoEwQpCdiqzBfpEImZOCR4lFiVOlkADuly1an/4HE987ljwQnqYLmH5LLjK2OhOeMcf1+/GoYXcj9oF4GY7Nn0Ur0YeAK6gKdA4w== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0301MB0870; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB0870; 20:Qb5Iv45s+kgvH0BnXR4t4HJzcewb4HWyJRw5B81hjJP+/EVuXvhg85JnON/ciYp+5oR5irxMMuFnx3kdBaFgmtrmRo91efPv25rvunjPrAkio1zHhwv9dJhh7UemipWlpFHmRoHubeAzMy7Nfh9OSAHXmSRnVPUnv96+hUTFUJzrQQRkN5SvH/wVDBcWCFqJt6v1ozY7vAaBP5TgejEO2KizySmwSoZV69tJAZtc7KAT78mf29lvndsrmJMTQqkv0kDXSoAxXR8S4Iq/t6j6v+jBZiid3PelQbOqhXH7K3pBQiPSOQMq+Xx8ZFX+8drcKVVoOaqFvy2B9RpjA5wRWPv+iiScoBExv9HxRnvL6Xw=; 4:k3m9b/B0YSVdvrzp25GgQbe33ObsC7eJ58xYuPAMeG4R6ISFJeKgC6WHvEImvp+AZLG94EFEb6GhfjRnn6qTnxDbb4emYhIF8uWcOiLhxOq1LN1pCxK3G82D9U7FUddftZxzhqQpe0ZaYgBXoptYnXl0T+fPKozzd/rxRcWLboo+QrFWUB2rKzOtG+ypiO9bhL3+NMUGuOKDL8M/qC+42YwRta2XCSgOP6+bsfNfIVQPK0meuEuEGR/rK5zN0IdizSSthusGK9rHeQFFYyrobrPTx49FLhaLMsAZN7wKqVCkA0MBk9s9y26ZkinpoByiwEh7ciArozfdWA7L9AJYUrR63ySxxxVBuuJwaYUZRfo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(3002001); SRVR:BY1PR0301MB0870; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0301MB0870; X-Forefront-PRVS: 070912876F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0301MB0870; 23:ZS1c6Qa64a5TfOlHEnsvxNzHb21eX/3wG6QF/et?= =?us-ascii?Q?+YMgkXBlWvtKwE7yCrUbzVylAeH8bwdk1GgGBg93QvNqJwqS09MnNescDKhu?= =?us-ascii?Q?aldse/qqFIHucLx7X8/X7MFaBQRN1pwu8uvGNNzpA3ENAPcVpmYRdt1Hyb77?= =?us-ascii?Q?rzAAlGQPyYTnFkVTW4YonGY3kfCeT9w8iq36f7tFNAzA7wyv0oAHyR9gv3c3?= =?us-ascii?Q?q0hIw5rIYEK1x2PqF3euQ6zEDa1OeIY/qb4WB3zNaw2rpFV9lm10oFhMmMsp?= =?us-ascii?Q?S+kng+dgsrdnVor3uodTR4cUU+g8ZRQIR3BBT5/e02FG4IMBxh08vbjj/v0x?= =?us-ascii?Q?3h3YQEOtl66r1cDiFw35lS1uLBe2ISWGS8S4zFFiogItPlo7+rG7rMFmr6yQ?= =?us-ascii?Q?Ub4GP9Ju3xj60m76OQRFaLicApGrs7a4WmErErZy0UeilZmEciA4MPQxT4pc?= =?us-ascii?Q?CfSN+eTyGjGn0f2b+CtjNT4qF5Y6nikJai8C08JLcJtDGfMDApJAyQk5+vio?= =?us-ascii?Q?ig5ViaxAmd5Mo7fMW049z1EDv1yt/ycSR+xoe1WCnXm/r5rh3DAzL5VaLt4g?= =?us-ascii?Q?12WRlRJNhZo0rsX/jjl7q6ADnhLIHzXepwk/nXgD450rkWXrcJ+coJFdxFB4?= =?us-ascii?Q?Y/C6t51P+gAKvYl+Vazmz0z3LOOZariwVvjc+R60xTH4RcamkVdCl22NTvAy?= =?us-ascii?Q?iaxySd4nvz1cUo+U7MLffD9AtlLKa6ZHnao7HBAE53eqsdPHGI3yK4FdgGU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qJjJCmhuZvIzXen+3ZA3jK8Fnw== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Sep 2015 08:35:24.5922 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB0870 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150924_013553_675769_D044A007 X-CRM114-Status: GOOD ( 16.48 ) 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: devicetree@vger.kernel.org, alison.wang@freescale.com, linuxppc-dev@lists.ozlabs.org, Wang Dongsheng , robh+dt@kernel.org, jason.jin@freescale.com, shawnguo@kernel.org, linux-arm-kernel@lists.infradead.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=-4.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 From: Wang Dongsheng Signed-off-by: Wang Dongsheng --- *v3*: Add "fsl,#rcpm-wakeup-cells" for rcpm node. *v2*: No changes. diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 973a496..ac5f9a2 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -139,6 +139,7 @@ sdhci,auto-cmd12; big-endian; bus-width = <4>; + rcpm-wakeup = <&rcpm 0x00000080 0x0>; status = "disabled"; }; @@ -186,6 +187,12 @@ }; }; + rcpm: rcpm@1ee2000 { + compatible = "fsl,ls1021a-rcpm", "fsl,qoriq-rcpm-2.1"; + reg = <0x0 0x1ee2000 0x0 0x10000>; + fsl,#rcpm-wakeup-cells = <3>; + }; + dspi0: dspi@2100000 { compatible = "fsl,ls1021a-v1.0-dspi"; #address-cells = <1>; @@ -287,6 +294,7 @@ interrupts = ; clocks = <&sysclk>; clock-names = "ipg"; + rcpm-wakeup = <&rcpm 0x0 0x40000000>; status = "disabled"; };