Message ID | 1438105800-6255-1-git-send-email-Frank.Li@freescale.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 CE44B9F380 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 28 Jul 2015 19:02:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F22992076C for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 28 Jul 2015 19:02:37 +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 B72162070D for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 28 Jul 2015 19:02:36 +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 1ZKA6u-0002FE-Qc; Tue, 28 Jul 2015 19:00:20 +0000 Received: from mail-bl2on0101.outbound.protection.outlook.com ([65.55.169.101] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZKA6r-0000yq-G2 for linux-arm-kernel@lists.infradead.org; Tue, 28 Jul 2015 19:00:18 +0000 Received: from CH1PR03CA005.namprd03.prod.outlook.com (10.255.156.150) by SN1PR0301MB1646.namprd03.prod.outlook.com (10.162.130.140) with Microsoft SMTP Server (TLS) id 15.1.219.17; Tue, 28 Jul 2015 18:59:55 +0000 Received: from BN1AFFO11FD038.protection.gbl (10.255.156.132) by CH1PR03CA005.outlook.office365.com (10.255.156.150) with Microsoft SMTP Server (TLS) id 15.1.201.16 via Frontend Transport; Tue, 28 Jul 2015 18:59:54 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) 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.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD038.mail.protection.outlook.com (10.58.52.242) with Microsoft SMTP Server (TLS) id 15.1.231.11 via Frontend Transport; Tue, 28 Jul 2015 18:59:54 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t6SIxpTT003561; Tue, 28 Jul 2015 11:59:52 -0700 From: <Frank.Li@freescale.com> To: <shawn.guo@linaro.org>, <shawnguo@kernel.org> Subject: [PATCH v2 1/1] ARM: dts: imx7d: enable snvs rtc, onoffkey and power off Date: Wed, 29 Jul 2015 01:50:00 +0800 Message-ID: <1438105800-6255-1-git-send-email-Frank.Li@freescale.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD038; 1:UNjvT/O2LSO5IVrJu5ZNEon3Q4ncvEYKHNrGVzbhhiq9ToTCsK2HQGrnhdNsuIwQ7vdTzjVky439phaaJi4UOwCEUR0lpj6SItpTdQlZmzD6zdLhyds89D/iqAv9k/HH/ELjQtiT1lftszHoMNbLINzot9buYN7c01bXYiwsNlHadmCjov727CdVnQu+Clu5sv0RttrsdakcOwi3KdQdkmgiNC6dsUg4mcnM/+p1fPMdUhR4OAU3NS/x9xd1fwn44gM0ocOAaN46hQENCl2wePirHw81P7eAeVK1vH/b6WcW4mpch/9Q5ItlxbAXqUrBL/o2f9oiBYiReFftf0AyXg== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(199003)(189002)(106466001)(50466002)(47776003)(36756003)(92566002)(46102003)(87936001)(85426001)(19580405001)(77156002)(189998001)(105606002)(19580395003)(6806004)(5001770100001)(48376002)(5001960100002)(104016003)(62966003)(86152002)(86362001)(50226001)(77096005)(229853001)(107886002)(50986999)(4001430100001)(2101003); DIR:OUT; SFP:1102; SCL:1; SRVR:SN1PR0301MB1646; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1646; 2:YJN0o/EK3INJ0pPCEYZXjxV6nkORx5dMqImJwhbKb5YUahXpZc+HWT17tJ49IqcB; 3:W64/dXuz5qu5Oup3IwDlOWyemMTzQ69VPUq0kYrFE2GlxibiiIG/+w7/IZ2S1h4YWsE7dC5kcDvndM/W/WszdQAyc0bhx6HSMTnKy+2LR0UI2pcX1paeN2Iztnxc1Rr4dULkJJ23h0mvI7Ha6YQ2Se21fg1kjzRokHH3LTc5HNT7jGcrly8wC7aewEjtM0D8SS2NqS5mkMzk/6DYqx95u5pGJKwxhMaVOfh4q8ICdCc=; 25:q7MHaVsIy17SBq5F8ryXtcXVi1rRS3OddZD70w4TDnomV69/U8LjgDKhEJIF7WkgR3O68RsSqYdGg4p3WpFRh2o8nbH+EgQ3u2YC6ghVLx+4c3s+3wLEnEtrPKMq62ROAscW9SuSHP/AJcIOd5YE7fGU7XINrCqofYnYJpukPBrG8Ls/bz2hhin4LX9plRes19xGc3aAjVa857KiYDKiiJd+abBa2ZkW36UOFjzLxE1MgmWLGC9Guzsqtk5IYN8vDz4wE43zBtscNxDruW4QWg==; 20:SfpSTAmGh6cmW+V61tGpqYQxTQFAYyL9HPlyhJ2TSF6/zB1MY71tgSUIzJDqVT5lGk+I85MutQaXlJgAsNJ8+tA3s7crA2LmEMPIfn6yWFm2lYtuJSYLPI5Dc5ezNPqCaldrsQpuTTJpw+8C4tLKktydKf7nsYMmRzRXxDDxldXCmNydbrmFHcek24sdCw9NbpeWq6I6LeAI9b74B70BceYhYz+8eCwm0QXJRtHTgea9C1IEzLUcRL7HgA+L6/2pSHqq5q7ynmAHCsr1xK3Ypc2FbH/Wi4c3rk8YYbXlbv9EMbdZ2cokKBGTBcTvAzpVChvrlbCLSnbpTJSN6h/mZVDTvgqJ/fsrMvqXDzG5P8c= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB1646; SN1PR0301MB1646: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: <SN1PR0301MB1646BC8A1580DD78EA7D9375828D0@SN1PR0301MB1646.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:SN1PR0301MB1646; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0301MB1646; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1646; 4:WB6yesm7hZkE8nw1AgJ1qOF/w0SdqMYBXla0bhkqhswcMwPPCXer0xzCbh0wVsWu8poa40jDq54SfD7ppgLDMyI5UCU7IFGaPBhQuGLeDiy8YGKmTXdDcdpzFkX3TRKXyc6QfTYyP3Bx2EeGdFAN9gKCrFIjkSWdochimR9upT8Hqexddtd1kNKpoAQVJCHpUe5bBVFvHZ3M/dOTQTcea8EZGvJF7pv69MArL1I9+QaEamzkWskAGMEC3nNaOT8huiTQ4OZj7VuMEgRyfbD3+o2IuNhzTRdo/vtV4vF/uQ8= X-Forefront-PRVS: 06515DA04B X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1646; 23:dDRjZIDxKUS40+Af6B/q5ejwmRsC03ywAm3AMJk1lok0+VGtjo6si8XevWg75jb/5rvQMo6hFSs4xX3ue5q5lZe3Q8Q15ESQlZXbVQR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tnZepM8c3RVBrNSCJXwr5dlxqwHhYxGvibemNuSkZ6bvjco=; 20:u9FIKqEj0eftRq+MlKiX80cJodOfHaG9aVgqSQbMatTIN6Ni6q/gYP1SQBXJvpecUWmHzrChTL3oFp1t3PavTQ== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jul 2015 18:59:54.4828 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0301MB1646 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150728_120017_714090_BF0AE08D X-CRM114-Status: GOOD ( 15.83 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: lznuaa@gmail.com, Frank Li <Frank.Li@freescale.com>, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> 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=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 |
diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi index 9014b80..b738ce0 100644 --- a/arch/arm/boot/dts/imx7d.dtsi +++ b/arch/arm/boot/dts/imx7d.dtsi @@ -525,17 +525,31 @@ }; snvs: snvs@30370000 { - compatible = "fsl,sec-v4.0-mon", "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x30370000 0x10000>; + compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd"; + reg = <0x30370000 0x10000>; - snvs-rtc-lp@34 { + snvs_rtc: snvs-rtc-lp { compatible = "fsl,sec-v4.0-mon-rtc-lp"; - reg = <0x34 0x58>; + regmap = <&snvs>; + offset = <0x34>; interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; }; + + snvs_poweroff: snvs-poweroff { + compatible = "syscon-poweroff"; + regmap = <&snvs>; + offset = <0x38>; + mask = <0x60>; + }; + + snvs_pwrkey: snvs-powerkey { + compatible = "fsl,sec-v4.0-pwrkey"; + regmap = <&snvs>; + interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; + linux,keycode = <KEY_POWER>; + wakeup-source; + }; }; clks: ccm@30380000 {