From patchwork Tue Sep 15 08:55:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongsheng Wang X-Patchwork-Id: 7181061 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 D2A889F336 for ; Tue, 15 Sep 2015 09:04:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3164220650 for ; Tue, 15 Sep 2015 09:04:12 +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 2DB3B206A7 for ; Tue, 15 Sep 2015 09:04:10 +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 1Zbm83-00070F-PQ; Tue, 15 Sep 2015 09:02:19 +0000 Received: from mail-bn1bon0138.outbound.protection.outlook.com ([157.56.111.138] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zbm7s-0006LU-1n for linux-arm-kernel@lists.infradead.org; Tue, 15 Sep 2015 09:02:12 +0000 Received: from BY2PR03CA005.namprd03.prod.outlook.com (10.255.93.22) by BLUPR03MB1476.namprd03.prod.outlook.com (10.163.81.18) with Microsoft SMTP Server (TLS) id 15.1.262.15; Tue, 15 Sep 2015 09:01:45 +0000 Received: from BL2FFO11FD032.protection.gbl (10.255.93.4) by BY2PR03CA005.outlook.office365.com (10.255.93.22) with Microsoft SMTP Server (TLS) id 15.1.268.17 via Frontend Transport; Tue, 15 Sep 2015 09:01:45 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) 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.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD032.mail.protection.outlook.com (10.173.160.73) with Microsoft SMTP Server (TLS) id 15.1.262.18 via Frontend Transport; Tue, 15 Sep 2015 09:01:44 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t8F91X6P032223; Tue, 15 Sep 2015 02:01:41 -0700 From: Dongsheng Wang To: Subject: [PATCH v2 2/2] arm/layerscape: add RCPM device tree support for ls1021a. Date: Tue, 15 Sep 2015 16:55:39 +0800 Message-ID: <1442307339-15225-2-git-send-email-dongsheng.wang@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1442307339-15225-1-git-send-email-dongsheng.wang@freescale.com> References: <1442307339-15225-1-git-send-email-dongsheng.wang@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD032; 1:QklA3n4T0YwTWjC4cfKiVgXcDB8eJfhy/SUU7VpahmZBWTHsmti2RpvGouqxlkuXIRpsequWRe6ohscdLYLy4acRcIZYirS/V1av8He73Et77rx2hrg5gUASh7KKJPvAqWMl/Ma1xv/aOIMJtjX22X0Y65A459i5Zwoc1Y3I0430opwG1CNBalcGPL12UYGUsVW8oIi3LRyvTOMbk+zs4EWrN9hvXqk3/9VjUkBy8CrXK8yEvgXO64QQabeXkOUjZS1mIwtGGe7rOtwnacEvYl4UmXjhBuXcU+EyxmZgAwihGnOG98urR6qgcJ/5OwkSI5CY9UvYfZpwucm48RTaAJrX2QoaUVNcZ1q6vZvCvUVWx/bgmvr4XZt3FsQFaib+VR9DVcMmy5TmQhQhoLMEQA== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(77156002)(62966003)(4001450100002)(19580395003)(69596002)(104016003)(4001540100001)(92566002)(6806004)(5007970100001)(47776003)(50226001)(5003940100001)(19580405001)(64706001)(2950100001)(36756003)(81156007)(11100500001)(97736004)(77096005)(46102003)(86362001)(2371004)(33646002)(229853001)(5001830100001)(85426001)(189998001)(106466001)(48376002)(107886002)(87936001)(110136002)(2351001)(5001860100001)(50986999)(76176999)(105606002)(50466002)(5001960100002)(68736005)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR03MB1476; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1476; 2:upnmJtj/WMra/TuyldGhmXcQZS718z23tja2SSWtagj+Gczg5RDSMhQv9IP84DJHW+EucGch82tyg/EwyCH3GCKqOxjlF26Nq7CQRajB22P8yL+pvRshuNDNIKKbZTlp/aEbPqABZV+X+Ft4UqZD+ER0ljtroOMNWKsp26O4q+U=; 3:emtUmgwSPGZHI4gVVLJhVx4MmaZKis4BOQm+eTUGkQjsmXcpCHqDwsuFt+qMan76vi+9dQhkNI0VybgVH1NuWsPnxcqcJNn8xVABNXaHNUFPRc9/4WdDfFQJuXZDe/4OjBf5fTo6Gwj99SE+nXlxA7gdNFLRN0c7BnB4glZatd/BQDCwXXCK/Pr/4zCa1grikGY1qjWXY6JlS1QCS4mFiOG59ddexKTY+QAtlUh3kd4=; 25:DhkGOOH5GSHVJ+yF9YTAmSV70LgttZVhe9AoSYy7G2ok5iz10uLAKhyBRo/sXpPf5dr3mqx0nEVpF1plsd1APKj9fJTIYSuo617uTP/1SaNRWxuD3mW40UwmcmYqmePcif8SUPfz018b/4TofsuzbRdOsK//7fxSWocwNhugjxIh33BGHNC+XMee85wO4H/Nai9xchqdlHl74W8laJUpVOv2SFmxrlAzwOD/dZsy4yM+HU1rZ78NdoozJo52MkO5RsCIBQkub4JP04v4/5WuSg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB1476; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB1476; 20:D9ud0KtdglsW+SsAfJehgvMT+D2Bc+vuVnHqZxwRvHi06Qs0lsJQMKo+kWi5UvqS7KLzeJ/r55/F0nnc6VJUdMpNPyaavOHJyM13EiRUVk0l/rH7FP9GgKpgqnjKnAm8+f3XghvKINhrLAIWN62spmHOOJ4sCKUmPM0cmR1+kOFfS71P+BfATgB7zirP80ct9fE4esWdvxx6HChetzbXWem6aTdE4j+WRJmUF6Vn+CHHMrubgOBUqkXBNTbyvcwGfIgImRbulfq2NxWf/K1CX2y+k/LSZrEEyBoVhRz2yA522uNFcQirNaoTnW0clyS4xTwQsG5qciggeqe/4qClIzFF+jL33fsMJDTA/UtFcxQ=; 4:1wKDUUjP8y2qk/uCw8QEPj72JAzIolrO/9Bzl6feO3hZ+vRRkmi37xQeutj0D8H3wnrMMBbGwBid68fVelVDuhmdzIaUDexImCQF8wDtluBw799gFeA9q6Y+lgBWk6fEmK2sKBCVSkt4CVgauEtKy/tiA5PWjGrUDZxEGzaD5Kleo4eblLDaFb9EI6GgVecMVJt1R6ekke0zY97lwLkscN3mDh71wVJEqZMQBxsdDAZX+1vEa2wujLrejW2ktYW+ALf7/9ltnDOyO1j4kZQBGWQ4Ks+toX5UIJauGdDQMUruwtOvN6A2WYkaspCiQ2akhtcJMfKpEb8MSZl3mA+leTNgKWAoayWfGr+KSEy3uhI= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(520075)(8121501046)(520078)(3002001); SRVR:BLUPR03MB1476; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB1476; X-Forefront-PRVS: 070092A9D3 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB1476; 23:r+tURh42R04Ok5/ABBtNnWYQWA047Vv5RygU1zAey?= =?us-ascii?Q?7/a/wx3PFImsYCjnF9R60R2B/9L183Qn/avw6+LBKzL5xDdMgeRMtZPNutIk?= =?us-ascii?Q?8Hu63gQvnRyypPdqLp5LPtrvVdkM7DnAuhJzA3RdcrjAyrtPTNiwsib7d+0f?= =?us-ascii?Q?TjPaAHoIKaQF8VwnUKkTCN4Jo8vcVm6bPqqVfpwDz8g9s/t3q2vb+FrJSIjl?= =?us-ascii?Q?Kur5zW7Ee0bolrd1+SmDv9TgWlXmEC1nN0h+Vp6uw2+dIPWBwYC/MXYCeViE?= =?us-ascii?Q?9mo904kfBlyY1ZG9mVEFYSASyn5PVkyuKJL9no7OtVB+NcL8HJRl8zgZfET2?= =?us-ascii?Q?BMOBJPRdjky8q/bvL4EtFP2o++GDJoCAvAsYy2NmFkMsuDsCrgazEfEy9zv6?= =?us-ascii?Q?yF/C7ahiO/uH0N08UVLcJXtjHT1aXYMUIiwd0bEcaz7JRTgAyHayvKJ7Defg?= =?us-ascii?Q?EYKZu4vCR5+UTA/fNUFDa5A9qyTXExreNeqRx5Bqd2RixZjO8wo1ZPTAbU3t?= =?us-ascii?Q?LIy7cAe8Xp1nyQy5IUbWE/tRRXOWndcGQvM1SI+260n/Tl1KxRg7NEk7gytX?= =?us-ascii?Q?vxN4ICUNezL6B4WsK+kaQCt9jOIVWLE97tZh1OpkZsrKkCv8eEWjc1kH5Mba?= =?us-ascii?Q?+yJisTASwjheYYMEi2ofH+gPQYzi3uLj9ogZk0Kjz25PF+9UYpqvWIC8xQEt?= =?us-ascii?Q?LdGqTuJUCq4fWEhBNVWzKC/KaUnAK4tJzmGc13ckabv1gNNY3FoJ5Ti8T56i?= =?us-ascii?Q?mdTGcOm/QihH97H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sn/+CmYZmRK9qTA== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2015 09:01:44.8492 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB1476 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150915_020208_250070_449EB606 X-CRM114-Status: GOOD ( 11.00 ) 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, Wang Dongsheng , robh+dt@kernel.org, jason.jin@freescale.com, linuxppc-dev@lists.ozlabs.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, T_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 --- *v2*: No changes. diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 973a496..deb1271 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,11 @@ }; }; + rcpm: rcpm@1ee2000 { + compatible = "fsl,ls1021a-rcpm", "fsl,qoriq-rcpm-2.1"; + reg = <0x0 0x1ee2000 0x0 0x10000>; + }; + dspi0: dspi@2100000 { compatible = "fsl,ls1021a-v1.0-dspi"; #address-cells = <1>; @@ -287,6 +293,7 @@ interrupts = ; clocks = <&sysclk>; clock-names = "ipg"; + rcpm-wakeup = <&rcpm 0x0 0x40000000>; status = "disabled"; };