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
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/gpio/sandbox-gpio.h>
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/pinctrl/sandbox-pinmux.h>
17 #include <dt-bindings/mux/mux.h>
21 compatible = "sandbox";
27 ethernet0 = "/eth@10002000";
30 ethernet4 = &dsa_eth0;
32 ethernet6 = "/eth@10004000";
34 ethernet8 = &phy_eth0;
49 remoteproc0 = &rproc_1;
50 remoteproc1 = &rproc_2;
55 testbus3 = "/some-bus";
56 testfdt0 = "/some-bus/c-test@0";
57 testfdt12 = "/some-bus/c-test@1";
59 testfdt5 = "/some-bus/c-test@5";
61 testfdtm1 = &testfdtm1;
62 fdt-dummy0 = "/translation-test@8000/dev@0,0";
63 fdt-dummy1 = "/translation-test@8000/dev@1,100";
64 fdt-dummy2 = "/translation-test@8000/dev@2,200";
65 fdt-dummy3 = "/translation-test@8000/noxlatebus@3,300/dev@42";
78 event_log: tcg_event_log {
80 reg = <(CFG_SYS_SDRAM_SIZE - 0x2000) 0x2000>;
90 testing-str = "testing";
99 compatible = "u-boot,config";
100 bootscr-ram-offset = /bits/ 64 <0x12345678>;
101 bootscr-flash-offset = /bits/ 64 <0>;
102 bootscr-flash-size = /bits/ 64 <0x2000>;
108 compatible = "u-boot,boot-std";
110 filename-prefixes = "/", "/boot/";
111 bootdev-order = "mmc2", "mmc1";
114 compatible = "u-boot,extlinux";
118 compatible = "u-boot,distro-efi";
124 menuitem-gap-y = <1>;
130 menuitem-gap-y = <1>;
134 * This is used for the VBE OS-request tests. A FAT filesystem
135 * created in a partition with the VBE information appearing
136 * before the partition starts
140 compatible = "fwupd,vbe-simple";
142 skip-offset = <0x200>;
143 area-start = <0x400>;
144 area-size = <0x1000>;
145 state-offset = <0x400>;
147 version-offset = <0x800>;
148 version-size = <0x100>;
152 * This is used for the VBE VPL tests. The MMC device holds the
153 * binman image.bin file. The test progresses through each phase
154 * of U-Boot, loading each in turn from MMC.
156 * Note that the test enables this node (and mmc3) before
162 compatible = "fwupd,vbe-simple";
164 skip-offset = <0x800000>;
166 area-size = <0xe00000>;
167 state-offset = <0xdffc00>;
169 version-offset = <0xdffe00>;
170 version-size = <0x100>;
178 compatible = "sandbox,fuzzing-engine";
182 compatible = "reboot-mode-gpio";
183 gpios = <&gpio_c 0 GPIO_ACTIVE_HIGH>, <&gpio_c 1 GPIO_ACTIVE_HIGH>;
184 u-boot,env-variable = "bootstatus";
186 mode-download = <0x03>;
189 reboot_mode1: reboot-mode@14 {
190 compatible = "reboot-mode-rtc";
193 u-boot,env-variable = "bootstatus";
195 mode-test = <0x21969147>;
196 mode-download = <0x51939147>;
200 compatible = "sandbox,audio-codec";
201 #sound-dai-cells = <1>;
205 compatible = "gpio-keys";
208 gpios = <&gpio_a 3 0>;
210 linux,code = <BTN_1>;
214 gpios = <&gpio_a 4 0>;
216 linux,code = <BTN_2>;
221 compatible = "adc-keys";
222 io-channels = <&adc 3>;
223 keyup-threshold-microvolt = <3000000>;
227 linux,code = <KEY_F3>;
228 press-threshold-microvolt = <1500000>;
233 linux,code = <KEY_F4>;
234 press-threshold-microvolt = <1000000>;
239 linux,code = <KEY_F5>;
240 press-threshold-microvolt = <500000>;
246 compatible = "google,cros-ec-sandbox";
249 * This describes the flash memory within the EC. Note
250 * that the STM32L flash erases to 0, not 0xff.
253 image-pos = <0x08000000>;
257 /* Information for sandbox */
263 image-pos = <0xf000>;
267 uncomp-size = <0xcf8>;
270 value = [00 01 02 03 04 05 06 07
271 08 09 0a 0b 0c 0d 0e 0f
272 10 11 12 13 14 15 16 17
273 18 19 1a 1b 1c 1d 1e 1f];
277 image-pos = <0x10000>;
282 cros_ec_pwm: cros-ec-pwm {
283 compatible = "google,cros-ec-pwm";
290 compatible = "sandbox,dsi-host";
295 compatible = "denx,u-boot-fdt-test";
299 test-gpios = <&gpio_a 1>, <&gpio_a 4>,
300 <&gpio_b 5 GPIO_ACTIVE_HIGH 3 2 1>,
302 test2-gpios = <&gpio_a 1>, <&gpio_a 4>,
303 <&gpio_b 6 GPIO_ACTIVE_LOW 3 2 1>,
304 <&gpio_b 7 GPIO_IN 3 2 1>,
305 <&gpio_b 8 GPIO_OUT 3 2 1>,
306 <&gpio_b 9 (GPIO_OUT|GPIO_OUT_ACTIVE) 3 2 1>;
308 <&gpio_c 0 (GPIO_OUT|GPIO_OPEN_DRAIN)>,
309 <&gpio_c 1 (GPIO_OUT|GPIO_OPEN_SOURCE)>,
310 <&gpio_c 2 GPIO_OUT>,
311 <&gpio_c 3 (GPIO_IN|GPIO_PULL_UP)>,
312 <&gpio_c 4 (GPIO_IN|GPIO_PULL_DOWN)>,
314 <&gpio_c 6 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_DRAIN)>,
315 <&gpio_c 7 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_SOURCE)>;
316 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
317 test5-gpios = <&gpio_a 19>;
320 int8-value = /bits/ 8 <0x12>;
321 int16-value = /bits/ 16 <0x1234>;
323 uint-value = <(-1234)>;
324 int64-value = /bits/ 64 <0x1111222233334444>;
325 int-array = <5678 9123 4567>;
326 int64-array = /bits/ 64 <0x1111222233334444 0x4444333322221111>;
327 str-value = "test string";
328 interrupts-extended = <&irq 3 0>;
330 phandle-value = <&gpio_c 10>, <0xFFFFFFFF 20>, <&gpio_a 30>;
332 mux-controls = <&muxcontroller0 0>, <&muxcontroller0 1>,
333 <&muxcontroller0 2>, <&muxcontroller0 3>,
335 mux-control-names = "mux0", "mux1", "mux2", "mux3", "mux4";
336 mux-syscon = <&syscon3>;
339 clock-frequency = <6500000>;
351 pixelclk-active = <1>;
357 clock-frequency = <9000000>;
369 pixelclk-active = <0>;
372 clock-frequency = <33500000>;
376 hfront-porch = <164>;
384 clock-frequency = <6500000>;
396 pixelclk-active = <1>;
405 compatible = "not,compatible";
412 backlight: backlight {
413 compatible = "pwm-backlight";
414 enable-gpios = <&gpio_a 1>;
415 power-supply = <&ldo_1>;
416 pwms = <&pwm 0 1000>;
417 default-brightness-level = <5>;
418 brightness-levels = <0 16 32 64 128 170 202 234 255>;
422 compatible = "simple-bus";
424 compatible = "sandbox,phy";
429 compatible = "simple-bus";
435 compatible = "denx,u-boot-fdt-test";
439 mux-controls = <&muxcontroller0 0>;
440 mux-control-names = "mux0";
443 phy_provider0: gen_phy@0 {
444 compatible = "sandbox,phy";
448 phy_provider1: gen_phy@1 {
449 compatible = "sandbox,phy";
454 phy_provider2: gen_phy@2 {
455 compatible = "sandbox,phy";
459 phy_provider3: gen_phy@3 {
460 compatible = "sandbox,phy";
464 gen_phy_user: gen_phy_user {
465 compatible = "simple-bus";
466 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
467 phy-names = "phy1", "phy2", "phy3";
470 gen_phy_user1: gen_phy_user1 {
471 compatible = "simple-bus";
472 phys = <&phy_provider0 0>, <&phy_provider2>;
473 phy-names = "phy1", "phy2";
476 gen_phy_user2: gen_phy_user2 {
477 compatible = "simple-bus";
478 phys = <&phy_provider3 0 0>;
483 #address-cells = <1>;
485 compatible = "denx,u-boot-test-bus";
490 compatible = "denx,u-boot-fdt-test";
496 compatible = "denx,u-boot-fdt-test";
502 compatible = "denx,u-boot-fdt-test";
513 compatible = "google,another-fdt-test";
520 compatible = "google,another-fdt-test";
524 compatible = "denx,u-boot-fdt-test";
528 compatible = "denx,u-boot-fdt-test";
532 compatible = "denx,u-boot-fdt-test1";
536 compatible = "mediatek,u-boot-fdt-test";
537 #address-cells = <1>;
554 compatible = "denx,u-boot-devres-test";
559 compatible = "denx,u-boot-fdt-test";
560 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
561 test5-gpios = <&gpio_a 19>;
565 #address-cells = <1>;
567 compatible = "denx,u-boot-test-bus";
568 dma-ranges = <0x10000000 0x00000000 0x00040000>;
571 compatible = "denx,u-boot-fdt-test";
576 #address-cells = <1>;
578 compatible = "denx,u-boot-test-bus";
581 compatible = "denx,u-boot-fdt-test";
585 acpi_test1: acpi-test {
586 compatible = "denx,u-boot-acpi-test";
587 acpi-ssdt-test-data = "ab";
588 acpi-dsdt-test-data = "hi";
590 compatible = "denx,u-boot-acpi-test";
594 acpi_test2: acpi-test2 {
595 compatible = "denx,u-boot-acpi-test";
596 acpi-ssdt-test-data = "cd";
597 acpi-dsdt-test-data = "jk";
601 clk_fixed: clk-fixed {
602 compatible = "fixed-clock";
604 clock-frequency = <1234>;
607 clk_fixed_factor: clk-fixed-factor {
608 compatible = "fixed-factor-clock";
612 clocks = <&clk_fixed>;
616 compatible = "fixed-clock";
618 clock-frequency = <20000000>;
622 clk_sandbox: clk-sbox {
623 compatible = "sandbox,clk";
625 assigned-clocks = <&clk_sandbox 3>;
626 assigned-clock-rates = <321>;
630 compatible = "sandbox,clk-test";
631 clocks = <&clk_fixed>,
636 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
640 compatible = "sandbox,clk-test";
641 assigned-clock-rates = <321>;
645 compatible = "sandbox,clk-test";
646 assigned-clocks = <&clk_sandbox 1>;
650 compatible = "sandbox,clk-test";
651 assigned-clock-rates = <654>, <321>;
652 assigned-clocks = <&clk_sandbox 1>;
656 compatible = "sandbox,clk-ccf";
660 compatible = "sandbox,efi-media";
664 compatible = "sandbox,eth";
665 reg = <0x10002000 0x1000>;
668 eth_5: eth@10003000 {
669 compatible = "sandbox,eth";
670 reg = <0x10003000 0x1000>;
671 nvmem-cells = <ð5_addr>;
672 nvmem-cell-names = "mac-address";
676 compatible = "sandbox,eth";
677 reg = <0x10005000 0x1000>;
678 nvmem-cells = <ð3_addr>;
679 nvmem-cell-names = "mac-address";
683 compatible = "sandbox,eth";
684 reg = <0x10004000 0x1000>;
687 phy_eth0: phy-test-eth {
688 compatible = "sandbox,eth";
689 reg = <0x10007000 0x1000>;
690 mac-address = [ 02 00 11 22 33 49 ];
691 phy-handle = <ðphy1>;
692 phy-mode = "2500base-x";
695 dsa_eth0: dsa-test-eth {
696 compatible = "sandbox,eth";
697 reg = <0x10006000 0x1000>;
698 nvmem-cells = <ð4_addr>;
699 nvmem-cell-names = "mac-address";
703 compatible = "sandbox,dsa";
706 #address-cells = <1>;
711 phy-mode = "rgmii-rxid";
722 phy-mode = "rgmii-txid";
723 fixed-link = <0 1 100 0 0>;
728 ethernet = <&dsa_eth0>;
739 sandbox_firmware: sandbox-firmware {
740 compatible = "sandbox,firmware";
744 compatible = "sandbox,scmi-agent";
745 #address-cells = <1>;
748 pwrdom_scmi: protocol@11 {
750 #power-domain-cells = <1>;
753 clk_scmi: protocol@14 {
756 linaro,sandbox-channel-id = <0x14>;
759 reset_scmi: protocol@16 {
768 #address-cells = <1>;
773 regulator-name = "sandbox-voltd0";
774 regulator-min-microvolt = <1100000>;
775 regulator-max-microvolt = <3300000>;
779 regulator-name = "sandbox-voltd1";
780 regulator-min-microvolt = <1800000>;
787 compatible = "sandbox,sm";
792 compatible = "sandbox,fpga";
796 compatible = "sandbox,pinctrl-gpio";
799 compatible = "sandbox,gpio";
802 gpio-bank-name = "a";
803 sandbox,gpio-count = <20>;
804 hog_input_active_low {
807 gpios = <10 GPIO_ACTIVE_LOW>;
809 hog_input_active_high {
812 gpios = <11 GPIO_ACTIVE_HIGH>;
817 gpios = <12 GPIO_ACTIVE_HIGH>;
822 gpios = <13 GPIO_ACTIVE_HIGH>;
826 gpio_b: extra-gpios {
827 compatible = "sandbox,gpio";
830 gpio-bank-name = "b";
831 sandbox,gpio-count = <10>;
834 gpio_c: pinmux-gpios {
835 compatible = "sandbox,gpio";
838 gpio-bank-name = "c";
839 sandbox,gpio-count = <10>;
844 #address-cells = <1>;
847 compatible = "sandbox,i2c";
848 clock-frequency = <100000>;
849 pinctrl-names = "default";
850 pinctrl-0 = <&pinmux_i2c0_pins>;
853 #address-cells = <1>;
856 compatible = "i2c-eeprom";
857 sandbox,emul = <&emul_eeprom>;
859 compatible = "fixed-partitions";
860 #address-cells = <1>;
862 bootcount_i2c: bootcount@10 {
867 eth3_addr: mac-address@24 {
873 #address-cells = <1>;
876 compatible = "sandbox-rtc";
877 sandbox,emul = <&emul0>;
879 eth4_addr: mac-address@40 {
886 compatible = "sandbox-rtc";
887 sandbox,emul = <&emul1>;
892 compatible = "sandbox,i2c-emul-parent";
893 emul_eeprom: emul-eeprom {
894 compatible = "sandbox,i2c-eeprom";
895 sandbox,filename = "i2c.bin";
896 sandbox,size = <256>;
899 compatible = "sandbox,i2c-rtc-emul";
902 compatible = "sandbox,i2c-rtc-emul";
906 sandbox_pmic: sandbox_pmic {
908 sandbox,emul = <&emul_pmic0>;
913 sandbox,emul = <&emul_pmic1>;
918 compatible = "u-boot,bootcount-rtc";
924 compatible = "u-boot,bootcount-i2c-eeprom";
925 i2c-eeprom = <&bootcount_i2c>;
929 compatible = "u-boot,bootcount-syscon";
931 reg = <0x0 0x04>, <0x0 0x04>;
932 reg-names = "syscon_reg", "offset";
936 compatible = "u-boot,bootcount-syscon";
938 reg = <0x0 0x04>, <0x0 0x02> ;
939 reg-names = "syscon_reg", "offset";
943 compatible = "sandbox,adc";
944 #io-channel-cells = <1>;
945 vdd-supply = <&buck2>;
946 vss-microvolts = <0>;
950 compatible = "sandbox,iommu";
955 compatible = "sandbox,irq";
956 interrupt-controller;
957 #interrupt-cells = <2>;
962 compatible = "sandbox,lcd-sdl";
963 pinctrl-names = "default";
964 pinctrl-0 = <&pinmux_lcd_pins>;
970 compatible = "gpio-leds";
973 gpios = <&gpio_a 1 0>;
974 label = "sandbox:red";
978 gpios = <&gpio_a 2 0>;
979 label = "sandbox:green";
983 gpios = <&gpio_a 5 0>;
984 label = "sandbox:default_on";
985 default-state = "on";
989 gpios = <&gpio_a 6 0>;
990 /* label intentionally omitted */
991 default-state = "off";
996 gpios = <&gpio_a 8 0>;
997 compatible = "linux,wdt-gpio";
998 hw_margin_ms = <100>;
1004 gpios = <&gpio_a 7 0>;
1005 compatible = "linux,wdt-gpio";
1006 hw_margin_ms = <100>;
1012 compatible = "sandbox,mbox";
1017 compatible = "sandbox,mbox-test";
1018 mboxes = <&mbox 100>, <&mbox 1>;
1019 mbox-names = "other", "test";
1023 #address-cells = <1>;
1025 timebase-frequency = <2000000>;
1027 device_type = "cpu";
1029 timebase-frequency = <3000000>;
1030 compatible = "sandbox,cpu_sandbox";
1035 device_type = "cpu";
1037 compatible = "sandbox,cpu_sandbox";
1042 device_type = "cpu";
1044 compatible = "sandbox,cpu_sandbox";
1050 compatible = "sandbox,soc";
1054 compatible = "sandbox,i2s";
1055 #sound-dai-cells = <1>;
1056 sandbox,silent; /* Don't emit sounds while testing */
1060 compatible = "sandbox,nop_sandbox1";
1062 compatible = "sandbox,nop_sandbox2";
1066 compatible = "sandbox,nop_sandbox2";
1072 compatible = "sandbox,memory";
1076 #address-cells = <1>;
1078 compatible = "sandbox,misc_sandbox";
1080 eth5_addr: mac-address@10 {
1086 compatible = "sandbox,mmc";
1090 /* This is used for the bootdev tests */
1092 compatible = "sandbox,mmc";
1093 filename = "mmc1.img";
1096 /* This is used for the fastboot tests */
1098 compatible = "sandbox,mmc";
1101 /* This is used for VBE VPL tests */
1103 status = "disabled";
1104 compatible = "sandbox,mmc";
1105 filename = "image.bin";
1109 /* This is used for bootstd bootmenu tests */
1111 status = "disabled";
1112 compatible = "sandbox,mmc";
1113 filename = "mmc4.img";
1116 /* This is used for ChromiumOS tests */
1118 status = "disabled";
1119 compatible = "sandbox,mmc";
1120 filename = "mmc5.img";
1123 /* This is used for mbr tests */
1125 status = "disabled";
1126 compatible = "sandbox,mmc";
1127 filename = "mmc6.img";
1131 compatible = "sandbox,pch";
1135 compatible = "sandbox,pci";
1136 device_type = "pci";
1137 bus-range = <0x00 0xff>;
1138 #address-cells = <3>;
1140 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
1141 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
1142 iommu-map = <0x0010 &iommu 0 1>;
1143 iommu-map-mask = <0xfffffff8>;
1145 compatible = "pci-generic";
1146 reg = <0x0000 0 0 0 0>;
1147 sandbox,emul = <&swap_case_emul0_0>;
1150 compatible = "pci-generic";
1151 /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
1152 reg = <0x02000814 0 0 0x80 0
1153 0x01000810 0 0 0xc0 0>;
1154 sandbox,emul = <&swap_case_emul0_1>;
1157 compatible = "sandbox,p2sb";
1158 reg = <0x02001010 0 0 0 0>;
1159 sandbox,emul = <&p2sb_emul>;
1162 intel,p2sb-port-id = <3>;
1163 compatible = "sandbox,adder";
1167 compatible = "sandbox,pmc";
1168 reg = <0xf000 0 0 0 0>;
1169 sandbox,emul = <&pmc_emul1e>;
1170 acpi-base = <0x400>;
1171 gpe0-dwx-mask = <0xf>;
1172 gpe0-dwx-shift-base = <4>;
1178 compatible = "pci-generic";
1179 /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
1180 reg = <0x0100f810 0 0 0x100 0>;
1181 sandbox,emul = <&swap_case_emul0_1f>;
1186 compatible = "sandbox,pci-emul-parent";
1187 swap_case_emul0_0: emul0@0,0 {
1188 compatible = "sandbox,swap-case";
1190 swap_case_emul0_1: emul0@1,0 {
1191 compatible = "sandbox,swap-case";
1194 swap_case_emul0_1f: emul0@1f,0 {
1195 compatible = "sandbox,swap-case";
1197 p2sb_emul: emul@2,0 {
1198 compatible = "sandbox,p2sb-emul";
1200 pmc_emul1e: emul@1e,0 {
1201 compatible = "sandbox,pmc-emul";
1206 compatible = "sandbox,pci";
1207 device_type = "pci";
1208 bus-range = <0x00 0xff>;
1209 #address-cells = <3>;
1211 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 // MEM0
1212 0x02000000 0 0x31000000 0x3e000000 0 0x2000 // MEM1
1213 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
1214 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
1215 0x0c 0x00 0x1234 0x5678
1216 0x10 0x00 0x1234 0x5678>;
1218 reg = <0x8000 0 0 0 0>;
1223 compatible = "sandbox,pci";
1224 device_type = "pci";
1225 bus-range = <0x00 0xff>;
1226 #address-cells = <3>;
1228 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
1229 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
1230 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
1232 compatible = "pci-generic";
1233 reg = <0xf800 0 0 0 0>;
1234 sandbox,emul = <&swap_case_emul2_1f>;
1239 compatible = "sandbox,pci-emul-parent";
1240 swap_case_emul2_1f: emul2@1f,0 {
1241 compatible = "sandbox,swap-case";
1246 compatible = "sandbox,pci_ep";
1250 compatible = "simple-bus";
1252 compatible = "denx,u-boot-probe-test";
1256 compatible = "denx,u-boot-probe-test";
1260 compatible = "denx,u-boot-probe-test";
1264 compatible = "denx,u-boot-probe-test";
1265 first-syscon = <&syscon0>;
1266 second-sys-ctrl = <&another_system_controller>;
1267 third-syscon = <&syscon2>;
1271 pwrdom: power-domain {
1272 compatible = "sandbox,power-domain";
1273 #power-domain-cells = <1>;
1277 compatible = "sandbox,power-domain-test";
1278 power-domains = <&pwrdom 2>;
1282 compatible = "sandbox,pwm";
1284 pinctrl-names = "default";
1285 pinctrl-0 = <&pinmux_pwm_pins>;
1289 compatible = "sandbox,pwm";
1294 compatible = "sandbox,ram";
1298 compatible = "sandbox,warm-reset";
1303 compatible = "sandbox,reset";
1308 compatible = "sandbox,reset-ctl";
1313 compatible = "sandbox,reset-ctl-test";
1314 resets = <&resetc 100>, <&resetc 2>, <&resetc 20>, <&resetc 40>;
1315 reset-names = "other", "test", "test2", "test3";
1319 compatible = "sandbox,sandbox-rng";
1323 compatible = "sandbox,test-processor";
1324 remoteproc-name = "remoteproc-test-dev1";
1328 compatible = "sandbox,test-processor";
1329 internal-memory-mapped;
1330 remoteproc-name = "remoteproc-test-dev2";
1334 compatible = "simple-panel";
1335 backlight = <&backlight 0 100>;
1339 compatible = "sandbox,scsi";
1340 sandbox,filepath = "scsi.img";
1344 compatible = "sandbox,smem";
1348 compatible = "sandbox,sound";
1350 sound-dai = <&i2s 0>;
1354 sound-dai = <&audio 0>;
1359 #address-cells = <1>;
1362 compatible = "sandbox,spi";
1363 cs-gpios = <0>, <0>, <&gpio_a 0>;
1364 pinctrl-names = "default";
1365 pinctrl-0 = <&pinmux_spi0_pins>;
1369 compatible = "spansion,m25p16", "jedec,spi-nor";
1370 spi-max-frequency = <40000000>;
1371 sandbox,filename = "spi.bin";
1375 compatible = "spansion,m25p16", "jedec,spi-nor";
1376 spi-max-frequency = <50000000>;
1377 sandbox,filename = "spi.bin";
1384 compatible = "sandbox,syscon0";
1388 another_system_controller: syscon@1 {
1389 compatible = "sandbox,syscon1";
1397 compatible = "simple-mfd", "syscon";
1405 compatible = "simple-mfd", "syscon";
1406 reg = <0x000100 0x10>;
1408 muxcontroller0: a-mux-controller {
1409 compatible = "mmio-mux";
1410 #mux-control-cells = <1>;
1412 mux-reg-masks = <0x0 0x30>, /* 0: reg 0x0, bits 5:4 */
1413 <0xc 0x1E>, /* 1: reg 0xc, bits 4:1 */
1414 <0x4 0xFF>; /* 2: reg 0x4, bits 7:0 */
1415 idle-states = <MUX_IDLE_AS_IS>, <0x02>, <0x73>;
1416 u-boot,mux-autoprobe;
1420 muxcontroller1: emul-mux-controller {
1421 compatible = "mux-emul";
1422 #mux-control-cells = <0>;
1423 u-boot,mux-autoprobe;
1424 idle-state = <0xabcd>;
1428 compatible = "denx,u-boot-fdtm-test";
1431 testfdtm1: testfdtm1 {
1432 compatible = "denx,u-boot-fdtm-test";
1436 compatible = "denx,u-boot-fdtm-test";
1440 compatible = "sandbox,timer";
1441 clock-frequency = <1000000>;
1445 compatible = "sandbox,timer";
1446 sandbox,timebase-frequency-fallback;
1450 compatible = "sandbox,tpm2";
1451 memory-region = <&event_log>;
1455 compatible = "google,sandbox-tpm";
1459 compatible = "sandbox,serial";
1461 pinctrl-names = "default";
1462 pinctrl-0 = <&pinmux_uart0_pins>;
1466 compatible = "sandbox,usb";
1467 status = "disabled";
1469 compatible = "sandbox,usb-hub";
1470 #address-cells = <1>;
1474 compatible = "sandbox,usb-flash";
1480 compatible = "sandbox,usb";
1483 compatible = "usb-hub";
1484 usb,device-class = <9>;
1485 #address-cells = <1>;
1488 compatible = "sandbox,usb-hub";
1489 #address-cells = <1>;
1493 compatible = "sandbox,usb-flash";
1494 sandbox,filepath = "testflash.bin";
1499 compatible = "sandbox,usb-flash";
1500 sandbox,filepath = "testflash1.bin";
1505 compatible = "sandbox,usb-flash";
1506 sandbox,filepath = "testflash2.bin";
1511 compatible = "sandbox,usb-keyb";
1526 compatible = "sandbox,usb";
1527 status = "disabled";
1531 compatible = "sandbox,spmi";
1532 #address-cells = <0x1>;
1533 #size-cells = <0x1>;
1536 compatible = "qcom,spmi-pmic";
1538 #address-cells = <0x1>;
1539 #size-cells = <0x1>;
1542 spmi_gpios: gpios@c000 {
1543 compatible = "qcom,pm8916-gpio";
1544 reg = <0xc000 0x400>;
1548 gpio-bank-name="spmi";
1554 compatible = "sandbox,wdt";
1555 hw_margin_ms = <200>;
1559 compatible = "sandbox,axi";
1560 #address-cells = <0x1>;
1561 #size-cells = <0x1>;
1563 compatible = "sandbox,sandbox_store";
1569 #address-cells = <1>;
1571 setting = "sunrise ohoka";
1572 other-node = "/some-bus/c-test@5";
1573 int-values = <0x1937 72993>;
1574 u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>;
1576 compatible = "denx,u-boot-fdt-test";
1581 translation-test@8000 {
1582 compatible = "simple-bus";
1583 reg = <0x8000 0x4000>;
1585 #address-cells = <0x2>;
1586 #size-cells = <0x1>;
1588 ranges = <0 0x0 0x8000 0x1000
1589 1 0x100 0x9000 0x1000
1590 2 0x200 0xA000 0x1000
1591 3 0x300 0xB000 0x1000
1594 dma-ranges = <0 0x000 0x10000000 0x1000
1595 1 0x100 0x20000000 0x1000
1599 compatible = "denx,u-boot-fdt-dummy";
1600 reg = <0 0x0 0x1000>;
1601 reg-names = "sandbox-dummy-0";
1605 compatible = "denx,u-boot-fdt-dummy";
1606 reg = <1 0x100 0x1000>;
1611 compatible = "denx,u-boot-fdt-dummy";
1612 reg = <2 0x200 0x1000>;
1617 compatible = "simple-bus";
1618 reg = <3 0x300 0x1000>;
1620 #address-cells = <0x1>;
1621 #size-cells = <0x0>;
1624 compatible = "denx,u-boot-fdt-dummy";
1631 compatible = "foreach";
1645 compatible = "sandbox,sandbox_osd";
1649 compatible = "sandbox,tee";
1653 compatible = "sandbox,virtio1";
1654 virtio-type = <4>; /* rng */
1658 compatible = "sandbox,virtio2";
1661 sandbox-virtio-blk {
1662 compatible = "sandbox,virtio1";
1663 virtio-type = <2>; /* block */
1667 compatible = "sandbox,scmi-devices";
1668 power-domains = <&pwrdom_scmi 2>;
1669 clocks = <&clk_scmi 2>, <&clk_scmi 0>;
1670 resets = <&reset_scmi 3>;
1671 regul0-supply = <®ul0_scmi>;
1672 regul1-supply = <®ul1_scmi>;
1676 compatible = "sandbox,pinctrl";
1678 pinctrl-names = "default", "alternate";
1679 pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>;
1680 pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>;
1682 pinctrl_gpios: gpios {
1696 pinmux = <SANDBOX_PINMUX(7, SANDBOX_PINMUX_GPIO)>;
1701 pinmux = <SANDBOX_PINMUX(8, SANDBOX_PINMUX_GPIO)>;
1708 groups = "I2C_UART";
1728 pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>,
1729 <SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>;
1734 pinctrl-single-no-width {
1735 compatible = "pinctrl-single";
1736 reg = <0x0000 0x238>;
1737 #pinctrl-cells = <1>;
1738 pinctrl-single,function-mask = <0x7f>;
1741 pinctrl-single-pins {
1742 compatible = "pinctrl-single";
1743 reg = <0x0000 0x238>;
1744 #pinctrl-cells = <1>;
1745 pinctrl-single,register-width = <32>;
1746 pinctrl-single,function-mask = <0x7f>;
1748 pinmux_pwm_pins: pinmux_pwm_pins {
1749 pinctrl-single,pins = < 0x48 0x06 >;
1752 pinmux_spi0_pins: pinmux_spi0_pins {
1753 pinctrl-single,pins = <
1761 pinmux_uart0_pins: pinmux_uart0_pins {
1762 pinctrl-single,pins = <
1769 pinctrl-single-bits {
1770 compatible = "pinctrl-single";
1771 reg = <0x0000 0x50>;
1772 #pinctrl-cells = <2>;
1773 pinctrl-single,bit-per-mux;
1774 pinctrl-single,register-width = <32>;
1775 pinctrl-single,function-mask = <0xf>;
1777 pinmux_i2c0_pins: pinmux_i2c0_pins {
1778 pinctrl-single,bits = <
1779 0x10 0x00002200 0x0000ff00
1783 pinmux_lcd_pins: pinmux_lcd_pins {
1784 pinctrl-single,bits = <
1785 0x40 0x22222200 0xffffff00
1786 0x44 0x22222222 0xffffffff
1787 0x48 0x00000022 0x000000ff
1788 0x48 0x02000000 0x0f000000
1789 0x4c 0x02000022 0x0f0000ff
1795 compatible = "sandbox,hwspinlock";
1799 compatible = "sandbox,dma";
1802 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
1803 dma-names = "m2m", "tx0", "rx0";
1807 * keep mdio-mux ahead of mdio so that the mux is removed first at the
1808 * end of the test. If parent mdio is removed first, clean-up of the
1809 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
1810 * active at the end of the test. That it turn doesn't allow the mdio
1811 * class to be destroyed, triggering an error.
1814 compatible = "sandbox,mdio-mux";
1815 #address-cells = <1>;
1817 mdio-parent-bus = <&mdio>;
1828 compatible = "sandbox,mdio";
1829 #address-cells = <1>;
1832 ethphy1: ethernet-phy@1 {
1838 compatible = "simple-pm-bus";
1839 clocks = <&clk_sandbox 4>;
1840 power-domains = <&pwrdom 1>;
1843 resetc2: syscon-reset {
1844 compatible = "syscon-reset";
1846 regmap = <&syscon0>;
1848 mask = <0x27FFFFFF>;
1853 compatible = "sandbox,misc_sandbox";
1854 resets = <&resetc2 15>, <&resetc2 30>, <&resetc2 60>;
1855 reset-names = "valid", "no_mask", "out_of_range";
1859 compatible = "sandbox,sysinfo-sandbox";
1863 compatible = "gpio-sysinfo";
1864 gpios = <&gpio_a 15>, <&gpio_a 16>, <&gpio_a 17>;
1865 revisions = <19>, <5>;
1866 names = "rev_a", "foo";
1869 some_regmapped-bus {
1870 #address-cells = <0x1>;
1871 #size-cells = <0x1>;
1873 ranges = <0x0 0x0 0x10>;
1874 compatible = "simple-bus";
1878 compatible = "sandbox,regmap_test";
1883 compatible = "sandbox,thermal";
1887 compatible = "u-boot,fwu-mdata-gpt";
1888 fwu-mdata-store = <&mmc0>;
1891 nvmxip-qspi1@08000000 {
1892 compatible = "nvmxip,qspi";
1893 reg = <0x08000000 0x00200000>;
1898 nvmxip-qspi2@08200000 {
1899 compatible = "nvmxip,qspi";
1900 reg = <0x08200000 0x00100000>;
1906 compatible = "sandbox,extcon";
1910 compatible = "sandbox,arm-ffa-emul";
1913 compatible = "sandbox,arm-ffa";
1918 #include "sandbox_pmic.dtsi"
1919 #include "cros-ec-keyboard.dtsi"
1921 #ifdef CONFIG_SANDBOX_VPL
1922 #include "sandbox_vpl.dtsi"
1925 #include "cedit.dtsi"