From patchwork Wed Mar 27 01:02:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 10872367 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CD854139A for ; Wed, 27 Mar 2019 01:02:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B372C28C86 for ; Wed, 27 Mar 2019 01:02:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7C4228CDB; Wed, 27 Mar 2019 01:02:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5CD2E28C86 for ; Wed, 27 Mar 2019 01:02:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6qKjSDl+dRgO4QEADwCK53qVll3MCQobmIb9u1DpXxA=; b=Q3KqY+MOPeSWLF jU5iG4QzmxI0gkH1lZgw6d2X1LDVFXxe9CJDnE6WUe6qrpnWwtjRieNe/DoO/oIbARb5FsLBYUVBt GNzD0PpNT/1eJ1gAuz1mx4tO1xfUyDyVvjhLXv+whk7djz8ot8zHvldb1f9SMGJQlD4l1RzwAY992 8ety1u2cBsR/oheTTK6E0wjl/0UhyhdezSR3AALkA/pXh/qHpWJjWICQJGe3vgYjvpu1LbJWd0rvr LDLH3z2gwK81JSiDxj93s1fx2n1s6fxb8a8kKzJk+TYuQPwmUZV4QwYxhO5ViGrPsR+xFLfvpHbQw rXMQVege69MoFNjCTBXg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8wxm-0004LL-Ew; Wed, 27 Mar 2019 01:02:42 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8wxg-0004FF-Pb for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2019 01:02:39 +0000 Received: by mail-pl1-x642.google.com with SMTP id q6so2455749pll.4 for ; Tue, 26 Mar 2019 18:02:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BSwFhYguijpTFoY9p4NUWZwAj7qdGw4AZTrGKzgCdaM=; b=QHVz2e2PgH2Vw9HKpEFdhwhDg027GlhgmRzKNI8xlxPYgnkDfkOrhlcqe1w3cKe4Ga ibmcQWbb/3NH8bGR+VG/6O819pYB9DuGQKyfUlwu3LpCbYsDXN6p/C43aArw8+q3BIre kdR9o4ZxHu095EaBos2P6DNf8WgPudvtUMDOXJFlhflhlcq8Wzun4jsJopi2SQuMos6v jrlUk6fydWNxN5vXPl70C+Pujts+muIAK+Mq/SgRQ5MREOCYC3KCgxJv/QZY/MaX4mAo ovSiGmWhTbfZFiy6uCrE2Lf0kEPswfee+RiBfmSbSVM9kQ/fwoog2Y54c9J0NixdhkW3 6x0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=BSwFhYguijpTFoY9p4NUWZwAj7qdGw4AZTrGKzgCdaM=; b=d7xcOvuRIP0lVE2eu+T+LMD8TKHQE9pbPBXEjQ7jEXv7M3o/D0fBXkkjKkbmNzDnsq bjFUWbQTUrLhmNcJDXjcVRplGECSSzILoB6xJeQzKA/jMWagzlnY/1TpkX6H1/iJYGjs SYk4EFKx+O+ehkdUxDaat+FUvirNBKSUUJw6j4XT9d/9JiNrLw4+bWXqtRZgtZOvhgcb MDjptiGb3D54BBr9uGxcqzXnd5a1SWc3Ba2wMY9V7Mrv14ZPpQxT6AiA6nUdf2TyVOTC sQyqIBRGII1M52I3fSYpdZXIgvaB+osH5FxlGLZhVpthpdwyQcSYTIOaJf7Ew2sId+J9 6fWg== X-Gm-Message-State: APjAAAXln+uXg356+Tzk1G33S4TqILAV5tKfzVUqAYoxjgPZZrW9Ub+0 nJp77y4lNN/6fxcN9PBAfoc= X-Google-Smtp-Source: APXvYqxQfDD/MtGlllmsOymGh+HFy7CB250o5r9o3FQ0CgmvwKzE4j/gSYmiiyE7OFmaKIcgeuv+sA== X-Received: by 2002:a17:902:f084:: with SMTP id go4mr34583963plb.15.1553648555412; Tue, 26 Mar 2019 18:02:35 -0700 (PDT) Received: from voyager.jms.id.au ([45.124.203.18]) by smtp.gmail.com with ESMTPSA id u13sm41111703pfa.169.2019.03.26.18.02.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Mar 2019 18:02:34 -0700 (PDT) Received: by voyager.jms.id.au (sSMTP sendmail emulation); Wed, 27 Mar 2019 11:32:27 +1030 From: Joel Stanley To: Alexandre Belloni , Alessandro Zummo , Rob Herring , Mark Rutland Subject: [PATCH v3 1/2] dt-bindings: rtc: Add on-chip ASPEED RTC documentation Date: Wed, 27 Mar 2019 11:32:14 +1030 Message-Id: <20190327010215.10231-2-joel@jms.id.au> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190327010215.10231-1-joel@jms.id.au> References: <20190327010215.10231-1-joel@jms.id.au> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190326_180236_846939_D2B47FF5 X-CRM114-Status: GOOD ( 13.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Jeffery , linux-rtc@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Describe the RTC as used in the ASPEED BMC SoCs. Signed-off-by: Joel Stanley --- v3: Add interrupts property --- .../devicetree/bindings/rtc/rtc-aspeed.txt | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/rtc-aspeed.txt diff --git a/Documentation/devicetree/bindings/rtc/rtc-aspeed.txt b/Documentation/devicetree/bindings/rtc/rtc-aspeed.txt new file mode 100644 index 000000000000..2e956b3dc276 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/rtc-aspeed.txt @@ -0,0 +1,22 @@ +ASPEED BMC RTC +============== + +Required properties: + - compatible: should be one of the following + * aspeed,ast2400-rtc for the ast2400 + * aspeed,ast2500-rtc for the ast2500 + * aspeed,ast2600-rtc for the ast2600 + + - reg: physical base address of the controller and length of memory mapped + region + + - interrupts: The interrupt number + +Example: + + rtc@1e781000 { + compatible = "aspeed,ast2400-rtc"; + reg = <0x1e781000 0x18>; + interrupts = <22>; + status = "disabled"; + };