5 compatible = "sandbox";
11 eth0 = "/eth@10002000";
22 remoteproc1 = &rproc_1;
23 remoteproc2 = &rproc_2;
28 testbus3 = "/some-bus";
29 testfdt0 = "/some-bus/c-test@0";
30 testfdt1 = "/some-bus/c-test@1";
32 testfdt5 = "/some-bus/c-test@5";
34 fdt-dummy0 = "/translation-test@8000/dev@0,0";
35 fdt-dummy1 = "/translation-test@8000/dev@1,100";
36 fdt-dummy2 = "/translation-test@8000/dev@2,200";
37 fdt-dummy3 = "/translation-test@8000/noxlatebus@3,300/dev@42";
47 compatible = "google,cros-ec-sandbox";
50 * This describes the flash memory within the EC. Note
51 * that the STM32L flash erases to 0, not 0xff.
54 image-pos = <0x08000000>;
58 /* Information for sandbox */
68 image-pos = <0x10000>;
76 compatible = "denx,u-boot-fdt-test";
80 test-gpios = <&gpio_a 1>, <&gpio_a 4>, <&gpio_b 5 0 3 2 1>,
82 test2-gpios = <&gpio_a 1>, <&gpio_a 4>, <&gpio_b 6 1 3 2 1>,
83 <&gpio_b 7 2 3 2 1>, <&gpio_b 8 4 3 2 1>,
84 <&gpio_b 9 0xc 3 2 1>;
89 compatible = "not,compatible";
96 backlight: backlight {
97 compatible = "pwm-backlight";
98 enable-gpios = <&gpio_a 1>;
99 power-supply = <&ldo_1>;
100 pwms = <&pwm 0 1000>;
101 default-brightness-level = <5>;
102 brightness-levels = <0 16 32 64 128 170 202 234 255>;
107 compatible = "sandbox,phy";
112 compatible = "simple-bus";
118 compatible = "denx,u-boot-fdt-test";
123 phy_provider0: gen_phy@0 {
124 compatible = "sandbox,phy";
128 phy_provider1: gen_phy@1 {
129 compatible = "sandbox,phy";
134 gen_phy_user: gen_phy_user {
135 compatible = "simple-bus";
136 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
137 phy-names = "phy1", "phy2", "phy3";
141 #address-cells = <1>;
143 compatible = "denx,u-boot-test-bus";
148 compatible = "denx,u-boot-fdt-test";
154 compatible = "denx,u-boot-fdt-test";
160 compatible = "denx,u-boot-fdt-test";
171 compatible = "google,another-fdt-test";
178 compatible = "google,another-fdt-test";
182 compatible = "denx,u-boot-fdt-test";
186 compatible = "denx,u-boot-fdt-test";
190 compatible = "denx,u-boot-fdt-test1";
194 clk_fixed: clk-fixed {
195 compatible = "fixed-clock";
197 clock-frequency = <1234>;
201 clk_sandbox: clk-sbox {
202 compatible = "sandbox,clk";
207 compatible = "sandbox,clk-test";
208 clocks = <&clk_fixed>,
211 clock-names = "fixed", "i2c", "spi";
215 compatible = "sandbox,eth";
216 reg = <0x10002000 0x1000>;
217 fake-host-hwaddr = [00 00 66 44 22 00];
220 eth_5: eth@10003000 {
221 compatible = "sandbox,eth";
222 reg = <0x10003000 0x1000>;
223 fake-host-hwaddr = [00 00 66 44 22 11];
227 compatible = "sandbox,eth";
228 reg = <0x10005000 0x1000>;
229 fake-host-hwaddr = [00 00 66 44 22 33];
233 compatible = "sandbox,eth";
234 reg = <0x10004000 0x1000>;
235 fake-host-hwaddr = [00 00 66 44 22 22];
239 sandbox_firmware: sandbox-firmware {
240 compatible = "sandbox,firmware";
245 compatible = "sandbox,gpio";
248 gpio-bank-name = "a";
249 sandbox,gpio-count = <20>;
252 gpio_b: extra-gpios {
253 compatible = "sandbox,gpio";
256 gpio-bank-name = "b";
257 sandbox,gpio-count = <10>;
261 #address-cells = <1>;
264 compatible = "sandbox,i2c";
265 clock-frequency = <100000>;
268 compatible = "i2c-eeprom";
269 sandbox,emul = <&emul_eeprom>;
274 compatible = "sandbox-rtc";
275 sandbox,emul = <&emul0>;
280 compatible = "sandbox-rtc";
281 sandbox,emul = <&emul1>;
286 compatible = "sandbox,i2c-emul-parent";
287 emul_eeprom: emul-eeprom {
288 compatible = "sandbox,i2c-eeprom";
289 sandbox,filename = "i2c.bin";
290 sandbox,size = <256>;
293 compatible = "sandbox,i2c-rtc";
296 compatible = "sandbox,i2c-rtc";
300 sandbox_pmic: sandbox_pmic {
302 sandbox,emul = <&emul_pmic0>;
307 sandbox,emul = <&emul_pmic1>;
312 compatible = "sandbox,adc";
313 vdd-supply = <&buck2>;
314 vss-microvolts = <0>;
319 compatible = "sandbox,lcd-sdl";
325 compatible = "gpio-leds";
328 gpios = <&gpio_a 1 0>;
329 label = "sandbox:red";
333 gpios = <&gpio_a 2 0>;
334 label = "sandbox:green";
338 gpios = <&gpio_a 5 0>;
339 label = "sandbox:default_on";
340 default-state = "on";
344 gpios = <&gpio_a 6 0>;
345 label = "sandbox:default_off";
346 default-state = "off";
351 compatible = "sandbox,mbox";
356 compatible = "sandbox,mbox-test";
357 mboxes = <&mbox 100>, <&mbox 1>;
358 mbox-names = "other", "test";
362 compatible = "sandbox,cpu_sandbox";
367 compatible = "sandbox,cpu_sandbox";
372 compatible = "sandbox,cpu_sandbox";
377 compatible = "sandbox,misc_sandbox";
381 compatible = "sandbox,mmc";
385 compatible = "sandbox,mmc";
389 compatible = "sandbox,mmc";
392 pci0: pci-controller0 {
393 compatible = "sandbox,pci";
395 #address-cells = <3>;
397 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
398 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
400 compatible = "pci-generic";
401 reg = <0x0000 0 0 0 0>;
403 compatible = "sandbox,swap-case";
407 compatible = "pci-generic";
408 reg = <0xf800 0 0 0 0>;
410 compatible = "sandbox,swap-case";
415 pci1: pci-controller1 {
416 compatible = "sandbox,pci";
418 #address-cells = <3>;
420 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000
421 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
422 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
423 0x0c 0x00 0x1234 0x5678
424 0x10 0x00 0x1234 0x5678>;
426 reg = <0x8000 0 0 0 0>;
430 pci2: pci-controller2 {
431 compatible = "sandbox,pci";
433 #address-cells = <3>;
435 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
436 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
437 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
439 compatible = "pci-generic";
440 reg = <0xf800 0 0 0 0>;
442 compatible = "sandbox,swap-case";
448 compatible = "simple-bus";
450 compatible = "denx,u-boot-probe-test";
454 compatible = "denx,u-boot-probe-test";
458 compatible = "denx,u-boot-probe-test";
462 compatible = "denx,u-boot-probe-test";
463 first-syscon = <&syscon0>;
464 second-sys-ctrl = <&another_system_controller>;
468 pwrdom: power-domain {
469 compatible = "sandbox,power-domain";
470 #power-domain-cells = <1>;
474 compatible = "sandbox,power-domain-test";
475 power-domains = <&pwrdom 2>;
479 compatible = "sandbox,pwm";
484 compatible = "sandbox,pwm";
489 compatible = "sandbox,ram";
493 compatible = "sandbox,warm-reset";
497 compatible = "sandbox,reset";
501 compatible = "sandbox,reset-ctl";
506 compatible = "sandbox,reset-ctl-test";
507 resets = <&resetc 100>, <&resetc 2>;
508 reset-names = "other", "test";
512 compatible = "sandbox,test-processor";
513 remoteproc-name = "remoteproc-test-dev1";
517 compatible = "sandbox,test-processor";
518 internal-memory-mapped;
519 remoteproc-name = "remoteproc-test-dev2";
523 compatible = "simple-panel";
524 backlight = <&backlight 0 100>;
528 compatible = "sandbox,smem";
532 #address-cells = <1>;
535 compatible = "sandbox,spi";
536 cs-gpios = <0>, <&gpio_a 0>;
539 compatible = "spansion,m25p16", "spi-flash";
540 spi-max-frequency = <40000000>;
541 sandbox,filename = "spi.bin";
546 compatible = "sandbox,syscon0";
550 another_system_controller: syscon@1 {
551 compatible = "sandbox,syscon1";
559 compatible = "simple-mfd", "syscon";
567 compatible = "sandbox,timer";
568 clock-frequency = <1000000>;
572 compatible = "sandbox,tpm2";
576 compatible = "sandbox,serial";
581 compatible = "sandbox,usb";
584 compatible = "sandbox,usb-hub";
585 #address-cells = <1>;
589 compatible = "sandbox,usb-flash";
595 compatible = "sandbox,usb";
597 compatible = "usb-hub";
598 usb,device-class = <9>;
600 compatible = "sandbox,usb-hub";
601 #address-cells = <1>;
605 compatible = "sandbox,usb-flash";
606 sandbox,filepath = "testflash.bin";
611 compatible = "sandbox,usb-flash";
612 sandbox,filepath = "testflash1.bin";
617 compatible = "sandbox,usb-flash";
618 sandbox,filepath = "testflash2.bin";
623 compatible = "sandbox,usb-keyb";
631 compatible = "sandbox,usb";
636 compatible = "sandbox,spmi";
637 #address-cells = <0x1>;
640 compatible = "qcom,spmi-pmic";
642 #address-cells = <0x1>;
645 spmi_gpios: gpios@c000 {
646 compatible = "qcom,pm8916-gpio";
647 reg = <0xc000 0x400>;
651 gpio-bank-name="spmi";
657 compatible = "sandbox,wdt";
661 compatible = "sandbox,axi";
662 #address-cells = <0x1>;
665 compatible = "sandbox,sandbox_store";
671 #address-cells = <1>;
674 compatible = "denx,u-boot-fdt-test";
679 translation-test@8000 {
680 compatible = "simple-bus";
681 reg = <0x8000 0x4000>;
683 #address-cells = <0x2>;
686 ranges = <0 0x0 0x8000 0x1000
687 1 0x100 0x9000 0x1000
688 2 0x200 0xA000 0x1000
689 3 0x300 0xB000 0x1000
693 compatible = "denx,u-boot-fdt-dummy";
694 reg = <0 0x0 0x1000>;
695 reg-names = "sandbox-dummy-0";
699 compatible = "denx,u-boot-fdt-dummy";
700 reg = <1 0x100 0x1000>;
705 compatible = "denx,u-boot-fdt-dummy";
706 reg = <2 0x200 0x1000>;
711 compatible = "simple-bus";
712 reg = <3 0x300 0x1000>;
714 #address-cells = <0x1>;
718 compatible = "denx,u-boot-fdt-dummy";
725 compatible = "sandbox,sandbox_osd";
729 compatible = "sandbox,board_sandbox";
733 compatible = "sandbox,tee";
737 compatible = "sandbox,virtio1";
741 compatible = "sandbox,virtio2";
745 compatible = "sandbox,pinctrl";
749 compatible = "sandbox,hwspinlock";
753 compatible = "sandbox,dma";
756 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
757 dma-names = "m2m", "tx0", "rx0";
761 #include "sandbox_pmic.dtsi"