From patchwork Wed Jul 15 07:40:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alison Wang X-Patchwork-Id: 6794251 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9142FC05AC for ; Wed, 15 Jul 2015 07:47:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BC3E820585 for ; Wed, 15 Jul 2015 07:47:51 +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 B04092052A for ; Wed, 15 Jul 2015 07:47:49 +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 1ZFHNe-0003Ej-94; Wed, 15 Jul 2015 07:45:26 +0000 Received: from mail-bl2on0142.outbound.protection.outlook.com ([65.55.169.142] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZFHNb-0001xX-Fq for linux-arm-kernel@lists.infradead.org; Wed, 15 Jul 2015 07:45:24 +0000 Received: from BN3PR0301CA0068.namprd03.prod.outlook.com (10.160.152.164) by BY1PR0301MB0872.namprd03.prod.outlook.com (10.160.194.142) with Microsoft SMTP Server (TLS) id 15.1.213.14; Wed, 15 Jul 2015 07:45:00 +0000 Received: from BL2FFO11FD021.protection.gbl (2a01:111:f400:7c09::154) by BN3PR0301CA0068.outlook.office365.com (2a01:111:e400:401e::36) with Microsoft SMTP Server (TLS) id 15.1.219.17 via Frontend Transport; Wed, 15 Jul 2015 07:44:59 +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; 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 BL2FFO11FD021.mail.protection.outlook.com (10.173.161.100) with Microsoft SMTP Server (TLS) id 15.1.213.8 via Frontend Transport; Wed, 15 Jul 2015 07:44:59 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t6F7ishL031530; Wed, 15 Jul 2015 00:44:55 -0700 From: Alison Wang To: , , Subject: [PATCH v2] ARM: dts: ls1021a: add wakeup device ftm0 node for ls1021a Date: Wed, 15 Jul 2015 15:40:11 +0800 Message-ID: <1436946011-30113-1-git-send-email-b18965@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD021; 1:6ifVSQ1f9czfzOfv8i48e7kfb2vKEYFPg9KPKV/+g0sh67/DoQ7vSI/fjfuMvBV47nrsAYeAXO6ebggx2reNstxoyfCQKksolT2ioLVjp+zTiINofnufEVugLwN+HFhQ/ldHxpShxqRIJ8UXQ6U7EneAfa+nQFTeYSBS97imbUdbQ/RidoCQyOVvqnJlV1FYpB1Jpfo/ivuWHm+pBJhG5ebFdotvDJos7bmj16beNUbq8KjGSWiJhx4Z3Fh2fiFPwr1DkwSgfpDtz39L5qVEz5TCKseaXJjy0awwlOp1g9hk61xklTN3Uxw8agVGacDUKdS9pzc8ACu7d3YqE3rehnbXOtJ4A7pxUvax6Xyn3d4K2KRfmxn0uMbN2smpJjjyvjo5lVhbljPxxqCq7kMR634OD75wxBiEGpFJv8G7ma7bvj+haMFP0GmiQcPJn8qk X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(199003)(189002)(106466001)(47776003)(50226001)(105606002)(19580405001)(107886002)(189998001)(5001920100001)(87936001)(50466002)(85426001)(5001770100001)(19580395003)(229853001)(104016003)(6806004)(46102003)(92566002)(5001960100002)(50986999)(2201001)(48376002)(5003940100001)(77096005)(62966003)(33646002)(77156002)(36756003)(4001430100001)(2101003)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0301MB0872; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB0872; 2:hl5KPeC0C1K9S6RImfwBo+B9JlJftTJVsgEaU8nZ0qjaz+LpGveooDmWgt++E5/t; 3:y3zPwG41bwB0sGmjW+FNhTxd12+2cnxRLw7hSdEzLXaZisl07RPJTuh0/oJ4oZ2S+OyPz/rs/Xe4B5uOdlfRcAGJNraPjzaiZj2U8plTTnd60GL3jm5PO6iQaVj71VbTRzlwg3dorQ1p8vzhAz4jEycAEQJ3LEkXe23rnOOH/2XQlVBpFtTPfYWQmU03KonK6MUh3t72GTOsZpn94oTh78LyCIBdX/LxmnExh+h9DL8=; 25:IYO3jwLp490t8Ka6r1+enHjtNf4jxzMQHaVFvsnIlM2X2pQD6guihDeHZVHgGckj1eEMMi1TTlxrO6RJzgRzuz+mQlBndhEzGxJEwHRyCkTQwDn0NmUAni4JM9cQpNsBcs8VGZre31F80fsQNX1A1+Bn53Pi6C9z/HQYYG6DKdjjXyX+F7sfGnF6G9AXFpUMEg4NX8i50q+sOPx14NJqnKvbB088JmaaZxxhiB0UreUhNF1tV0uKt77tMsum2UwarE6zLdNNrQRgq2mG0DcY7g==; 20:SthCPHGKyScfjQH0FMufXrYyc5fTlUK73rY5Uoj8gN0IJLCorJQiVHjjqg4ep7Bawif05VODkvKpqd2LSA1zKOEymoC8uFWhsLBQ4UygMiQyreNvfGb+YwGYWiTYvxaUUtT0LwTAwLUkUvxN9TijfdrCLU2vyxMWrtQqHUDGu5k8pEuY8onXzNdxlr9OTNnjTdzoL23PQTDMUY4u9aZqAS9jHujW+TOayNatzLKGi/vz35m/7HR5deRXqqSl3qenhzm+ZdsiBQt5j9kQqFfkaf0YnDo1pmuIPGVl0zN/0x4k7NqrvOIoffKl+fYr8vO6JdZNmi2shwlspUVhCaMhPT/od/j5QKcLXz0o5ewHq3I= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0301MB0872; BY1PR0301MB0872: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BY1PR0301MB0872; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0301MB0872; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB0872; 4:cnzTgYEiJj3OnFIDniGxkoFZ9fynXindmsSuO3UptG5lYiFTrcwAtohBfHxoy7iPLpTIMlmVZmPB93iqzgLQ5Ex2XnXH5jDG2bh+5KK6E14LmXrUvqYdmpWVjJORsDze9JOp0+8/LfjVQa3U8vd/PEF6yHBzZhYOC+0IHGvGE4aFtVepJIjkzhYJo8MK50BZACLUUykTYXsbrQzKDxVI7VjI+EgpObfSGjdTdAO73azkU0dS52VUpmFnUu2QF2P58tp+RXg6gSV10RZf2fFOBhHt+nj92r23mvvy3U7FuXM= X-Forefront-PRVS: 0638FD5066 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0301MB0872; 23:gtG0h6NG5yzFyI4+6KtKWaNzfFwllCt8cBIjzoe?= =?us-ascii?Q?0rMLc6+1ClI1j2qGtO3tWaLtYz3n20T2CzIToalGWvKh5l5Y/6f+3D9STxm/?= =?us-ascii?Q?Jgd4aoRjdzZBTv8H2Tt3CnQAbHQn1b/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RIa+s?= =?us-ascii?Q?eYTY=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB0872; 5:Nk3Q5P2FoYC2x2Xcz1At+iAaEf4+3FC6G51/HsOLlS3sfVUmeGdyXoEXrbtaNUIO5qF+6cOgdjtEGyq7NRhtmTHHY+aoLVrooWPuahvVbs7NLvrmq4yQhqq30nGFSgZZ5SW2aCZl/9Y2y6OLILsJ/w==; 24:FA0cU/Pi3a5080yE/swM3ThTG4avW/mhfncRyCPeNLOfbWjvfknVYrriqTzlYJUiUnvxE2my5BCqvaSwfolCuZrkeGG8ra4f30XHo4WuHXc=; 20:+ug0G6fRNxu7VMjweD9cULR4bnnvnxL4aLyWkD5vWs6a/YugDOzQsDX/Mh2qnaxERA29xl6CZNIkgwuGxCEjjw== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2015 07:44:59.3443 (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: BY1PR0301MB0872 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150715_004523_739427_3569959C X-CRM114-Status: GOOD ( 13.74 ) 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: Wang Dongsheng , Alison Wang 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.6 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 Add ftm0 node, cause of ftm0 can be set as a alarm before system going to deep sleep. Signed-off-by: Wang Dongsheng Signed-off-by: Alison Wang --- Changes since v1: - Add my SoB. - Use "ARM:" as subject prefix. arch/arm/boot/dts/ls1021a-qds.dts | 4 ++++ arch/arm/boot/dts/ls1021a.dtsi | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a-qds.dts b/arch/arm/boot/dts/ls1021a-qds.dts index 9c5e16b..f14731b 100644 --- a/arch/arm/boot/dts/ls1021a-qds.dts +++ b/arch/arm/boot/dts/ls1021a-qds.dts @@ -75,6 +75,10 @@ }; }; +&ftm0 { + status = "okay"; +}; + &i2c0 { status = "okay"; diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index c70bb27..7e9e122 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -332,6 +332,14 @@ status = "disabled"; }; + ftm0: ftm0@29d0000 { + compatible = "fsl,ftm-alarm"; + reg = <0x0 0x29d0000 0x0 0x10000>; + interrupts = ; + big-endian; + status = "disabled"; + }; + wdog0: watchdog@2ad0000 { compatible = "fsl,imx21-wdt"; reg = <0x0 0x2ad0000 0x0 0x10000>;