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> --- Change for v4: - none 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 fc155e6903..16d6417160 100644 --- a/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi +++ b/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi @@ -44,6 +44,14 @@ vin-supply = <&vcc_vbus_typec0>; }; +&rk808 { + rtc { + rkrtc: rk808-rtc { + status="okay"; + }; + }; +}; + &spi1 { spi_flash: flash@0 { u-boot,dm-pre-reloc; -- 2.25.1