From patchwork Mon Jul 6 02:38:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alison Wang X-Patchwork-Id: 6719531 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 85836C05AC for ; Mon, 6 Jul 2015 02:45:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AC3A420643 for ; Mon, 6 Jul 2015 02:45:25 +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 807A220642 for ; Mon, 6 Jul 2015 02:45:24 +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 1ZBwNi-0007fU-LF; Mon, 06 Jul 2015 02:43:42 +0000 Received: from mail-bn1bn0103.outbound.protection.outlook.com ([157.56.110.103] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZBwNf-0007Ya-R7 for linux-arm-kernel@lists.infradead.org; Mon, 06 Jul 2015 02:43:40 +0000 Received: from CH1PR03CA009.namprd03.prod.outlook.com (10.255.156.154) by CY1PR0301MB1609.namprd03.prod.outlook.com (10.162.166.23) with Microsoft SMTP Server (TLS) id 15.1.207.19; Mon, 6 Jul 2015 02:43:16 +0000 Received: from BY2FFO11OLC010.protection.gbl (10.255.156.132) by CH1PR03CA009.outlook.office365.com (10.255.156.154) with Microsoft SMTP Server (TLS) id 15.1.201.16 via Frontend Transport; Mon, 6 Jul 2015 02:43:15 +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 BY2FFO11OLC010.mail.protection.outlook.com (10.1.15.21) with Microsoft SMTP Server (TLS) id 15.1.201.10 via Frontend Transport; Mon, 6 Jul 2015 02:43:15 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t662hCNQ007830; Sun, 5 Jul 2015 19:43:13 -0700 From: Alison Wang To: , , , Subject: [PATCH] arm: dts: ls1021a: add wakeup device ftm0 node for ls1021a Date: Mon, 6 Jul 2015 10:38:39 +0800 Message-ID: <1436150319-15122-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; BY2FFO11OLC010; 1:M5e8hSCgKWlAQHYbrInMaqUfJkJekRGupbdC2xzk595P4rrgizV/0cMeo051b+X8SLdkHUvvtK0jIF9n30WqLqyXQlOfvSiLmq3428s9MpHfn5jKdM3t3cXYzuzvUseh7NwApw0TirvYYoXvZ8mQrh4ofM+5TW0orkMSwETTOaYJJfxnZyXFSa336pPHt221CcdNwvK73REXN0Mhu5nxB+U1mYwVNScosa1j5kdXv62fhtOTkDz4atImyzE+qplowNv5se4MMi2FGOTzfYz2HYda81ec7be5FIjH7wau3VUn/fBI20G4EvqdxYe8NAFMWEU73w37qUUC6Ki/Hdl07w== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(189002)(199003)(5001960100002)(33646002)(50466002)(77096005)(189998001)(36756003)(19580405001)(46102003)(48376002)(87936001)(5001770100001)(47776003)(92566002)(19580395003)(6806004)(107886002)(62966003)(50986999)(229853001)(106466001)(77156002)(2201001)(85426001)(105606002)(104016003)(50226001)(4001430100001)(42262002)(2101003); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0301MB1609; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1609; 2:pT5M29Hbcl+nJp/YlupdRykzwf90SzL+faX84ttpN3SRIBcCoKRy/PNBFTOX3/xm; 3:TBlOg/WSeRIXBby4CgWJkTyyIaXzUqUsqxPCjSKlGDBenAFBBClLSqrforZUMJFEtA+HLdizKL/Zj3pYCMBQxyWF5hBXHXVl1DmVXbNnlt4AwKpxYwIdD3owMmM/Gx6pMyqHf1RXn4TSoLjrMlM9C6uylzXQKGCqIAr5EWD8nWcWUZ/xVIcD0NdI7gvdAwWTuS7buqG1TsHGdmBIYqXgeoCSM/Q/yYdZB9kJB5m85RA=; 25:hV4nql9zbc7/KKtYYYtmBf6+pA9n7zf46uwFXhL38gWg2zJBK9Ozw2Af4h6DLvctmWysqIPdnoPYcanVUKag9KZT/+ajI1VnNKUzr6ZZJAPqUZ/CkzT/0Kz/Tg/oujh8EuXpAH6zUDMmwUcSj8GEzqlIIK3QHBdTmvHovAvEAy8OSbrfvTzjqdZWKVTSLXMaazk8Wa/wOk9iz+YCLGuSYq+ZIUkCEav+JVJ25cIklaEohNFBXor5wwh3+0NUcC+1T2/XBy3J91PQ93oD/pbbQQ==; 20:RLRLLKUUdMY5f/4KYopGG1BiulOlfCL8PwhaUcC1byomHOfgvgYgWQZKajADnNaQVDX1o00zJenRHyjrqTckV2Ht7rRWbomcrhCj5u26s5wenNVPE7kGm30SxsEZSfG9dJgTRfTVJLESdRO/vMBnBCtQtsTc+VUvh4s2bk1+z5wZrhmIpPRbYis1xyzyv8e1mTKP2kvxE+woJidM0kMAYyXuzjLP0LT++MWkD/zVcLid/4Y+mQTwMot9nDDS6CiwxlpSiIFHAU7P+bWFPbpboHTgBIsbZ4UGHNLAaJJ9lMvq4uA6QTTZMbeZwFYiV46nUZDCxa5E2q/+Yio7jRe4Z490IqZP0s75w9GNiBD7tTI= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB1609; 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-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1609; 4:2szlj8LPvi47Sq2doJhjdOgxGhTG41NjmLpDowEdnoi500kMnZdYcmlg/gVnfLwodhjZ6xQhWjElmzwBKf9l1xND0qCzKFZdkcT4LC3fIohi/CLnxSl1VAg8uAt7X3DOT1dweOKws6GDRTA83DtiGb1p4C/1Fk75q0GYMqMzpigxre5gJMOe6kASFHIzA4+x2Fm3cClhHCt5zyEVjMxi64CXyrGcWn3SH4bDr1SBr1CmzarPSDWYkC9VrS7+6HA6OjS6UBTc536jqMZl3ruu9R4zc6EYqWL9jnJ+jg+TZEs= X-Forefront-PRVS: 06290ECA9D X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1609; 23:Smp5JCcJm8KQXlnTycYgebuQWLyIHkgqjuqO0vNCGqzcvP8nN1G0/RlYpTA1LMUuEZ/iYKtIwHIxuOhM9h001yUu4xYWFvZY9wXbOYZzVtjBv6lRK1Xa5b7yTPLWhV2/x/g7Efi4zopbStnPtqw5FOARIOlSgGBL5rAtIYGlDKJ9p/Q2MtUvc8DiXENkP25bEOOJIor383jK7It7yuhdDorXVsi2jhP8SuctxgZTwn75QAus+vl8Vgq4SXvE7x8Q55Y5oImCPRmf44dVpTD6itJk46O2e84wneCSrVCFZEIWsnyRQuzn/DA9WbH6u34v3Ag6gbz3MpTXcj4+A1Ui9UMPQSOAMh+7Yc+uqee7dELO+i94N9OYm2rVuelg7YPoGOx9KfGYErd6SRc01iSLM2/JI6h3jQDGHCm9Nc37jeCQkfxDKVjVTQkW3QW3O+ZZ3EOFdyObJePvLLdUCkcjbW+PhIrT+/oqsRPUXy79M+GIeNk4Ayb9RkIKBPK9TYgvlkXrAC04P/VPxSv41EfSQsGnv6u9aQ/QAw7/KLfXlYHQ1Mn+q3ImeGzy+XUKka7DgUT8CDpYvP9/2/YnHljNAWd72APFQxsGAjq/X1cYZsaJSthP6iaLAzN+H6XRsmOP84cH60uAfN/iKsUCaKESgp/vGe1F39pumexd69aQ/aiqWeXSp6z2W9YbXIY6mngBqg0pmxHCHb1w6YCBWxHT9aDoGlZu5DhRR1S6rgjQbwm4lzZInB1KE4r7dJhaJhTSOyFsMRBlfqwrTzKCgwKl7XsrnsF9yZcpenZIoJKYNOnOsC1Igloos5b6Ys5i9uMdPXxrLXd1AbdMNeIjwjFY8EgRCWBXkdMbV6BWTizMPi8IEAxGc7DzPhCEvLpUl0wu0kLHpLIto7WSBB0hYabrj8oHWmyPbZvimB8f7HcdrQY= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1609; 5:B5VrHmk+n2A1/tYXFY0VJXYA4+bXWcAcNa5G4XVVY+D1Uwq0iVMIw+M0jmv1FXd/NEgATpcxxlR2IRiQcuPHk8bJeoc35gwwyxkSpJIs2xn2kDp43jQnlJDuE1hvrttgq779jS3qWgdqRYWh66+3ZA==; 24:ej/lX1LuSJBPfCdOTm9qK650SQymqt7u+qvMVdGY6q7zdApHghgoJW9/61fU6JRzBFmJEt1n+BO/8rnOBvSyb1r7nSSfkwCUOGIbScAgTh4=; 20:WeCkOrHy/MDpZUevXHZRWbZM7hhik7xh0tYDFJeAqqJcn7Gj/GTd3v7KCC0fvSfudUdsrr3icB5XKmekxYxHqg== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2015 02:43:15.4003 (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-20150705_194340_080194_EC342554 X-CRM114-Status: GOOD ( 10.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 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.8 required=5.0 tests=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 --- 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 9533f1d..e2ccae6 100644 --- a/arch/arm/boot/dts/ls1021a-qds.dts +++ b/arch/arm/boot/dts/ls1021a-qds.dts @@ -146,6 +146,10 @@ status = "okay"; }; +&ftm0 { + status = "okay"; +}; + &i2c0 { status = "okay"; diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 4ad30d0..707850f 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -335,6 +335,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>;