1 // SPDX-License-Identifier: GPL-2.0+
3 * Devicetree file for running sandbox tests
5 * This includes lots of extra devices used by various tests.
7 * Note that SPL use the main sandbox.dts file
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/gpio/sandbox-gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/pinctrl/sandbox-pinmux.h>
16 #include <dt-bindings/mux/mux.h>
20 compatible = "sandbox";
26 ethernet0 = "/eth@10002000";
29 ethernet4 = &dsa_eth0;
31 ethernet6 = "/eth@10004000";
33 ethernet8 = &phy_eth0;
45 remoteproc0 = &rproc_1;
46 remoteproc1 = &rproc_2;
51 testbus3 = "/some-bus";
52 testfdt0 = "/some-bus/c-test@0";
53 testfdt12 = "/some-bus/c-test@1";
55 testfdt5 = "/some-bus/c-test@5";
57 testfdtm1 = &testfdtm1;
58 fdt-dummy0 = "/translation-test@8000/dev@0,0";
59 fdt-dummy1 = "/translation-test@8000/dev@1,100";
60 fdt-dummy2 = "/translation-test@8000/dev@2,200";
61 fdt-dummy3 = "/translation-test@8000/noxlatebus@3,300/dev@42";
75 testing-str = "testing";
84 compatible = "u-boot,boot-std";
86 filename-prefixes = "/", "/boot/";
87 bootdev-order = "mmc2", "mmc1";
90 compatible = "u-boot,extlinux";
94 compatible = "u-boot,distro-efi";
100 menuitem-gap-y = <1>;
104 * This is used for the VBE OS-request tests. A FAT filesystem
105 * created in a partition with the VBE information appearing
106 * before the partition starts
110 compatible = "fwupd,vbe-simple";
112 skip-offset = <0x200>;
113 area-start = <0x400>;
114 area-size = <0x1000>;
115 state-offset = <0x400>;
117 version-offset = <0x800>;
118 version-size = <0x100>;
122 * This is used for the VBE VPL tests. The MMC device holds the
123 * binman image.bin file. The test progresses through each phase
124 * of U-Boot, loading each in turn from MMC.
126 * Note that the test enables this node (and mmc3) before
132 compatible = "fwupd,vbe-simple";
134 skip-offset = <0x800000>;
136 area-size = <0xe00000>;
137 state-offset = <0xdffc00>;
139 version-offset = <0xdffe00>;
140 version-size = <0x100>;
150 menuitem-gap-y = <1>;
154 compatible = "sandbox,fuzzing-engine";
158 compatible = "reboot-mode-gpio";
159 gpios = <&gpio_c 0 GPIO_ACTIVE_HIGH>, <&gpio_c 1 GPIO_ACTIVE_HIGH>;
160 u-boot,env-variable = "bootstatus";
162 mode-download = <0x03>;
165 reboot_mode1: reboot-mode@14 {
166 compatible = "reboot-mode-rtc";
169 u-boot,env-variable = "bootstatus";
171 mode-test = <0x21969147>;
172 mode-download = <0x51939147>;
176 compatible = "sandbox,audio-codec";
177 #sound-dai-cells = <1>;
181 compatible = "gpio-keys";
184 gpios = <&gpio_a 3 0>;
186 linux,code = <BTN_1>;
190 gpios = <&gpio_a 4 0>;
192 linux,code = <BTN_2>;
197 compatible = "adc-keys";
198 io-channels = <&adc 3>;
199 keyup-threshold-microvolt = <3000000>;
203 linux,code = <KEY_F3>;
204 press-threshold-microvolt = <1500000>;
209 linux,code = <KEY_F4>;
210 press-threshold-microvolt = <1000000>;
215 linux,code = <KEY_F5>;
216 press-threshold-microvolt = <500000>;
222 compatible = "google,cros-ec-sandbox";
225 * This describes the flash memory within the EC. Note
226 * that the STM32L flash erases to 0, not 0xff.
229 image-pos = <0x08000000>;
233 /* Information for sandbox */
239 image-pos = <0xf000>;
243 uncomp-size = <0xcf8>;
246 value = [00 01 02 03 04 05 06 07
247 08 09 0a 0b 0c 0d 0e 0f
248 10 11 12 13 14 15 16 17
249 18 19 1a 1b 1c 1d 1e 1f];
253 image-pos = <0x10000>;
258 cros_ec_pwm: cros-ec-pwm {
259 compatible = "google,cros-ec-pwm";
266 compatible = "sandbox,dsi-host";
271 compatible = "denx,u-boot-fdt-test";
275 test-gpios = <&gpio_a 1>, <&gpio_a 4>,
276 <&gpio_b 5 GPIO_ACTIVE_HIGH 3 2 1>,
278 test2-gpios = <&gpio_a 1>, <&gpio_a 4>,
279 <&gpio_b 6 GPIO_ACTIVE_LOW 3 2 1>,
280 <&gpio_b 7 GPIO_IN 3 2 1>,
281 <&gpio_b 8 GPIO_OUT 3 2 1>,
282 <&gpio_b 9 (GPIO_OUT|GPIO_OUT_ACTIVE) 3 2 1>;
284 <&gpio_c 0 (GPIO_OUT|GPIO_OPEN_DRAIN)>,
285 <&gpio_c 1 (GPIO_OUT|GPIO_OPEN_SOURCE)>,
286 <&gpio_c 2 GPIO_OUT>,
287 <&gpio_c 3 (GPIO_IN|GPIO_PULL_UP)>,
288 <&gpio_c 4 (GPIO_IN|GPIO_PULL_DOWN)>,
290 <&gpio_c 6 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_DRAIN)>,
291 <&gpio_c 7 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_SOURCE)>;
292 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
293 test5-gpios = <&gpio_a 19>;
296 int8-value = /bits/ 8 <0x12>;
297 int16-value = /bits/ 16 <0x1234>;
299 uint-value = <(-1234)>;
300 int64-value = /bits/ 64 <0x1111222233334444>;
301 int-array = <5678 9123 4567>;
302 str-value = "test string";
303 interrupts-extended = <&irq 3 0>;
305 phandle-value = <&gpio_c 10>, <0xFFFFFFFF 20>, <&gpio_a 30>;
307 mux-controls = <&muxcontroller0 0>, <&muxcontroller0 1>,
308 <&muxcontroller0 2>, <&muxcontroller0 3>,
310 mux-control-names = "mux0", "mux1", "mux2", "mux3", "mux4";
311 mux-syscon = <&syscon3>;
314 clock-frequency = <6500000>;
326 pixelclk-active = <1>;
332 clock-frequency = <9000000>;
344 pixelclk-active = <0>;
347 clock-frequency = <33500000>;
351 hfront-porch = <164>;
359 clock-frequency = <6500000>;
371 pixelclk-active = <1>;
380 compatible = "not,compatible";
387 backlight: backlight {
388 compatible = "pwm-backlight";
389 enable-gpios = <&gpio_a 1>;
390 power-supply = <&ldo_1>;
391 pwms = <&pwm 0 1000>;
392 default-brightness-level = <5>;
393 brightness-levels = <0 16 32 64 128 170 202 234 255>;
397 compatible = "simple-bus";
399 compatible = "sandbox,phy";
404 compatible = "simple-bus";
410 compatible = "denx,u-boot-fdt-test";
414 mux-controls = <&muxcontroller0 0>;
415 mux-control-names = "mux0";
418 phy_provider0: gen_phy@0 {
419 compatible = "sandbox,phy";
423 phy_provider1: gen_phy@1 {
424 compatible = "sandbox,phy";
429 phy_provider2: gen_phy@2 {
430 compatible = "sandbox,phy";
434 gen_phy_user: gen_phy_user {
435 compatible = "simple-bus";
436 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
437 phy-names = "phy1", "phy2", "phy3";
440 gen_phy_user1: gen_phy_user1 {
441 compatible = "simple-bus";
442 phys = <&phy_provider0 0>, <&phy_provider2>;
443 phy-names = "phy1", "phy2";
447 #address-cells = <1>;
449 compatible = "denx,u-boot-test-bus";
454 compatible = "denx,u-boot-fdt-test";
460 compatible = "denx,u-boot-fdt-test";
466 compatible = "denx,u-boot-fdt-test";
477 compatible = "google,another-fdt-test";
484 compatible = "google,another-fdt-test";
488 compatible = "denx,u-boot-fdt-test";
492 compatible = "denx,u-boot-fdt-test";
496 compatible = "denx,u-boot-fdt-test1";
500 compatible = "mediatek,u-boot-fdt-test";
501 #address-cells = <1>;
518 compatible = "denx,u-boot-devres-test";
523 compatible = "denx,u-boot-fdt-test";
524 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
525 test5-gpios = <&gpio_a 19>;
529 #address-cells = <1>;
531 compatible = "denx,u-boot-test-bus";
532 dma-ranges = <0x10000000 0x00000000 0x00040000>;
535 compatible = "denx,u-boot-fdt-test";
540 #address-cells = <1>;
542 compatible = "denx,u-boot-test-bus";
545 compatible = "denx,u-boot-fdt-test";
549 acpi_test1: acpi-test {
550 compatible = "denx,u-boot-acpi-test";
551 acpi-ssdt-test-data = "ab";
552 acpi-dsdt-test-data = "hi";
554 compatible = "denx,u-boot-acpi-test";
558 acpi_test2: acpi-test2 {
559 compatible = "denx,u-boot-acpi-test";
560 acpi-ssdt-test-data = "cd";
561 acpi-dsdt-test-data = "jk";
565 clk_fixed: clk-fixed {
566 compatible = "fixed-clock";
568 clock-frequency = <1234>;
571 clk_fixed_factor: clk-fixed-factor {
572 compatible = "fixed-factor-clock";
576 clocks = <&clk_fixed>;
580 compatible = "fixed-clock";
582 clock-frequency = <20000000>;
586 clk_sandbox: clk-sbox {
587 compatible = "sandbox,clk";
589 assigned-clocks = <&clk_sandbox 3>;
590 assigned-clock-rates = <321>;
594 compatible = "sandbox,clk-test";
595 clocks = <&clk_fixed>,
600 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
604 compatible = "sandbox,clk-ccf";
608 compatible = "sandbox,efi-media";
612 compatible = "sandbox,eth";
613 reg = <0x10002000 0x1000>;
616 eth_5: eth@10003000 {
617 compatible = "sandbox,eth";
618 reg = <0x10003000 0x1000>;
619 nvmem-cells = <ð5_addr>;
620 nvmem-cell-names = "mac-address";
624 compatible = "sandbox,eth";
625 reg = <0x10005000 0x1000>;
626 nvmem-cells = <ð3_addr>;
627 nvmem-cell-names = "mac-address";
631 compatible = "sandbox,eth";
632 reg = <0x10004000 0x1000>;
635 phy_eth0: phy-test-eth {
636 compatible = "sandbox,eth";
637 reg = <0x10007000 0x1000>;
638 mac-address = [ 02 00 11 22 33 49 ];
639 phy-handle = <ðphy1>;
640 phy-mode = "2500base-x";
643 dsa_eth0: dsa-test-eth {
644 compatible = "sandbox,eth";
645 reg = <0x10006000 0x1000>;
646 nvmem-cells = <ð4_addr>;
647 nvmem-cell-names = "mac-address";
651 compatible = "sandbox,dsa";
654 #address-cells = <1>;
659 phy-mode = "rgmii-rxid";
670 phy-mode = "rgmii-txid";
671 fixed-link = <0 1 100 0 0>;
676 ethernet = <&dsa_eth0>;
687 sandbox_firmware: sandbox-firmware {
688 compatible = "sandbox,firmware";
692 compatible = "sandbox,scmi-agent";
693 #address-cells = <1>;
700 clk_scmi: protocol@14 {
705 reset_scmi: protocol@16 {
714 #address-cells = <1>;
719 regulator-name = "sandbox-voltd0";
720 regulator-min-microvolt = <1100000>;
721 regulator-max-microvolt = <3300000>;
725 regulator-name = "sandbox-voltd1";
726 regulator-min-microvolt = <1800000>;
734 compatible = "sandbox,fpga";
738 compatible = "sandbox,pinctrl-gpio";
741 compatible = "sandbox,gpio";
744 gpio-bank-name = "a";
745 sandbox,gpio-count = <20>;
746 hog_input_active_low {
749 gpios = <10 GPIO_ACTIVE_LOW>;
751 hog_input_active_high {
754 gpios = <11 GPIO_ACTIVE_HIGH>;
759 gpios = <12 GPIO_ACTIVE_HIGH>;
764 gpios = <13 GPIO_ACTIVE_HIGH>;
768 gpio_b: extra-gpios {
769 compatible = "sandbox,gpio";
772 gpio-bank-name = "b";
773 sandbox,gpio-count = <10>;
776 gpio_c: pinmux-gpios {
777 compatible = "sandbox,gpio";
780 gpio-bank-name = "c";
781 sandbox,gpio-count = <10>;
786 #address-cells = <1>;
789 compatible = "sandbox,i2c";
790 clock-frequency = <100000>;
791 pinctrl-names = "default";
792 pinctrl-0 = <&pinmux_i2c0_pins>;
795 #address-cells = <1>;
798 compatible = "i2c-eeprom";
799 sandbox,emul = <&emul_eeprom>;
801 compatible = "fixed-partitions";
802 #address-cells = <1>;
804 bootcount_i2c: bootcount@10 {
809 eth3_addr: mac-address@24 {
815 #address-cells = <1>;
818 compatible = "sandbox-rtc";
819 sandbox,emul = <&emul0>;
821 eth4_addr: mac-address@40 {
828 compatible = "sandbox-rtc";
829 sandbox,emul = <&emul1>;
834 compatible = "sandbox,i2c-emul-parent";
835 emul_eeprom: emul-eeprom {
836 compatible = "sandbox,i2c-eeprom";
837 sandbox,filename = "i2c.bin";
838 sandbox,size = <256>;
841 compatible = "sandbox,i2c-rtc-emul";
844 compatible = "sandbox,i2c-rtc-emul";
848 sandbox_pmic: sandbox_pmic {
850 sandbox,emul = <&emul_pmic0>;
855 sandbox,emul = <&emul_pmic1>;
860 compatible = "u-boot,bootcount-rtc";
866 compatible = "u-boot,bootcount-i2c-eeprom";
867 i2c-eeprom = <&bootcount_i2c>;
871 compatible = "u-boot,bootcount-syscon";
873 reg = <0x0 0x04>, <0x0 0x04>;
874 reg-names = "syscon_reg", "offset";
878 compatible = "u-boot,bootcount-syscon";
880 reg = <0x0 0x04>, <0x0 0x02> ;
881 reg-names = "syscon_reg", "offset";
885 compatible = "sandbox,adc";
886 #io-channel-cells = <1>;
887 vdd-supply = <&buck2>;
888 vss-microvolts = <0>;
892 compatible = "sandbox,iommu";
897 compatible = "sandbox,irq";
898 interrupt-controller;
899 #interrupt-cells = <2>;
904 compatible = "sandbox,lcd-sdl";
905 pinctrl-names = "default";
906 pinctrl-0 = <&pinmux_lcd_pins>;
912 compatible = "gpio-leds";
915 gpios = <&gpio_a 1 0>;
916 label = "sandbox:red";
920 gpios = <&gpio_a 2 0>;
921 label = "sandbox:green";
925 gpios = <&gpio_a 5 0>;
926 label = "sandbox:default_on";
927 default-state = "on";
931 gpios = <&gpio_a 6 0>;
932 /* label intentionally omitted */
933 default-state = "off";
938 gpios = <&gpio_a 7 0>;
939 compatible = "linux,wdt-gpio";
940 hw_margin_ms = <100>;
946 gpios = <&gpio_a 7 0>;
947 compatible = "linux,wdt-gpio";
948 hw_margin_ms = <100>;
954 compatible = "sandbox,mbox";
959 compatible = "sandbox,mbox-test";
960 mboxes = <&mbox 100>, <&mbox 1>;
961 mbox-names = "other", "test";
965 #address-cells = <1>;
967 timebase-frequency = <2000000>;
971 timebase-frequency = <3000000>;
972 compatible = "sandbox,cpu_sandbox";
979 compatible = "sandbox,cpu_sandbox";
986 compatible = "sandbox,cpu_sandbox";
992 compatible = "sandbox,soc";
996 compatible = "sandbox,i2s";
997 #sound-dai-cells = <1>;
998 sandbox,silent; /* Don't emit sounds while testing */
1002 compatible = "sandbox,nop_sandbox1";
1004 compatible = "sandbox,nop_sandbox2";
1008 compatible = "sandbox,nop_sandbox2";
1014 compatible = "sandbox,memory";
1018 #address-cells = <1>;
1020 compatible = "sandbox,misc_sandbox";
1022 eth5_addr: mac-address@10 {
1028 compatible = "sandbox,mmc";
1032 /* This is used for the bootdev tests */
1034 compatible = "sandbox,mmc";
1035 filename = "mmc1.img";
1038 /* This is used for the fastboot tests */
1040 compatible = "sandbox,mmc";
1043 /* This is used for VBE VPL tests */
1045 status = "disabled";
1046 compatible = "sandbox,mmc";
1047 filename = "image.bin";
1051 /* This is used for bootstd bootmenu tests */
1053 status = "disabled";
1054 compatible = "sandbox,mmc";
1055 filename = "mmc4.img";
1059 compatible = "sandbox,pch";
1063 compatible = "sandbox,pci";
1064 device_type = "pci";
1065 bus-range = <0x00 0xff>;
1066 #address-cells = <3>;
1068 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
1069 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
1070 iommu-map = <0x0010 &iommu 0 1>;
1071 iommu-map-mask = <0xfffffff8>;
1073 compatible = "pci-generic";
1074 reg = <0x0000 0 0 0 0>;
1075 sandbox,emul = <&swap_case_emul0_0>;
1078 compatible = "pci-generic";
1079 /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
1080 reg = <0x02000814 0 0 0 0
1081 0x01000810 0 0 0 0>;
1082 sandbox,emul = <&swap_case_emul0_1>;
1085 compatible = "sandbox,p2sb";
1086 reg = <0x02001010 0 0 0 0>;
1087 sandbox,emul = <&p2sb_emul>;
1090 intel,p2sb-port-id = <3>;
1091 compatible = "sandbox,adder";
1095 compatible = "sandbox,pmc";
1096 reg = <0xf000 0 0 0 0>;
1097 sandbox,emul = <&pmc_emul1e>;
1098 acpi-base = <0x400>;
1099 gpe0-dwx-mask = <0xf>;
1100 gpe0-dwx-shift-base = <4>;
1106 compatible = "pci-generic";
1107 /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
1108 reg = <0x0100f810 0 0 0 0>;
1109 sandbox,emul = <&swap_case_emul0_1f>;
1114 compatible = "sandbox,pci-emul-parent";
1115 swap_case_emul0_0: emul0@0,0 {
1116 compatible = "sandbox,swap-case";
1118 swap_case_emul0_1: emul0@1,0 {
1119 compatible = "sandbox,swap-case";
1122 swap_case_emul0_1f: emul0@1f,0 {
1123 compatible = "sandbox,swap-case";
1125 p2sb_emul: emul@2,0 {
1126 compatible = "sandbox,p2sb-emul";
1128 pmc_emul1e: emul@1e,0 {
1129 compatible = "sandbox,pmc-emul";
1134 compatible = "sandbox,pci";
1135 device_type = "pci";
1136 bus-range = <0x00 0xff>;
1137 #address-cells = <3>;
1139 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 // MEM0
1140 0x02000000 0 0x31000000 0x3e000000 0 0x2000 // MEM1
1141 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
1142 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
1143 0x0c 0x00 0x1234 0x5678
1144 0x10 0x00 0x1234 0x5678>;
1146 reg = <0x8000 0 0 0 0>;
1151 compatible = "sandbox,pci";
1152 device_type = "pci";
1153 bus-range = <0x00 0xff>;
1154 #address-cells = <3>;
1156 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
1157 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
1158 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
1160 compatible = "pci-generic";
1161 reg = <0xf800 0 0 0 0>;
1162 sandbox,emul = <&swap_case_emul2_1f>;
1167 compatible = "sandbox,pci-emul-parent";
1168 swap_case_emul2_1f: emul2@1f,0 {
1169 compatible = "sandbox,swap-case";
1174 compatible = "sandbox,pci_ep";
1178 compatible = "simple-bus";
1180 compatible = "denx,u-boot-probe-test";
1184 compatible = "denx,u-boot-probe-test";
1188 compatible = "denx,u-boot-probe-test";
1192 compatible = "denx,u-boot-probe-test";
1193 first-syscon = <&syscon0>;
1194 second-sys-ctrl = <&another_system_controller>;
1195 third-syscon = <&syscon2>;
1199 pwrdom: power-domain {
1200 compatible = "sandbox,power-domain";
1201 #power-domain-cells = <1>;
1205 compatible = "sandbox,power-domain-test";
1206 power-domains = <&pwrdom 2>;
1210 compatible = "sandbox,pwm";
1212 pinctrl-names = "default";
1213 pinctrl-0 = <&pinmux_pwm_pins>;
1217 compatible = "sandbox,pwm";
1222 compatible = "sandbox,ram";
1226 compatible = "sandbox,warm-reset";
1231 compatible = "sandbox,reset";
1236 compatible = "sandbox,reset-ctl";
1241 compatible = "sandbox,reset-ctl-test";
1242 resets = <&resetc 100>, <&resetc 2>, <&resetc 20>, <&resetc 40>;
1243 reset-names = "other", "test", "test2", "test3";
1247 compatible = "sandbox,sandbox-rng";
1251 compatible = "sandbox,test-processor";
1252 remoteproc-name = "remoteproc-test-dev1";
1256 compatible = "sandbox,test-processor";
1257 internal-memory-mapped;
1258 remoteproc-name = "remoteproc-test-dev2";
1262 compatible = "simple-panel";
1263 backlight = <&backlight 0 100>;
1267 compatible = "sandbox,scsi";
1268 sandbox,filepath = "scsi.img";
1272 compatible = "sandbox,smem";
1276 compatible = "sandbox,sound";
1278 sound-dai = <&i2s 0>;
1282 sound-dai = <&audio 0>;
1287 #address-cells = <1>;
1290 compatible = "sandbox,spi";
1291 cs-gpios = <0>, <0>, <&gpio_a 0>;
1292 pinctrl-names = "default";
1293 pinctrl-0 = <&pinmux_spi0_pins>;
1297 compatible = "spansion,m25p16", "jedec,spi-nor";
1298 spi-max-frequency = <40000000>;
1299 sandbox,filename = "spi.bin";
1303 compatible = "spansion,m25p16", "jedec,spi-nor";
1304 spi-max-frequency = <50000000>;
1305 sandbox,filename = "spi.bin";
1312 compatible = "sandbox,syscon0";
1316 another_system_controller: syscon@1 {
1317 compatible = "sandbox,syscon1";
1325 compatible = "simple-mfd", "syscon";
1333 compatible = "simple-mfd", "syscon";
1334 reg = <0x000100 0x10>;
1336 muxcontroller0: a-mux-controller {
1337 compatible = "mmio-mux";
1338 #mux-control-cells = <1>;
1340 mux-reg-masks = <0x0 0x30>, /* 0: reg 0x0, bits 5:4 */
1341 <0xc 0x1E>, /* 1: reg 0xc, bits 4:1 */
1342 <0x4 0xFF>; /* 2: reg 0x4, bits 7:0 */
1343 idle-states = <MUX_IDLE_AS_IS>, <0x02>, <0x73>;
1344 u-boot,mux-autoprobe;
1348 muxcontroller1: emul-mux-controller {
1349 compatible = "mux-emul";
1350 #mux-control-cells = <0>;
1351 u-boot,mux-autoprobe;
1352 idle-state = <0xabcd>;
1356 compatible = "denx,u-boot-fdtm-test";
1359 testfdtm1: testfdtm1 {
1360 compatible = "denx,u-boot-fdtm-test";
1364 compatible = "denx,u-boot-fdtm-test";
1368 compatible = "sandbox,timer";
1369 clock-frequency = <1000000>;
1373 compatible = "sandbox,timer";
1374 sandbox,timebase-frequency-fallback;
1378 compatible = "sandbox,tpm2";
1382 compatible = "google,sandbox-tpm";
1386 compatible = "sandbox,serial";
1388 pinctrl-names = "default";
1389 pinctrl-0 = <&pinmux_uart0_pins>;
1393 compatible = "sandbox,usb";
1394 status = "disabled";
1396 compatible = "sandbox,usb-hub";
1397 #address-cells = <1>;
1401 compatible = "sandbox,usb-flash";
1407 compatible = "sandbox,usb";
1410 compatible = "usb-hub";
1411 usb,device-class = <9>;
1412 #address-cells = <1>;
1415 compatible = "sandbox,usb-hub";
1416 #address-cells = <1>;
1420 compatible = "sandbox,usb-flash";
1421 sandbox,filepath = "testflash.bin";
1426 compatible = "sandbox,usb-flash";
1427 sandbox,filepath = "testflash1.bin";
1432 compatible = "sandbox,usb-flash";
1433 sandbox,filepath = "testflash2.bin";
1438 compatible = "sandbox,usb-keyb";
1453 compatible = "sandbox,usb";
1454 status = "disabled";
1458 compatible = "sandbox,spmi";
1459 #address-cells = <0x1>;
1460 #size-cells = <0x1>;
1463 compatible = "qcom,spmi-pmic";
1465 #address-cells = <0x1>;
1466 #size-cells = <0x1>;
1469 spmi_gpios: gpios@c000 {
1470 compatible = "qcom,pm8916-gpio";
1471 reg = <0xc000 0x400>;
1475 gpio-bank-name="spmi";
1481 compatible = "sandbox,wdt";
1482 hw_margin_ms = <200>;
1486 compatible = "sandbox,axi";
1487 #address-cells = <0x1>;
1488 #size-cells = <0x1>;
1490 compatible = "sandbox,sandbox_store";
1496 #address-cells = <1>;
1498 setting = "sunrise ohoka";
1499 other-node = "/some-bus/c-test@5";
1500 int-values = <0x1937 72993>;
1501 u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>;
1503 compatible = "denx,u-boot-fdt-test";
1508 translation-test@8000 {
1509 compatible = "simple-bus";
1510 reg = <0x8000 0x4000>;
1512 #address-cells = <0x2>;
1513 #size-cells = <0x1>;
1515 ranges = <0 0x0 0x8000 0x1000
1516 1 0x100 0x9000 0x1000
1517 2 0x200 0xA000 0x1000
1518 3 0x300 0xB000 0x1000
1521 dma-ranges = <0 0x000 0x10000000 0x1000
1522 1 0x100 0x20000000 0x1000
1526 compatible = "denx,u-boot-fdt-dummy";
1527 reg = <0 0x0 0x1000>;
1528 reg-names = "sandbox-dummy-0";
1532 compatible = "denx,u-boot-fdt-dummy";
1533 reg = <1 0x100 0x1000>;
1538 compatible = "denx,u-boot-fdt-dummy";
1539 reg = <2 0x200 0x1000>;
1544 compatible = "simple-bus";
1545 reg = <3 0x300 0x1000>;
1547 #address-cells = <0x1>;
1548 #size-cells = <0x0>;
1551 compatible = "denx,u-boot-fdt-dummy";
1558 compatible = "foreach";
1572 compatible = "sandbox,sandbox_osd";
1576 compatible = "sandbox,tee";
1580 compatible = "sandbox,virtio1";
1581 virtio-type = <4>; /* rng */
1585 compatible = "sandbox,virtio2";
1588 sandbox-virtio-blk {
1589 compatible = "sandbox,virtio1";
1590 virtio-type = <2>; /* block */
1594 compatible = "sandbox,scmi-devices";
1595 clocks = <&clk_scmi 2>, <&clk_scmi 0>;
1596 resets = <&reset_scmi 3>;
1597 regul0-supply = <®ul0_scmi>;
1598 regul1-supply = <®ul1_scmi>;
1602 compatible = "sandbox,pinctrl";
1604 pinctrl-names = "default", "alternate";
1605 pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>;
1606 pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>;
1608 pinctrl_gpios: gpios {
1622 pinmux = <SANDBOX_PINMUX(7, SANDBOX_PINMUX_GPIO)>;
1627 pinmux = <SANDBOX_PINMUX(8, SANDBOX_PINMUX_GPIO)>;
1634 groups = "I2C_UART";
1654 pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>,
1655 <SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>;
1660 pinctrl-single-no-width {
1661 compatible = "pinctrl-single";
1662 reg = <0x0000 0x238>;
1663 #pinctrl-cells = <1>;
1664 pinctrl-single,function-mask = <0x7f>;
1667 pinctrl-single-pins {
1668 compatible = "pinctrl-single";
1669 reg = <0x0000 0x238>;
1670 #pinctrl-cells = <1>;
1671 pinctrl-single,register-width = <32>;
1672 pinctrl-single,function-mask = <0x7f>;
1674 pinmux_pwm_pins: pinmux_pwm_pins {
1675 pinctrl-single,pins = < 0x48 0x06 >;
1678 pinmux_spi0_pins: pinmux_spi0_pins {
1679 pinctrl-single,pins = <
1687 pinmux_uart0_pins: pinmux_uart0_pins {
1688 pinctrl-single,pins = <
1695 pinctrl-single-bits {
1696 compatible = "pinctrl-single";
1697 reg = <0x0000 0x50>;
1698 #pinctrl-cells = <2>;
1699 pinctrl-single,bit-per-mux;
1700 pinctrl-single,register-width = <32>;
1701 pinctrl-single,function-mask = <0xf>;
1703 pinmux_i2c0_pins: pinmux_i2c0_pins {
1704 pinctrl-single,bits = <
1705 0x10 0x00002200 0x0000ff00
1709 pinmux_lcd_pins: pinmux_lcd_pins {
1710 pinctrl-single,bits = <
1711 0x40 0x22222200 0xffffff00
1712 0x44 0x22222222 0xffffffff
1713 0x48 0x00000022 0x000000ff
1714 0x48 0x02000000 0x0f000000
1715 0x4c 0x02000022 0x0f0000ff
1721 compatible = "sandbox,hwspinlock";
1725 compatible = "sandbox,dma";
1728 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
1729 dma-names = "m2m", "tx0", "rx0";
1733 * keep mdio-mux ahead of mdio so that the mux is removed first at the
1734 * end of the test. If parent mdio is removed first, clean-up of the
1735 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
1736 * active at the end of the test. That it turn doesn't allow the mdio
1737 * class to be destroyed, triggering an error.
1740 compatible = "sandbox,mdio-mux";
1741 #address-cells = <1>;
1743 mdio-parent-bus = <&mdio>;
1754 compatible = "sandbox,mdio";
1755 #address-cells = <1>;
1758 ethphy1: ethernet-phy@1 {
1764 compatible = "simple-pm-bus";
1765 clocks = <&clk_sandbox 4>;
1766 power-domains = <&pwrdom 1>;
1769 resetc2: syscon-reset {
1770 compatible = "syscon-reset";
1772 regmap = <&syscon0>;
1774 mask = <0x27FFFFFF>;
1779 compatible = "sandbox,misc_sandbox";
1780 resets = <&resetc2 15>, <&resetc2 30>, <&resetc2 60>;
1781 reset-names = "valid", "no_mask", "out_of_range";
1785 compatible = "sandbox,sysinfo-sandbox";
1789 compatible = "gpio-sysinfo";
1790 gpios = <&gpio_a 15>, <&gpio_a 16>, <&gpio_a 17>;
1791 revisions = <19>, <5>;
1792 names = "rev_a", "foo";
1795 some_regmapped-bus {
1796 #address-cells = <0x1>;
1797 #size-cells = <0x1>;
1799 ranges = <0x0 0x0 0x10>;
1800 compatible = "simple-bus";
1804 compatible = "sandbox,regmap_test";
1809 compatible = "sandbox,thermal";
1813 compatible = "u-boot,fwu-mdata-gpt";
1814 fwu-mdata-store = <&mmc0>;
1817 nvmxip-qspi1@08000000 {
1818 compatible = "nvmxip,qspi";
1819 reg = <0x08000000 0x00200000>;
1824 nvmxip-qspi2@08200000 {
1825 compatible = "nvmxip,qspi";
1826 reg = <0x08200000 0x00100000>;
1832 compatible = "sandbox,extcon";
1836 compatible = "sandbox,arm-ffa-emul";
1839 compatible = "sandbox,arm-ffa";
1844 #include "sandbox_pmic.dtsi"
1845 #include "cros-ec-keyboard.dtsi"
1847 #ifdef CONFIG_SANDBOX_VPL
1848 #include "sandbox_vpl.dtsi"
1851 #include "cedit.dtsi"