Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751764AbbGOIAf (ORCPT ); Wed, 15 Jul 2015 04:00:35 -0400 Received: from mail-bl2on0108.outbound.protection.outlook.com ([65.55.169.108]:25968 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751316AbbGOIAd (ORCPT ); Wed, 15 Jul 2015 04:00:33 -0400 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; From: Alison Wang To: , , CC: Wang Dongsheng , Alison Wang 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 Content-Type: text/plain 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/3EYo09bI8Uw1lAxqgfjrZ2+BinmJX?= =?us-ascii?Q?ASWR8eLJ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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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1490 Lines: 56 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>; -- 2.1.0.27.g96db324 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/