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 int-array = <5678 9123 4567>;
98 interrupts-extended = <&irq 3 0>;
103 compatible = "not,compatible";
110 backlight: backlight {
111 compatible = "pwm-backlight";
112 enable-gpios = <&gpio_a 1>;
113 power-supply = <&ldo_1>;
114 pwms = <&pwm 0 1000>;
115 default-brightness-level = <5>;
116 brightness-levels = <0 16 32 64 128 170 202 234 255>;
121 compatible = "sandbox,phy";
126 compatible = "simple-bus";
132 compatible = "denx,u-boot-fdt-test";
137 phy_provider0: gen_phy@0 {
138 compatible = "sandbox,phy";
142 phy_provider1: gen_phy@1 {
143 compatible = "sandbox,phy";
148 gen_phy_user: gen_phy_user {
149 compatible = "simple-bus";
150 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
151 phy-names = "phy1", "phy2", "phy3";
155 #address-cells = <1>;
157 compatible = "denx,u-boot-test-bus";
162 compatible = "denx,u-boot-fdt-test";
168 compatible = "denx,u-boot-fdt-test";
174 compatible = "denx,u-boot-fdt-test";
185 compatible = "google,another-fdt-test";
192 compatible = "google,another-fdt-test";
196 compatible = "denx,u-boot-fdt-test";
200 compatible = "denx,u-boot-fdt-test";
204 compatible = "denx,u-boot-fdt-test1";
208 compatible = "denx,u-boot-devres-test";
212 clk_fixed: clk-fixed {
213 compatible = "fixed-clock";
215 clock-frequency = <1234>;
218 clk_fixed_factor: clk-fixed-factor {
219 compatible = "fixed-factor-clock";
223 clocks = <&clk_fixed>;
227 compatible = "fixed-clock";
229 clock-frequency = <20000000>;
233 clk_sandbox: clk-sbox {
234 compatible = "sandbox,clk";
236 assigned-clocks = <&clk_sandbox 3>;
237 assigned-clock-rates = <321>;
241 compatible = "sandbox,clk-test";
242 clocks = <&clk_fixed>,
247 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
251 compatible = "sandbox,clk-ccf";
255 compatible = "sandbox,eth";
256 reg = <0x10002000 0x1000>;
257 fake-host-hwaddr = [00 00 66 44 22 00];
260 eth_5: eth@10003000 {
261 compatible = "sandbox,eth";
262 reg = <0x10003000 0x1000>;
263 fake-host-hwaddr = [00 00 66 44 22 11];
267 compatible = "sandbox,eth";
268 reg = <0x10005000 0x1000>;
269 fake-host-hwaddr = [00 00 66 44 22 33];
273 compatible = "sandbox,eth";
274 reg = <0x10004000 0x1000>;
275 fake-host-hwaddr = [00 00 66 44 22 22];
279 sandbox_firmware: sandbox-firmware {
280 compatible = "sandbox,firmware";
285 compatible = "sandbox,gpio";
288 gpio-bank-name = "a";
289 sandbox,gpio-count = <20>;
292 gpio_b: extra-gpios {
293 compatible = "sandbox,gpio";
296 gpio-bank-name = "b";
297 sandbox,gpio-count = <10>;
301 #address-cells = <1>;
304 compatible = "sandbox,i2c";
305 clock-frequency = <100000>;
308 compatible = "i2c-eeprom";
309 sandbox,emul = <&emul_eeprom>;
314 compatible = "sandbox-rtc";
315 sandbox,emul = <&emul0>;
320 compatible = "sandbox-rtc";
321 sandbox,emul = <&emul1>;
326 compatible = "sandbox,i2c-emul-parent";
327 emul_eeprom: emul-eeprom {
328 compatible = "sandbox,i2c-eeprom";
329 sandbox,filename = "i2c.bin";
330 sandbox,size = <256>;
333 compatible = "sandbox,i2c-rtc";
336 compatible = "sandbox,i2c-rtc";
340 sandbox_pmic: sandbox_pmic {
342 sandbox,emul = <&emul_pmic0>;
347 sandbox,emul = <&emul_pmic1>;
352 compatible = "u-boot,bootcount-rtc";
358 compatible = "sandbox,adc";
359 vdd-supply = <&buck2>;
360 vss-microvolts = <0>;
364 compatible = "sandbox,irq";
365 interrupt-controller;
366 #interrupt-cells = <2>;
371 compatible = "sandbox,lcd-sdl";
377 compatible = "gpio-leds";
380 gpios = <&gpio_a 1 0>;
381 label = "sandbox:red";
385 gpios = <&gpio_a 2 0>;
386 label = "sandbox:green";
390 gpios = <&gpio_a 5 0>;
391 label = "sandbox:default_on";
392 default-state = "on";
396 gpios = <&gpio_a 6 0>;
397 label = "sandbox:default_off";
398 default-state = "off";
403 compatible = "sandbox,mbox";
408 compatible = "sandbox,mbox-test";
409 mboxes = <&mbox 100>, <&mbox 1>;
410 mbox-names = "other", "test";
415 compatible = "sandbox,cpu_sandbox";
420 compatible = "sandbox,cpu_sandbox";
425 compatible = "sandbox,cpu_sandbox";
431 compatible = "sandbox,i2s";
432 #sound-dai-cells = <1>;
433 sandbox,silent; /* Don't emit sounds while testing */
437 compatible = "sandbox,nop_sandbox1";
439 compatible = "sandbox,nop_sandbox2";
443 compatible = "sandbox,nop_sandbox2";
449 compatible = "sandbox,misc_sandbox";
453 compatible = "sandbox,mmc";
457 compatible = "sandbox,mmc";
461 compatible = "sandbox,mmc";
465 compatible = "sandbox,pch";
469 compatible = "sandbox,pci";
471 bus-range = <0x00 0xff>;
472 #address-cells = <3>;
474 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
475 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
477 compatible = "pci-generic";
478 reg = <0x0000 0 0 0 0>;
479 sandbox,emul = <&swap_case_emul0_0>;
482 compatible = "pci-generic";
483 /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
484 reg = <0x02000814 0 0 0 0
486 sandbox,emul = <&swap_case_emul0_1>;
489 compatible = "sandbox,p2sb";
490 reg = <0x02001010 0 0 0 0>;
491 sandbox,emul = <&p2sb_emul>;
494 intel,p2sb-port-id = <3>;
495 compatible = "sandbox,adder";
499 compatible = "sandbox,pmc";
500 reg = <0xf000 0 0 0 0>;
501 sandbox,emul = <&pmc_emul1e>;
503 gpe0-dwx-mask = <0xf>;
504 gpe0-dwx-shift-base = <4>;
510 compatible = "pci-generic";
511 /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
512 reg = <0x0100f810 0 0 0 0>;
513 sandbox,emul = <&swap_case_emul0_1f>;
518 compatible = "sandbox,pci-emul-parent";
519 swap_case_emul0_0: emul0@0,0 {
520 compatible = "sandbox,swap-case";
522 swap_case_emul0_1: emul0@1,0 {
523 compatible = "sandbox,swap-case";
526 swap_case_emul0_1f: emul0@1f,0 {
527 compatible = "sandbox,swap-case";
529 p2sb_emul: emul@2,0 {
530 compatible = "sandbox,p2sb-emul";
532 pmc_emul1e: emul@1e,0 {
533 compatible = "sandbox,pmc-emul";
538 compatible = "sandbox,pci";
540 bus-range = <0x00 0xff>;
541 #address-cells = <3>;
543 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000
544 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
545 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
546 0x0c 0x00 0x1234 0x5678
547 0x10 0x00 0x1234 0x5678>;
549 reg = <0x8000 0 0 0 0>;
554 compatible = "sandbox,pci";
556 bus-range = <0x00 0xff>;
557 #address-cells = <3>;
559 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
560 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
561 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
563 compatible = "pci-generic";
564 reg = <0xf800 0 0 0 0>;
565 sandbox,emul = <&swap_case_emul2_1f>;
570 compatible = "sandbox,pci-emul-parent";
571 swap_case_emul2_1f: emul2@1f,0 {
572 compatible = "sandbox,swap-case";
577 compatible = "sandbox,pci_ep";
581 compatible = "simple-bus";
583 compatible = "denx,u-boot-probe-test";
587 compatible = "denx,u-boot-probe-test";
591 compatible = "denx,u-boot-probe-test";
595 compatible = "denx,u-boot-probe-test";
596 first-syscon = <&syscon0>;
597 second-sys-ctrl = <&another_system_controller>;
598 third-syscon = <&syscon2>;
602 pwrdom: power-domain {
603 compatible = "sandbox,power-domain";
604 #power-domain-cells = <1>;
608 compatible = "sandbox,power-domain-test";
609 power-domains = <&pwrdom 2>;
613 compatible = "sandbox,pwm";
618 compatible = "sandbox,pwm";
623 compatible = "sandbox,ram";
627 compatible = "sandbox,warm-reset";
631 compatible = "sandbox,reset";
635 compatible = "sandbox,reset-ctl";
640 compatible = "sandbox,reset-ctl-test";
641 resets = <&resetc 100>, <&resetc 2>;
642 reset-names = "other", "test";
646 compatible = "sandbox,sandbox-rng";
650 compatible = "sandbox,test-processor";
651 remoteproc-name = "remoteproc-test-dev1";
655 compatible = "sandbox,test-processor";
656 internal-memory-mapped;
657 remoteproc-name = "remoteproc-test-dev2";
661 compatible = "simple-panel";
662 backlight = <&backlight 0 100>;
666 compatible = "sandbox,smem";
670 compatible = "sandbox,sound";
672 sound-dai = <&i2s 0>;
676 sound-dai = <&audio 0>;
681 #address-cells = <1>;
684 compatible = "sandbox,spi";
685 cs-gpios = <0>, <&gpio_a 0>;
688 compatible = "spansion,m25p16", "jedec,spi-nor";
689 spi-max-frequency = <40000000>;
690 sandbox,filename = "spi.bin";
695 compatible = "sandbox,syscon0";
699 another_system_controller: syscon@1 {
700 compatible = "sandbox,syscon1";
708 compatible = "simple-mfd", "syscon";
716 compatible = "sandbox,timer";
717 clock-frequency = <1000000>;
721 compatible = "sandbox,tpm2";
725 compatible = "sandbox,serial";
730 compatible = "sandbox,usb";
733 compatible = "sandbox,usb-hub";
734 #address-cells = <1>;
738 compatible = "sandbox,usb-flash";
744 compatible = "sandbox,usb";
746 compatible = "usb-hub";
747 usb,device-class = <9>;
749 compatible = "sandbox,usb-hub";
750 #address-cells = <1>;
754 compatible = "sandbox,usb-flash";
755 sandbox,filepath = "testflash.bin";
760 compatible = "sandbox,usb-flash";
761 sandbox,filepath = "testflash1.bin";
766 compatible = "sandbox,usb-flash";
767 sandbox,filepath = "testflash2.bin";
772 compatible = "sandbox,usb-keyb";
780 compatible = "sandbox,usb";
785 compatible = "sandbox,spmi";
786 #address-cells = <0x1>;
790 compatible = "qcom,spmi-pmic";
792 #address-cells = <0x1>;
796 spmi_gpios: gpios@c000 {
797 compatible = "qcom,pm8916-gpio";
798 reg = <0xc000 0x400>;
802 gpio-bank-name="spmi";
808 compatible = "sandbox,wdt";
812 compatible = "sandbox,axi";
813 #address-cells = <0x1>;
816 compatible = "sandbox,sandbox_store";
822 #address-cells = <1>;
824 setting = "sunrise ohoka";
825 other-node = "/some-bus/c-test@5";
826 int-values = <0x1937 72993>;
828 compatible = "denx,u-boot-fdt-test";
833 translation-test@8000 {
834 compatible = "simple-bus";
835 reg = <0x8000 0x4000>;
837 #address-cells = <0x2>;
840 ranges = <0 0x0 0x8000 0x1000
841 1 0x100 0x9000 0x1000
842 2 0x200 0xA000 0x1000
843 3 0x300 0xB000 0x1000
846 dma-ranges = <0 0x000 0x10000000 0x1000
847 1 0x100 0x20000000 0x1000
851 compatible = "denx,u-boot-fdt-dummy";
852 reg = <0 0x0 0x1000>;
853 reg-names = "sandbox-dummy-0";
857 compatible = "denx,u-boot-fdt-dummy";
858 reg = <1 0x100 0x1000>;
863 compatible = "denx,u-boot-fdt-dummy";
864 reg = <2 0x200 0x1000>;
869 compatible = "simple-bus";
870 reg = <3 0x300 0x1000>;
872 #address-cells = <0x1>;
876 compatible = "denx,u-boot-fdt-dummy";
883 compatible = "sandbox,sandbox_osd";
887 compatible = "sandbox,board_sandbox";
891 compatible = "sandbox,tee";
895 compatible = "sandbox,virtio1";
899 compatible = "sandbox,virtio2";
903 compatible = "sandbox,pinctrl";
907 compatible = "sandbox,hwspinlock";
911 compatible = "sandbox,dma";
914 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
915 dma-names = "m2m", "tx0", "rx0";
919 * keep mdio-mux ahead of mdio so that the mux is removed first at the
920 * end of the test. If parent mdio is removed first, clean-up of the
921 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
922 * active at the end of the test. That it turn doesn't allow the mdio
923 * class to be destroyed, triggering an error.
926 compatible = "sandbox,mdio-mux";
927 #address-cells = <1>;
929 mdio-parent-bus = <&mdio>;
940 compatible = "sandbox,mdio";
944 #include "sandbox_pmic.dtsi"