From patchwork Wed Aug 12 04:01:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongsheng Wang X-Patchwork-Id: 6995501 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 07ED0C05AC for ; Wed, 12 Aug 2015 04:10:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F012D206D7 for ; Wed, 12 Aug 2015 04:10:21 +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 E5265206D4 for ; Wed, 12 Aug 2015 04:10:20 +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 1ZPNJc-00022I-Tj; Wed, 12 Aug 2015 04:07:00 +0000 Received: from mail-by2on0147.outbound.protection.outlook.com ([207.46.100.147] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZPNJV-0001zl-Pq for linux-arm-kernel@lists.infradead.org; Wed, 12 Aug 2015 04:06:54 +0000 Received: from BLUPR0301CA0011.namprd03.prod.outlook.com (10.162.113.149) by CY1PR0301MB1609.namprd03.prod.outlook.com (10.162.166.23) with Microsoft SMTP Server (TLS) id 15.1.225.19; Wed, 12 Aug 2015 04:06:31 +0000 Received: from BL2FFO11OLC015.protection.gbl (2a01:111:f400:7c09::109) by BLUPR0301CA0011.outlook.office365.com (2a01:111:e400:5259::21) with Microsoft SMTP Server (TLS) id 15.1.231.21 via Frontend Transport; Wed, 12 Aug 2015 04:06:31 +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 BL2FFO11OLC015.mail.protection.outlook.com (10.173.160.81) with Microsoft SMTP Server (TLS) id 15.1.243.9 via Frontend Transport; Wed, 12 Aug 2015 04:06:31 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t7C46LSB031926; Tue, 11 Aug 2015 21:06:27 -0700 From: Dongsheng Wang To: Subject: [PATCH v3 2/2] ARM: dts: ls1021a: add wakeup device ftm0 node for ls1021a Date: Wed, 12 Aug 2015 12:01:01 +0800 Message-ID: <1439352061-14656-2-git-send-email-dongsheng.wang@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1439352061-14656-1-git-send-email-dongsheng.wang@freescale.com> References: <1439352061-14656-1-git-send-email-dongsheng.wang@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC015; 1:jNeJSDZiJuwR9OzmhdZWg5HMP0CjcJ9xlh/wRI6RRE5fX+77uF2gDz+4S8kaN/Zd/oAXgZhklJyvRjjAkXHFEy1OCeDwRIpjWljM6hvS0h+sPhKLB62OsGWOe6kDorknHo7V82WRMJ1Tja21Y1Y+2boesf89GqBoH2GkCKuFOgrNEKahbZzXCfoLWleTVVZLbnY1/cDmt9PSGOr+1wp99IPXN8vhfd8YkvL3q8TG3fg1Au+cPGx8D6DpYBY44y1JPodkizXuN9FYTx59bsILOLUchB6j1/8dPXVKYlHukfOfL5hrR/q6V+aW1vxyguc8wX4y39RPOgzBxa7ACByUlDwDgiy9wuvLvxkx9P8B9VNyxxsmGMTZEBosaU2GdAkTDbwpLT7sdhYYox5VWorKcQ== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(979002)(6009001)(2980300002)(339900001)(3050300001)(199003)(189002)(2950100001)(19580405001)(87936001)(77096005)(229853001)(104016003)(46102003)(92566002)(33646002)(2351001)(47776003)(62966003)(50466002)(68736005)(50226001)(48376002)(6806004)(19580395003)(107886002)(5001830100001)(50986999)(36756003)(5003940100001)(77156002)(5001860100001)(110136002)(85426001)(5001960100002)(97736004)(69596002)(86362001)(76176999)(4001540100001)(189998001)(81156007)(106466001)(64706001)(105606002)(4001430100001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0301MB1609; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1609; 2:hXTdmHp1N4TrKAW4ms59ywPyiaA8osxMyKOkBEy/fjWfrgbzYOw9cJSiP5P6J4EY9aRvenHiZ6ns9Kx7f5vajESYZDlQ6OyIsOO3w++UlGZS1Rb1Hgg1y9aXPOyAeTmKNy/SVxE6Za3WuHFrM3OduQ5HxHikWAW4O6+KlRF8BX4=; 3:1Y9pDnxsRulpepzB33NJOSz9ifXKrAagp/RS7jC7borwGQx+qjmadhlDjyN4x4YLr9X3xxYggt+y5aCsMP5Az3MZhhsk2URuQEavRdUx6iBLwROycnNTV1Mdfac+wTb+IXcy6jJGAahqOO6iSUTRqCkN/ZhSfN3ZMKC/YZBHwWyof/GoL9yW2EEUW9ZjaUOPo/QiThvvvzAK4Vo+0f1Wx6FSIEAXs/YtjAGzFdbCODw=; 25:18O+1ARq0dF/dgHpvQXUmu0raQJ10lhhycmvKfT3XaWes8hDbipmmgJb2RLMQx4oEgbxU/albF3Aszml0/4OBMgdgapImwbjt7kauFV7ttSzgoEZ1AfxaCaF5JHagV+GBwF0ai9h8UK4bemPdnKX4KrOXCLaV0dJ+wHCwp4gZioWCNFQyPk+hmm4ExDK77Eo4ZCst/KnJry6O+M1MjQ0qEZ4dy0CvQtc/6Viz3XhTikvwFqvC5wAPYSOFYSWfh2FcGgpisIo5nrVswXInTc2nw== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB1609; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1609; 20:1xHaigosJa8M1gPcd3U3qU65IXHv1rwEbWb/78B/ZReAfODVwcVYXbXKzTZHcU0fdnj/6xW2RBQ85ZCAWSV81CrsCL8tZ3X2IhtV8CCfOW8ARl5jhauXvUIFvD96oiDwJKsC/Ni7v3AXgWVlCktmfYblzhiWjKuUideJonOYfgBG/gKLF8aevH+JqGzr4RV0tvfZQT+4IetJosjovRokAggB3tZOA39V7HUww6a1bJ/kPV6NUAADmvOegw5xSXxlEuDmKO86pLpEeZQ7HuaVOb1YEiGdiX3F6QLSoOgtfbdwsV92c3y4H2V7coHDcvPjbetzJ2bVX837TKyqkm7nrS/zdmq1VkgNXBNVZL8s+pc=; 4:pRWtXjhGUXygP4P2+QEqdUEyMCff2B6pUol0swMCt+ZiK0le0IYu8eOAZxDmyuygNMelSQv3tgAnSgfc1lIU0jD9j2/6Bc1BLpaVhKRepNpthyCRsmJMNNwBx0R2FaYKm7Ycf/wBXuXGQzFOL8oTDpAvR38PwzVMhObPaxU+sFV7S91vJrB2aZ62BjZbmgZXhD1w80+v/+or++T6CJSmvfE2vYYjk4ebq7dEA8qzBrbku7C8IG6ZZsGHhr3bYW1HJJmeTcRX5wpF8v64ixbHxNPMKndHELASTZ6z0MX74u4= 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:CY1PR0301MB1609; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0301MB1609; X-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JxjUYWJ?= =?us-ascii?Q?Nhd94ygqZUkE7tuD0EDUSnKVY75+EtRGKMStTVoumg1Cp4zrbjyyeQs6GjQT?= =?us-ascii?Q?Ke5yJ96wO8/YJY+J6ZouLoe3cDX3+6knaUl5U7nj14XExE4w68VEnN8ldcxX?= =?us-ascii?Q?F4Dn1pckifO4dl9MqSRPmSRt59fEFdr1jUTvvsPTWr9f1RsnCbgCcPsh+EEg?= =?us-ascii?Q?6KZRFrScWXCXLLHsNr8yBKx8JPF3jecbXpilrTxHdtuTiM87SHDdetP83sqd?= =?us-ascii?Q?l36YSuSdpX1kAJdf+nTj25xJ63OiyshxLw3gnDxhG3bJzADDPX2UDzpWBscg?= =?us-ascii?Q?n7rUZLyrtGRW+ZcFB3IzW3tGXaDBV+lcMrHaDFzNm9Sk3+kvfhk3A2DPXa4Q?= =?us-ascii?Q?c2zrI9LEOV000K/Xw/SgsoIrHdRMjZg8U4+rldIhhPgLEOSEM0TjGqC7iIn6?= =?us-ascii?Q?7oKrZZvJZqXP5alurFP4mo77RKYqjvHmXT2eC3gbbwQSq1M2evUJ1ZPOdPvN?= =?us-ascii?Q?MGw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1609; 5:2xD80OrZV9m0fxHpwrwsoqXXCmKr+WWmb10JEOOmyTC8Xo89YN+AzjuwUkn7VME0diE7USFw3M0NXMKRO72JV62fW6b0E3mWJa4bf7u08lKtpkrStc1/8iN02/Olcd1JIDSBa4oJm7n9/KIftCVDYw==; 24:g+dw18XhK4YRC8sB4MW87Vrjnb6aPxAXTugZ+pZiIPC+O7a2k/AmqxJBYBRJfm69SYTY11GpIzuzpleqwdqb3porEkJRfVzTQ9akbvhq6y0=; 20:dUzNkgiMBHeFpYTJOqsll2GZPvCLKFeSJ/Y8zSStzqdFpaRDggHIxmIlytqY07V4Y3Vg0Z4BW0Y1sTKzM0tO8g== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2015 04:06:31.1009 (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: CY1PR0301MB1609 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150811_210653_974465_5FFC4244 X-CRM114-Status: GOOD ( 11.96 ) 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, Wang Dongsheng , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, alison.wang@freescale.com 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.4 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 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 --- *V3* - No changes. *V2* - Add my SoB. - Use "ARM:" as subject prefix. 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>;