]>
Commit | Line | Data |
---|---|---|
2e7d35d2 SG |
1 | /dts-v1/; |
2 | ||
3 | / { | |
4 | model = "sandbox"; | |
5 | compatible = "sandbox"; | |
6 | #address-cells = <1>; | |
0503e820 | 7 | #size-cells = <1>; |
2e7d35d2 | 8 | |
00606d7e SG |
9 | aliases { |
10 | console = &uart0; | |
171e991d | 11 | eth0 = "/eth@10002000"; |
71d7971f | 12 | eth3 = ð_3; |
171e991d | 13 | eth5 = ð_5; |
5d9a88f4 SG |
14 | gpio1 = &gpio_a; |
15 | gpio2 = &gpio_b; | |
9cc36a2b | 16 | i2c0 = "/i2c@0"; |
e48eeb9e SG |
17 | mmc0 = "/mmc0"; |
18 | mmc1 = "/mmc1"; | |
dee4d752 BM |
19 | pci0 = &pci0; |
20 | pci1 = &pci1; | |
3ed214ac | 21 | pci2 = &pci2; |
5215940f NM |
22 | remoteproc1 = &rproc_1; |
23 | remoteproc2 = &rproc_2; | |
52d3bc5d SG |
24 | rtc0 = &rtc_0; |
25 | rtc1 = &rtc_1; | |
171e991d | 26 | spi0 = "/spi@0"; |
f64000c3 | 27 | testfdt6 = "/e-test"; |
9cc36a2b SG |
28 | testbus3 = "/some-bus"; |
29 | testfdt0 = "/some-bus/c-test@0"; | |
30 | testfdt1 = "/some-bus/c-test@1"; | |
31 | testfdt3 = "/b-test"; | |
32 | testfdt5 = "/some-bus/c-test@5"; | |
33 | testfdt8 = "/a-test"; | |
507cef3d ER |
34 | fdt-dummy0 = "/translation-test@8000/dev@0,0"; |
35 | fdt-dummy1 = "/translation-test@8000/dev@1,100"; | |
36 | fdt-dummy2 = "/translation-test@8000/dev@2,200"; | |
37 | fdt-dummy3 = "/translation-test@8000/noxlatebus@3,300/dev@42"; | |
e00cb223 SG |
38 | usb0 = &usb_0; |
39 | usb1 = &usb_1; | |
40 | usb2 = &usb_2; | |
957983e0 | 41 | axi0 = &axi; |
4eea5318 | 42 | osd0 = "/osd"; |
00606d7e SG |
43 | }; |
44 | ||
e6c5c94a SG |
45 | cros_ec: cros-ec { |
46 | reg = <0 0>; | |
47 | compatible = "google,cros-ec-sandbox"; | |
48 | ||
49 | /* | |
50 | * This describes the flash memory within the EC. Note | |
51 | * that the STM32L flash erases to 0, not 0xff. | |
52 | */ | |
53 | flash { | |
54 | image-pos = <0x08000000>; | |
55 | size = <0x20000>; | |
56 | erase-value = <0>; | |
57 | ||
58 | /* Information for sandbox */ | |
59 | ro { | |
60 | image-pos = <0>; | |
61 | size = <0xf000>; | |
62 | }; | |
63 | wp-ro { | |
64 | image-pos = <0xf000>; | |
65 | size = <0x1000>; | |
66 | }; | |
67 | rw { | |
68 | image-pos = <0x10000>; | |
69 | size = <0x10000>; | |
70 | }; | |
71 | }; | |
72 | }; | |
73 | ||
2e7d35d2 | 74 | a-test { |
0503e820 | 75 | reg = <0 1>; |
2e7d35d2 | 76 | compatible = "denx,u-boot-fdt-test"; |
eb9ef5fe | 77 | ping-expect = <0>; |
2e7d35d2 | 78 | ping-add = <0>; |
00606d7e | 79 | u-boot,dm-pre-reloc; |
3669e0e7 SG |
80 | test-gpios = <&gpio_a 1>, <&gpio_a 4>, <&gpio_b 5 0 3 2 1>, |
81 | <0>, <&gpio_a 12>; | |
82 | test2-gpios = <&gpio_a 1>, <&gpio_a 4>, <&gpio_b 6 1 3 2 1>, | |
83 | <&gpio_b 7 2 3 2 1>, <&gpio_b 8 4 3 2 1>, | |
84 | <&gpio_b 9 0xc 3 2 1>; | |
2e7d35d2 SG |
85 | }; |
86 | ||
87 | junk { | |
0503e820 | 88 | reg = <1 1>; |
2e7d35d2 SG |
89 | compatible = "not,compatible"; |
90 | }; | |
91 | ||
92 | no-compatible { | |
0503e820 | 93 | reg = <2 1>; |
2e7d35d2 SG |
94 | }; |
95 | ||
5d9a88f4 SG |
96 | backlight: backlight { |
97 | compatible = "pwm-backlight"; | |
98 | enable-gpios = <&gpio_a 1>; | |
99 | power-supply = <&ldo_1>; | |
100 | pwms = <&pwm 0 1000>; | |
101 | default-brightness-level = <5>; | |
102 | brightness-levels = <0 16 32 64 128 170 202 234 255>; | |
103 | }; | |
104 | ||
49c752c9 JJH |
105 | bind-test { |
106 | bind-test-child1 { | |
107 | compatible = "sandbox,phy"; | |
108 | #phy-cells = <1>; | |
109 | }; | |
110 | ||
111 | bind-test-child2 { | |
112 | compatible = "simple-bus"; | |
113 | }; | |
114 | }; | |
115 | ||
2e7d35d2 | 116 | b-test { |
0503e820 | 117 | reg = <3 1>; |
2e7d35d2 | 118 | compatible = "denx,u-boot-fdt-test"; |
eb9ef5fe | 119 | ping-expect = <3>; |
2e7d35d2 SG |
120 | ping-add = <3>; |
121 | }; | |
122 | ||
86322f59 JJH |
123 | phy_provider0: gen_phy@0 { |
124 | compatible = "sandbox,phy"; | |
125 | #phy-cells = <1>; | |
126 | }; | |
127 | ||
128 | phy_provider1: gen_phy@1 { | |
129 | compatible = "sandbox,phy"; | |
130 | #phy-cells = <0>; | |
131 | broken; | |
132 | }; | |
133 | ||
134 | gen_phy_user: gen_phy_user { | |
135 | compatible = "simple-bus"; | |
136 | phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>; | |
137 | phy-names = "phy1", "phy2", "phy3"; | |
138 | }; | |
139 | ||
2e7d35d2 SG |
140 | some-bus { |
141 | #address-cells = <1>; | |
142 | #size-cells = <0>; | |
1ca7e206 | 143 | compatible = "denx,u-boot-test-bus"; |
0503e820 | 144 | reg = <3 1>; |
eb9ef5fe | 145 | ping-expect = <4>; |
2e7d35d2 | 146 | ping-add = <4>; |
1ca7e206 | 147 | c-test@5 { |
2e7d35d2 SG |
148 | compatible = "denx,u-boot-fdt-test"; |
149 | reg = <5>; | |
1ca7e206 | 150 | ping-expect = <5>; |
2e7d35d2 SG |
151 | ping-add = <5>; |
152 | }; | |
1ca7e206 SG |
153 | c-test@0 { |
154 | compatible = "denx,u-boot-fdt-test"; | |
155 | reg = <0>; | |
156 | ping-expect = <6>; | |
157 | ping-add = <6>; | |
158 | }; | |
159 | c-test@1 { | |
160 | compatible = "denx,u-boot-fdt-test"; | |
161 | reg = <1>; | |
162 | ping-expect = <7>; | |
163 | ping-add = <7>; | |
164 | }; | |
2e7d35d2 SG |
165 | }; |
166 | ||
167 | d-test { | |
0503e820 | 168 | reg = <3 1>; |
5a66a8ff SG |
169 | ping-expect = <6>; |
170 | ping-add = <6>; | |
171 | compatible = "google,another-fdt-test"; | |
172 | }; | |
173 | ||
174 | e-test { | |
0503e820 | 175 | reg = <3 1>; |
eb9ef5fe | 176 | ping-expect = <6>; |
2e7d35d2 SG |
177 | ping-add = <6>; |
178 | compatible = "google,another-fdt-test"; | |
179 | }; | |
180 | ||
9cc36a2b SG |
181 | f-test { |
182 | compatible = "denx,u-boot-fdt-test"; | |
183 | }; | |
184 | ||
185 | g-test { | |
186 | compatible = "denx,u-boot-fdt-test"; | |
187 | }; | |
188 | ||
2786cd74 BM |
189 | h-test { |
190 | compatible = "denx,u-boot-fdt-test1"; | |
191 | }; | |
192 | ||
ee87a097 PC |
193 | clocks { |
194 | clk_fixed: clk-fixed { | |
195 | compatible = "fixed-clock"; | |
196 | #clock-cells = <0>; | |
197 | clock-frequency = <1234>; | |
198 | }; | |
135aa950 SW |
199 | }; |
200 | ||
201 | clk_sandbox: clk-sbox { | |
6a1c7cef | 202 | compatible = "sandbox,clk"; |
135aa950 SW |
203 | #clock-cells = <1>; |
204 | }; | |
205 | ||
206 | clk-test { | |
207 | compatible = "sandbox,clk-test"; | |
208 | clocks = <&clk_fixed>, | |
209 | <&clk_sandbox 1>, | |
210 | <&clk_sandbox 0>; | |
211 | clock-names = "fixed", "i2c", "spi"; | |
6a1c7cef SG |
212 | }; |
213 | ||
171e991d SG |
214 | eth@10002000 { |
215 | compatible = "sandbox,eth"; | |
216 | reg = <0x10002000 0x1000>; | |
c6fa51a4 | 217 | fake-host-hwaddr = [00 00 66 44 22 00]; |
171e991d SG |
218 | }; |
219 | ||
220 | eth_5: eth@10003000 { | |
221 | compatible = "sandbox,eth"; | |
222 | reg = <0x10003000 0x1000>; | |
c6fa51a4 | 223 | fake-host-hwaddr = [00 00 66 44 22 11]; |
171e991d SG |
224 | }; |
225 | ||
71d7971f BM |
226 | eth_3: sbe5 { |
227 | compatible = "sandbox,eth"; | |
228 | reg = <0x10005000 0x1000>; | |
c6fa51a4 | 229 | fake-host-hwaddr = [00 00 66 44 22 33]; |
71d7971f BM |
230 | }; |
231 | ||
171e991d SG |
232 | eth@10004000 { |
233 | compatible = "sandbox,eth"; | |
234 | reg = <0x10004000 0x1000>; | |
c6fa51a4 | 235 | fake-host-hwaddr = [00 00 66 44 22 22]; |
171e991d SG |
236 | }; |
237 | ||
31b8217e RV |
238 | firmware { |
239 | sandbox_firmware: sandbox-firmware { | |
240 | compatible = "sandbox,firmware"; | |
241 | }; | |
242 | }; | |
243 | ||
0ae0cb7b | 244 | gpio_a: base-gpios { |
2e7d35d2 | 245 | compatible = "sandbox,gpio"; |
3669e0e7 SG |
246 | gpio-controller; |
247 | #gpio-cells = <1>; | |
2e7d35d2 | 248 | gpio-bank-name = "a"; |
995b60b5 | 249 | sandbox,gpio-count = <20>; |
2e7d35d2 SG |
250 | }; |
251 | ||
3669e0e7 | 252 | gpio_b: extra-gpios { |
2e7d35d2 | 253 | compatible = "sandbox,gpio"; |
3669e0e7 SG |
254 | gpio-controller; |
255 | #gpio-cells = <5>; | |
2e7d35d2 | 256 | gpio-bank-name = "b"; |
995b60b5 | 257 | sandbox,gpio-count = <10>; |
2e7d35d2 | 258 | }; |
0ae0cb7b | 259 | |
ecc2ed55 SG |
260 | i2c@0 { |
261 | #address-cells = <1>; | |
262 | #size-cells = <0>; | |
0503e820 | 263 | reg = <0 1>; |
ecc2ed55 SG |
264 | compatible = "sandbox,i2c"; |
265 | clock-frequency = <100000>; | |
266 | eeprom@2c { | |
267 | reg = <0x2c>; | |
268 | compatible = "i2c-eeprom"; | |
269 | emul { | |
270 | compatible = "sandbox,i2c-eeprom"; | |
271 | sandbox,filename = "i2c.bin"; | |
272 | sandbox,size = <256>; | |
273 | }; | |
274 | }; | |
9038cd53 | 275 | |
52d3bc5d SG |
276 | rtc_0: rtc@43 { |
277 | reg = <0x43>; | |
278 | compatible = "sandbox-rtc"; | |
279 | emul { | |
280 | compatible = "sandbox,i2c-rtc"; | |
281 | }; | |
282 | }; | |
283 | ||
284 | rtc_1: rtc@61 { | |
285 | reg = <0x61>; | |
286 | compatible = "sandbox-rtc"; | |
287 | emul { | |
288 | compatible = "sandbox,i2c-rtc"; | |
289 | }; | |
290 | }; | |
291 | ||
9038cd53 PM |
292 | sandbox_pmic: sandbox_pmic { |
293 | reg = <0x40>; | |
294 | }; | |
686df498 LM |
295 | |
296 | mc34708: pmic@41 { | |
297 | reg = <0x41>; | |
298 | }; | |
ecc2ed55 SG |
299 | }; |
300 | ||
08d6300a PM |
301 | adc@0 { |
302 | compatible = "sandbox,adc"; | |
303 | vdd-supply = <&buck2>; | |
304 | vss-microvolts = <0>; | |
305 | }; | |
306 | ||
3c97c4fb SG |
307 | lcd { |
308 | u-boot,dm-pre-reloc; | |
309 | compatible = "sandbox,lcd-sdl"; | |
310 | xres = <1366>; | |
311 | yres = <768>; | |
312 | }; | |
313 | ||
3c43fba3 SG |
314 | leds { |
315 | compatible = "gpio-leds"; | |
316 | ||
317 | iracibble { | |
318 | gpios = <&gpio_a 1 0>; | |
319 | label = "sandbox:red"; | |
320 | }; | |
321 | ||
322 | martinet { | |
323 | gpios = <&gpio_a 2 0>; | |
324 | label = "sandbox:green"; | |
325 | }; | |
274fb461 PB |
326 | |
327 | default_on { | |
328 | gpios = <&gpio_a 5 0>; | |
329 | label = "sandbox:default_on"; | |
330 | default-state = "on"; | |
331 | }; | |
332 | ||
333 | default_off { | |
334 | gpios = <&gpio_a 6 0>; | |
335 | label = "sandbox:default_off"; | |
336 | default-state = "off"; | |
337 | }; | |
3c43fba3 SG |
338 | }; |
339 | ||
8961b524 SW |
340 | mbox: mbox { |
341 | compatible = "sandbox,mbox"; | |
342 | #mbox-cells = <1>; | |
343 | }; | |
344 | ||
345 | mbox-test { | |
346 | compatible = "sandbox,mbox-test"; | |
347 | mboxes = <&mbox 100>, <&mbox 1>; | |
348 | mbox-names = "other", "test"; | |
349 | }; | |
350 | ||
fa44b533 MS |
351 | cpu-test1 { |
352 | compatible = "sandbox,cpu_sandbox"; | |
353 | }; | |
354 | ||
355 | cpu-test2 { | |
356 | compatible = "sandbox,cpu_sandbox"; | |
357 | }; | |
358 | ||
359 | cpu-test3 { | |
360 | compatible = "sandbox,cpu_sandbox"; | |
361 | }; | |
362 | ||
004e67c2 MS |
363 | misc-test { |
364 | compatible = "sandbox,misc_sandbox"; | |
365 | }; | |
366 | ||
e48eeb9e SG |
367 | mmc2 { |
368 | compatible = "sandbox,mmc"; | |
369 | }; | |
370 | ||
371 | mmc1 { | |
372 | compatible = "sandbox,mmc"; | |
373 | }; | |
374 | ||
375 | mmc0 { | |
8e6cc461 SG |
376 | compatible = "sandbox,mmc"; |
377 | }; | |
378 | ||
dee4d752 | 379 | pci0: pci-controller0 { |
d3b7ff14 SG |
380 | compatible = "sandbox,pci"; |
381 | device_type = "pci"; | |
382 | #address-cells = <3>; | |
383 | #size-cells = <2>; | |
384 | ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000 | |
385 | 0x01000000 0 0x20000000 0x20000000 0 0x2000>; | |
2db7f2b7 BM |
386 | pci@0,0 { |
387 | compatible = "pci-generic"; | |
388 | reg = <0x0000 0 0 0 0>; | |
389 | emul@0,0 { | |
390 | compatible = "sandbox,swap-case"; | |
391 | }; | |
392 | }; | |
d3b7ff14 SG |
393 | pci@1f,0 { |
394 | compatible = "pci-generic"; | |
395 | reg = <0xf800 0 0 0 0>; | |
396 | emul@1f,0 { | |
397 | compatible = "sandbox,swap-case"; | |
398 | }; | |
399 | }; | |
400 | }; | |
401 | ||
dee4d752 BM |
402 | pci1: pci-controller1 { |
403 | compatible = "sandbox,pci"; | |
404 | device_type = "pci"; | |
405 | #address-cells = <3>; | |
406 | #size-cells = <2>; | |
407 | ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 | |
408 | 0x01000000 0 0x40000000 0x40000000 0 0x2000>; | |
490d13a5 | 409 | sandbox,dev-info = <0x08 0x00 0x1234 0x5678 |
b59349a0 MV |
410 | 0x0c 0x00 0x1234 0x5678 |
411 | 0x10 0x00 0x1234 0x5678>; | |
412 | pci@10,0 { | |
413 | reg = <0x8000 0 0 0 0>; | |
414 | }; | |
dee4d752 BM |
415 | }; |
416 | ||
3ed214ac BM |
417 | pci2: pci-controller2 { |
418 | compatible = "sandbox,pci"; | |
419 | device_type = "pci"; | |
420 | #address-cells = <3>; | |
421 | #size-cells = <2>; | |
422 | ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000 | |
423 | 0x01000000 0 0x60000000 0x60000000 0 0x2000>; | |
424 | sandbox,dev-info = <0x08 0x00 0x1234 0x5678>; | |
425 | pci@1f,0 { | |
426 | compatible = "pci-generic"; | |
427 | reg = <0xf800 0 0 0 0>; | |
428 | emul@1f,0 { | |
429 | compatible = "sandbox,swap-case"; | |
430 | }; | |
431 | }; | |
432 | }; | |
433 | ||
98561572 SG |
434 | probing { |
435 | compatible = "simple-bus"; | |
436 | test1 { | |
437 | compatible = "denx,u-boot-probe-test"; | |
438 | }; | |
439 | ||
440 | test2 { | |
441 | compatible = "denx,u-boot-probe-test"; | |
442 | }; | |
443 | ||
444 | test3 { | |
445 | compatible = "denx,u-boot-probe-test"; | |
446 | }; | |
447 | ||
448 | test4 { | |
449 | compatible = "denx,u-boot-probe-test"; | |
450 | }; | |
451 | }; | |
452 | ||
61f5ddcb SW |
453 | pwrdom: power-domain { |
454 | compatible = "sandbox,power-domain"; | |
455 | #power-domain-cells = <1>; | |
456 | }; | |
457 | ||
458 | power-domain-test { | |
459 | compatible = "sandbox,power-domain-test"; | |
460 | power-domains = <&pwrdom 2>; | |
461 | }; | |
462 | ||
5d9a88f4 | 463 | pwm: pwm { |
43b41566 | 464 | compatible = "sandbox,pwm"; |
5d9a88f4 | 465 | #pwm-cells = <2>; |
43b41566 SG |
466 | }; |
467 | ||
468 | pwm2 { | |
469 | compatible = "sandbox,pwm"; | |
5d9a88f4 | 470 | #pwm-cells = <2>; |
43b41566 SG |
471 | }; |
472 | ||
64ce0cad SG |
473 | ram { |
474 | compatible = "sandbox,ram"; | |
475 | }; | |
476 | ||
5010d98f SG |
477 | reset@0 { |
478 | compatible = "sandbox,warm-reset"; | |
479 | }; | |
480 | ||
481 | reset@1 { | |
482 | compatible = "sandbox,reset"; | |
483 | }; | |
484 | ||
4581b717 SW |
485 | resetc: reset-ctl { |
486 | compatible = "sandbox,reset-ctl"; | |
487 | #reset-cells = <1>; | |
488 | }; | |
489 | ||
490 | reset-ctl-test { | |
491 | compatible = "sandbox,reset-ctl-test"; | |
492 | resets = <&resetc 100>, <&resetc 2>; | |
493 | reset-names = "other", "test"; | |
494 | }; | |
495 | ||
5215940f NM |
496 | rproc_1: rproc@1 { |
497 | compatible = "sandbox,test-processor"; | |
498 | remoteproc-name = "remoteproc-test-dev1"; | |
499 | }; | |
500 | ||
501 | rproc_2: rproc@2 { | |
502 | compatible = "sandbox,test-processor"; | |
503 | internal-memory-mapped; | |
504 | remoteproc-name = "remoteproc-test-dev2"; | |
505 | }; | |
506 | ||
5d9a88f4 SG |
507 | panel { |
508 | compatible = "simple-panel"; | |
509 | backlight = <&backlight 0 100>; | |
510 | }; | |
511 | ||
7fd7e2cf RF |
512 | smem@0 { |
513 | compatible = "sandbox,smem"; | |
514 | }; | |
515 | ||
0ae0cb7b SG |
516 | spi@0 { |
517 | #address-cells = <1>; | |
518 | #size-cells = <0>; | |
0503e820 | 519 | reg = <0 1>; |
0ae0cb7b SG |
520 | compatible = "sandbox,spi"; |
521 | cs-gpios = <0>, <&gpio_a 0>; | |
522 | spi.bin@0 { | |
523 | reg = <0>; | |
524 | compatible = "spansion,m25p16", "spi-flash"; | |
525 | spi-max-frequency = <40000000>; | |
526 | sandbox,filename = "spi.bin"; | |
527 | }; | |
528 | }; | |
529 | ||
04035fd3 SG |
530 | syscon@0 { |
531 | compatible = "sandbox,syscon0"; | |
0503e820 | 532 | reg = <0x10 4>; |
04035fd3 SG |
533 | }; |
534 | ||
535 | syscon@1 { | |
536 | compatible = "sandbox,syscon1"; | |
0503e820 SG |
537 | reg = <0x20 5 |
538 | 0x28 6 | |
539 | 0x30 7 | |
540 | 0x38 8>; | |
04035fd3 SG |
541 | }; |
542 | ||
99552c34 MY |
543 | syscon@2 { |
544 | compatible = "simple-mfd", "syscon"; | |
545 | reg = <0x40 5 | |
546 | 0x48 6 | |
547 | 0x50 7 | |
548 | 0x58 8>; | |
549 | }; | |
550 | ||
e7cc8d11 TC |
551 | timer { |
552 | compatible = "sandbox,timer"; | |
553 | clock-frequency = <1000000>; | |
554 | }; | |
555 | ||
b91ad16a MR |
556 | tpm2 { |
557 | compatible = "sandbox,tpm2"; | |
558 | }; | |
559 | ||
171e991d SG |
560 | uart0: serial { |
561 | compatible = "sandbox,serial"; | |
562 | u-boot,dm-pre-reloc; | |
bfacad7d JH |
563 | }; |
564 | ||
e00cb223 SG |
565 | usb_0: usb@0 { |
566 | compatible = "sandbox,usb"; | |
567 | status = "disabled"; | |
568 | hub { | |
569 | compatible = "sandbox,usb-hub"; | |
570 | #address-cells = <1>; | |
571 | #size-cells = <0>; | |
572 | flash-stick { | |
573 | reg = <0>; | |
574 | compatible = "sandbox,usb-flash"; | |
575 | }; | |
576 | }; | |
577 | }; | |
578 | ||
579 | usb_1: usb@1 { | |
580 | compatible = "sandbox,usb"; | |
581 | hub { | |
582 | compatible = "usb-hub"; | |
583 | usb,device-class = <9>; | |
584 | hub-emul { | |
585 | compatible = "sandbox,usb-hub"; | |
586 | #address-cells = <1>; | |
587 | #size-cells = <0>; | |
431cbd6d | 588 | flash-stick@0 { |
e00cb223 SG |
589 | reg = <0>; |
590 | compatible = "sandbox,usb-flash"; | |
591 | sandbox,filepath = "testflash.bin"; | |
592 | }; | |
593 | ||
431cbd6d SG |
594 | flash-stick@1 { |
595 | reg = <1>; | |
596 | compatible = "sandbox,usb-flash"; | |
597 | sandbox,filepath = "testflash1.bin"; | |
598 | }; | |
599 | ||
600 | flash-stick@2 { | |
601 | reg = <2>; | |
602 | compatible = "sandbox,usb-flash"; | |
603 | sandbox,filepath = "testflash2.bin"; | |
604 | }; | |
605 | ||
bff1a71e SG |
606 | keyb@3 { |
607 | reg = <3>; | |
608 | compatible = "sandbox,usb-keyb"; | |
609 | }; | |
610 | ||
e00cb223 SG |
611 | }; |
612 | }; | |
613 | }; | |
614 | ||
615 | usb_2: usb@2 { | |
616 | compatible = "sandbox,usb"; | |
617 | status = "disabled"; | |
618 | }; | |
619 | ||
d33776e4 MK |
620 | spmi: spmi@0 { |
621 | compatible = "sandbox,spmi"; | |
622 | #address-cells = <0x1>; | |
623 | #size-cells = <0x1>; | |
624 | pm8916@0 { | |
625 | compatible = "qcom,spmi-pmic"; | |
626 | reg = <0x0 0x1>; | |
627 | #address-cells = <0x1>; | |
628 | #size-cells = <0x1>; | |
629 | ||
630 | spmi_gpios: gpios@c000 { | |
631 | compatible = "qcom,pm8916-gpio"; | |
632 | reg = <0xc000 0x400>; | |
633 | gpio-controller; | |
634 | gpio-count = <4>; | |
635 | #gpio-cells = <2>; | |
636 | gpio-bank-name="spmi"; | |
637 | }; | |
638 | }; | |
639 | }; | |
0753bc2d | 640 | |
641 | wdt0: wdt@0 { | |
642 | compatible = "sandbox,wdt"; | |
643 | }; | |
f2006808 | 644 | |
957983e0 MS |
645 | axi: axi@0 { |
646 | compatible = "sandbox,axi"; | |
647 | #address-cells = <0x1>; | |
648 | #size-cells = <0x1>; | |
649 | store@0 { | |
650 | compatible = "sandbox,sandbox_store"; | |
651 | reg = <0x0 0x400>; | |
652 | }; | |
653 | }; | |
654 | ||
f2006808 | 655 | chosen { |
7e87816c SG |
656 | #address-cells = <1>; |
657 | #size-cells = <1>; | |
f2006808 RC |
658 | chosen-test { |
659 | compatible = "denx,u-boot-fdt-test"; | |
660 | reg = <9 1>; | |
661 | }; | |
662 | }; | |
e8d52918 MS |
663 | |
664 | translation-test@8000 { | |
665 | compatible = "simple-bus"; | |
666 | reg = <0x8000 0x4000>; | |
667 | ||
668 | #address-cells = <0x2>; | |
669 | #size-cells = <0x1>; | |
670 | ||
671 | ranges = <0 0x0 0x8000 0x1000 | |
672 | 1 0x100 0x9000 0x1000 | |
673 | 2 0x200 0xA000 0x1000 | |
674 | 3 0x300 0xB000 0x1000 | |
675 | >; | |
676 | ||
677 | dev@0,0 { | |
678 | compatible = "denx,u-boot-fdt-dummy"; | |
679 | reg = <0 0x0 0x1000>; | |
680 | }; | |
681 | ||
682 | dev@1,100 { | |
683 | compatible = "denx,u-boot-fdt-dummy"; | |
684 | reg = <1 0x100 0x1000>; | |
685 | ||
686 | }; | |
687 | ||
688 | dev@2,200 { | |
689 | compatible = "denx,u-boot-fdt-dummy"; | |
690 | reg = <2 0x200 0x1000>; | |
691 | }; | |
692 | ||
693 | ||
694 | noxlatebus@3,300 { | |
695 | compatible = "simple-bus"; | |
696 | reg = <3 0x300 0x1000>; | |
697 | ||
698 | #address-cells = <0x1>; | |
699 | #size-cells = <0x0>; | |
700 | ||
701 | dev@42 { | |
702 | compatible = "denx,u-boot-fdt-dummy"; | |
703 | reg = <0x42>; | |
704 | }; | |
705 | }; | |
706 | }; | |
4eea5318 MS |
707 | |
708 | osd { | |
709 | compatible = "sandbox,sandbox_osd"; | |
710 | }; | |
d24c1d0f | 711 | |
e6fd0181 MS |
712 | board { |
713 | compatible = "sandbox,board_sandbox"; | |
714 | }; | |
fa830ae1 JW |
715 | |
716 | sandbox_tee { | |
717 | compatible = "sandbox,tee"; | |
718 | }; | |
2e7d35d2 | 719 | }; |
9038cd53 PM |
720 | |
721 | #include "sandbox_pmic.dtsi" |