From: Simon Glass Date: Fri, 22 May 2015 21:42:17 +0000 (-0600) Subject: sandbox: dts: Add the real-time-clock test nodes back in X-Git-Tag: v2015.07-rc2~10^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=52d3bc5d18ea0e3ef78715d9c0c703e458f260a0;p=u-boot sandbox: dts: Add the real-time-clock test nodes back in These were lost when the PMIC series was applied. Add them back so that the tests pass again. Reported-by: Joe Hershberger Signed-off-by: Simon Glass Acked-by: Joe Hershberger --- diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 52ff436027..c25614ab88 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -12,6 +12,8 @@ eth5 = ð_5; i2c0 = "/i2c@0"; pci0 = &pci; + rtc0 = &rtc_0; + rtc1 = &rtc_1; spi0 = "/spi@0"; testfdt6 = "/e-test"; testbus3 = "/some-bus"; @@ -153,6 +155,22 @@ }; }; + rtc_0: rtc@43 { + reg = <0x43>; + compatible = "sandbox-rtc"; + emul { + compatible = "sandbox,i2c-rtc"; + }; + }; + + rtc_1: rtc@61 { + reg = <0x61>; + compatible = "sandbox-rtc"; + emul { + compatible = "sandbox,i2c-rtc"; + }; + }; + sandbox_pmic: sandbox_pmic { reg = <0x40>; };