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