5 compatible = "sandbox";
11 eth0 = "/eth@10002000";
20 remoteproc1 = &rproc_1;
21 remoteproc2 = &rproc_2;
26 testbus3 = "/some-bus";
27 testfdt0 = "/some-bus/c-test@0";
28 testfdt1 = "/some-bus/c-test@1";
30 testfdt5 = "/some-bus/c-test@5";
32 fdt-dummy0 = "/translation-test@8000/dev@0,0";
33 fdt-dummy1 = "/translation-test@8000/dev@1,100";
34 fdt-dummy2 = "/translation-test@8000/dev@2,200";
35 fdt-dummy3 = "/translation-test@8000/noxlatebus@3,300/dev@42";
44 compatible = "denx,u-boot-fdt-test";
48 test-gpios = <&gpio_a 1>, <&gpio_a 4>, <&gpio_b 5 0 3 2 1>,
50 test2-gpios = <&gpio_a 1>, <&gpio_a 4>, <&gpio_b 6 1 3 2 1>,
51 <&gpio_b 7 2 3 2 1>, <&gpio_b 8 4 3 2 1>,
52 <&gpio_b 9 0xc 3 2 1>;
57 compatible = "not,compatible";
66 compatible = "denx,u-boot-fdt-test";
71 phy_provider0: gen_phy@0 {
72 compatible = "sandbox,phy";
76 phy_provider1: gen_phy@1 {
77 compatible = "sandbox,phy";
82 gen_phy_user: gen_phy_user {
83 compatible = "simple-bus";
84 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
85 phy-names = "phy1", "phy2", "phy3";
91 compatible = "denx,u-boot-test-bus";
96 compatible = "denx,u-boot-fdt-test";
102 compatible = "denx,u-boot-fdt-test";
108 compatible = "denx,u-boot-fdt-test";
119 compatible = "google,another-fdt-test";
126 compatible = "google,another-fdt-test";
130 compatible = "denx,u-boot-fdt-test";
134 compatible = "denx,u-boot-fdt-test";
138 clk_fixed: clk-fixed {
139 compatible = "fixed-clock";
141 clock-frequency = <1234>;
145 clk_sandbox: clk-sbox {
146 compatible = "sandbox,clk";
151 compatible = "sandbox,clk-test";
152 clocks = <&clk_fixed>,
155 clock-names = "fixed", "i2c", "spi";
159 compatible = "sandbox,eth";
160 reg = <0x10002000 0x1000>;
161 fake-host-hwaddr = [00 00 66 44 22 00];
164 eth_5: eth@10003000 {
165 compatible = "sandbox,eth";
166 reg = <0x10003000 0x1000>;
167 fake-host-hwaddr = [00 00 66 44 22 11];
171 compatible = "sandbox,eth";
172 reg = <0x10005000 0x1000>;
173 fake-host-hwaddr = [00 00 66 44 22 33];
177 compatible = "sandbox,eth";
178 reg = <0x10004000 0x1000>;
179 fake-host-hwaddr = [00 00 66 44 22 22];
183 compatible = "sandbox,gpio";
186 gpio-bank-name = "a";
187 sandbox,gpio-count = <20>;
190 gpio_b: extra-gpios {
191 compatible = "sandbox,gpio";
194 gpio-bank-name = "b";
195 sandbox,gpio-count = <10>;
199 #address-cells = <1>;
202 compatible = "sandbox,i2c";
203 clock-frequency = <100000>;
206 compatible = "i2c-eeprom";
208 compatible = "sandbox,i2c-eeprom";
209 sandbox,filename = "i2c.bin";
210 sandbox,size = <256>;
216 compatible = "sandbox-rtc";
218 compatible = "sandbox,i2c-rtc";
224 compatible = "sandbox-rtc";
226 compatible = "sandbox,i2c-rtc";
230 sandbox_pmic: sandbox_pmic {
240 compatible = "sandbox,adc";
241 vdd-supply = <&buck2>;
242 vss-microvolts = <0>;
247 compatible = "sandbox,lcd-sdl";
253 compatible = "gpio-leds";
256 gpios = <&gpio_a 1 0>;
257 label = "sandbox:red";
261 gpios = <&gpio_a 2 0>;
262 label = "sandbox:green";
266 gpios = <&gpio_a 5 0>;
267 label = "sandbox:default_on";
268 default-state = "on";
272 gpios = <&gpio_a 6 0>;
273 label = "sandbox:default_off";
274 default-state = "off";
279 compatible = "sandbox,mbox";
284 compatible = "sandbox,mbox-test";
285 mboxes = <&mbox 100>, <&mbox 1>;
286 mbox-names = "other", "test";
290 compatible = "sandbox,mmc";
294 compatible = "sandbox,mmc";
298 compatible = "sandbox,mmc";
301 pci0: pci-controller0 {
302 compatible = "sandbox,pci";
304 #address-cells = <3>;
306 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
307 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
309 compatible = "pci-generic";
310 reg = <0x0000 0 0 0 0>;
312 compatible = "sandbox,swap-case";
316 compatible = "pci-generic";
317 reg = <0xf800 0 0 0 0>;
319 compatible = "sandbox,swap-case";
324 pci1: pci-controller1 {
325 compatible = "sandbox,pci";
327 #address-cells = <3>;
329 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000
330 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
331 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
332 0x0c 0x00 0x1234 0x5678>;
335 pci2: pci-controller2 {
336 compatible = "sandbox,pci";
338 #address-cells = <3>;
340 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
341 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
342 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
344 compatible = "pci-generic";
345 reg = <0xf800 0 0 0 0>;
347 compatible = "sandbox,swap-case";
353 compatible = "simple-bus";
355 compatible = "denx,u-boot-probe-test";
359 compatible = "denx,u-boot-probe-test";
363 compatible = "denx,u-boot-probe-test";
367 compatible = "denx,u-boot-probe-test";
371 pwrdom: power-domain {
372 compatible = "sandbox,power-domain";
373 #power-domain-cells = <1>;
377 compatible = "sandbox,power-domain-test";
378 power-domains = <&pwrdom 2>;
382 compatible = "sandbox,pwm";
386 compatible = "sandbox,pwm";
390 compatible = "sandbox,ram";
394 compatible = "sandbox,warm-reset";
398 compatible = "sandbox,reset";
402 compatible = "sandbox,reset-ctl";
407 compatible = "sandbox,reset-ctl-test";
408 resets = <&resetc 100>, <&resetc 2>;
409 reset-names = "other", "test";
413 compatible = "sandbox,test-processor";
414 remoteproc-name = "remoteproc-test-dev1";
418 compatible = "sandbox,test-processor";
419 internal-memory-mapped;
420 remoteproc-name = "remoteproc-test-dev2";
424 compatible = "sandbox,smem";
428 #address-cells = <1>;
431 compatible = "sandbox,spi";
432 cs-gpios = <0>, <&gpio_a 0>;
435 compatible = "spansion,m25p16", "spi-flash";
436 spi-max-frequency = <40000000>;
437 sandbox,filename = "spi.bin";
442 compatible = "sandbox,syscon0";
447 compatible = "sandbox,syscon1";
455 compatible = "simple-mfd", "syscon";
463 compatible = "sandbox,timer";
464 clock-frequency = <1000000>;
468 compatible = "sandbox,tpm2";
472 compatible = "sandbox,serial";
477 compatible = "sandbox,usb";
480 compatible = "sandbox,usb-hub";
481 #address-cells = <1>;
485 compatible = "sandbox,usb-flash";
491 compatible = "sandbox,usb";
493 compatible = "usb-hub";
494 usb,device-class = <9>;
496 compatible = "sandbox,usb-hub";
497 #address-cells = <1>;
501 compatible = "sandbox,usb-flash";
502 sandbox,filepath = "testflash.bin";
507 compatible = "sandbox,usb-flash";
508 sandbox,filepath = "testflash1.bin";
513 compatible = "sandbox,usb-flash";
514 sandbox,filepath = "testflash2.bin";
519 compatible = "sandbox,usb-keyb";
527 compatible = "sandbox,usb";
532 compatible = "sandbox,spmi";
533 #address-cells = <0x1>;
536 compatible = "qcom,spmi-pmic";
538 #address-cells = <0x1>;
541 spmi_gpios: gpios@c000 {
542 compatible = "qcom,pm8916-gpio";
543 reg = <0xc000 0x400>;
547 gpio-bank-name="spmi";
553 compatible = "sandbox,wdt";
557 compatible = "sandbox,axi";
558 #address-cells = <0x1>;
561 compatible = "sandbox,sandbox_store";
567 #address-cells = <1>;
570 compatible = "denx,u-boot-fdt-test";
575 translation-test@8000 {
576 compatible = "simple-bus";
577 reg = <0x8000 0x4000>;
579 #address-cells = <0x2>;
582 ranges = <0 0x0 0x8000 0x1000
583 1 0x100 0x9000 0x1000
584 2 0x200 0xA000 0x1000
585 3 0x300 0xB000 0x1000
589 compatible = "denx,u-boot-fdt-dummy";
590 reg = <0 0x0 0x1000>;
594 compatible = "denx,u-boot-fdt-dummy";
595 reg = <1 0x100 0x1000>;
600 compatible = "denx,u-boot-fdt-dummy";
601 reg = <2 0x200 0x1000>;
606 compatible = "simple-bus";
607 reg = <3 0x300 0x1000>;
609 #address-cells = <0x1>;
613 compatible = "denx,u-boot-fdt-dummy";
620 #include "sandbox_pmic.dtsi"