From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx-out01.mykolab.com (mx.kolabnow.com [95.128.36.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3t3gSQ5HlxzDvHG for ; Wed, 26 Oct 2016 17:42:46 +1100 (AEDT) X-Virus-Scanned: amavisd-new at kolabnow.com X-Spam-Flag: NO X-Spam-Score: -2.9 X-Spam-Level: X-Spam-Status: No, score=-2.9 tagged_above=-10 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9] autolearn=ham Received: from mx03.mykolab.com (mx03.mykolab.com [10.20.7.101]) by mx-out01.mykolab.com (Postfix) with ESMTPS id 6657D60D70; Wed, 26 Oct 2016 08:42:37 +0200 (CEST) Date: Wed, 26 Oct 2016 17:42:31 +1100 From: Chris Smart To: openbmc@lists.ozlabs.org Subject: [PATCH] ARM: dts: witherspoon: add Epson RX8900CE RTC module Message-ID: <20161026064226.GA8229@distroguy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2016 06:42:47 -0000 This commit adds the relevant device tree entry for the Epson RX8900CE RTC module on the I2C bus. Note that there are two options that we may need to set. If there is no connected battery: epson,vdet-disable; If there is no trickle charge diode: epson,vdet-disable; These are currently left commented out in the commit. Signed-off-by: Chris Smart --- arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts index 328a9c4e189e..679d360272cc 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts @@ -148,7 +148,18 @@ /* TPM */ /* 9552 */ + /* RTC */ + rtc: rtc@32 { + compatible = "epson,rx8900" + reg = <0x32>; + /* If no battery, set this: + * epson,vdet-disable; + * If no trickle charge diode, set this: + * epson,vdet-disable; + */ + }; + /* EEPROM */ eeprom@51 { -- 2.9.3