From: Suniel Mahesh <su...@amarulasolutions.com>

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 <su...@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes for v3:
- added reviewed by tag

Changes for v2:
- no changes
---
 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";
+               };
+       };
+};
-- 
2.7.4

Reply via email to