Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752539AbbGaKRD (ORCPT ); Fri, 31 Jul 2015 06:17:03 -0400 Received: from mail-by2on0061.outbound.protection.outlook.com ([207.46.100.61]:7424 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751373AbbGaKPT (ORCPT ); Fri, 31 Jul 2015 06:15:19 -0400 X-Greylist: delayed 944 seconds by postgrey-1.27 at vger.kernel.org; Fri, 31 Jul 2015 06:15:19 EDT Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; towertech.it; dkim=none (message not signed) header.d=none; From: Suneel Garapati To: , , CC: , , Alessandro Zummo , Suneel Garapati Subject: [PATCH v2 1/2] devicetree: bindings: rtc: add bindings for xilinx zynqmp rtc Date: Fri, 31 Jul 2015 15:29:16 +0530 Message-ID: <1438336757-23404-1-git-send-email-suneel.garapati@xilinx.com> X-Mailer: git-send-email 2.1.2 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21714.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11OLC001;1:+6DiOIsEXlOQ8znF5JaSmzAdjVUaC0V8ayo+JByBX43UjlPt1i7ndavJWVQlP9RDPB8HWncgAFbJsUid55Pt4pAmi/+DnApmZbGYO+Al/aUNsgzz37WX/3RMYbDU/+81dKl9mAlTrgoK2Y3lZosO41RoQjnjEQehmlBg4pHRxa6JQbKpWtqL4Y0ZWy0O6bqQ46IJH0o4qfrUPdzIv4xpM+VDqplFHTaWgfHythTulXw0PKNy9F2br6vTTKHiKAI3YuiEbJXOE0QDk3QStLBN5Ggqv4XDYU+I48tTgbG01nsieJEPrfCoA/zScZvv7/l1 X-Forefront-Antispam-Report: CIP:149.199.60.83;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(438002)(199003)(189002)(33646002)(36386004)(77096005)(63266004)(5001960100002)(6806004)(77156002)(50226001)(107886002)(92566002)(229853001)(19580405001)(86362001)(87936001)(47776003)(5003600100002)(189998001)(50986999)(36756003)(5001770100001)(2201001)(46102003)(50466002)(48376002)(62966003)(106466001)(19580395003)(107986001)(4001430100001)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:BL2FFO11HUB018;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;MLV:sfv;A:1;MX:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11HUB018;2:WeDWbFlKLkCxx29N8PJ8MjXlNa4YDtG7iB3w5RbBuUsCoZaSh1z9Qt2zGsYKMTJP8pPPgyiNytNEhGkF63rXBmlsoEXMaXCT08K/6eiV8TrS6vgV+2trISjeelLcRqzmMyx4SneMX9RreUxQ2JmdRCsLazDbQAvCdtT0Mk9sEfk=;3:ULvTeiuzNjlaAVRbfabt9vNooPyCaCZu+FknxH91HZvjjmx+JH4yWUeJFEG7M+n9YVI6lC4bQ9I2nhDOMMhhOEedLrXXlzrOGztGdMbc5lFxyOWmkgvA2GaJHdtlq0QQCJ9Trq3aOT6fSoaDL16xsr05EwY/FxCkJFA1rHEDfMVRj6xzBMIzDZBfBOoDQz4ksHPdT/ssL+e0unZklCYvCfSgJ8pT6hJdV3Ow8BvIrfw=;25:r7bExng36iKSSsrhIFQJj7Xu41VsV6fAXSr4nssPJl/IxPuJfjB/WqZgiYguTCmr69eTBh5sOodWiFMS13hwIGoTPeLsk06Nk77/T+4LkURfVaP/tcReXCi+d2H9crd+HcaM0MwR7HRivq7L64ftsPcRNT6tqDyIZqmURTrHgktG1xZqCsxDH+nDJxJYeWYSMA1dx9/uhGsV5lc0bFAdSm5b1ATGlrRBNWhlWGxmQG6T54vluUnS4G2AfK2UfudO X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2FFO11HUB018; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11HUB018;20:s8iWQaPOJGu+sJh9faCeZPIfSX2tJJ6KjQ9yHwIreNMZwScUipIaodKGjJDRRCCRMy3ifV2ZqHbuJecMzUfYKrV5FwyNqD2AIkLQC9RwLqnusc1QFkawKI0SKwixh2tH/ucgrN0QqYUurzAkRk0DOnTwKjTIWT/a/rssRVtSw6+5tnaiwvRRt2/ac6zz7DRl+WHLOlwFLdgDIxyKLXehs90CqruFdh6AwZQMoYk7WsSAqXqmNcYep0ru7mWW2wTKaHzt3x1KkuvM7odFhz9NbOWkAqWf9fc8hnggv0nyP1mBrNJ+pOujK9FJ9hhU+y/BdFbNQiHlnkZdXTABytzOL/39abhR/7e7DCSaf9TF36GSgTSwHrlR+Gcfe9Fy9HK4KLZNXJLXRnfOgm8xCRwCe+1+lCCzuNJaj73d7GzGLSkJkbSul2uJaeXRwQRHs5+kuOKvO2779tjdkFNbklTka2/XOcqs5FIABMSQo6xvhHfaNsvDYyLDjeUnf0Peoes+;4:L0E96SogAx4AnU2EU876wlHdO7Rx/UPBW0Ic9rRColyGgs9lhT4qwAtqKXAV3NkE35NTb4EiNgbVjEYL4ZAD/VlJiRgfNNJbuqiEFABm0yJhZzepoSatBbZVGoKVAIHiBBbi491k7uHD/9ouqFlEiB9pO2mP7VBwXSLqEsc+qroQBaW4Jw1qRlUokhyum85PwvTOxbeGZFh7Gt4Ym8afxCkEhb8NlNPILyp2/6serz1FzUpSM2jotBF5WJZfcVaqWyix2fPsC/jAVrcjV1fsPt+13GG0rAZc/Xamt3ikd98= BL2FFO11HUB018: 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:BL2FFO11HUB018;BCL:0;PCL:0;RULEID:;SRVR:BL2FFO11HUB018; X-Forefront-PRVS: 0654257CF5 X-Micro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DyqWM2S3xF75B18LWAkGI3GMTDfOqZRLTD+4VF+LzfG9/nO0FVHVo/haT5GmhZcPYpoiLrKC60Dtjs7eLGGs8M+vlgCZnObJPsuqVa4e+MNeUQHVw==;24:GiPuB5jgcT3MRecQtUN65E6oMw1hyxlHaPn0ThB1K76qs+3DjQqJigArGk5AJr9gqwS2AafRm4qcAbPNX/xNOBMLAL9y37Ec8ZRBHjZJf8M= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2015 09:59:33.8485 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2FFO11HUB018 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1687 Lines: 51 adds file for description on device node bindings for RTC found on Xilinx Zynq Ultrascale+ MPSoC. Signed-off-by: Suneel Garapati --- Changes v2 - add examples for interrupt-names - change alm to alarm --- Documentation/devicetree/bindings/rtc/xlnx-rtc.txt | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/xlnx-rtc.txt diff --git a/Documentation/devicetree/bindings/rtc/xlnx-rtc.txt b/Documentation/devicetree/bindings/rtc/xlnx-rtc.txt new file mode 100644 index 0000000..0df6f01 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/xlnx-rtc.txt @@ -0,0 +1,25 @@ +* Xilinx Zynq Ultrascale+ MPSoC Real Time Clock + +RTC controller for the Xilinx Zynq MPSoC Real Time Clock +Separate IRQ lines for seconds and alarm + +Required properties: +- compatible: Should be "xlnx,zynqmp-rtc" +- reg: Physical base address of the controller and length + of memory mapped region. +- interrupts: IRQ lines for the RTC. +- interrupt-names: interrupt line names eg. "sec" "alarm" + +Optional: +- calibration: calibration value for 1 sec period which will + be programmed directly to calibration register + +Example: +rtc: rtc@ffa60000 { + compatible = "xlnx,zynqmp-rtc"; + reg = <0x0 0xffa60000 0x100>; + interrupt-parent = <&gic>; + interrupts = <0 26 4>, <0 27 4>; + interrupt-names = "alarm", "sec"; + calibration = <0x198233>; +}; -- 2.1.2 -- 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/