summaryrefslogtreecommitdiff
path: root/test/dm/test.dts
diff options
context:
space:
mode:
Diffstat (limited to 'test/dm/test.dts')
-rw-r--r--test/dm/test.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/dm/test.dts b/test/dm/test.dts
index dd6d0ac..0085848 100644
--- a/test/dm/test.dts
+++ b/test/dm/test.dts
@@ -20,6 +20,8 @@
testfdt5 = "/some-bus/c-test@5";
testfdt6 = "/e-test";
testfdt8 = "/a-test";
+ rtc0 = &rtc_0;
+ rtc1 = &rtc_1;
usb0 = &usb_0;
usb1 = &usb_1;
usb2 = &usb_2;
@@ -139,6 +141,22 @@
sandbox,size = <256>;
};
};
+
+ 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";
+ };
+ };
};
pci: pci-controller {