Commit 52d3bc5d18ea0e3ef78715d9c0c703e458f260a0
1 parent
f4d84576a4
Exists in
v2017.01-smarct4x
and in
34 other branches
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 <joe.hershberger@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Showing 1 changed file with 18 additions and 0 deletions Side-by-side Diff
arch/sandbox/dts/test.dts
... | ... | @@ -12,6 +12,8 @@ |
12 | 12 | eth5 = ð_5; |
13 | 13 | i2c0 = "/i2c@0"; |
14 | 14 | pci0 = &pci; |
15 | + rtc0 = &rtc_0; | |
16 | + rtc1 = &rtc_1; | |
15 | 17 | spi0 = "/spi@0"; |
16 | 18 | testfdt6 = "/e-test"; |
17 | 19 | testbus3 = "/some-bus"; |
... | ... | @@ -150,6 +152,22 @@ |
150 | 152 | compatible = "sandbox,i2c-eeprom"; |
151 | 153 | sandbox,filename = "i2c.bin"; |
152 | 154 | sandbox,size = <256>; |
155 | + }; | |
156 | + }; | |
157 | + | |
158 | + rtc_0: rtc@43 { | |
159 | + reg = <0x43>; | |
160 | + compatible = "sandbox-rtc"; | |
161 | + emul { | |
162 | + compatible = "sandbox,i2c-rtc"; | |
163 | + }; | |
164 | + }; | |
165 | + | |
166 | + rtc_1: rtc@61 { | |
167 | + reg = <0x61>; | |
168 | + compatible = "sandbox-rtc"; | |
169 | + emul { | |
170 | + compatible = "sandbox,i2c-rtc"; | |
153 | 171 | }; |
154 | 172 | }; |
155 | 173 |