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";
270 compatible = "sandbox,i2c-eeprom";
271 sandbox,filename = "i2c.bin";
272 sandbox,size = <256>;
278 compatible = "sandbox-rtc";
280 compatible = "sandbox,i2c-rtc";
286 compatible = "sandbox-rtc";
288 compatible = "sandbox,i2c-rtc";
292 sandbox_pmic: sandbox_pmic {
302 compatible = "sandbox,adc";
303 vdd-supply = <&buck2>;
304 vss-microvolts = <0>;
309 compatible = "sandbox,lcd-sdl";
315 compatible = "gpio-leds";
318 gpios = <&gpio_a 1 0>;
319 label = "sandbox:red";
323 gpios = <&gpio_a 2 0>;
324 label = "sandbox:green";
328 gpios = <&gpio_a 5 0>;
329 label = "sandbox:default_on";
330 default-state = "on";
334 gpios = <&gpio_a 6 0>;
335 label = "sandbox:default_off";
336 default-state = "off";
341 compatible = "sandbox,mbox";
346 compatible = "sandbox,mbox-test";
347 mboxes = <&mbox 100>, <&mbox 1>;
348 mbox-names = "other", "test";
352 compatible = "sandbox,cpu_sandbox";
357 compatible = "sandbox,cpu_sandbox";
362 compatible = "sandbox,cpu_sandbox";
367 compatible = "sandbox,misc_sandbox";
371 compatible = "sandbox,mmc";
375 compatible = "sandbox,mmc";
379 compatible = "sandbox,mmc";
382 pci0: pci-controller0 {
383 compatible = "sandbox,pci";
385 #address-cells = <3>;
387 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
388 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
390 compatible = "pci-generic";
391 reg = <0x0000 0 0 0 0>;
393 compatible = "sandbox,swap-case";
397 compatible = "pci-generic";
398 reg = <0xf800 0 0 0 0>;
400 compatible = "sandbox,swap-case";
405 pci1: pci-controller1 {
406 compatible = "sandbox,pci";
408 #address-cells = <3>;
410 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000
411 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
412 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
413 0x0c 0x00 0x1234 0x5678
414 0x10 0x00 0x1234 0x5678>;
416 reg = <0x8000 0 0 0 0>;
420 pci2: pci-controller2 {
421 compatible = "sandbox,pci";
423 #address-cells = <3>;
425 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
426 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
427 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
429 compatible = "pci-generic";
430 reg = <0xf800 0 0 0 0>;
432 compatible = "sandbox,swap-case";
438 compatible = "simple-bus";
440 compatible = "denx,u-boot-probe-test";
444 compatible = "denx,u-boot-probe-test";
448 compatible = "denx,u-boot-probe-test";
452 compatible = "denx,u-boot-probe-test";
456 pwrdom: power-domain {
457 compatible = "sandbox,power-domain";
458 #power-domain-cells = <1>;
462 compatible = "sandbox,power-domain-test";
463 power-domains = <&pwrdom 2>;
467 compatible = "sandbox,pwm";
472 compatible = "sandbox,pwm";
477 compatible = "sandbox,ram";
481 compatible = "sandbox,warm-reset";
485 compatible = "sandbox,reset";
489 compatible = "sandbox,reset-ctl";
494 compatible = "sandbox,reset-ctl-test";
495 resets = <&resetc 100>, <&resetc 2>;
496 reset-names = "other", "test";
500 compatible = "sandbox,test-processor";
501 remoteproc-name = "remoteproc-test-dev1";
505 compatible = "sandbox,test-processor";
506 internal-memory-mapped;
507 remoteproc-name = "remoteproc-test-dev2";
511 compatible = "simple-panel";
512 backlight = <&backlight 0 100>;
516 compatible = "sandbox,smem";
520 #address-cells = <1>;
523 compatible = "sandbox,spi";
524 cs-gpios = <0>, <&gpio_a 0>;
527 compatible = "spansion,m25p16", "spi-flash";
528 spi-max-frequency = <40000000>;
529 sandbox,filename = "spi.bin";
534 compatible = "sandbox,syscon0";
539 compatible = "sandbox,syscon1";
547 compatible = "simple-mfd", "syscon";
555 compatible = "sandbox,timer";
556 clock-frequency = <1000000>;
560 compatible = "sandbox,tpm2";
564 compatible = "sandbox,serial";
569 compatible = "sandbox,usb";
572 compatible = "sandbox,usb-hub";
573 #address-cells = <1>;
577 compatible = "sandbox,usb-flash";
583 compatible = "sandbox,usb";
585 compatible = "usb-hub";
586 usb,device-class = <9>;
588 compatible = "sandbox,usb-hub";
589 #address-cells = <1>;
593 compatible = "sandbox,usb-flash";
594 sandbox,filepath = "testflash.bin";
599 compatible = "sandbox,usb-flash";
600 sandbox,filepath = "testflash1.bin";
605 compatible = "sandbox,usb-flash";
606 sandbox,filepath = "testflash2.bin";
611 compatible = "sandbox,usb-keyb";
619 compatible = "sandbox,usb";
624 compatible = "sandbox,spmi";
625 #address-cells = <0x1>;
628 compatible = "qcom,spmi-pmic";
630 #address-cells = <0x1>;
633 spmi_gpios: gpios@c000 {
634 compatible = "qcom,pm8916-gpio";
635 reg = <0xc000 0x400>;
639 gpio-bank-name="spmi";
645 compatible = "sandbox,wdt";
649 compatible = "sandbox,axi";
650 #address-cells = <0x1>;
653 compatible = "sandbox,sandbox_store";
659 #address-cells = <1>;
662 compatible = "denx,u-boot-fdt-test";
667 translation-test@8000 {
668 compatible = "simple-bus";
669 reg = <0x8000 0x4000>;
671 #address-cells = <0x2>;
674 ranges = <0 0x0 0x8000 0x1000
675 1 0x100 0x9000 0x1000
676 2 0x200 0xA000 0x1000
677 3 0x300 0xB000 0x1000
681 compatible = "denx,u-boot-fdt-dummy";
682 reg = <0 0x0 0x1000>;
686 compatible = "denx,u-boot-fdt-dummy";
687 reg = <1 0x100 0x1000>;
692 compatible = "denx,u-boot-fdt-dummy";
693 reg = <2 0x200 0x1000>;
698 compatible = "simple-bus";
699 reg = <3 0x300 0x1000>;
701 #address-cells = <0x1>;
705 compatible = "denx,u-boot-fdt-dummy";
712 compatible = "sandbox,sandbox_osd";
716 compatible = "sandbox,board_sandbox";
720 compatible = "sandbox,tee";
724 compatible = "sandbox,virtio1";
728 compatible = "sandbox,virtio2";
732 compatible = "sandbox,pinctrl";
736 #include "sandbox_pmic.dtsi"