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 clk_fixed: clk-fixed {
191 compatible = "fixed-clock";
193 clock-frequency = <1234>;
197 clk_sandbox: clk-sbox {
198 compatible = "sandbox,clk";
203 compatible = "sandbox,clk-test";
204 clocks = <&clk_fixed>,
207 clock-names = "fixed", "i2c", "spi";
211 compatible = "sandbox,eth";
212 reg = <0x10002000 0x1000>;
213 fake-host-hwaddr = [00 00 66 44 22 00];
216 eth_5: eth@10003000 {
217 compatible = "sandbox,eth";
218 reg = <0x10003000 0x1000>;
219 fake-host-hwaddr = [00 00 66 44 22 11];
223 compatible = "sandbox,eth";
224 reg = <0x10005000 0x1000>;
225 fake-host-hwaddr = [00 00 66 44 22 33];
229 compatible = "sandbox,eth";
230 reg = <0x10004000 0x1000>;
231 fake-host-hwaddr = [00 00 66 44 22 22];
235 sandbox_firmware: sandbox-firmware {
236 compatible = "sandbox,firmware";
241 compatible = "sandbox,gpio";
244 gpio-bank-name = "a";
245 sandbox,gpio-count = <20>;
248 gpio_b: extra-gpios {
249 compatible = "sandbox,gpio";
252 gpio-bank-name = "b";
253 sandbox,gpio-count = <10>;
257 #address-cells = <1>;
260 compatible = "sandbox,i2c";
261 clock-frequency = <100000>;
264 compatible = "i2c-eeprom";
266 compatible = "sandbox,i2c-eeprom";
267 sandbox,filename = "i2c.bin";
268 sandbox,size = <256>;
274 compatible = "sandbox-rtc";
276 compatible = "sandbox,i2c-rtc";
282 compatible = "sandbox-rtc";
284 compatible = "sandbox,i2c-rtc";
288 sandbox_pmic: sandbox_pmic {
298 compatible = "sandbox,adc";
299 vdd-supply = <&buck2>;
300 vss-microvolts = <0>;
305 compatible = "sandbox,lcd-sdl";
311 compatible = "gpio-leds";
314 gpios = <&gpio_a 1 0>;
315 label = "sandbox:red";
319 gpios = <&gpio_a 2 0>;
320 label = "sandbox:green";
324 gpios = <&gpio_a 5 0>;
325 label = "sandbox:default_on";
326 default-state = "on";
330 gpios = <&gpio_a 6 0>;
331 label = "sandbox:default_off";
332 default-state = "off";
337 compatible = "sandbox,mbox";
342 compatible = "sandbox,mbox-test";
343 mboxes = <&mbox 100>, <&mbox 1>;
344 mbox-names = "other", "test";
348 compatible = "sandbox,cpu_sandbox";
352 compatible = "sandbox,cpu_sandbox";
356 compatible = "sandbox,cpu_sandbox";
360 compatible = "sandbox,misc_sandbox";
364 compatible = "sandbox,mmc";
368 compatible = "sandbox,mmc";
372 compatible = "sandbox,mmc";
375 pci0: pci-controller0 {
376 compatible = "sandbox,pci";
378 #address-cells = <3>;
380 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
381 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
383 compatible = "pci-generic";
384 reg = <0x0000 0 0 0 0>;
386 compatible = "sandbox,swap-case";
390 compatible = "pci-generic";
391 reg = <0xf800 0 0 0 0>;
393 compatible = "sandbox,swap-case";
398 pci1: pci-controller1 {
399 compatible = "sandbox,pci";
401 #address-cells = <3>;
403 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000
404 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
405 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
406 0x0c 0x00 0x1234 0x5678>;
409 pci2: pci-controller2 {
410 compatible = "sandbox,pci";
412 #address-cells = <3>;
414 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
415 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
416 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
418 compatible = "pci-generic";
419 reg = <0xf800 0 0 0 0>;
421 compatible = "sandbox,swap-case";
427 compatible = "simple-bus";
429 compatible = "denx,u-boot-probe-test";
433 compatible = "denx,u-boot-probe-test";
437 compatible = "denx,u-boot-probe-test";
441 compatible = "denx,u-boot-probe-test";
445 pwrdom: power-domain {
446 compatible = "sandbox,power-domain";
447 #power-domain-cells = <1>;
451 compatible = "sandbox,power-domain-test";
452 power-domains = <&pwrdom 2>;
456 compatible = "sandbox,pwm";
461 compatible = "sandbox,pwm";
466 compatible = "sandbox,ram";
470 compatible = "sandbox,warm-reset";
474 compatible = "sandbox,reset";
478 compatible = "sandbox,reset-ctl";
483 compatible = "sandbox,reset-ctl-test";
484 resets = <&resetc 100>, <&resetc 2>;
485 reset-names = "other", "test";
489 compatible = "sandbox,test-processor";
490 remoteproc-name = "remoteproc-test-dev1";
494 compatible = "sandbox,test-processor";
495 internal-memory-mapped;
496 remoteproc-name = "remoteproc-test-dev2";
500 compatible = "simple-panel";
501 backlight = <&backlight 0 100>;
505 compatible = "sandbox,smem";
509 #address-cells = <1>;
512 compatible = "sandbox,spi";
513 cs-gpios = <0>, <&gpio_a 0>;
516 compatible = "spansion,m25p16", "spi-flash";
517 spi-max-frequency = <40000000>;
518 sandbox,filename = "spi.bin";
523 compatible = "sandbox,syscon0";
528 compatible = "sandbox,syscon1";
536 compatible = "simple-mfd", "syscon";
544 compatible = "sandbox,timer";
545 clock-frequency = <1000000>;
549 compatible = "sandbox,tpm2";
553 compatible = "sandbox,serial";
558 compatible = "sandbox,usb";
561 compatible = "sandbox,usb-hub";
562 #address-cells = <1>;
566 compatible = "sandbox,usb-flash";
572 compatible = "sandbox,usb";
574 compatible = "usb-hub";
575 usb,device-class = <9>;
577 compatible = "sandbox,usb-hub";
578 #address-cells = <1>;
582 compatible = "sandbox,usb-flash";
583 sandbox,filepath = "testflash.bin";
588 compatible = "sandbox,usb-flash";
589 sandbox,filepath = "testflash1.bin";
594 compatible = "sandbox,usb-flash";
595 sandbox,filepath = "testflash2.bin";
600 compatible = "sandbox,usb-keyb";
608 compatible = "sandbox,usb";
613 compatible = "sandbox,spmi";
614 #address-cells = <0x1>;
617 compatible = "qcom,spmi-pmic";
619 #address-cells = <0x1>;
622 spmi_gpios: gpios@c000 {
623 compatible = "qcom,pm8916-gpio";
624 reg = <0xc000 0x400>;
628 gpio-bank-name="spmi";
634 compatible = "sandbox,wdt";
638 compatible = "sandbox,axi";
639 #address-cells = <0x1>;
642 compatible = "sandbox,sandbox_store";
648 #address-cells = <1>;
651 compatible = "denx,u-boot-fdt-test";
656 translation-test@8000 {
657 compatible = "simple-bus";
658 reg = <0x8000 0x4000>;
660 #address-cells = <0x2>;
663 ranges = <0 0x0 0x8000 0x1000
664 1 0x100 0x9000 0x1000
665 2 0x200 0xA000 0x1000
666 3 0x300 0xB000 0x1000
670 compatible = "denx,u-boot-fdt-dummy";
671 reg = <0 0x0 0x1000>;
675 compatible = "denx,u-boot-fdt-dummy";
676 reg = <1 0x100 0x1000>;
681 compatible = "denx,u-boot-fdt-dummy";
682 reg = <2 0x200 0x1000>;
687 compatible = "simple-bus";
688 reg = <3 0x300 0x1000>;
690 #address-cells = <0x1>;
694 compatible = "denx,u-boot-fdt-dummy";
701 compatible = "sandbox,sandbox_osd";
705 compatible = "sandbox,board_sandbox";
709 compatible = "sandbox,tee";
713 #include "sandbox_pmic.dtsi"