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)>;
96 int64-value = /bits/ 64 <0x1111222233334444>;
97 interrupts-extended = <&irq 3 0>;
102 compatible = "not,compatible";
109 backlight: backlight {
110 compatible = "pwm-backlight";
111 enable-gpios = <&gpio_a 1>;
112 power-supply = <&ldo_1>;
113 pwms = <&pwm 0 1000>;
114 default-brightness-level = <5>;
115 brightness-levels = <0 16 32 64 128 170 202 234 255>;
120 compatible = "sandbox,phy";
125 compatible = "simple-bus";
131 compatible = "denx,u-boot-fdt-test";
136 phy_provider0: gen_phy@0 {
137 compatible = "sandbox,phy";
141 phy_provider1: gen_phy@1 {
142 compatible = "sandbox,phy";
147 gen_phy_user: gen_phy_user {
148 compatible = "simple-bus";
149 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
150 phy-names = "phy1", "phy2", "phy3";
154 #address-cells = <1>;
156 compatible = "denx,u-boot-test-bus";
161 compatible = "denx,u-boot-fdt-test";
167 compatible = "denx,u-boot-fdt-test";
173 compatible = "denx,u-boot-fdt-test";
184 compatible = "google,another-fdt-test";
191 compatible = "google,another-fdt-test";
195 compatible = "denx,u-boot-fdt-test";
199 compatible = "denx,u-boot-fdt-test";
203 compatible = "denx,u-boot-fdt-test1";
207 compatible = "denx,u-boot-devres-test";
211 clk_fixed: clk-fixed {
212 compatible = "fixed-clock";
214 clock-frequency = <1234>;
217 clk_fixed_factor: clk-fixed-factor {
218 compatible = "fixed-factor-clock";
222 clocks = <&clk_fixed>;
226 compatible = "fixed-clock";
228 clock-frequency = <20000000>;
232 clk_sandbox: clk-sbox {
233 compatible = "sandbox,clk";
235 assigned-clocks = <&clk_sandbox 3>;
236 assigned-clock-rates = <321>;
240 compatible = "sandbox,clk-test";
241 clocks = <&clk_fixed>,
246 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
250 compatible = "sandbox,clk-ccf";
254 compatible = "sandbox,eth";
255 reg = <0x10002000 0x1000>;
256 fake-host-hwaddr = [00 00 66 44 22 00];
259 eth_5: eth@10003000 {
260 compatible = "sandbox,eth";
261 reg = <0x10003000 0x1000>;
262 fake-host-hwaddr = [00 00 66 44 22 11];
266 compatible = "sandbox,eth";
267 reg = <0x10005000 0x1000>;
268 fake-host-hwaddr = [00 00 66 44 22 33];
272 compatible = "sandbox,eth";
273 reg = <0x10004000 0x1000>;
274 fake-host-hwaddr = [00 00 66 44 22 22];
278 sandbox_firmware: sandbox-firmware {
279 compatible = "sandbox,firmware";
284 compatible = "sandbox,gpio";
287 gpio-bank-name = "a";
288 sandbox,gpio-count = <20>;
291 gpio_b: extra-gpios {
292 compatible = "sandbox,gpio";
295 gpio-bank-name = "b";
296 sandbox,gpio-count = <10>;
300 #address-cells = <1>;
303 compatible = "sandbox,i2c";
304 clock-frequency = <100000>;
307 compatible = "i2c-eeprom";
308 sandbox,emul = <&emul_eeprom>;
313 compatible = "sandbox-rtc";
314 sandbox,emul = <&emul0>;
319 compatible = "sandbox-rtc";
320 sandbox,emul = <&emul1>;
325 compatible = "sandbox,i2c-emul-parent";
326 emul_eeprom: emul-eeprom {
327 compatible = "sandbox,i2c-eeprom";
328 sandbox,filename = "i2c.bin";
329 sandbox,size = <256>;
332 compatible = "sandbox,i2c-rtc";
335 compatible = "sandbox,i2c-rtc";
339 sandbox_pmic: sandbox_pmic {
341 sandbox,emul = <&emul_pmic0>;
346 sandbox,emul = <&emul_pmic1>;
351 compatible = "u-boot,bootcount-rtc";
357 compatible = "sandbox,adc";
358 vdd-supply = <&buck2>;
359 vss-microvolts = <0>;
363 compatible = "sandbox,irq";
364 interrupt-controller;
365 #interrupt-cells = <2>;
370 compatible = "sandbox,lcd-sdl";
376 compatible = "gpio-leds";
379 gpios = <&gpio_a 1 0>;
380 label = "sandbox:red";
384 gpios = <&gpio_a 2 0>;
385 label = "sandbox:green";
389 gpios = <&gpio_a 5 0>;
390 label = "sandbox:default_on";
391 default-state = "on";
395 gpios = <&gpio_a 6 0>;
396 label = "sandbox:default_off";
397 default-state = "off";
402 compatible = "sandbox,mbox";
407 compatible = "sandbox,mbox-test";
408 mboxes = <&mbox 100>, <&mbox 1>;
409 mbox-names = "other", "test";
414 compatible = "sandbox,cpu_sandbox";
419 compatible = "sandbox,cpu_sandbox";
424 compatible = "sandbox,cpu_sandbox";
430 compatible = "sandbox,i2s";
431 #sound-dai-cells = <1>;
432 sandbox,silent; /* Don't emit sounds while testing */
436 compatible = "sandbox,nop_sandbox1";
438 compatible = "sandbox,nop_sandbox2";
442 compatible = "sandbox,nop_sandbox2";
448 compatible = "sandbox,misc_sandbox";
452 compatible = "sandbox,mmc";
456 compatible = "sandbox,mmc";
460 compatible = "sandbox,mmc";
464 compatible = "sandbox,pch";
468 compatible = "sandbox,pci";
470 bus-range = <0x00 0xff>;
471 #address-cells = <3>;
473 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
474 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
476 compatible = "pci-generic";
477 reg = <0x0000 0 0 0 0>;
478 sandbox,emul = <&swap_case_emul0_0>;
481 compatible = "pci-generic";
482 /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
483 reg = <0x02000814 0 0 0 0
485 sandbox,emul = <&swap_case_emul0_1>;
488 compatible = "sandbox,p2sb";
489 reg = <0x02001010 0 0 0 0>;
490 sandbox,emul = <&p2sb_emul>;
493 intel,p2sb-port-id = <3>;
494 compatible = "sandbox,adder";
498 compatible = "sandbox,pmc";
499 reg = <0xf000 0 0 0 0>;
500 sandbox,emul = <&pmc_emul1e>;
502 gpe0-dwx-mask = <0xf>;
503 gpe0-dwx-shift-base = <4>;
509 compatible = "pci-generic";
510 /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
511 reg = <0x0100f810 0 0 0 0>;
512 sandbox,emul = <&swap_case_emul0_1f>;
517 compatible = "sandbox,pci-emul-parent";
518 swap_case_emul0_0: emul0@0,0 {
519 compatible = "sandbox,swap-case";
521 swap_case_emul0_1: emul0@1,0 {
522 compatible = "sandbox,swap-case";
525 swap_case_emul0_1f: emul0@1f,0 {
526 compatible = "sandbox,swap-case";
528 p2sb_emul: emul@2,0 {
529 compatible = "sandbox,p2sb-emul";
531 pmc_emul1e: emul@1e,0 {
532 compatible = "sandbox,pmc-emul";
537 compatible = "sandbox,pci";
539 bus-range = <0x00 0xff>;
540 #address-cells = <3>;
542 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000
543 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
544 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
545 0x0c 0x00 0x1234 0x5678
546 0x10 0x00 0x1234 0x5678>;
548 reg = <0x8000 0 0 0 0>;
553 compatible = "sandbox,pci";
555 bus-range = <0x00 0xff>;
556 #address-cells = <3>;
558 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
559 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
560 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
562 compatible = "pci-generic";
563 reg = <0xf800 0 0 0 0>;
564 sandbox,emul = <&swap_case_emul2_1f>;
569 compatible = "sandbox,pci-emul-parent";
570 swap_case_emul2_1f: emul2@1f,0 {
571 compatible = "sandbox,swap-case";
576 compatible = "sandbox,pci_ep";
580 compatible = "simple-bus";
582 compatible = "denx,u-boot-probe-test";
586 compatible = "denx,u-boot-probe-test";
590 compatible = "denx,u-boot-probe-test";
594 compatible = "denx,u-boot-probe-test";
595 first-syscon = <&syscon0>;
596 second-sys-ctrl = <&another_system_controller>;
597 third-syscon = <&syscon2>;
601 pwrdom: power-domain {
602 compatible = "sandbox,power-domain";
603 #power-domain-cells = <1>;
607 compatible = "sandbox,power-domain-test";
608 power-domains = <&pwrdom 2>;
612 compatible = "sandbox,pwm";
617 compatible = "sandbox,pwm";
622 compatible = "sandbox,ram";
626 compatible = "sandbox,warm-reset";
630 compatible = "sandbox,reset";
634 compatible = "sandbox,reset-ctl";
639 compatible = "sandbox,reset-ctl-test";
640 resets = <&resetc 100>, <&resetc 2>;
641 reset-names = "other", "test";
645 compatible = "sandbox,sandbox-rng";
649 compatible = "sandbox,test-processor";
650 remoteproc-name = "remoteproc-test-dev1";
654 compatible = "sandbox,test-processor";
655 internal-memory-mapped;
656 remoteproc-name = "remoteproc-test-dev2";
660 compatible = "simple-panel";
661 backlight = <&backlight 0 100>;
665 compatible = "sandbox,smem";
669 compatible = "sandbox,sound";
671 sound-dai = <&i2s 0>;
675 sound-dai = <&audio 0>;
680 #address-cells = <1>;
683 compatible = "sandbox,spi";
684 cs-gpios = <0>, <&gpio_a 0>;
687 compatible = "spansion,m25p16", "jedec,spi-nor";
688 spi-max-frequency = <40000000>;
689 sandbox,filename = "spi.bin";
694 compatible = "sandbox,syscon0";
698 another_system_controller: syscon@1 {
699 compatible = "sandbox,syscon1";
707 compatible = "simple-mfd", "syscon";
715 compatible = "sandbox,timer";
716 clock-frequency = <1000000>;
720 compatible = "sandbox,tpm2";
724 compatible = "sandbox,serial";
729 compatible = "sandbox,usb";
732 compatible = "sandbox,usb-hub";
733 #address-cells = <1>;
737 compatible = "sandbox,usb-flash";
743 compatible = "sandbox,usb";
745 compatible = "usb-hub";
746 usb,device-class = <9>;
748 compatible = "sandbox,usb-hub";
749 #address-cells = <1>;
753 compatible = "sandbox,usb-flash";
754 sandbox,filepath = "testflash.bin";
759 compatible = "sandbox,usb-flash";
760 sandbox,filepath = "testflash1.bin";
765 compatible = "sandbox,usb-flash";
766 sandbox,filepath = "testflash2.bin";
771 compatible = "sandbox,usb-keyb";
779 compatible = "sandbox,usb";
784 compatible = "sandbox,spmi";
785 #address-cells = <0x1>;
789 compatible = "qcom,spmi-pmic";
791 #address-cells = <0x1>;
795 spmi_gpios: gpios@c000 {
796 compatible = "qcom,pm8916-gpio";
797 reg = <0xc000 0x400>;
801 gpio-bank-name="spmi";
807 compatible = "sandbox,wdt";
811 compatible = "sandbox,axi";
812 #address-cells = <0x1>;
815 compatible = "sandbox,sandbox_store";
821 #address-cells = <1>;
823 setting = "sunrise ohoka";
824 other-node = "/some-bus/c-test@5";
825 int-values = <0x1937 72993>;
827 compatible = "denx,u-boot-fdt-test";
832 translation-test@8000 {
833 compatible = "simple-bus";
834 reg = <0x8000 0x4000>;
836 #address-cells = <0x2>;
839 ranges = <0 0x0 0x8000 0x1000
840 1 0x100 0x9000 0x1000
841 2 0x200 0xA000 0x1000
842 3 0x300 0xB000 0x1000
845 dma-ranges = <0 0x000 0x10000000 0x1000
846 1 0x100 0x20000000 0x1000
850 compatible = "denx,u-boot-fdt-dummy";
851 reg = <0 0x0 0x1000>;
852 reg-names = "sandbox-dummy-0";
856 compatible = "denx,u-boot-fdt-dummy";
857 reg = <1 0x100 0x1000>;
862 compatible = "denx,u-boot-fdt-dummy";
863 reg = <2 0x200 0x1000>;
868 compatible = "simple-bus";
869 reg = <3 0x300 0x1000>;
871 #address-cells = <0x1>;
875 compatible = "denx,u-boot-fdt-dummy";
882 compatible = "sandbox,sandbox_osd";
886 compatible = "sandbox,board_sandbox";
890 compatible = "sandbox,tee";
894 compatible = "sandbox,virtio1";
898 compatible = "sandbox,virtio2";
902 compatible = "sandbox,pinctrl";
906 compatible = "sandbox,hwspinlock";
910 compatible = "sandbox,dma";
913 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
914 dma-names = "m2m", "tx0", "rx0";
918 * keep mdio-mux ahead of mdio so that the mux is removed first at the
919 * end of the test. If parent mdio is removed first, clean-up of the
920 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
921 * active at the end of the test. That it turn doesn't allow the mdio
922 * class to be destroyed, triggering an error.
925 compatible = "sandbox,mdio-mux";
926 #address-cells = <1>;
928 mdio-parent-bus = <&mdio>;
939 compatible = "sandbox,mdio";
943 #include "sandbox_pmic.dtsi"