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;
47 remoteproc0 = &rproc_1;
48 remoteproc1 = &rproc_2;
53 testbus3 = "/some-bus";
54 testfdt0 = "/some-bus/c-test@0";
55 testfdt12 = "/some-bus/c-test@1";
57 testfdt5 = "/some-bus/c-test@5";
59 testfdtm1 = &testfdtm1;
60 fdt-dummy0 = "/translation-test@8000/dev@0,0";
61 fdt-dummy1 = "/translation-test@8000/dev@1,100";
62 fdt-dummy2 = "/translation-test@8000/dev@2,200";
63 fdt-dummy3 = "/translation-test@8000/noxlatebus@3,300/dev@42";
77 testing-str = "testing";
86 compatible = "u-boot,boot-std";
88 filename-prefixes = "/", "/boot/";
89 bootdev-order = "mmc2", "mmc1";
92 compatible = "u-boot,extlinux";
96 compatible = "u-boot,distro-efi";
102 menuitem-gap-y = <1>;
108 menuitem-gap-y = <1>;
112 * This is used for the VBE OS-request tests. A FAT filesystem
113 * created in a partition with the VBE information appearing
114 * before the parititon starts
118 compatible = "fwupd,vbe-simple";
120 skip-offset = <0x200>;
121 area-start = <0x400>;
122 area-size = <0x1000>;
123 state-offset = <0x400>;
125 version-offset = <0x800>;
126 version-size = <0x100>;
130 * This is used for the VBE VPL tests. The MMC device holds the
131 * binman image.bin file. The test progresses through each phase
132 * of U-Boot, loading each in turn from MMC.
134 * Note that the test enables this node (and mmc3) before
140 compatible = "fwupd,vbe-simple";
142 skip-offset = <0x800000>;
144 area-size = <0xe00000>;
145 state-offset = <0xdffc00>;
147 version-offset = <0xdffe00>;
148 version-size = <0x100>;
156 compatible = "sandbox,fuzzing-engine";
160 compatible = "reboot-mode-gpio";
161 gpios = <&gpio_c 0 GPIO_ACTIVE_HIGH>, <&gpio_c 1 GPIO_ACTIVE_HIGH>;
162 u-boot,env-variable = "bootstatus";
164 mode-download = <0x03>;
167 reboot_mode1: reboot-mode@14 {
168 compatible = "reboot-mode-rtc";
171 u-boot,env-variable = "bootstatus";
173 mode-test = <0x21969147>;
174 mode-download = <0x51939147>;
178 compatible = "sandbox,audio-codec";
179 #sound-dai-cells = <1>;
183 compatible = "gpio-keys";
186 gpios = <&gpio_a 3 0>;
188 linux,code = <BTN_1>;
192 gpios = <&gpio_a 4 0>;
194 linux,code = <BTN_2>;
199 compatible = "adc-keys";
200 io-channels = <&adc 3>;
201 keyup-threshold-microvolt = <3000000>;
205 linux,code = <KEY_F3>;
206 press-threshold-microvolt = <1500000>;
211 linux,code = <KEY_F4>;
212 press-threshold-microvolt = <1000000>;
217 linux,code = <KEY_F5>;
218 press-threshold-microvolt = <500000>;
224 compatible = "google,cros-ec-sandbox";
227 * This describes the flash memory within the EC. Note
228 * that the STM32L flash erases to 0, not 0xff.
231 image-pos = <0x08000000>;
235 /* Information for sandbox */
241 image-pos = <0xf000>;
245 uncomp-size = <0xcf8>;
248 value = [00 01 02 03 04 05 06 07
249 08 09 0a 0b 0c 0d 0e 0f
250 10 11 12 13 14 15 16 17
251 18 19 1a 1b 1c 1d 1e 1f];
255 image-pos = <0x10000>;
260 cros_ec_pwm: cros-ec-pwm {
261 compatible = "google,cros-ec-pwm";
268 compatible = "sandbox,dsi-host";
273 compatible = "denx,u-boot-fdt-test";
277 test-gpios = <&gpio_a 1>, <&gpio_a 4>,
278 <&gpio_b 5 GPIO_ACTIVE_HIGH 3 2 1>,
280 test2-gpios = <&gpio_a 1>, <&gpio_a 4>,
281 <&gpio_b 6 GPIO_ACTIVE_LOW 3 2 1>,
282 <&gpio_b 7 GPIO_IN 3 2 1>,
283 <&gpio_b 8 GPIO_OUT 3 2 1>,
284 <&gpio_b 9 (GPIO_OUT|GPIO_OUT_ACTIVE) 3 2 1>;
286 <&gpio_c 0 (GPIO_OUT|GPIO_OPEN_DRAIN)>,
287 <&gpio_c 1 (GPIO_OUT|GPIO_OPEN_SOURCE)>,
288 <&gpio_c 2 GPIO_OUT>,
289 <&gpio_c 3 (GPIO_IN|GPIO_PULL_UP)>,
290 <&gpio_c 4 (GPIO_IN|GPIO_PULL_DOWN)>,
292 <&gpio_c 6 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_DRAIN)>,
293 <&gpio_c 7 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_SOURCE)>;
294 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
295 test5-gpios = <&gpio_a 19>;
298 int8-value = /bits/ 8 <0x12>;
299 int16-value = /bits/ 16 <0x1234>;
301 uint-value = <(-1234)>;
302 int64-value = /bits/ 64 <0x1111222233334444>;
303 int-array = <5678 9123 4567>;
304 str-value = "test string";
305 interrupts-extended = <&irq 3 0>;
307 phandle-value = <&gpio_c 10>, <0xFFFFFFFF 20>, <&gpio_a 30>;
309 mux-controls = <&muxcontroller0 0>, <&muxcontroller0 1>,
310 <&muxcontroller0 2>, <&muxcontroller0 3>,
312 mux-control-names = "mux0", "mux1", "mux2", "mux3", "mux4";
313 mux-syscon = <&syscon3>;
316 clock-frequency = <6500000>;
328 pixelclk-active = <1>;
334 clock-frequency = <9000000>;
346 pixelclk-active = <0>;
349 clock-frequency = <33500000>;
353 hfront-porch = <164>;
361 clock-frequency = <6500000>;
373 pixelclk-active = <1>;
382 compatible = "not,compatible";
389 backlight: backlight {
390 compatible = "pwm-backlight";
391 enable-gpios = <&gpio_a 1>;
392 power-supply = <&ldo_1>;
393 pwms = <&pwm 0 1000>;
394 default-brightness-level = <5>;
395 brightness-levels = <0 16 32 64 128 170 202 234 255>;
399 compatible = "simple-bus";
401 compatible = "sandbox,phy";
406 compatible = "simple-bus";
412 compatible = "denx,u-boot-fdt-test";
416 mux-controls = <&muxcontroller0 0>;
417 mux-control-names = "mux0";
420 phy_provider0: gen_phy@0 {
421 compatible = "sandbox,phy";
425 phy_provider1: gen_phy@1 {
426 compatible = "sandbox,phy";
431 phy_provider2: gen_phy@2 {
432 compatible = "sandbox,phy";
436 gen_phy_user: gen_phy_user {
437 compatible = "simple-bus";
438 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
439 phy-names = "phy1", "phy2", "phy3";
442 gen_phy_user1: gen_phy_user1 {
443 compatible = "simple-bus";
444 phys = <&phy_provider0 0>, <&phy_provider2>;
445 phy-names = "phy1", "phy2";
449 #address-cells = <1>;
451 compatible = "denx,u-boot-test-bus";
456 compatible = "denx,u-boot-fdt-test";
462 compatible = "denx,u-boot-fdt-test";
468 compatible = "denx,u-boot-fdt-test";
479 compatible = "google,another-fdt-test";
486 compatible = "google,another-fdt-test";
490 compatible = "denx,u-boot-fdt-test";
494 compatible = "denx,u-boot-fdt-test";
498 compatible = "denx,u-boot-fdt-test1";
502 compatible = "mediatek,u-boot-fdt-test";
503 #address-cells = <1>;
520 compatible = "denx,u-boot-devres-test";
525 compatible = "denx,u-boot-fdt-test";
526 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
527 test5-gpios = <&gpio_a 19>;
531 #address-cells = <1>;
533 compatible = "denx,u-boot-test-bus";
534 dma-ranges = <0x10000000 0x00000000 0x00040000>;
537 compatible = "denx,u-boot-fdt-test";
542 #address-cells = <1>;
544 compatible = "denx,u-boot-test-bus";
547 compatible = "denx,u-boot-fdt-test";
551 acpi_test1: acpi-test {
552 compatible = "denx,u-boot-acpi-test";
553 acpi-ssdt-test-data = "ab";
554 acpi-dsdt-test-data = "hi";
556 compatible = "denx,u-boot-acpi-test";
560 acpi_test2: acpi-test2 {
561 compatible = "denx,u-boot-acpi-test";
562 acpi-ssdt-test-data = "cd";
563 acpi-dsdt-test-data = "jk";
567 clk_fixed: clk-fixed {
568 compatible = "fixed-clock";
570 clock-frequency = <1234>;
573 clk_fixed_factor: clk-fixed-factor {
574 compatible = "fixed-factor-clock";
578 clocks = <&clk_fixed>;
582 compatible = "fixed-clock";
584 clock-frequency = <20000000>;
588 clk_sandbox: clk-sbox {
589 compatible = "sandbox,clk";
591 assigned-clocks = <&clk_sandbox 3>;
592 assigned-clock-rates = <321>;
596 compatible = "sandbox,clk-test";
597 clocks = <&clk_fixed>,
602 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
606 compatible = "sandbox,clk-ccf";
610 compatible = "sandbox,efi-media";
614 compatible = "sandbox,eth";
615 reg = <0x10002000 0x1000>;
618 eth_5: eth@10003000 {
619 compatible = "sandbox,eth";
620 reg = <0x10003000 0x1000>;
621 nvmem-cells = <ð5_addr>;
622 nvmem-cell-names = "mac-address";
626 compatible = "sandbox,eth";
627 reg = <0x10005000 0x1000>;
628 nvmem-cells = <ð3_addr>;
629 nvmem-cell-names = "mac-address";
633 compatible = "sandbox,eth";
634 reg = <0x10004000 0x1000>;
637 phy_eth0: phy-test-eth {
638 compatible = "sandbox,eth";
639 reg = <0x10007000 0x1000>;
640 mac-address = [ 02 00 11 22 33 49 ];
641 phy-handle = <ðphy1>;
642 phy-mode = "2500base-x";
645 dsa_eth0: dsa-test-eth {
646 compatible = "sandbox,eth";
647 reg = <0x10006000 0x1000>;
648 nvmem-cells = <ð4_addr>;
649 nvmem-cell-names = "mac-address";
653 compatible = "sandbox,dsa";
656 #address-cells = <1>;
661 phy-mode = "rgmii-rxid";
672 phy-mode = "rgmii-txid";
673 fixed-link = <0 1 100 0 0>;
678 ethernet = <&dsa_eth0>;
689 sandbox_firmware: sandbox-firmware {
690 compatible = "sandbox,firmware";
694 compatible = "sandbox,scmi-agent";
695 #address-cells = <1>;
702 clk_scmi: protocol@14 {
707 reset_scmi: protocol@16 {
716 #address-cells = <1>;
721 regulator-name = "sandbox-voltd0";
722 regulator-min-microvolt = <1100000>;
723 regulator-max-microvolt = <3300000>;
727 regulator-name = "sandbox-voltd1";
728 regulator-min-microvolt = <1800000>;
736 compatible = "sandbox,fpga";
740 compatible = "sandbox,pinctrl-gpio";
743 compatible = "sandbox,gpio";
746 gpio-bank-name = "a";
747 sandbox,gpio-count = <20>;
748 hog_input_active_low {
751 gpios = <10 GPIO_ACTIVE_LOW>;
753 hog_input_active_high {
756 gpios = <11 GPIO_ACTIVE_HIGH>;
761 gpios = <12 GPIO_ACTIVE_HIGH>;
766 gpios = <13 GPIO_ACTIVE_HIGH>;
770 gpio_b: extra-gpios {
771 compatible = "sandbox,gpio";
774 gpio-bank-name = "b";
775 sandbox,gpio-count = <10>;
778 gpio_c: pinmux-gpios {
779 compatible = "sandbox,gpio";
782 gpio-bank-name = "c";
783 sandbox,gpio-count = <10>;
788 #address-cells = <1>;
791 compatible = "sandbox,i2c";
792 clock-frequency = <100000>;
793 pinctrl-names = "default";
794 pinctrl-0 = <&pinmux_i2c0_pins>;
797 #address-cells = <1>;
800 compatible = "i2c-eeprom";
801 sandbox,emul = <&emul_eeprom>;
803 compatible = "fixed-partitions";
804 #address-cells = <1>;
806 bootcount_i2c: bootcount@10 {
811 eth3_addr: mac-address@24 {
817 #address-cells = <1>;
820 compatible = "sandbox-rtc";
821 sandbox,emul = <&emul0>;
823 eth4_addr: mac-address@40 {
830 compatible = "sandbox-rtc";
831 sandbox,emul = <&emul1>;
836 compatible = "sandbox,i2c-emul-parent";
837 emul_eeprom: emul-eeprom {
838 compatible = "sandbox,i2c-eeprom";
839 sandbox,filename = "i2c.bin";
840 sandbox,size = <256>;
843 compatible = "sandbox,i2c-rtc-emul";
846 compatible = "sandbox,i2c-rtc-emul";
850 sandbox_pmic: sandbox_pmic {
852 sandbox,emul = <&emul_pmic0>;
857 sandbox,emul = <&emul_pmic1>;
862 compatible = "u-boot,bootcount-rtc";
868 compatible = "u-boot,bootcount-i2c-eeprom";
869 i2c-eeprom = <&bootcount_i2c>;
873 compatible = "u-boot,bootcount-syscon";
875 reg = <0x0 0x04>, <0x0 0x04>;
876 reg-names = "syscon_reg", "offset";
880 compatible = "u-boot,bootcount-syscon";
882 reg = <0x0 0x04>, <0x0 0x02> ;
883 reg-names = "syscon_reg", "offset";
887 compatible = "sandbox,adc";
888 #io-channel-cells = <1>;
889 vdd-supply = <&buck2>;
890 vss-microvolts = <0>;
894 compatible = "sandbox,iommu";
899 compatible = "sandbox,irq";
900 interrupt-controller;
901 #interrupt-cells = <2>;
906 compatible = "sandbox,lcd-sdl";
907 pinctrl-names = "default";
908 pinctrl-0 = <&pinmux_lcd_pins>;
914 compatible = "gpio-leds";
917 gpios = <&gpio_a 1 0>;
918 label = "sandbox:red";
922 gpios = <&gpio_a 2 0>;
923 label = "sandbox:green";
927 gpios = <&gpio_a 5 0>;
928 label = "sandbox:default_on";
929 default-state = "on";
933 gpios = <&gpio_a 6 0>;
934 /* label intentionally omitted */
935 default-state = "off";
940 gpios = <&gpio_a 7 0>;
941 compatible = "linux,wdt-gpio";
942 hw_margin_ms = <100>;
948 gpios = <&gpio_a 7 0>;
949 compatible = "linux,wdt-gpio";
950 hw_margin_ms = <100>;
956 compatible = "sandbox,mbox";
961 compatible = "sandbox,mbox-test";
962 mboxes = <&mbox 100>, <&mbox 1>;
963 mbox-names = "other", "test";
967 #address-cells = <1>;
969 timebase-frequency = <2000000>;
973 timebase-frequency = <3000000>;
974 compatible = "sandbox,cpu_sandbox";
981 compatible = "sandbox,cpu_sandbox";
988 compatible = "sandbox,cpu_sandbox";
994 compatible = "sandbox,soc";
998 compatible = "sandbox,i2s";
999 #sound-dai-cells = <1>;
1000 sandbox,silent; /* Don't emit sounds while testing */
1004 compatible = "sandbox,nop_sandbox1";
1006 compatible = "sandbox,nop_sandbox2";
1010 compatible = "sandbox,nop_sandbox2";
1016 compatible = "sandbox,memory";
1020 #address-cells = <1>;
1022 compatible = "sandbox,misc_sandbox";
1024 eth5_addr: mac-address@10 {
1030 compatible = "sandbox,mmc";
1034 /* This is used for the bootdev tests */
1036 compatible = "sandbox,mmc";
1037 filename = "mmc1.img";
1040 /* This is used for the fastboot tests */
1042 compatible = "sandbox,mmc";
1045 /* This is used for VBE VPL tests */
1047 status = "disabled";
1048 compatible = "sandbox,mmc";
1049 filename = "image.bin";
1053 /* This is used for bootstd bootmenu tests */
1055 status = "disabled";
1056 compatible = "sandbox,mmc";
1057 filename = "mmc4.img";
1060 /* This is used for ChromiumOS tests */
1062 status = "disabled";
1063 compatible = "sandbox,mmc";
1064 filename = "mmc5.img";
1068 compatible = "sandbox,pch";
1072 compatible = "sandbox,pci";
1073 device_type = "pci";
1074 bus-range = <0x00 0xff>;
1075 #address-cells = <3>;
1077 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
1078 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
1079 iommu-map = <0x0010 &iommu 0 1>;
1080 iommu-map-mask = <0xfffffff8>;
1082 compatible = "pci-generic";
1083 reg = <0x0000 0 0 0 0>;
1084 sandbox,emul = <&swap_case_emul0_0>;
1087 compatible = "pci-generic";
1088 /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
1089 reg = <0x02000814 0 0 0 0
1090 0x01000810 0 0 0 0>;
1091 sandbox,emul = <&swap_case_emul0_1>;
1094 compatible = "sandbox,p2sb";
1095 reg = <0x02001010 0 0 0 0>;
1096 sandbox,emul = <&p2sb_emul>;
1099 intel,p2sb-port-id = <3>;
1100 compatible = "sandbox,adder";
1104 compatible = "sandbox,pmc";
1105 reg = <0xf000 0 0 0 0>;
1106 sandbox,emul = <&pmc_emul1e>;
1107 acpi-base = <0x400>;
1108 gpe0-dwx-mask = <0xf>;
1109 gpe0-dwx-shift-base = <4>;
1115 compatible = "pci-generic";
1116 /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
1117 reg = <0x0100f810 0 0 0 0>;
1118 sandbox,emul = <&swap_case_emul0_1f>;
1123 compatible = "sandbox,pci-emul-parent";
1124 swap_case_emul0_0: emul0@0,0 {
1125 compatible = "sandbox,swap-case";
1127 swap_case_emul0_1: emul0@1,0 {
1128 compatible = "sandbox,swap-case";
1131 swap_case_emul0_1f: emul0@1f,0 {
1132 compatible = "sandbox,swap-case";
1134 p2sb_emul: emul@2,0 {
1135 compatible = "sandbox,p2sb-emul";
1137 pmc_emul1e: emul@1e,0 {
1138 compatible = "sandbox,pmc-emul";
1143 compatible = "sandbox,pci";
1144 device_type = "pci";
1145 bus-range = <0x00 0xff>;
1146 #address-cells = <3>;
1148 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 // MEM0
1149 0x02000000 0 0x31000000 0x3e000000 0 0x2000 // MEM1
1150 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
1151 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
1152 0x0c 0x00 0x1234 0x5678
1153 0x10 0x00 0x1234 0x5678>;
1155 reg = <0x8000 0 0 0 0>;
1160 compatible = "sandbox,pci";
1161 device_type = "pci";
1162 bus-range = <0x00 0xff>;
1163 #address-cells = <3>;
1165 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
1166 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
1167 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
1169 compatible = "pci-generic";
1170 reg = <0xf800 0 0 0 0>;
1171 sandbox,emul = <&swap_case_emul2_1f>;
1176 compatible = "sandbox,pci-emul-parent";
1177 swap_case_emul2_1f: emul2@1f,0 {
1178 compatible = "sandbox,swap-case";
1183 compatible = "sandbox,pci_ep";
1187 compatible = "simple-bus";
1189 compatible = "denx,u-boot-probe-test";
1193 compatible = "denx,u-boot-probe-test";
1197 compatible = "denx,u-boot-probe-test";
1201 compatible = "denx,u-boot-probe-test";
1202 first-syscon = <&syscon0>;
1203 second-sys-ctrl = <&another_system_controller>;
1204 third-syscon = <&syscon2>;
1208 pwrdom: power-domain {
1209 compatible = "sandbox,power-domain";
1210 #power-domain-cells = <1>;
1214 compatible = "sandbox,power-domain-test";
1215 power-domains = <&pwrdom 2>;
1219 compatible = "sandbox,pwm";
1221 pinctrl-names = "default";
1222 pinctrl-0 = <&pinmux_pwm_pins>;
1226 compatible = "sandbox,pwm";
1231 compatible = "sandbox,ram";
1235 compatible = "sandbox,warm-reset";
1240 compatible = "sandbox,reset";
1245 compatible = "sandbox,reset-ctl";
1250 compatible = "sandbox,reset-ctl-test";
1251 resets = <&resetc 100>, <&resetc 2>, <&resetc 20>, <&resetc 40>;
1252 reset-names = "other", "test", "test2", "test3";
1256 compatible = "sandbox,sandbox-rng";
1260 compatible = "sandbox,test-processor";
1261 remoteproc-name = "remoteproc-test-dev1";
1265 compatible = "sandbox,test-processor";
1266 internal-memory-mapped;
1267 remoteproc-name = "remoteproc-test-dev2";
1271 compatible = "simple-panel";
1272 backlight = <&backlight 0 100>;
1276 compatible = "sandbox,scsi";
1277 sandbox,filepath = "scsi.img";
1281 compatible = "sandbox,smem";
1285 compatible = "sandbox,sound";
1287 sound-dai = <&i2s 0>;
1291 sound-dai = <&audio 0>;
1296 #address-cells = <1>;
1299 compatible = "sandbox,spi";
1300 cs-gpios = <0>, <0>, <&gpio_a 0>;
1301 pinctrl-names = "default";
1302 pinctrl-0 = <&pinmux_spi0_pins>;
1306 compatible = "spansion,m25p16", "jedec,spi-nor";
1307 spi-max-frequency = <40000000>;
1308 sandbox,filename = "spi.bin";
1312 compatible = "spansion,m25p16", "jedec,spi-nor";
1313 spi-max-frequency = <50000000>;
1314 sandbox,filename = "spi.bin";
1321 compatible = "sandbox,syscon0";
1325 another_system_controller: syscon@1 {
1326 compatible = "sandbox,syscon1";
1334 compatible = "simple-mfd", "syscon";
1342 compatible = "simple-mfd", "syscon";
1343 reg = <0x000100 0x10>;
1345 muxcontroller0: a-mux-controller {
1346 compatible = "mmio-mux";
1347 #mux-control-cells = <1>;
1349 mux-reg-masks = <0x0 0x30>, /* 0: reg 0x0, bits 5:4 */
1350 <0xc 0x1E>, /* 1: reg 0xc, bits 4:1 */
1351 <0x4 0xFF>; /* 2: reg 0x4, bits 7:0 */
1352 idle-states = <MUX_IDLE_AS_IS>, <0x02>, <0x73>;
1353 u-boot,mux-autoprobe;
1357 muxcontroller1: emul-mux-controller {
1358 compatible = "mux-emul";
1359 #mux-control-cells = <0>;
1360 u-boot,mux-autoprobe;
1361 idle-state = <0xabcd>;
1365 compatible = "denx,u-boot-fdtm-test";
1368 testfdtm1: testfdtm1 {
1369 compatible = "denx,u-boot-fdtm-test";
1373 compatible = "denx,u-boot-fdtm-test";
1377 compatible = "sandbox,timer";
1378 clock-frequency = <1000000>;
1382 compatible = "sandbox,timer";
1383 sandbox,timebase-frequency-fallback;
1387 compatible = "sandbox,tpm2";
1391 compatible = "google,sandbox-tpm";
1395 compatible = "sandbox,serial";
1397 pinctrl-names = "default";
1398 pinctrl-0 = <&pinmux_uart0_pins>;
1402 compatible = "sandbox,usb";
1403 status = "disabled";
1405 compatible = "sandbox,usb-hub";
1406 #address-cells = <1>;
1410 compatible = "sandbox,usb-flash";
1416 compatible = "sandbox,usb";
1419 compatible = "usb-hub";
1420 usb,device-class = <9>;
1421 #address-cells = <1>;
1424 compatible = "sandbox,usb-hub";
1425 #address-cells = <1>;
1429 compatible = "sandbox,usb-flash";
1430 sandbox,filepath = "testflash.bin";
1435 compatible = "sandbox,usb-flash";
1436 sandbox,filepath = "testflash1.bin";
1441 compatible = "sandbox,usb-flash";
1442 sandbox,filepath = "testflash2.bin";
1447 compatible = "sandbox,usb-keyb";
1462 compatible = "sandbox,usb";
1463 status = "disabled";
1467 compatible = "sandbox,spmi";
1468 #address-cells = <0x1>;
1469 #size-cells = <0x1>;
1472 compatible = "qcom,spmi-pmic";
1474 #address-cells = <0x1>;
1475 #size-cells = <0x1>;
1478 spmi_gpios: gpios@c000 {
1479 compatible = "qcom,pm8916-gpio";
1480 reg = <0xc000 0x400>;
1484 gpio-bank-name="spmi";
1490 compatible = "sandbox,wdt";
1491 hw_margin_ms = <200>;
1495 compatible = "sandbox,axi";
1496 #address-cells = <0x1>;
1497 #size-cells = <0x1>;
1499 compatible = "sandbox,sandbox_store";
1505 #address-cells = <1>;
1507 setting = "sunrise ohoka";
1508 other-node = "/some-bus/c-test@5";
1509 int-values = <0x1937 72993>;
1510 u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>;
1512 compatible = "denx,u-boot-fdt-test";
1517 translation-test@8000 {
1518 compatible = "simple-bus";
1519 reg = <0x8000 0x4000>;
1521 #address-cells = <0x2>;
1522 #size-cells = <0x1>;
1524 ranges = <0 0x0 0x8000 0x1000
1525 1 0x100 0x9000 0x1000
1526 2 0x200 0xA000 0x1000
1527 3 0x300 0xB000 0x1000
1530 dma-ranges = <0 0x000 0x10000000 0x1000
1531 1 0x100 0x20000000 0x1000
1535 compatible = "denx,u-boot-fdt-dummy";
1536 reg = <0 0x0 0x1000>;
1537 reg-names = "sandbox-dummy-0";
1541 compatible = "denx,u-boot-fdt-dummy";
1542 reg = <1 0x100 0x1000>;
1547 compatible = "denx,u-boot-fdt-dummy";
1548 reg = <2 0x200 0x1000>;
1553 compatible = "simple-bus";
1554 reg = <3 0x300 0x1000>;
1556 #address-cells = <0x1>;
1557 #size-cells = <0x0>;
1560 compatible = "denx,u-boot-fdt-dummy";
1567 compatible = "foreach";
1581 compatible = "sandbox,sandbox_osd";
1585 compatible = "sandbox,tee";
1589 compatible = "sandbox,virtio1";
1590 virtio-type = <4>; /* rng */
1594 compatible = "sandbox,virtio2";
1597 sandbox-virtio-blk {
1598 compatible = "sandbox,virtio1";
1599 virtio-type = <2>; /* block */
1603 compatible = "sandbox,scmi-devices";
1604 clocks = <&clk_scmi 2>, <&clk_scmi 0>;
1605 resets = <&reset_scmi 3>;
1606 regul0-supply = <®ul0_scmi>;
1607 regul1-supply = <®ul1_scmi>;
1611 compatible = "sandbox,pinctrl";
1613 pinctrl-names = "default", "alternate";
1614 pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>;
1615 pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>;
1617 pinctrl_gpios: gpios {
1631 pinmux = <SANDBOX_PINMUX(7, SANDBOX_PINMUX_GPIO)>;
1636 pinmux = <SANDBOX_PINMUX(8, SANDBOX_PINMUX_GPIO)>;
1643 groups = "I2C_UART";
1663 pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>,
1664 <SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>;
1669 pinctrl-single-no-width {
1670 compatible = "pinctrl-single";
1671 reg = <0x0000 0x238>;
1672 #pinctrl-cells = <1>;
1673 pinctrl-single,function-mask = <0x7f>;
1676 pinctrl-single-pins {
1677 compatible = "pinctrl-single";
1678 reg = <0x0000 0x238>;
1679 #pinctrl-cells = <1>;
1680 pinctrl-single,register-width = <32>;
1681 pinctrl-single,function-mask = <0x7f>;
1683 pinmux_pwm_pins: pinmux_pwm_pins {
1684 pinctrl-single,pins = < 0x48 0x06 >;
1687 pinmux_spi0_pins: pinmux_spi0_pins {
1688 pinctrl-single,pins = <
1696 pinmux_uart0_pins: pinmux_uart0_pins {
1697 pinctrl-single,pins = <
1704 pinctrl-single-bits {
1705 compatible = "pinctrl-single";
1706 reg = <0x0000 0x50>;
1707 #pinctrl-cells = <2>;
1708 pinctrl-single,bit-per-mux;
1709 pinctrl-single,register-width = <32>;
1710 pinctrl-single,function-mask = <0xf>;
1712 pinmux_i2c0_pins: pinmux_i2c0_pins {
1713 pinctrl-single,bits = <
1714 0x10 0x00002200 0x0000ff00
1718 pinmux_lcd_pins: pinmux_lcd_pins {
1719 pinctrl-single,bits = <
1720 0x40 0x22222200 0xffffff00
1721 0x44 0x22222222 0xffffffff
1722 0x48 0x00000022 0x000000ff
1723 0x48 0x02000000 0x0f000000
1724 0x4c 0x02000022 0x0f0000ff
1730 compatible = "sandbox,hwspinlock";
1734 compatible = "sandbox,dma";
1737 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
1738 dma-names = "m2m", "tx0", "rx0";
1742 * keep mdio-mux ahead of mdio so that the mux is removed first at the
1743 * end of the test. If parent mdio is removed first, clean-up of the
1744 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
1745 * active at the end of the test. That it turn doesn't allow the mdio
1746 * class to be destroyed, triggering an error.
1749 compatible = "sandbox,mdio-mux";
1750 #address-cells = <1>;
1752 mdio-parent-bus = <&mdio>;
1763 compatible = "sandbox,mdio";
1764 #address-cells = <1>;
1767 ethphy1: ethernet-phy@1 {
1773 compatible = "simple-pm-bus";
1774 clocks = <&clk_sandbox 4>;
1775 power-domains = <&pwrdom 1>;
1778 resetc2: syscon-reset {
1779 compatible = "syscon-reset";
1781 regmap = <&syscon0>;
1783 mask = <0x27FFFFFF>;
1788 compatible = "sandbox,misc_sandbox";
1789 resets = <&resetc2 15>, <&resetc2 30>, <&resetc2 60>;
1790 reset-names = "valid", "no_mask", "out_of_range";
1794 compatible = "sandbox,sysinfo-sandbox";
1798 compatible = "gpio-sysinfo";
1799 gpios = <&gpio_a 15>, <&gpio_a 16>, <&gpio_a 17>;
1800 revisions = <19>, <5>;
1801 names = "rev_a", "foo";
1804 some_regmapped-bus {
1805 #address-cells = <0x1>;
1806 #size-cells = <0x1>;
1808 ranges = <0x0 0x0 0x10>;
1809 compatible = "simple-bus";
1813 compatible = "sandbox,regmap_test";
1818 compatible = "sandbox,thermal";
1822 compatible = "u-boot,fwu-mdata-gpt";
1823 fwu-mdata-store = <&mmc0>;
1826 nvmxip-qspi1@08000000 {
1827 compatible = "nvmxip,qspi";
1828 reg = <0x08000000 0x00200000>;
1833 nvmxip-qspi2@08200000 {
1834 compatible = "nvmxip,qspi";
1835 reg = <0x08200000 0x00100000>;
1841 compatible = "sandbox,extcon";
1845 compatible = "sandbox,arm-ffa-emul";
1848 compatible = "sandbox,arm-ffa";
1853 #include "sandbox_pmic.dtsi"
1854 #include "cros-ec-keyboard.dtsi"
1856 #ifdef CONFIG_SANDBOX_VPL
1857 #include "sandbox_vpl.dtsi"
1860 #include "cedit.dtsi"