From patchwork Wed Apr 22 16:11:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suniel Mahesh X-Patchwork-Id: 238329 List-Id: U-Boot discussion From: sunil at amarulasolutions.com (sunil at amarulasolutions.com) Date: Wed, 22 Apr 2020 21:41:39 +0530 Subject: [PATCH 1/3] arm: dts: rockchip: rk3399-roc-pc: Add RTC child node for RK808 PMIC In-Reply-To: <1587571901-28343-1-git-send-email-sunil@amarulasolutions.com> References: <1587571901-28343-1-git-send-email-sunil@amarulasolutions.com> Message-ID: <1587571901-28343-2-git-send-email-sunil@amarulasolutions.com> From: Suniel Mahesh Rockchip RK808 PMIC is a multi function device which hosts a Real Time Clock along with other devices. Add a child RTC node so that it can be bound and probed once the master pmic node completes probe. Signed-off-by: Suniel Mahesh Reviewed-by: Kever Yang --- arch/arm/dts/rk3399-roc-pc-u-boot.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi b/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi index 5746442..7d189c8 100644 --- a/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi +++ b/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi @@ -20,3 +20,11 @@ regulator-min-microvolt = <430000>; regulator-init-microvolt = <950000>; }; + +&rk808 { + rtc { + rkrtc: rk808-rtc { + status="okay"; + }; + }; +};