dm: core: support reading a single indexed u32 value
[oweals/u-boot.git] / arch / sandbox / dts / test.dts
1 /dts-v1/;
2
3 / {
4         model = "sandbox";
5         compatible = "sandbox";
6         #address-cells = <1>;
7         #size-cells = <1>;
8
9         aliases {
10                 console = &uart0;
11                 eth0 = "/eth@10002000";
12                 eth3 = &eth_3;
13                 eth5 = &eth_5;
14                 gpio1 = &gpio_a;
15                 gpio2 = &gpio_b;
16                 i2c0 = "/i2c@0";
17                 mmc0 = "/mmc0";
18                 mmc1 = "/mmc1";
19                 pci0 = &pci0;
20                 pci1 = &pci1;
21                 pci2 = &pci2;
22                 remoteproc1 = &rproc_1;
23                 remoteproc2 = &rproc_2;
24                 rtc0 = &rtc_0;
25                 rtc1 = &rtc_1;
26                 spi0 = "/spi@0";
27                 testfdt6 = "/e-test";
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";
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";
38                 usb0 = &usb_0;
39                 usb1 = &usb_1;
40                 usb2 = &usb_2;
41                 axi0 = &axi;
42                 osd0 = "/osd";
43         };
44
45         audio: audio-codec {
46                 compatible = "sandbox,audio-codec";
47                 #sound-dai-cells = <1>;
48         };
49
50         cros_ec: cros-ec {
51                 reg = <0 0>;
52                 compatible = "google,cros-ec-sandbox";
53
54                 /*
55                  * This describes the flash memory within the EC. Note
56                  * that the STM32L flash erases to 0, not 0xff.
57                  */
58                 flash {
59                         image-pos = <0x08000000>;
60                         size = <0x20000>;
61                         erase-value = <0>;
62
63                         /* Information for sandbox */
64                         ro {
65                                 image-pos = <0>;
66                                 size = <0xf000>;
67                         };
68                         wp-ro {
69                                 image-pos = <0xf000>;
70                                 size = <0x1000>;
71                         };
72                         rw {
73                                 image-pos = <0x10000>;
74                                 size = <0x10000>;
75                         };
76                 };
77         };
78
79         dsi_host: dsi_host {
80                 compatible = "sandbox,dsi-host";
81         };
82
83         a-test {
84                 reg = <0 1>;
85                 compatible = "denx,u-boot-fdt-test";
86                 ping-expect = <0>;
87                 ping-add = <0>;
88                 u-boot,dm-pre-reloc;
89                 test-gpios = <&gpio_a 1>, <&gpio_a 4>, <&gpio_b 5 0 3 2 1>,
90                         <0>, <&gpio_a 12>;
91                 test2-gpios = <&gpio_a 1>, <&gpio_a 4>, <&gpio_b 6 1 3 2 1>,
92                         <&gpio_b 7 2 3 2 1>, <&gpio_b 8 4 3 2 1>,
93                         <&gpio_b 9 0xc 3 2 1>;
94                 int-value = <1234>;
95                 uint-value = <(-1234)>;
96                 int64-value = /bits/ 64 <0x1111222233334444>;
97                 int-array = <5678 9123 4567>;
98                 interrupts-extended = <&irq 3 0>;
99         };
100
101         junk {
102                 reg = <1 1>;
103                 compatible = "not,compatible";
104         };
105
106         no-compatible {
107                 reg = <2 1>;
108         };
109
110         backlight: backlight {
111                 compatible = "pwm-backlight";
112                 enable-gpios = <&gpio_a 1>;
113                 power-supply = <&ldo_1>;
114                 pwms = <&pwm 0 1000>;
115                 default-brightness-level = <5>;
116                 brightness-levels = <0 16 32 64 128 170 202 234 255>;
117         };
118
119         bind-test {
120                 bind-test-child1 {
121                         compatible = "sandbox,phy";
122                         #phy-cells = <1>;
123                 };
124
125                 bind-test-child2 {
126                         compatible = "simple-bus";
127                 };
128         };
129
130         b-test {
131                 reg = <3 1>;
132                 compatible = "denx,u-boot-fdt-test";
133                 ping-expect = <3>;
134                 ping-add = <3>;
135         };
136
137         phy_provider0: gen_phy@0 {
138                 compatible = "sandbox,phy";
139                 #phy-cells = <1>;
140         };
141
142         phy_provider1: gen_phy@1 {
143                 compatible = "sandbox,phy";
144                 #phy-cells = <0>;
145                 broken;
146         };
147
148         gen_phy_user: gen_phy_user {
149                 compatible = "simple-bus";
150                 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
151                 phy-names = "phy1", "phy2", "phy3";
152         };
153
154         some-bus {
155                 #address-cells = <1>;
156                 #size-cells = <0>;
157                 compatible = "denx,u-boot-test-bus";
158                 reg = <3 1>;
159                 ping-expect = <4>;
160                 ping-add = <4>;
161                 c-test@5 {
162                         compatible = "denx,u-boot-fdt-test";
163                         reg = <5>;
164                         ping-expect = <5>;
165                         ping-add = <5>;
166                 };
167                 c-test@0 {
168                         compatible = "denx,u-boot-fdt-test";
169                         reg = <0>;
170                         ping-expect = <6>;
171                         ping-add = <6>;
172                 };
173                 c-test@1 {
174                         compatible = "denx,u-boot-fdt-test";
175                         reg = <1>;
176                         ping-expect = <7>;
177                         ping-add = <7>;
178                 };
179         };
180
181         d-test {
182                 reg = <3 1>;
183                 ping-expect = <6>;
184                 ping-add = <6>;
185                 compatible = "google,another-fdt-test";
186         };
187
188         e-test {
189                 reg = <3 1>;
190                 ping-expect = <6>;
191                 ping-add = <6>;
192                 compatible = "google,another-fdt-test";
193         };
194
195         f-test {
196                 compatible = "denx,u-boot-fdt-test";
197         };
198
199         g-test {
200                 compatible = "denx,u-boot-fdt-test";
201         };
202
203         h-test {
204                 compatible = "denx,u-boot-fdt-test1";
205         };
206
207         devres-test {
208                 compatible = "denx,u-boot-devres-test";
209         };
210
211         clocks {
212                 clk_fixed: clk-fixed {
213                         compatible = "fixed-clock";
214                         #clock-cells = <0>;
215                         clock-frequency = <1234>;
216                 };
217
218                 clk_fixed_factor: clk-fixed-factor {
219                         compatible = "fixed-factor-clock";
220                         #clock-cells = <0>;
221                         clock-div = <3>;
222                         clock-mult = <2>;
223                         clocks = <&clk_fixed>;
224                 };
225
226                 osc {
227                         compatible = "fixed-clock";
228                         #clock-cells = <0>;
229                         clock-frequency = <20000000>;
230                 };
231         };
232
233         clk_sandbox: clk-sbox {
234                 compatible = "sandbox,clk";
235                 #clock-cells = <1>;
236                 assigned-clocks = <&clk_sandbox 3>;
237                 assigned-clock-rates = <321>;
238         };
239
240         clk-test {
241                 compatible = "sandbox,clk-test";
242                 clocks = <&clk_fixed>,
243                          <&clk_sandbox 1>,
244                          <&clk_sandbox 0>,
245                          <&clk_sandbox 3>,
246                          <&clk_sandbox 2>;
247                 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
248         };
249
250         ccf: clk-ccf {
251                 compatible = "sandbox,clk-ccf";
252         };
253
254         eth@10002000 {
255                 compatible = "sandbox,eth";
256                 reg = <0x10002000 0x1000>;
257                 fake-host-hwaddr = [00 00 66 44 22 00];
258         };
259
260         eth_5: eth@10003000 {
261                 compatible = "sandbox,eth";
262                 reg = <0x10003000 0x1000>;
263                 fake-host-hwaddr = [00 00 66 44 22 11];
264         };
265
266         eth_3: sbe5 {
267                 compatible = "sandbox,eth";
268                 reg = <0x10005000 0x1000>;
269                 fake-host-hwaddr = [00 00 66 44 22 33];
270         };
271
272         eth@10004000 {
273                 compatible = "sandbox,eth";
274                 reg = <0x10004000 0x1000>;
275                 fake-host-hwaddr = [00 00 66 44 22 22];
276         };
277
278         firmware {
279                 sandbox_firmware: sandbox-firmware {
280                         compatible = "sandbox,firmware";
281                 };
282         };
283
284         gpio_a: base-gpios {
285                 compatible = "sandbox,gpio";
286                 gpio-controller;
287                 #gpio-cells = <1>;
288                 gpio-bank-name = "a";
289                 sandbox,gpio-count = <20>;
290         };
291
292         gpio_b: extra-gpios {
293                 compatible = "sandbox,gpio";
294                 gpio-controller;
295                 #gpio-cells = <5>;
296                 gpio-bank-name = "b";
297                 sandbox,gpio-count = <10>;
298         };
299
300         i2c@0 {
301                 #address-cells = <1>;
302                 #size-cells = <0>;
303                 reg = <0 1>;
304                 compatible = "sandbox,i2c";
305                 clock-frequency = <100000>;
306                 eeprom@2c {
307                         reg = <0x2c>;
308                         compatible = "i2c-eeprom";
309                         sandbox,emul = <&emul_eeprom>;
310                 };
311
312                 rtc_0: rtc@43 {
313                         reg = <0x43>;
314                         compatible = "sandbox-rtc";
315                         sandbox,emul = <&emul0>;
316                 };
317
318                 rtc_1: rtc@61 {
319                         reg = <0x61>;
320                         compatible = "sandbox-rtc";
321                         sandbox,emul = <&emul1>;
322                 };
323
324                 i2c_emul: emul {
325                         reg = <0xff>;
326                         compatible = "sandbox,i2c-emul-parent";
327                         emul_eeprom: emul-eeprom {
328                                 compatible = "sandbox,i2c-eeprom";
329                                 sandbox,filename = "i2c.bin";
330                                 sandbox,size = <256>;
331                         };
332                         emul0: emul0 {
333                                 compatible = "sandbox,i2c-rtc";
334                         };
335                         emul1: emull {
336                                 compatible = "sandbox,i2c-rtc";
337                         };
338                 };
339
340                 sandbox_pmic: sandbox_pmic {
341                         reg = <0x40>;
342                         sandbox,emul = <&emul_pmic0>;
343                 };
344
345                 mc34708: pmic@41 {
346                         reg = <0x41>;
347                         sandbox,emul = <&emul_pmic1>;
348                 };
349         };
350
351         bootcount@0 {
352                 compatible = "u-boot,bootcount-rtc";
353                 rtc = <&rtc_1>;
354                 offset = <0x13>;
355         };
356
357         adc@0 {
358                 compatible = "sandbox,adc";
359                 vdd-supply = <&buck2>;
360                 vss-microvolts = <0>;
361         };
362
363         irq: irq {
364                 compatible = "sandbox,irq";
365                 interrupt-controller;
366                 #interrupt-cells = <2>;
367         };
368
369         lcd {
370                 u-boot,dm-pre-reloc;
371                 compatible = "sandbox,lcd-sdl";
372                 xres = <1366>;
373                 yres = <768>;
374         };
375
376         leds {
377                 compatible = "gpio-leds";
378
379                 iracibble {
380                         gpios = <&gpio_a 1 0>;
381                         label = "sandbox:red";
382                 };
383
384                 martinet {
385                         gpios = <&gpio_a 2 0>;
386                         label = "sandbox:green";
387                 };
388
389                 default_on {
390                         gpios = <&gpio_a 5 0>;
391                         label = "sandbox:default_on";
392                         default-state = "on";
393                 };
394
395                 default_off {
396                         gpios = <&gpio_a 6 0>;
397                         label = "sandbox:default_off";
398                         default-state = "off";
399                 };
400         };
401
402         mbox: mbox {
403                 compatible = "sandbox,mbox";
404                 #mbox-cells = <1>;
405         };
406
407         mbox-test {
408                 compatible = "sandbox,mbox-test";
409                 mboxes = <&mbox 100>, <&mbox 1>;
410                 mbox-names = "other", "test";
411         };
412
413         cpus {
414                 cpu-test1 {
415                         compatible = "sandbox,cpu_sandbox";
416                         u-boot,dm-pre-reloc;
417                 };
418
419                 cpu-test2 {
420                         compatible = "sandbox,cpu_sandbox";
421                         u-boot,dm-pre-reloc;
422                 };
423
424                 cpu-test3 {
425                         compatible = "sandbox,cpu_sandbox";
426                         u-boot,dm-pre-reloc;
427                 };
428         };
429
430         i2s: i2s {
431                 compatible = "sandbox,i2s";
432                 #sound-dai-cells = <1>;
433                 sandbox,silent; /* Don't emit sounds while testing */
434         };
435
436         nop-test_0 {
437                 compatible = "sandbox,nop_sandbox1";
438                 nop-test_1 {
439                         compatible = "sandbox,nop_sandbox2";
440                         bind = "True";
441                 };
442                 nop-test_2 {
443                         compatible = "sandbox,nop_sandbox2";
444                         bind = "False";
445                 };
446         };
447
448         misc-test {
449                 compatible = "sandbox,misc_sandbox";
450         };
451
452         mmc2 {
453                 compatible = "sandbox,mmc";
454         };
455
456         mmc1 {
457                 compatible = "sandbox,mmc";
458         };
459
460         mmc0 {
461                 compatible = "sandbox,mmc";
462         };
463
464         pch {
465                 compatible = "sandbox,pch";
466         };
467
468         pci0: pci@0 {
469                 compatible = "sandbox,pci";
470                 device_type = "pci";
471                 bus-range = <0x00 0xff>;
472                 #address-cells = <3>;
473                 #size-cells = <2>;
474                 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
475                                 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
476                 pci@0,0 {
477                         compatible = "pci-generic";
478                         reg = <0x0000 0 0 0 0>;
479                         sandbox,emul = <&swap_case_emul0_0>;
480                 };
481                 pci@1,0 {
482                         compatible = "pci-generic";
483                         /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
484                         reg = <0x02000814 0 0 0 0
485                                0x01000810 0 0 0 0>;
486                         sandbox,emul = <&swap_case_emul0_1>;
487                 };
488                 p2sb-pci@2,0 {
489                         compatible = "sandbox,p2sb";
490                         reg = <0x02001010 0 0 0 0>;
491                         sandbox,emul = <&p2sb_emul>;
492
493                         adder {
494                                 intel,p2sb-port-id = <3>;
495                                 compatible = "sandbox,adder";
496                         };
497                 };
498                 pci@1e,0 {
499                         compatible = "sandbox,pmc";
500                         reg = <0xf000 0 0 0 0>;
501                         sandbox,emul = <&pmc_emul1e>;
502                         acpi-base = <0x400>;
503                         gpe0-dwx-mask = <0xf>;
504                         gpe0-dwx-shift-base = <4>;
505                         gpe0-dw = <6 7 9>;
506                         gpe0-sts = <0x20>;
507                         gpe0-en = <0x30>;
508                 };
509                 pci@1f,0 {
510                         compatible = "pci-generic";
511                         /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
512                         reg = <0x0100f810 0 0 0 0>;
513                         sandbox,emul = <&swap_case_emul0_1f>;
514                 };
515         };
516
517         pci-emul0 {
518                 compatible = "sandbox,pci-emul-parent";
519                 swap_case_emul0_0: emul0@0,0 {
520                         compatible = "sandbox,swap-case";
521                 };
522                 swap_case_emul0_1: emul0@1,0 {
523                         compatible = "sandbox,swap-case";
524                         use-ea;
525                 };
526                 swap_case_emul0_1f: emul0@1f,0 {
527                         compatible = "sandbox,swap-case";
528                 };
529                 p2sb_emul: emul@2,0 {
530                         compatible = "sandbox,p2sb-emul";
531                 };
532                 pmc_emul1e: emul@1e,0 {
533                         compatible = "sandbox,pmc-emul";
534                 };
535         };
536
537         pci1: pci@1 {
538                 compatible = "sandbox,pci";
539                 device_type = "pci";
540                 bus-range = <0x00 0xff>;
541                 #address-cells = <3>;
542                 #size-cells = <2>;
543                 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000
544                                 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
545                 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
546                                     0x0c 0x00 0x1234 0x5678
547                                     0x10 0x00 0x1234 0x5678>;
548                 pci@10,0 {
549                         reg = <0x8000 0 0 0 0>;
550                 };
551         };
552
553         pci2: pci@2 {
554                 compatible = "sandbox,pci";
555                 device_type = "pci";
556                 bus-range = <0x00 0xff>;
557                 #address-cells = <3>;
558                 #size-cells = <2>;
559                 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
560                                 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
561                 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
562                 pci@1f,0 {
563                         compatible = "pci-generic";
564                         reg = <0xf800 0 0 0 0>;
565                         sandbox,emul = <&swap_case_emul2_1f>;
566                 };
567         };
568
569         pci-emul2 {
570                 compatible = "sandbox,pci-emul-parent";
571                 swap_case_emul2_1f: emul2@1f,0 {
572                         compatible = "sandbox,swap-case";
573                 };
574         };
575
576         pci_ep: pci_ep {
577                 compatible = "sandbox,pci_ep";
578         };
579
580         probing {
581                 compatible = "simple-bus";
582                 test1 {
583                         compatible = "denx,u-boot-probe-test";
584                 };
585
586                 test2 {
587                         compatible = "denx,u-boot-probe-test";
588                 };
589
590                 test3 {
591                         compatible = "denx,u-boot-probe-test";
592                 };
593
594                 test4 {
595                         compatible = "denx,u-boot-probe-test";
596                         first-syscon = <&syscon0>;
597                         second-sys-ctrl = <&another_system_controller>;
598                         third-syscon = <&syscon2>;
599                 };
600         };
601
602         pwrdom: power-domain {
603                 compatible = "sandbox,power-domain";
604                 #power-domain-cells = <1>;
605         };
606
607         power-domain-test {
608                 compatible = "sandbox,power-domain-test";
609                 power-domains = <&pwrdom 2>;
610         };
611
612         pwm: pwm {
613                 compatible = "sandbox,pwm";
614                 #pwm-cells = <2>;
615         };
616
617         pwm2 {
618                 compatible = "sandbox,pwm";
619                 #pwm-cells = <2>;
620         };
621
622         ram {
623                 compatible = "sandbox,ram";
624         };
625
626         reset@0 {
627                 compatible = "sandbox,warm-reset";
628         };
629
630         reset@1 {
631                 compatible = "sandbox,reset";
632         };
633
634         resetc: reset-ctl {
635                 compatible = "sandbox,reset-ctl";
636                 #reset-cells = <1>;
637         };
638
639         reset-ctl-test {
640                 compatible = "sandbox,reset-ctl-test";
641                 resets = <&resetc 100>, <&resetc 2>;
642                 reset-names = "other", "test";
643         };
644
645         rng {
646                 compatible = "sandbox,sandbox-rng";
647         };
648
649         rproc_1: rproc@1 {
650                 compatible = "sandbox,test-processor";
651                 remoteproc-name = "remoteproc-test-dev1";
652         };
653
654         rproc_2: rproc@2 {
655                 compatible = "sandbox,test-processor";
656                 internal-memory-mapped;
657                 remoteproc-name = "remoteproc-test-dev2";
658         };
659
660         panel {
661                 compatible = "simple-panel";
662                 backlight = <&backlight 0 100>;
663         };
664
665         smem@0 {
666                 compatible = "sandbox,smem";
667         };
668
669         sound {
670                 compatible = "sandbox,sound";
671                 cpu {
672                         sound-dai = <&i2s 0>;
673                 };
674
675                 codec {
676                         sound-dai = <&audio 0>;
677                 };
678         };
679
680         spi@0 {
681                 #address-cells = <1>;
682                 #size-cells = <0>;
683                 reg = <0 1>;
684                 compatible = "sandbox,spi";
685                 cs-gpios = <0>, <&gpio_a 0>;
686                 spi.bin@0 {
687                         reg = <0>;
688                         compatible = "spansion,m25p16", "jedec,spi-nor";
689                         spi-max-frequency = <40000000>;
690                         sandbox,filename = "spi.bin";
691                 };
692         };
693
694         syscon0: syscon@0 {
695                 compatible = "sandbox,syscon0";
696                 reg = <0x10 16>;
697         };
698
699         another_system_controller: syscon@1 {
700                 compatible = "sandbox,syscon1";
701                 reg = <0x20 5
702                         0x28 6
703                         0x30 7
704                         0x38 8>;
705         };
706
707         syscon2: syscon@2 {
708                 compatible = "simple-mfd", "syscon";
709                 reg = <0x40 5
710                         0x48 6
711                         0x50 7
712                         0x58 8>;
713         };
714
715         timer {
716                 compatible = "sandbox,timer";
717                 clock-frequency = <1000000>;
718         };
719
720         tpm2 {
721                 compatible = "sandbox,tpm2";
722         };
723
724         uart0: serial {
725                 compatible = "sandbox,serial";
726                 u-boot,dm-pre-reloc;
727         };
728
729         usb_0: usb@0 {
730                 compatible = "sandbox,usb";
731                 status = "disabled";
732                 hub {
733                         compatible = "sandbox,usb-hub";
734                         #address-cells = <1>;
735                         #size-cells = <0>;
736                         flash-stick {
737                                 reg = <0>;
738                                 compatible = "sandbox,usb-flash";
739                         };
740                 };
741         };
742
743         usb_1: usb@1 {
744                 compatible = "sandbox,usb";
745                 hub {
746                         compatible = "usb-hub";
747                         usb,device-class = <9>;
748                         hub-emul {
749                                 compatible = "sandbox,usb-hub";
750                                 #address-cells = <1>;
751                                 #size-cells = <0>;
752                                 flash-stick@0 {
753                                         reg = <0>;
754                                         compatible = "sandbox,usb-flash";
755                                         sandbox,filepath = "testflash.bin";
756                                 };
757
758                                 flash-stick@1 {
759                                         reg = <1>;
760                                         compatible = "sandbox,usb-flash";
761                                         sandbox,filepath = "testflash1.bin";
762                                 };
763
764                                 flash-stick@2 {
765                                         reg = <2>;
766                                         compatible = "sandbox,usb-flash";
767                                         sandbox,filepath = "testflash2.bin";
768                                 };
769
770                                 keyb@3 {
771                                         reg = <3>;
772                                         compatible = "sandbox,usb-keyb";
773                                 };
774
775                         };
776                 };
777         };
778
779         usb_2: usb@2 {
780                 compatible = "sandbox,usb";
781                 status = "disabled";
782         };
783
784         spmi: spmi@0 {
785                 compatible = "sandbox,spmi";
786                 #address-cells = <0x1>;
787                 #size-cells = <0x1>;
788                 ranges;
789                 pm8916@0 {
790                         compatible = "qcom,spmi-pmic";
791                         reg = <0x0 0x1>;
792                         #address-cells = <0x1>;
793                         #size-cells = <0x1>;
794                         ranges;
795
796                         spmi_gpios: gpios@c000 {
797                                 compatible = "qcom,pm8916-gpio";
798                                 reg = <0xc000 0x400>;
799                                 gpio-controller;
800                                 gpio-count = <4>;
801                                 #gpio-cells = <2>;
802                                 gpio-bank-name="spmi";
803                         };
804                 };
805         };
806
807         wdt0: wdt@0 {
808                 compatible = "sandbox,wdt";
809         };
810
811         axi: axi@0 {
812                 compatible = "sandbox,axi";
813                 #address-cells = <0x1>;
814                 #size-cells = <0x1>;
815                 store@0 {
816                         compatible = "sandbox,sandbox_store";
817                         reg = <0x0 0x400>;
818                 };
819         };
820
821         chosen {
822                 #address-cells = <1>;
823                 #size-cells = <1>;
824                 setting = "sunrise ohoka";
825                 other-node = "/some-bus/c-test@5";
826                 int-values = <0x1937 72993>;
827                 chosen-test {
828                         compatible = "denx,u-boot-fdt-test";
829                         reg = <9 1>;
830                 };
831         };
832
833         translation-test@8000 {
834                 compatible = "simple-bus";
835                 reg = <0x8000 0x4000>;
836
837                 #address-cells = <0x2>;
838                 #size-cells = <0x1>;
839
840                 ranges = <0 0x0 0x8000 0x1000
841                           1 0x100 0x9000 0x1000
842                           2 0x200 0xA000 0x1000
843                           3 0x300 0xB000 0x1000
844                          >;
845
846                 dma-ranges = <0 0x000 0x10000000 0x1000
847                               1 0x100 0x20000000 0x1000
848                              >;
849
850                 dev@0,0 {
851                         compatible = "denx,u-boot-fdt-dummy";
852                         reg = <0 0x0 0x1000>;
853                         reg-names = "sandbox-dummy-0";
854                 };
855
856                 dev@1,100 {
857                         compatible = "denx,u-boot-fdt-dummy";
858                         reg = <1 0x100 0x1000>;
859
860                 };
861
862                 dev@2,200 {
863                         compatible = "denx,u-boot-fdt-dummy";
864                         reg = <2 0x200 0x1000>;
865                 };
866
867
868                 noxlatebus@3,300 {
869                         compatible = "simple-bus";
870                         reg = <3 0x300 0x1000>;
871
872                         #address-cells = <0x1>;
873                         #size-cells = <0x0>;
874
875                         dev@42 {
876                                 compatible = "denx,u-boot-fdt-dummy";
877                                 reg = <0x42>;
878                         };
879                 };
880         };
881
882         osd {
883                 compatible = "sandbox,sandbox_osd";
884         };
885
886         board {
887                 compatible = "sandbox,board_sandbox";
888         };
889
890         sandbox_tee {
891                 compatible = "sandbox,tee";
892         };
893
894         sandbox_virtio1 {
895                 compatible = "sandbox,virtio1";
896         };
897
898         sandbox_virtio2 {
899                 compatible = "sandbox,virtio2";
900         };
901
902         pinctrl {
903                 compatible = "sandbox,pinctrl";
904         };
905
906         hwspinlock@0 {
907                 compatible = "sandbox,hwspinlock";
908         };
909
910         dma: dma {
911                 compatible = "sandbox,dma";
912                 #dma-cells = <1>;
913
914                 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
915                 dma-names = "m2m", "tx0", "rx0";
916         };
917
918         /*
919          * keep mdio-mux ahead of mdio so that the mux is removed first at the
920          * end of the test.  If parent mdio is removed first, clean-up of the
921          * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
922          * active at the end of the test.  That it turn doesn't allow the mdio
923          * class to be destroyed, triggering an error.
924          */
925         mdio-mux-test {
926                 compatible = "sandbox,mdio-mux";
927                 #address-cells = <1>;
928                 #size-cells = <0>;
929                 mdio-parent-bus = <&mdio>;
930
931                 mdio-ch-test@0 {
932                         reg = <0>;
933                 };
934                 mdio-ch-test@1 {
935                         reg = <1>;
936                 };
937         };
938
939         mdio: mdio-test {
940                 compatible = "sandbox,mdio";
941         };
942 };
943
944 #include "sandbox_pmic.dtsi"