[U-Boot] [PATCH 4/4] sandbox: dts: Add the real-time-clock test nodes back in
Simon Glass
sjg at chromium.org
Fri May 22 23:42:17 CEST 2015
These were lost when the PMIC series was applied. Add them back so that the
tests pass again.
Reported-by: Joe Hershberger <joe.hershberger at gmail.com>
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/sandbox/dts/test.dts | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 52ff436..c25614a 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -12,6 +12,8 @@
eth5 = ð_5;
i2c0 = "/i2c at 0";
pci0 = &pci;
+ rtc0 = &rtc_0;
+ rtc1 = &rtc_1;
spi0 = "/spi at 0";
testfdt6 = "/e-test";
testbus3 = "/some-bus";
@@ -153,6 +155,22 @@
};
};
+ rtc_0: rtc at 43 {
+ reg = <0x43>;
+ compatible = "sandbox-rtc";
+ emul {
+ compatible = "sandbox,i2c-rtc";
+ };
+ };
+
+ rtc_1: rtc at 61 {
+ reg = <0x61>;
+ compatible = "sandbox-rtc";
+ emul {
+ compatible = "sandbox,i2c-rtc";
+ };
+ };
+
sandbox_pmic: sandbox_pmic {
reg = <0x40>;
};
--
2.2.0.rc0.207.ga3a616c
More information about the U-Boot
mailing list