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