Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq
[platform/kernel/u-boot.git] / arch / sandbox / dts / test.dts
1 /dts-v1/;
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/gpio/sandbox-gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/pinctrl/sandbox-pinmux.h>
7 #include <dt-bindings/mux/mux.h>
8
9 / {
10         model = "sandbox";
11         compatible = "sandbox";
12         #address-cells = <1>;
13         #size-cells = <1>;
14
15         aliases {
16                 console = &uart0;
17                 ethernet0 = "/eth@10002000";
18                 ethernet2 = &swp_0;
19                 ethernet3 = &eth_3;
20                 ethernet4 = &dsa_eth0;
21                 ethernet5 = &eth_5;
22                 gpio1 = &gpio_a;
23                 gpio2 = &gpio_b;
24                 gpio3 = &gpio_c;
25                 i2c0 = "/i2c@0";
26                 mmc0 = "/mmc0";
27                 mmc1 = "/mmc1";
28                 pci0 = &pci0;
29                 pci1 = &pci1;
30                 pci2 = &pci2;
31                 remoteproc0 = &rproc_1;
32                 remoteproc1 = &rproc_2;
33                 rtc0 = &rtc_0;
34                 rtc1 = &rtc_1;
35                 spi0 = "/spi@0";
36                 testfdt6 = "/e-test";
37                 testbus3 = "/some-bus";
38                 testfdt0 = "/some-bus/c-test@0";
39                 testfdt12 = "/some-bus/c-test@1";
40                 testfdt3 = "/b-test";
41                 testfdt5 = "/some-bus/c-test@5";
42                 testfdt8 = "/a-test";
43                 testfdtm1 = &testfdtm1;
44                 fdt-dummy0 = "/translation-test@8000/dev@0,0";
45                 fdt-dummy1 = "/translation-test@8000/dev@1,100";
46                 fdt-dummy2 = "/translation-test@8000/dev@2,200";
47                 fdt-dummy3 = "/translation-test@8000/noxlatebus@3,300/dev@42";
48                 usb0 = &usb_0;
49                 usb1 = &usb_1;
50                 usb2 = &usb_2;
51                 axi0 = &axi;
52                 osd0 = "/osd";
53         };
54
55         config {
56                 environment {
57                         from_fdt = "yes";
58                         fdt_env_path = "";
59                 };
60         };
61
62         reboot-mode0 {
63                 compatible = "reboot-mode-gpio";
64                 gpios = <&gpio_c 0 GPIO_ACTIVE_HIGH>, <&gpio_c 1 GPIO_ACTIVE_HIGH>;
65                 u-boot,env-variable = "bootstatus";
66                 mode-test = <0x01>;
67                 mode-download = <0x03>;
68         };
69
70         reboot_mode1: reboot-mode@14 {
71                 compatible = "reboot-mode-rtc";
72                 rtc = <&rtc_0>;
73                 reg = <0x30 4>;
74                 u-boot,env-variable = "bootstatus";
75                 big-endian;
76                 mode-test = <0x21969147>;
77                 mode-download = <0x51939147>;
78         };
79
80         audio: audio-codec {
81                 compatible = "sandbox,audio-codec";
82                 #sound-dai-cells = <1>;
83         };
84
85         buttons {
86                 compatible = "gpio-keys";
87
88                 btn1 {
89                         gpios = <&gpio_a 3 0>;
90                         label = "button1";
91                 };
92
93                 btn2 {
94                         gpios = <&gpio_a 4 0>;
95                         label = "button2";
96                 };
97         };
98
99         buttons2 {
100                 compatible = "adc-keys";
101                 io-channels = <&adc 3>;
102                 keyup-threshold-microvolt = <3000000>;
103
104                 button-up {
105                         label = "button3";
106                         linux,code = <KEY_F3>;
107                         press-threshold-microvolt = <1500000>;
108                 };
109
110                 button-down {
111                         label = "button4";
112                         linux,code = <KEY_F4>;
113                         press-threshold-microvolt = <1000000>;
114                 };
115
116                 button-enter {
117                         label = "button5";
118                         linux,code = <KEY_F5>;
119                         press-threshold-microvolt = <500000>;
120                 };
121         };
122
123         cros_ec: cros-ec {
124                 reg = <0 0>;
125                 compatible = "google,cros-ec-sandbox";
126
127                 /*
128                  * This describes the flash memory within the EC. Note
129                  * that the STM32L flash erases to 0, not 0xff.
130                  */
131                 flash {
132                         image-pos = <0x08000000>;
133                         size = <0x20000>;
134                         erase-value = <0>;
135
136                         /* Information for sandbox */
137                         ro {
138                                 image-pos = <0>;
139                                 size = <0xf000>;
140                         };
141                         wp-ro {
142                                 image-pos = <0xf000>;
143                                 size = <0x1000>;
144                                 used = <0x884>;
145                                 compress = "lz4";
146                                 uncomp-size = <0xcf8>;
147                                 hash {
148                                         algo = "sha256";
149                                         value = [00 01 02 03 04 05 06 07
150                                                 08 09 0a 0b 0c 0d 0e 0f
151                                                 10 11 12 13 14 15 16 17
152                                                 18 19 1a 1b 1c 1d 1e 1f];
153                                 };
154                         };
155                         rw {
156                                 image-pos = <0x10000>;
157                                 size = <0x10000>;
158                         };
159                 };
160
161                 cros_ec_pwm: cros-ec-pwm {
162                         compatible = "google,cros-ec-pwm";
163                         #pwm-cells = <1>;
164                 };
165
166         };
167
168         dsi_host: dsi_host {
169                 compatible = "sandbox,dsi-host";
170         };
171
172         a-test {
173                 reg = <0 1>;
174                 compatible = "denx,u-boot-fdt-test";
175                 ping-expect = <0>;
176                 ping-add = <0>;
177                 u-boot,dm-pre-reloc;
178                 test-gpios = <&gpio_a 1>, <&gpio_a 4>,
179                         <&gpio_b 5 GPIO_ACTIVE_HIGH 3 2 1>,
180                         <0>, <&gpio_a 12>;
181                 test2-gpios = <&gpio_a 1>, <&gpio_a 4>,
182                         <&gpio_b 6 GPIO_ACTIVE_LOW 3 2 1>,
183                         <&gpio_b 7 GPIO_IN 3 2 1>,
184                         <&gpio_b 8 GPIO_OUT 3 2 1>,
185                         <&gpio_b 9 (GPIO_OUT|GPIO_OUT_ACTIVE) 3 2 1>;
186                 test3-gpios =
187                         <&gpio_c 0 (GPIO_OUT|GPIO_OPEN_DRAIN)>,
188                         <&gpio_c 1 (GPIO_OUT|GPIO_OPEN_SOURCE)>,
189                         <&gpio_c 2 GPIO_OUT>,
190                         <&gpio_c 3 (GPIO_IN|GPIO_PULL_UP)>,
191                         <&gpio_c 4 (GPIO_IN|GPIO_PULL_DOWN)>,
192                         <&gpio_c 5 GPIO_IN>,
193                         <&gpio_c 6 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_DRAIN)>,
194                         <&gpio_c 7 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_SOURCE)>;
195                 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
196                 test5-gpios = <&gpio_a 19>;
197
198                 int-value = <1234>;
199                 uint-value = <(-1234)>;
200                 int64-value = /bits/ 64 <0x1111222233334444>;
201                 int-array = <5678 9123 4567>;
202                 str-value = "test string";
203                 interrupts-extended = <&irq 3 0>;
204                 acpi,name = "GHIJ";
205                 phandle-value = <&gpio_c 10>, <0xFFFFFFFF 20>, <&gpio_a 30>;
206
207                 mux-controls = <&muxcontroller0 0>, <&muxcontroller0 1>,
208                                <&muxcontroller0 2>, <&muxcontroller0 3>,
209                                <&muxcontroller1>;
210                 mux-control-names = "mux0", "mux1", "mux2", "mux3", "mux4";
211                 mux-syscon = <&syscon3>;
212                 display-timings {
213                         timing0: 240x320 {
214                                 clock-frequency = <6500000>;
215                                 hactive = <240>;
216                                 vactive = <320>;
217                                 hfront-porch = <6>;
218                                 hback-porch = <7>;
219                                 hsync-len = <1>;
220                                 vback-porch = <5>;
221                                 vfront-porch = <8>;
222                                 vsync-len = <2>;
223                                 hsync-active = <1>;
224                                 vsync-active = <0>;
225                                 de-active = <1>;
226                                 pixelclk-active = <1>;
227                                 interlaced;
228                                 doublescan;
229                                 doubleclk;
230                         };
231                         timing1: 480x800 {
232                                 clock-frequency = <9000000>;
233                                 hactive = <480>;
234                                 vactive = <800>;
235                                 hfront-porch = <10>;
236                                 hback-porch = <59>;
237                                 hsync-len = <12>;
238                                 vback-porch = <15>;
239                                 vfront-porch = <17>;
240                                 vsync-len = <16>;
241                                 hsync-active = <0>;
242                                 vsync-active = <1>;
243                                 de-active = <0>;
244                                 pixelclk-active = <0>;
245                         };
246                         timing2: 800x480 {
247                                 clock-frequency = <33500000>;
248                                 hactive = <800>;
249                                 vactive = <480>;
250                                 hback-porch = <89>;
251                                 hfront-porch = <164>;
252                                 vback-porch = <23>;
253                                 vfront-porch = <10>;
254                                 hsync-len = <11>;
255                                 vsync-len = <13>;
256                         };
257                 };
258         };
259
260         junk {
261                 reg = <1 1>;
262                 compatible = "not,compatible";
263         };
264
265         no-compatible {
266                 reg = <2 1>;
267         };
268
269         backlight: backlight {
270                 compatible = "pwm-backlight";
271                 enable-gpios = <&gpio_a 1>;
272                 power-supply = <&ldo_1>;
273                 pwms = <&pwm 0 1000>;
274                 default-brightness-level = <5>;
275                 brightness-levels = <0 16 32 64 128 170 202 234 255>;
276         };
277
278         bind-test {
279                 compatible = "simple-bus";
280                 bind-test-child1 {
281                         compatible = "sandbox,phy";
282                         #phy-cells = <1>;
283                 };
284
285                 bind-test-child2 {
286                         compatible = "simple-bus";
287                 };
288         };
289
290         b-test {
291                 reg = <3 1>;
292                 compatible = "denx,u-boot-fdt-test";
293                 ping-expect = <3>;
294                 ping-add = <3>;
295
296                 mux-controls = <&muxcontroller0 0>;
297                 mux-control-names = "mux0";
298         };
299
300         phy_provider0: gen_phy@0 {
301                 compatible = "sandbox,phy";
302                 #phy-cells = <1>;
303         };
304
305         phy_provider1: gen_phy@1 {
306                 compatible = "sandbox,phy";
307                 #phy-cells = <0>;
308                 broken;
309         };
310
311         phy_provider2: gen_phy@2 {
312                 compatible = "sandbox,phy";
313                 #phy-cells = <0>;
314         };
315
316         gen_phy_user: gen_phy_user {
317                 compatible = "simple-bus";
318                 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
319                 phy-names = "phy1", "phy2", "phy3";
320         };
321
322         gen_phy_user1: gen_phy_user1 {
323                 compatible = "simple-bus";
324                 phys = <&phy_provider0 0>, <&phy_provider2>;
325                 phy-names = "phy1", "phy2";
326         };
327
328         some-bus {
329                 #address-cells = <1>;
330                 #size-cells = <0>;
331                 compatible = "denx,u-boot-test-bus";
332                 reg = <3 1>;
333                 ping-expect = <4>;
334                 ping-add = <4>;
335                 c-test@5 {
336                         compatible = "denx,u-boot-fdt-test";
337                         reg = <5>;
338                         ping-expect = <5>;
339                         ping-add = <5>;
340                 };
341                 c-test@0 {
342                         compatible = "denx,u-boot-fdt-test";
343                         reg = <0>;
344                         ping-expect = <6>;
345                         ping-add = <6>;
346                 };
347                 c-test@1 {
348                         compatible = "denx,u-boot-fdt-test";
349                         reg = <1>;
350                         ping-expect = <7>;
351                         ping-add = <7>;
352                 };
353         };
354
355         d-test {
356                 reg = <3 1>;
357                 ping-expect = <6>;
358                 ping-add = <6>;
359                 compatible = "google,another-fdt-test";
360         };
361
362         e-test {
363                 reg = <3 1>;
364                 ping-expect = <6>;
365                 ping-add = <6>;
366                 compatible = "google,another-fdt-test";
367         };
368
369         f-test {
370                 compatible = "denx,u-boot-fdt-test";
371         };
372
373         g-test {
374                 compatible = "denx,u-boot-fdt-test";
375         };
376
377         h-test {
378                 compatible = "denx,u-boot-fdt-test1";
379         };
380
381         i-test {
382                 compatible = "mediatek,u-boot-fdt-test";
383                 #address-cells = <1>;
384                 #size-cells = <0>;
385
386                 subnode@0 {
387                         reg = <0>;
388                 };
389
390                 subnode@1 {
391                         reg = <1>;
392                 };
393
394                 subnode@2 {
395                         reg = <2>;
396                 };
397         };
398
399         devres-test {
400                 compatible = "denx,u-boot-devres-test";
401         };
402
403         another-test {
404                 reg = <0 2>;
405                 compatible = "denx,u-boot-fdt-test";
406                 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
407                 test5-gpios = <&gpio_a 19>;
408         };
409
410         mmio-bus@0 {
411                 #address-cells = <1>;
412                 #size-cells = <1>;
413                 compatible = "denx,u-boot-test-bus";
414                 dma-ranges = <0x10000000 0x00000000 0x00040000>;
415
416                 subnode@0 {
417                         compatible = "denx,u-boot-fdt-test";
418                 };
419         };
420
421         mmio-bus@1 {
422                 #address-cells = <1>;
423                 #size-cells = <1>;
424                 compatible = "denx,u-boot-test-bus";
425
426                 subnode@0 {
427                         compatible = "denx,u-boot-fdt-test";
428                 };
429         };
430
431         acpi_test1: acpi-test {
432                 compatible = "denx,u-boot-acpi-test";
433                 acpi-ssdt-test-data = "ab";
434                 acpi-dsdt-test-data = "hi";
435                 child {
436                         compatible = "denx,u-boot-acpi-test";
437                 };
438         };
439
440         acpi_test2: acpi-test2 {
441                 compatible = "denx,u-boot-acpi-test";
442                 acpi-ssdt-test-data = "cd";
443                 acpi-dsdt-test-data = "jk";
444         };
445
446         clocks {
447                 clk_fixed: clk-fixed {
448                         compatible = "fixed-clock";
449                         #clock-cells = <0>;
450                         clock-frequency = <1234>;
451                 };
452
453                 clk_fixed_factor: clk-fixed-factor {
454                         compatible = "fixed-factor-clock";
455                         #clock-cells = <0>;
456                         clock-div = <3>;
457                         clock-mult = <2>;
458                         clocks = <&clk_fixed>;
459                 };
460
461                 osc {
462                         compatible = "fixed-clock";
463                         #clock-cells = <0>;
464                         clock-frequency = <20000000>;
465                 };
466         };
467
468         clk_sandbox: clk-sbox {
469                 compatible = "sandbox,clk";
470                 #clock-cells = <1>;
471                 assigned-clocks = <&clk_sandbox 3>;
472                 assigned-clock-rates = <321>;
473         };
474
475         clk-test {
476                 compatible = "sandbox,clk-test";
477                 clocks = <&clk_fixed>,
478                          <&clk_sandbox 1>,
479                          <&clk_sandbox 0>,
480                          <&clk_sandbox 3>,
481                          <&clk_sandbox 2>;
482                 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
483         };
484
485         ccf: clk-ccf {
486                 compatible = "sandbox,clk-ccf";
487         };
488
489         eth@10002000 {
490                 compatible = "sandbox,eth";
491                 reg = <0x10002000 0x1000>;
492                 fake-host-hwaddr = [00 00 66 44 22 00];
493         };
494
495         eth_5: eth@10003000 {
496                 compatible = "sandbox,eth";
497                 reg = <0x10003000 0x1000>;
498                 fake-host-hwaddr = [00 00 66 44 22 11];
499         };
500
501         eth_3: sbe5 {
502                 compatible = "sandbox,eth";
503                 reg = <0x10005000 0x1000>;
504                 fake-host-hwaddr = [00 00 66 44 22 33];
505         };
506
507         eth@10004000 {
508                 compatible = "sandbox,eth";
509                 reg = <0x10004000 0x1000>;
510                 fake-host-hwaddr = [00 00 66 44 22 22];
511         };
512
513         dsa_eth0: dsa-test-eth {
514                 compatible = "sandbox,eth";
515                 reg = <0x10006000 0x1000>;
516                 fake-host-hwaddr = [00 00 66 44 22 66];
517         };
518
519         dsa-test {
520                 compatible = "sandbox,dsa";
521
522                 ports {
523                         #address-cells = <1>;
524                         #size-cells = <0>;
525                         swp_0: port@0 {
526                                 reg = <0>;
527                                 label = "lan0";
528                                 phy-mode = "rgmii-rxid";
529
530                                 fixed-link {
531                                         speed = <100>;
532                                         full-duplex;
533                                 };
534                         };
535
536                         swp_1: port@1 {
537                                 reg = <1>;
538                                 label = "lan1";
539                                 phy-mode = "rgmii-txid";
540                                 fixed-link = <0 1 100 0 0>;
541                         };
542
543                         port@2 {
544                                 reg = <2>;
545                                 ethernet = <&dsa_eth0>;
546
547                                 fixed-link {
548                                         speed = <1000>;
549                                         full-duplex;
550                                 };
551                         };
552                 };
553         };
554
555         firmware {
556                 sandbox_firmware: sandbox-firmware {
557                         compatible = "sandbox,firmware";
558                 };
559
560                 sandbox-scmi-agent@0 {
561                         compatible = "sandbox,scmi-agent";
562                         #address-cells = <1>;
563                         #size-cells = <0>;
564
565                         clk_scmi0: protocol@14 {
566                                 reg = <0x14>;
567                                 #clock-cells = <1>;
568                         };
569
570                         reset_scmi0: protocol@16 {
571                                 reg = <0x16>;
572                                 #reset-cells = <1>;
573                         };
574
575                         protocol@17 {
576                                 reg = <0x17>;
577
578                                 regulators {
579                                         #address-cells = <1>;
580                                         #size-cells = <0>;
581
582                                         regul0_scmi0: reg@0 {
583                                                 reg = <0>;
584                                                 regulator-name = "sandbox-voltd0";
585                                                 regulator-min-microvolt = <1100000>;
586                                                 regulator-max-microvolt = <3300000>;
587                                         };
588                                         regul1_scmi0: reg@1 {
589                                                 reg = <0x1>;
590                                                 regulator-name = "sandbox-voltd1";
591                                                 regulator-min-microvolt = <1800000>;
592                                         };
593                                 };
594                         };
595                 };
596
597                 sandbox-scmi-agent@1 {
598                         compatible = "sandbox,scmi-agent";
599                         #address-cells = <1>;
600                         #size-cells = <0>;
601
602                         clk_scmi1: protocol@14 {
603                                 reg = <0x14>;
604                                 #clock-cells = <1>;
605                         };
606
607                         protocol@10 {
608                                 reg = <0x10>;
609                         };
610                 };
611         };
612
613         pinctrl-gpio {
614                 compatible = "sandbox,pinctrl-gpio";
615
616                 gpio_a: base-gpios {
617                         compatible = "sandbox,gpio";
618                         gpio-controller;
619                         #gpio-cells = <1>;
620                         gpio-bank-name = "a";
621                         sandbox,gpio-count = <20>;
622                         hog_input_active_low {
623                                 gpio-hog;
624                                 input;
625                                 gpios = <10 GPIO_ACTIVE_LOW>;
626                         };
627                         hog_input_active_high {
628                                 gpio-hog;
629                                 input;
630                                 gpios = <11 GPIO_ACTIVE_HIGH>;
631                         };
632                         hog_output_low {
633                                 gpio-hog;
634                                 output-low;
635                                 gpios = <12 GPIO_ACTIVE_HIGH>;
636                         };
637                         hog_output_high {
638                                 gpio-hog;
639                                 output-high;
640                                 gpios = <13 GPIO_ACTIVE_HIGH>;
641                         };
642                 };
643
644                 gpio_b: extra-gpios {
645                         compatible = "sandbox,gpio";
646                         gpio-controller;
647                         #gpio-cells = <5>;
648                         gpio-bank-name = "b";
649                         sandbox,gpio-count = <10>;
650                 };
651
652                 gpio_c: pinmux-gpios {
653                         compatible = "sandbox,gpio";
654                         gpio-controller;
655                         #gpio-cells = <2>;
656                         gpio-bank-name = "c";
657                         sandbox,gpio-count = <10>;
658                 };
659         };
660
661         i2c@0 {
662                 #address-cells = <1>;
663                 #size-cells = <0>;
664                 reg = <0 1>;
665                 compatible = "sandbox,i2c";
666                 clock-frequency = <100000>;
667                 pinctrl-names = "default";
668                 pinctrl-0 = <&pinmux_i2c0_pins>;
669
670                 eeprom@2c {
671                         reg = <0x2c>;
672                         compatible = "i2c-eeprom";
673                         sandbox,emul = <&emul_eeprom>;
674                         partitions {
675                                 compatible = "fixed-partitions";
676                                 #address-cells = <1>;
677                                 #size-cells = <1>;
678                                 bootcount_i2c: bootcount@10 {
679                                         reg = <10 2>;
680                                 };
681                         };
682                 };
683
684                 rtc_0: rtc@43 {
685                         reg = <0x43>;
686                         compatible = "sandbox-rtc";
687                         sandbox,emul = <&emul0>;
688                 };
689
690                 rtc_1: rtc@61 {
691                         reg = <0x61>;
692                         compatible = "sandbox-rtc";
693                         sandbox,emul = <&emul1>;
694                 };
695
696                 i2c_emul: emul {
697                         reg = <0xff>;
698                         compatible = "sandbox,i2c-emul-parent";
699                         emul_eeprom: emul-eeprom {
700                                 compatible = "sandbox,i2c-eeprom";
701                                 sandbox,filename = "i2c.bin";
702                                 sandbox,size = <256>;
703                         };
704                         emul0: emul0 {
705                                 compatible = "sandbox,i2c-rtc-emul";
706                         };
707                         emul1: emull {
708                                 compatible = "sandbox,i2c-rtc-emul";
709                         };
710                 };
711
712                 sandbox_pmic: sandbox_pmic {
713                         reg = <0x40>;
714                         sandbox,emul = <&emul_pmic0>;
715                 };
716
717                 mc34708: pmic@41 {
718                         reg = <0x41>;
719                         sandbox,emul = <&emul_pmic1>;
720                 };
721         };
722
723         bootcount@0 {
724                 compatible = "u-boot,bootcount-rtc";
725                 rtc = <&rtc_1>;
726                 offset = <0x13>;
727         };
728
729         bootcount {
730                 compatible = "u-boot,bootcount-i2c-eeprom";
731                 i2c-eeprom = <&bootcount_i2c>;
732         };
733
734         bootcount_4@0 {
735                 compatible = "u-boot,bootcount-syscon";
736                 syscon = <&syscon0>;
737                 reg = <0x0 0x04>, <0x0 0x04>;
738                 reg-names = "syscon_reg", "offset";
739         };
740
741         bootcount_2@0 {
742                 compatible = "u-boot,bootcount-syscon";
743                 syscon = <&syscon0>;
744                 reg = <0x0 0x04>, <0x0 0x02> ;
745                 reg-names = "syscon_reg", "offset";
746         };
747
748         adc: adc@0 {
749                 compatible = "sandbox,adc";
750                 #io-channel-cells = <1>;
751                 vdd-supply = <&buck2>;
752                 vss-microvolts = <0>;
753         };
754
755         irq: irq {
756                 compatible = "sandbox,irq";
757                 interrupt-controller;
758                 #interrupt-cells = <2>;
759         };
760
761         lcd {
762                 u-boot,dm-pre-reloc;
763                 compatible = "sandbox,lcd-sdl";
764                 pinctrl-names = "default";
765                 pinctrl-0 = <&pinmux_lcd_pins>;
766                 xres = <1366>;
767                 yres = <768>;
768         };
769
770         leds {
771                 compatible = "gpio-leds";
772
773                 iracibble {
774                         gpios = <&gpio_a 1 0>;
775                         label = "sandbox:red";
776                 };
777
778                 martinet {
779                         gpios = <&gpio_a 2 0>;
780                         label = "sandbox:green";
781                 };
782
783                 default_on {
784                         gpios = <&gpio_a 5 0>;
785                         label = "sandbox:default_on";
786                         default-state = "on";
787                 };
788
789                 default_off {
790                         gpios = <&gpio_a 6 0>;
791                         /* label intentionally omitted */
792                         default-state = "off";
793                 };
794         };
795
796         mbox: mbox {
797                 compatible = "sandbox,mbox";
798                 #mbox-cells = <1>;
799         };
800
801         mbox-test {
802                 compatible = "sandbox,mbox-test";
803                 mboxes = <&mbox 100>, <&mbox 1>;
804                 mbox-names = "other", "test";
805         };
806
807         cpus {
808                 timebase-frequency = <2000000>;
809                 cpu-test1 {
810                         timebase-frequency = <3000000>;
811                         compatible = "sandbox,cpu_sandbox";
812                         u-boot,dm-pre-reloc;
813                 };
814
815                 cpu-test2 {
816                         compatible = "sandbox,cpu_sandbox";
817                         u-boot,dm-pre-reloc;
818                 };
819
820                 cpu-test3 {
821                         compatible = "sandbox,cpu_sandbox";
822                         u-boot,dm-pre-reloc;
823                 };
824         };
825
826         chipid: chipid {
827                 compatible = "sandbox,soc";
828         };
829
830         i2s: i2s {
831                 compatible = "sandbox,i2s";
832                 #sound-dai-cells = <1>;
833                 sandbox,silent; /* Don't emit sounds while testing */
834         };
835
836         nop-test_0 {
837                 compatible = "sandbox,nop_sandbox1";
838                 nop-test_1 {
839                         compatible = "sandbox,nop_sandbox2";
840                         bind = "True";
841                 };
842                 nop-test_2 {
843                         compatible = "sandbox,nop_sandbox2";
844                         bind = "False";
845                 };
846         };
847
848         misc-test {
849                 compatible = "sandbox,misc_sandbox";
850         };
851
852         mmc2 {
853                 compatible = "sandbox,mmc";
854                 non-removable;
855         };
856
857         mmc1 {
858                 compatible = "sandbox,mmc";
859         };
860
861         mmc0 {
862                 compatible = "sandbox,mmc";
863         };
864
865         pch {
866                 compatible = "sandbox,pch";
867         };
868
869         pci0: pci@0 {
870                 compatible = "sandbox,pci";
871                 device_type = "pci";
872                 bus-range = <0x00 0xff>;
873                 #address-cells = <3>;
874                 #size-cells = <2>;
875                 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
876                                 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
877                 pci@0,0 {
878                         compatible = "pci-generic";
879                         reg = <0x0000 0 0 0 0>;
880                         sandbox,emul = <&swap_case_emul0_0>;
881                 };
882                 pci@1,0 {
883                         compatible = "pci-generic";
884                         /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
885                         reg = <0x02000814 0 0 0 0
886                                0x01000810 0 0 0 0>;
887                         sandbox,emul = <&swap_case_emul0_1>;
888                 };
889                 p2sb-pci@2,0 {
890                         compatible = "sandbox,p2sb";
891                         reg = <0x02001010 0 0 0 0>;
892                         sandbox,emul = <&p2sb_emul>;
893
894                         adder {
895                                 intel,p2sb-port-id = <3>;
896                                 compatible = "sandbox,adder";
897                         };
898                 };
899                 pci@1e,0 {
900                         compatible = "sandbox,pmc";
901                         reg = <0xf000 0 0 0 0>;
902                         sandbox,emul = <&pmc_emul1e>;
903                         acpi-base = <0x400>;
904                         gpe0-dwx-mask = <0xf>;
905                         gpe0-dwx-shift-base = <4>;
906                         gpe0-dw = <6 7 9>;
907                         gpe0-sts = <0x20>;
908                         gpe0-en = <0x30>;
909                 };
910                 pci@1f,0 {
911                         compatible = "pci-generic";
912                         /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
913                         reg = <0x0100f810 0 0 0 0>;
914                         sandbox,emul = <&swap_case_emul0_1f>;
915                 };
916         };
917
918         pci-emul0 {
919                 compatible = "sandbox,pci-emul-parent";
920                 swap_case_emul0_0: emul0@0,0 {
921                         compatible = "sandbox,swap-case";
922                 };
923                 swap_case_emul0_1: emul0@1,0 {
924                         compatible = "sandbox,swap-case";
925                         use-ea;
926                 };
927                 swap_case_emul0_1f: emul0@1f,0 {
928                         compatible = "sandbox,swap-case";
929                 };
930                 p2sb_emul: emul@2,0 {
931                         compatible = "sandbox,p2sb-emul";
932                 };
933                 pmc_emul1e: emul@1e,0 {
934                         compatible = "sandbox,pmc-emul";
935                 };
936         };
937
938         pci1: pci@1 {
939                 compatible = "sandbox,pci";
940                 device_type = "pci";
941                 bus-range = <0x00 0xff>;
942                 #address-cells = <3>;
943                 #size-cells = <2>;
944                 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 // MEM0
945                           0x02000000 0 0x31000000 0x31000000 0 0x2000 // MEM1
946                           0x01000000 0 0x40000000 0x40000000 0 0x2000>;
947                 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
948                                     0x0c 0x00 0x1234 0x5678
949                                     0x10 0x00 0x1234 0x5678>;
950                 pci@10,0 {
951                         reg = <0x8000 0 0 0 0>;
952                 };
953         };
954
955         pci2: pci@2 {
956                 compatible = "sandbox,pci";
957                 device_type = "pci";
958                 bus-range = <0x00 0xff>;
959                 #address-cells = <3>;
960                 #size-cells = <2>;
961                 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
962                                 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
963                 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
964                 pci@1f,0 {
965                         compatible = "pci-generic";
966                         reg = <0xf800 0 0 0 0>;
967                         sandbox,emul = <&swap_case_emul2_1f>;
968                 };
969         };
970
971         pci-emul2 {
972                 compatible = "sandbox,pci-emul-parent";
973                 swap_case_emul2_1f: emul2@1f,0 {
974                         compatible = "sandbox,swap-case";
975                 };
976         };
977
978         pci_ep: pci_ep {
979                 compatible = "sandbox,pci_ep";
980         };
981
982         probing {
983                 compatible = "simple-bus";
984                 test1 {
985                         compatible = "denx,u-boot-probe-test";
986                 };
987
988                 test2 {
989                         compatible = "denx,u-boot-probe-test";
990                 };
991
992                 test3 {
993                         compatible = "denx,u-boot-probe-test";
994                 };
995
996                 test4 {
997                         compatible = "denx,u-boot-probe-test";
998                         first-syscon = <&syscon0>;
999                         second-sys-ctrl = <&another_system_controller>;
1000                         third-syscon = <&syscon2>;
1001                 };
1002         };
1003
1004         pwrdom: power-domain {
1005                 compatible = "sandbox,power-domain";
1006                 #power-domain-cells = <1>;
1007         };
1008
1009         power-domain-test {
1010                 compatible = "sandbox,power-domain-test";
1011                 power-domains = <&pwrdom 2>;
1012         };
1013
1014         pwm: pwm {
1015                 compatible = "sandbox,pwm";
1016                 #pwm-cells = <2>;
1017                 pinctrl-names = "default";
1018                 pinctrl-0 = <&pinmux_pwm_pins>;
1019         };
1020
1021         pwm2 {
1022                 compatible = "sandbox,pwm";
1023                 #pwm-cells = <2>;
1024         };
1025
1026         ram {
1027                 compatible = "sandbox,ram";
1028         };
1029
1030         reset@0 {
1031                 compatible = "sandbox,warm-reset";
1032         };
1033
1034         reset@1 {
1035                 compatible = "sandbox,reset";
1036         };
1037
1038         resetc: reset-ctl {
1039                 compatible = "sandbox,reset-ctl";
1040                 #reset-cells = <1>;
1041         };
1042
1043         reset-ctl-test {
1044                 compatible = "sandbox,reset-ctl-test";
1045                 resets = <&resetc 100>, <&resetc 2>, <&resetc 20>, <&resetc 40>;
1046                 reset-names = "other", "test", "test2", "test3";
1047         };
1048
1049         rng {
1050                 compatible = "sandbox,sandbox-rng";
1051         };
1052
1053         rproc_1: rproc@1 {
1054                 compatible = "sandbox,test-processor";
1055                 remoteproc-name = "remoteproc-test-dev1";
1056         };
1057
1058         rproc_2: rproc@2 {
1059                 compatible = "sandbox,test-processor";
1060                 internal-memory-mapped;
1061                 remoteproc-name = "remoteproc-test-dev2";
1062         };
1063
1064         panel {
1065                 compatible = "simple-panel";
1066                 backlight = <&backlight 0 100>;
1067         };
1068
1069         smem@0 {
1070                 compatible = "sandbox,smem";
1071         };
1072
1073         sound {
1074                 compatible = "sandbox,sound";
1075                 cpu {
1076                         sound-dai = <&i2s 0>;
1077                 };
1078
1079                 codec {
1080                         sound-dai = <&audio 0>;
1081                 };
1082         };
1083
1084         spi@0 {
1085                 #address-cells = <1>;
1086                 #size-cells = <0>;
1087                 reg = <0 1>;
1088                 compatible = "sandbox,spi";
1089                 cs-gpios = <0>, <0>, <&gpio_a 0>;
1090                 pinctrl-names = "default";
1091                 pinctrl-0 = <&pinmux_spi0_pins>;
1092
1093                 spi.bin@0 {
1094                         reg = <0>;
1095                         compatible = "spansion,m25p16", "jedec,spi-nor";
1096                         spi-max-frequency = <40000000>;
1097                         sandbox,filename = "spi.bin";
1098                 };
1099                 spi.bin@1 {
1100                         reg = <1>;
1101                         compatible = "spansion,m25p16", "jedec,spi-nor";
1102                         spi-max-frequency = <50000000>;
1103                         sandbox,filename = "spi.bin";
1104                         spi-cpol;
1105                         spi-cpha;
1106                 };
1107         };
1108
1109         syscon0: syscon@0 {
1110                 compatible = "sandbox,syscon0";
1111                 reg = <0x10 16>;
1112         };
1113
1114         another_system_controller: syscon@1 {
1115                 compatible = "sandbox,syscon1";
1116                 reg = <0x20 5
1117                         0x28 6
1118                         0x30 7
1119                         0x38 8>;
1120         };
1121
1122         syscon2: syscon@2 {
1123                 compatible = "simple-mfd", "syscon";
1124                 reg = <0x40 5
1125                         0x48 6
1126                         0x50 7
1127                         0x58 8>;
1128         };
1129
1130         syscon3: syscon@3 {
1131                 compatible = "simple-mfd", "syscon";
1132                 reg = <0x000100 0x10>;
1133
1134                 muxcontroller0: a-mux-controller {
1135                         compatible = "mmio-mux";
1136                         #mux-control-cells = <1>;
1137
1138                         mux-reg-masks = <0x0 0x30>, /* 0: reg 0x0, bits 5:4 */
1139                                         <0xc 0x1E>, /* 1: reg 0xc, bits 4:1 */
1140                                         <0x4 0xFF>; /* 2: reg 0x4, bits 7:0 */
1141                         idle-states = <MUX_IDLE_AS_IS>, <0x02>, <0x73>;
1142                         u-boot,mux-autoprobe;
1143                 };
1144         };
1145
1146         muxcontroller1: emul-mux-controller {
1147                 compatible = "mux-emul";
1148                 #mux-control-cells = <0>;
1149                 u-boot,mux-autoprobe;
1150                 idle-state = <0xabcd>;
1151         };
1152
1153         testfdtm0 {
1154                 compatible = "denx,u-boot-fdtm-test";
1155         };
1156
1157         testfdtm1: testfdtm1 {
1158                 compatible = "denx,u-boot-fdtm-test";
1159         };
1160
1161         testfdtm2 {
1162                 compatible = "denx,u-boot-fdtm-test";
1163         };
1164
1165         timer@0 {
1166                 compatible = "sandbox,timer";
1167                 clock-frequency = <1000000>;
1168         };
1169
1170         timer@1 {
1171                 compatible = "sandbox,timer";
1172                 sandbox,timebase-frequency-fallback;
1173         };
1174
1175         tpm2 {
1176                 compatible = "sandbox,tpm2";
1177         };
1178
1179         uart0: serial {
1180                 compatible = "sandbox,serial";
1181                 u-boot,dm-pre-reloc;
1182                 pinctrl-names = "default";
1183                 pinctrl-0 = <&pinmux_uart0_pins>;
1184         };
1185
1186         usb_0: usb@0 {
1187                 compatible = "sandbox,usb";
1188                 status = "disabled";
1189                 hub {
1190                         compatible = "sandbox,usb-hub";
1191                         #address-cells = <1>;
1192                         #size-cells = <0>;
1193                         flash-stick {
1194                                 reg = <0>;
1195                                 compatible = "sandbox,usb-flash";
1196                         };
1197                 };
1198         };
1199
1200         usb_1: usb@1 {
1201                 compatible = "sandbox,usb";
1202                 hub {
1203                         compatible = "usb-hub";
1204                         usb,device-class = <9>;
1205                         #address-cells = <1>;
1206                         #size-cells = <0>;
1207                         hub-emul {
1208                                 compatible = "sandbox,usb-hub";
1209                                 #address-cells = <1>;
1210                                 #size-cells = <0>;
1211                                 flash-stick@0 {
1212                                         reg = <0>;
1213                                         compatible = "sandbox,usb-flash";
1214                                         sandbox,filepath = "testflash.bin";
1215                                 };
1216
1217                                 flash-stick@1 {
1218                                         reg = <1>;
1219                                         compatible = "sandbox,usb-flash";
1220                                         sandbox,filepath = "testflash1.bin";
1221                                 };
1222
1223                                 flash-stick@2 {
1224                                         reg = <2>;
1225                                         compatible = "sandbox,usb-flash";
1226                                         sandbox,filepath = "testflash2.bin";
1227                                 };
1228
1229                                 keyb@3 {
1230                                         reg = <3>;
1231                                         compatible = "sandbox,usb-keyb";
1232                                 };
1233
1234                         };
1235
1236                         usbstor@1 {
1237                                 reg = <1>;
1238                         };
1239                         usbstor@3 {
1240                                 reg = <3>;
1241                         };
1242                 };
1243         };
1244
1245         usb_2: usb@2 {
1246                 compatible = "sandbox,usb";
1247                 status = "disabled";
1248         };
1249
1250         spmi: spmi@0 {
1251                 compatible = "sandbox,spmi";
1252                 #address-cells = <0x1>;
1253                 #size-cells = <0x1>;
1254                 ranges;
1255                 pm8916@0 {
1256                         compatible = "qcom,spmi-pmic";
1257                         reg = <0x0 0x1>;
1258                         #address-cells = <0x1>;
1259                         #size-cells = <0x1>;
1260                         ranges;
1261
1262                         spmi_gpios: gpios@c000 {
1263                                 compatible = "qcom,pm8916-gpio";
1264                                 reg = <0xc000 0x400>;
1265                                 gpio-controller;
1266                                 gpio-count = <4>;
1267                                 #gpio-cells = <2>;
1268                                 gpio-bank-name="spmi";
1269                         };
1270                 };
1271         };
1272
1273         wdt0: wdt@0 {
1274                 compatible = "sandbox,wdt";
1275         };
1276
1277         axi: axi@0 {
1278                 compatible = "sandbox,axi";
1279                 #address-cells = <0x1>;
1280                 #size-cells = <0x1>;
1281                 store@0 {
1282                         compatible = "sandbox,sandbox_store";
1283                         reg = <0x0 0x400>;
1284                 };
1285         };
1286
1287         chosen {
1288                 #address-cells = <1>;
1289                 #size-cells = <1>;
1290                 setting = "sunrise ohoka";
1291                 other-node = "/some-bus/c-test@5";
1292                 int-values = <0x1937 72993>;
1293                 u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>;
1294                 chosen-test {
1295                         compatible = "denx,u-boot-fdt-test";
1296                         reg = <9 1>;
1297                 };
1298         };
1299
1300         translation-test@8000 {
1301                 compatible = "simple-bus";
1302                 reg = <0x8000 0x4000>;
1303
1304                 #address-cells = <0x2>;
1305                 #size-cells = <0x1>;
1306
1307                 ranges = <0 0x0 0x8000 0x1000
1308                           1 0x100 0x9000 0x1000
1309                           2 0x200 0xA000 0x1000
1310                           3 0x300 0xB000 0x1000
1311                          >;
1312
1313                 dma-ranges = <0 0x000 0x10000000 0x1000
1314                               1 0x100 0x20000000 0x1000
1315                              >;
1316
1317                 dev@0,0 {
1318                         compatible = "denx,u-boot-fdt-dummy";
1319                         reg = <0 0x0 0x1000>;
1320                         reg-names = "sandbox-dummy-0";
1321                 };
1322
1323                 dev@1,100 {
1324                         compatible = "denx,u-boot-fdt-dummy";
1325                         reg = <1 0x100 0x1000>;
1326
1327                 };
1328
1329                 dev@2,200 {
1330                         compatible = "denx,u-boot-fdt-dummy";
1331                         reg = <2 0x200 0x1000>;
1332                 };
1333
1334
1335                 noxlatebus@3,300 {
1336                         compatible = "simple-bus";
1337                         reg = <3 0x300 0x1000>;
1338
1339                         #address-cells = <0x1>;
1340                         #size-cells = <0x0>;
1341
1342                         dev@42 {
1343                                 compatible = "denx,u-boot-fdt-dummy";
1344                                 reg = <0x42>;
1345                         };
1346                 };
1347         };
1348
1349         osd {
1350                 compatible = "sandbox,sandbox_osd";
1351         };
1352
1353         sandbox_tee {
1354                 compatible = "sandbox,tee";
1355         };
1356
1357         sandbox_virtio1 {
1358                 compatible = "sandbox,virtio1";
1359         };
1360
1361         sandbox_virtio2 {
1362                 compatible = "sandbox,virtio2";
1363         };
1364
1365         sandbox_scmi {
1366                 compatible = "sandbox,scmi-devices";
1367                 clocks = <&clk_scmi0 7>, <&clk_scmi0 3>, <&clk_scmi1 1>;
1368                 resets = <&reset_scmi0 3>;
1369                 regul0-supply = <&regul0_scmi0>;
1370                 regul1-supply = <&regul1_scmi0>;
1371         };
1372
1373         pinctrl {
1374                 compatible = "sandbox,pinctrl";
1375
1376                 pinctrl-names = "default", "alternate";
1377                 pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>;
1378                 pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>;
1379
1380                 pinctrl_gpios: gpios {
1381                         gpio0 {
1382                                 pins = "P5";
1383                                 function = "GPIO";
1384                                 bias-pull-up;
1385                                 input-disable;
1386                         };
1387                         gpio1 {
1388                                 pins = "P6";
1389                                 function = "GPIO";
1390                                 output-high;
1391                                 drive-open-drain;
1392                         };
1393                         gpio2 {
1394                                 pinmux = <SANDBOX_PINMUX(7, SANDBOX_PINMUX_GPIO)>;
1395                                 bias-pull-down;
1396                                 input-enable;
1397                         };
1398                         gpio3 {
1399                                 pinmux = <SANDBOX_PINMUX(8, SANDBOX_PINMUX_GPIO)>;
1400                                 bias-disable;
1401                         };
1402                 };
1403
1404                 pinctrl_i2c: i2c {
1405                         groups {
1406                                 groups = "I2C_UART";
1407                                 function = "I2C";
1408                         };
1409
1410                         pins {
1411                                 pins = "P0", "P1";
1412                                 drive-open-drain;
1413                         };
1414                 };
1415
1416                 pinctrl_i2s: i2s {
1417                         groups = "SPI_I2S";
1418                         function = "I2S";
1419                 };
1420
1421                 pinctrl_spi: spi {
1422                         groups = "SPI_I2S";
1423                         function = "SPI";
1424
1425                         cs {
1426                                 pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>,
1427                                          <SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>;
1428                         };
1429                 };
1430         };
1431
1432         pinctrl-single-no-width {
1433                 compatible = "pinctrl-single";
1434                 reg = <0x0000 0x238>;
1435                 #pinctrl-cells = <1>;
1436                 pinctrl-single,function-mask = <0x7f>;
1437         };
1438
1439         pinctrl-single-pins {
1440                 compatible = "pinctrl-single";
1441                 reg = <0x0000 0x238>;
1442                 #pinctrl-cells = <1>;
1443                 pinctrl-single,register-width = <32>;
1444                 pinctrl-single,function-mask = <0x7f>;
1445
1446                 pinmux_pwm_pins: pinmux_pwm_pins {
1447                         pinctrl-single,pins = < 0x48 0x06 >;
1448                 };
1449
1450                 pinmux_spi0_pins: pinmux_spi0_pins {
1451                         pinctrl-single,pins = <
1452                                 0x190 0x0c
1453                                 0x194 0x0c
1454                                 0x198 0x23
1455                                 0x19c 0x0c
1456                         >;
1457                 };
1458
1459                 pinmux_uart0_pins: pinmux_uart0_pins {
1460                         pinctrl-single,pins = <
1461                                 0x70 0x30
1462                                 0x74 0x00
1463                         >;
1464                 };
1465         };
1466
1467         pinctrl-single-bits {
1468                 compatible = "pinctrl-single";
1469                 reg = <0x0000 0x50>;
1470                 #pinctrl-cells = <2>;
1471                 pinctrl-single,bit-per-mux;
1472                 pinctrl-single,register-width = <32>;
1473                 pinctrl-single,function-mask = <0xf>;
1474
1475                 pinmux_i2c0_pins: pinmux_i2c0_pins {
1476                         pinctrl-single,bits = <
1477                                 0x10 0x00002200 0x0000ff00
1478                         >;
1479                 };
1480
1481                 pinmux_lcd_pins: pinmux_lcd_pins {
1482                         pinctrl-single,bits = <
1483                                 0x40 0x22222200 0xffffff00
1484                                 0x44 0x22222222 0xffffffff
1485                                 0x48 0x00000022 0x000000ff
1486                                 0x48 0x02000000 0x0f000000
1487                                 0x4c 0x02000022 0x0f0000ff
1488                         >;
1489                 };
1490         };
1491
1492         hwspinlock@0 {
1493                 compatible = "sandbox,hwspinlock";
1494         };
1495
1496         dma: dma {
1497                 compatible = "sandbox,dma";
1498                 #dma-cells = <1>;
1499
1500                 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
1501                 dma-names = "m2m", "tx0", "rx0";
1502         };
1503
1504         /*
1505          * keep mdio-mux ahead of mdio so that the mux is removed first at the
1506          * end of the test.  If parent mdio is removed first, clean-up of the
1507          * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
1508          * active at the end of the test.  That it turn doesn't allow the mdio
1509          * class to be destroyed, triggering an error.
1510          */
1511         mdio-mux-test {
1512                 compatible = "sandbox,mdio-mux";
1513                 #address-cells = <1>;
1514                 #size-cells = <0>;
1515                 mdio-parent-bus = <&mdio>;
1516
1517                 mdio-ch-test@0 {
1518                         reg = <0>;
1519                 };
1520                 mdio-ch-test@1 {
1521                         reg = <1>;
1522                 };
1523         };
1524
1525         mdio: mdio-test {
1526                 compatible = "sandbox,mdio";
1527         };
1528
1529         pm-bus-test {
1530                 compatible = "simple-pm-bus";
1531                 clocks = <&clk_sandbox 4>;
1532                 power-domains = <&pwrdom 1>;
1533         };
1534
1535         resetc2: syscon-reset {
1536                 compatible = "syscon-reset";
1537                 #reset-cells = <1>;
1538                 regmap = <&syscon0>;
1539                 offset = <1>;
1540                 mask = <0x27FFFFFF>;
1541                 assert-high = <0>;
1542         };
1543
1544         syscon-reset-test {
1545                 compatible = "sandbox,misc_sandbox";
1546                 resets = <&resetc2 15>, <&resetc2 30>, <&resetc2 60>;
1547                 reset-names = "valid", "no_mask", "out_of_range";
1548         };
1549
1550         sysinfo {
1551                 compatible = "sandbox,sysinfo-sandbox";
1552         };
1553
1554         sysinfo-gpio {
1555                 compatible = "gpio-sysinfo";
1556                 gpios = <&gpio_a 15>, <&gpio_a 16>, <&gpio_a 17>;
1557                 revisions = <19>, <5>;
1558                 names = "rev_a", "foo";
1559         };
1560
1561         some_regmapped-bus {
1562                 #address-cells = <0x1>;
1563                 #size-cells = <0x1>;
1564
1565                 ranges = <0x0 0x0 0x10>;
1566                 compatible = "simple-bus";
1567
1568                 regmap-test_0 {
1569                         reg = <0 0x10>;
1570                         compatible = "sandbox,regmap_test";
1571                 };
1572         };
1573 };
1574
1575 #include "sandbox_pmic.dtsi"
1576 #include "cros-ec-keyboard.dtsi"