]> git.sur5r.net Git - u-boot/commitdiff
sandbox: dts: Add the real-time-clock test nodes back in
authorSimon Glass <sjg@chromium.org>
Fri, 22 May 2015 21:42:17 +0000 (15:42 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 4 Jun 2015 09:34:47 +0000 (03:34 -0600)
These were lost when the PMIC series was applied. Add them back so that the
tests pass again.

Reported-by: Joe Hershberger <joe.hershberger@gmail.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
arch/sandbox/dts/test.dts

index 52ff436027a177f86dddcd9a14853224902e7d60..c25614ab8806aef6b908a5f616d2dd47492fe528 100644 (file)
@@ -12,6 +12,8 @@
                eth5 = &eth_5;
                i2c0 = "/i2c@0";
                pci0 = &pci;
+               rtc0 = &rtc_0;
+               rtc1 = &rtc_1;
                spi0 = "/spi@0";
                testfdt6 = "/e-test";
                testbus3 = "/some-bus";
                        };
                };
 
+               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>;
                };