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";
46 compatible = "sandbox,audio-codec";
47 #sound-dai-cells = <1>;
52 compatible = "google,cros-ec-sandbox";
55 * This describes the flash memory within the EC. Note
56 * that the STM32L flash erases to 0, not 0xff.
59 image-pos = <0x08000000>;
63 /* Information for sandbox */
73 image-pos = <0x10000>;
80 compatible = "sandbox,dsi-host";
85 compatible = "denx,u-boot-fdt-test";
89 test-gpios = <&gpio_a 1>, <&gpio_a 4>, <&gpio_b 5 0 3 2 1>,
91 test2-gpios = <&gpio_a 1>, <&gpio_a 4>, <&gpio_b 6 1 3 2 1>,
92 <&gpio_b 7 2 3 2 1>, <&gpio_b 8 4 3 2 1>,
93 <&gpio_b 9 0xc 3 2 1>;
95 uint-value = <(-1234)>;
100 compatible = "not,compatible";
107 backlight: backlight {
108 compatible = "pwm-backlight";
109 enable-gpios = <&gpio_a 1>;
110 power-supply = <&ldo_1>;
111 pwms = <&pwm 0 1000>;
112 default-brightness-level = <5>;
113 brightness-levels = <0 16 32 64 128 170 202 234 255>;
118 compatible = "sandbox,phy";
123 compatible = "simple-bus";
129 compatible = "denx,u-boot-fdt-test";
134 phy_provider0: gen_phy@0 {
135 compatible = "sandbox,phy";
139 phy_provider1: gen_phy@1 {
140 compatible = "sandbox,phy";
145 gen_phy_user: gen_phy_user {
146 compatible = "simple-bus";
147 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
148 phy-names = "phy1", "phy2", "phy3";
152 #address-cells = <1>;
154 compatible = "denx,u-boot-test-bus";
159 compatible = "denx,u-boot-fdt-test";
165 compatible = "denx,u-boot-fdt-test";
171 compatible = "denx,u-boot-fdt-test";
182 compatible = "google,another-fdt-test";
189 compatible = "google,another-fdt-test";
193 compatible = "denx,u-boot-fdt-test";
197 compatible = "denx,u-boot-fdt-test";
201 compatible = "denx,u-boot-fdt-test1";
205 compatible = "denx,u-boot-devres-test";
209 clk_fixed: clk-fixed {
210 compatible = "fixed-clock";
212 clock-frequency = <1234>;
215 clk_fixed_factor: clk-fixed-factor {
216 compatible = "fixed-factor-clock";
220 clocks = <&clk_fixed>;
224 compatible = "fixed-clock";
226 clock-frequency = <20000000>;
230 clk_sandbox: clk-sbox {
231 compatible = "sandbox,clk";
233 assigned-clocks = <&clk_sandbox 3>;
234 assigned-clock-rates = <321>;
238 compatible = "sandbox,clk-test";
239 clocks = <&clk_fixed>,
244 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
248 compatible = "sandbox,clk-ccf";
252 compatible = "sandbox,eth";
253 reg = <0x10002000 0x1000>;
254 fake-host-hwaddr = [00 00 66 44 22 00];
257 eth_5: eth@10003000 {
258 compatible = "sandbox,eth";
259 reg = <0x10003000 0x1000>;
260 fake-host-hwaddr = [00 00 66 44 22 11];
264 compatible = "sandbox,eth";
265 reg = <0x10005000 0x1000>;
266 fake-host-hwaddr = [00 00 66 44 22 33];
270 compatible = "sandbox,eth";
271 reg = <0x10004000 0x1000>;
272 fake-host-hwaddr = [00 00 66 44 22 22];
276 sandbox_firmware: sandbox-firmware {
277 compatible = "sandbox,firmware";
282 compatible = "sandbox,gpio";
285 gpio-bank-name = "a";
286 sandbox,gpio-count = <20>;
289 gpio_b: extra-gpios {
290 compatible = "sandbox,gpio";
293 gpio-bank-name = "b";
294 sandbox,gpio-count = <10>;
298 #address-cells = <1>;
301 compatible = "sandbox,i2c";
302 clock-frequency = <100000>;
305 compatible = "i2c-eeprom";
306 sandbox,emul = <&emul_eeprom>;
311 compatible = "sandbox-rtc";
312 sandbox,emul = <&emul0>;
317 compatible = "sandbox-rtc";
318 sandbox,emul = <&emul1>;
323 compatible = "sandbox,i2c-emul-parent";
324 emul_eeprom: emul-eeprom {
325 compatible = "sandbox,i2c-eeprom";
326 sandbox,filename = "i2c.bin";
327 sandbox,size = <256>;
330 compatible = "sandbox,i2c-rtc";
333 compatible = "sandbox,i2c-rtc";
337 sandbox_pmic: sandbox_pmic {
339 sandbox,emul = <&emul_pmic0>;
344 sandbox,emul = <&emul_pmic1>;
349 compatible = "u-boot,bootcount-rtc";
355 compatible = "sandbox,adc";
356 vdd-supply = <&buck2>;
357 vss-microvolts = <0>;
361 compatible = "sandbox,irq";
366 compatible = "sandbox,lcd-sdl";
372 compatible = "gpio-leds";
375 gpios = <&gpio_a 1 0>;
376 label = "sandbox:red";
380 gpios = <&gpio_a 2 0>;
381 label = "sandbox:green";
385 gpios = <&gpio_a 5 0>;
386 label = "sandbox:default_on";
387 default-state = "on";
391 gpios = <&gpio_a 6 0>;
392 label = "sandbox:default_off";
393 default-state = "off";
398 compatible = "sandbox,mbox";
403 compatible = "sandbox,mbox-test";
404 mboxes = <&mbox 100>, <&mbox 1>;
405 mbox-names = "other", "test";
410 compatible = "sandbox,cpu_sandbox";
415 compatible = "sandbox,cpu_sandbox";
420 compatible = "sandbox,cpu_sandbox";
426 compatible = "sandbox,i2s";
427 #sound-dai-cells = <1>;
428 sandbox,silent; /* Don't emit sounds while testing */
432 compatible = "sandbox,nop_sandbox1";
434 compatible = "sandbox,nop_sandbox2";
438 compatible = "sandbox,nop_sandbox2";
444 compatible = "sandbox,misc_sandbox";
448 compatible = "sandbox,mmc";
452 compatible = "sandbox,mmc";
456 compatible = "sandbox,mmc";
460 compatible = "sandbox,pch";
463 pci0: pci-controller0 {
464 compatible = "sandbox,pci";
466 #address-cells = <3>;
468 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
469 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
471 compatible = "pci-generic";
472 reg = <0x0000 0 0 0 0>;
473 sandbox,emul = <&swap_case_emul0_0>;
476 compatible = "pci-generic";
477 /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
478 reg = <0x02000814 0 0 0 0
480 sandbox,emul = <&swap_case_emul0_1>;
483 compatible = "sandbox,p2sb";
484 reg = <0x02001010 0 0 0 0>;
485 sandbox,emul = <&p2sb_emul>;
488 intel,p2sb-port-id = <3>;
489 compatible = "sandbox,adder";
493 compatible = "sandbox,pmc";
494 reg = <0xf000 0 0 0 0>;
495 sandbox,emul = <&pmc_emul1e>;
497 gpe0-dwx-mask = <0xf>;
498 gpe0-dwx-shift-base = <4>;
504 compatible = "pci-generic";
505 /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
506 reg = <0x0100f810 0 0 0 0>;
507 sandbox,emul = <&swap_case_emul0_1f>;
512 compatible = "sandbox,pci-emul-parent";
513 swap_case_emul0_0: emul0@0,0 {
514 compatible = "sandbox,swap-case";
516 swap_case_emul0_1: emul0@1,0 {
517 compatible = "sandbox,swap-case";
520 swap_case_emul0_1f: emul0@1f,0 {
521 compatible = "sandbox,swap-case";
523 p2sb_emul: emul@2,0 {
524 compatible = "sandbox,p2sb-emul";
526 pmc_emul1e: emul@1e,0 {
527 compatible = "sandbox,pmc-emul";
531 pci1: pci-controller1 {
532 compatible = "sandbox,pci";
534 #address-cells = <3>;
536 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000
537 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
538 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
539 0x0c 0x00 0x1234 0x5678
540 0x10 0x00 0x1234 0x5678>;
542 reg = <0x8000 0 0 0 0>;
546 pci2: pci-controller2 {
547 compatible = "sandbox,pci";
549 #address-cells = <3>;
551 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
552 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
553 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
555 compatible = "pci-generic";
556 reg = <0xf800 0 0 0 0>;
557 sandbox,emul = <&swap_case_emul2_1f>;
562 compatible = "sandbox,pci-emul-parent";
563 swap_case_emul2_1f: emul2@1f,0 {
564 compatible = "sandbox,swap-case";
569 compatible = "sandbox,pci_ep";
573 compatible = "simple-bus";
575 compatible = "denx,u-boot-probe-test";
579 compatible = "denx,u-boot-probe-test";
583 compatible = "denx,u-boot-probe-test";
587 compatible = "denx,u-boot-probe-test";
588 first-syscon = <&syscon0>;
589 second-sys-ctrl = <&another_system_controller>;
590 third-syscon = <&syscon2>;
594 pwrdom: power-domain {
595 compatible = "sandbox,power-domain";
596 #power-domain-cells = <1>;
600 compatible = "sandbox,power-domain-test";
601 power-domains = <&pwrdom 2>;
605 compatible = "sandbox,pwm";
610 compatible = "sandbox,pwm";
615 compatible = "sandbox,ram";
619 compatible = "sandbox,warm-reset";
623 compatible = "sandbox,reset";
627 compatible = "sandbox,reset-ctl";
632 compatible = "sandbox,reset-ctl-test";
633 resets = <&resetc 100>, <&resetc 2>;
634 reset-names = "other", "test";
638 compatible = "sandbox,sandbox-rng";
642 compatible = "sandbox,test-processor";
643 remoteproc-name = "remoteproc-test-dev1";
647 compatible = "sandbox,test-processor";
648 internal-memory-mapped;
649 remoteproc-name = "remoteproc-test-dev2";
653 compatible = "simple-panel";
654 backlight = <&backlight 0 100>;
658 compatible = "sandbox,smem";
662 compatible = "sandbox,sound";
664 sound-dai = <&i2s 0>;
668 sound-dai = <&audio 0>;
673 #address-cells = <1>;
676 compatible = "sandbox,spi";
677 cs-gpios = <0>, <&gpio_a 0>;
680 compatible = "spansion,m25p16", "jedec,spi-nor";
681 spi-max-frequency = <40000000>;
682 sandbox,filename = "spi.bin";
687 compatible = "sandbox,syscon0";
691 another_system_controller: syscon@1 {
692 compatible = "sandbox,syscon1";
700 compatible = "simple-mfd", "syscon";
708 compatible = "sandbox,timer";
709 clock-frequency = <1000000>;
713 compatible = "sandbox,tpm2";
717 compatible = "sandbox,serial";
722 compatible = "sandbox,usb";
725 compatible = "sandbox,usb-hub";
726 #address-cells = <1>;
730 compatible = "sandbox,usb-flash";
736 compatible = "sandbox,usb";
738 compatible = "usb-hub";
739 usb,device-class = <9>;
741 compatible = "sandbox,usb-hub";
742 #address-cells = <1>;
746 compatible = "sandbox,usb-flash";
747 sandbox,filepath = "testflash.bin";
752 compatible = "sandbox,usb-flash";
753 sandbox,filepath = "testflash1.bin";
758 compatible = "sandbox,usb-flash";
759 sandbox,filepath = "testflash2.bin";
764 compatible = "sandbox,usb-keyb";
772 compatible = "sandbox,usb";
777 compatible = "sandbox,spmi";
778 #address-cells = <0x1>;
782 compatible = "qcom,spmi-pmic";
784 #address-cells = <0x1>;
788 spmi_gpios: gpios@c000 {
789 compatible = "qcom,pm8916-gpio";
790 reg = <0xc000 0x400>;
794 gpio-bank-name="spmi";
800 compatible = "sandbox,wdt";
804 compatible = "sandbox,axi";
805 #address-cells = <0x1>;
808 compatible = "sandbox,sandbox_store";
814 #address-cells = <1>;
816 setting = "sunrise ohoka";
817 other-node = "/some-bus/c-test@5";
818 int-values = <0x1937 72993>;
820 compatible = "denx,u-boot-fdt-test";
825 translation-test@8000 {
826 compatible = "simple-bus";
827 reg = <0x8000 0x4000>;
829 #address-cells = <0x2>;
832 ranges = <0 0x0 0x8000 0x1000
833 1 0x100 0x9000 0x1000
834 2 0x200 0xA000 0x1000
835 3 0x300 0xB000 0x1000
838 dma-ranges = <0 0x000 0x10000000 0x1000
839 1 0x100 0x20000000 0x1000
843 compatible = "denx,u-boot-fdt-dummy";
844 reg = <0 0x0 0x1000>;
845 reg-names = "sandbox-dummy-0";
849 compatible = "denx,u-boot-fdt-dummy";
850 reg = <1 0x100 0x1000>;
855 compatible = "denx,u-boot-fdt-dummy";
856 reg = <2 0x200 0x1000>;
861 compatible = "simple-bus";
862 reg = <3 0x300 0x1000>;
864 #address-cells = <0x1>;
868 compatible = "denx,u-boot-fdt-dummy";
875 compatible = "sandbox,sandbox_osd";
879 compatible = "sandbox,board_sandbox";
883 compatible = "sandbox,tee";
887 compatible = "sandbox,virtio1";
891 compatible = "sandbox,virtio2";
895 compatible = "sandbox,pinctrl";
899 compatible = "sandbox,hwspinlock";
903 compatible = "sandbox,dma";
906 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
907 dma-names = "m2m", "tx0", "rx0";
911 * keep mdio-mux ahead of mdio so that the mux is removed first at the
912 * end of the test. If parent mdio is removed first, clean-up of the
913 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
914 * active at the end of the test. That it turn doesn't allow the mdio
915 * class to be destroyed, triggering an error.
918 compatible = "sandbox,mdio-mux";
919 #address-cells = <1>;
921 mdio-parent-bus = <&mdio>;
932 compatible = "sandbox,mdio";
936 #include "sandbox_pmic.dtsi"