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;
43 remoteproc0 = &rproc_1;
44 remoteproc1 = &rproc_2;
49 testbus3 = "/some-bus";
50 testfdt0 = "/some-bus/c-test@0";
51 testfdt12 = "/some-bus/c-test@1";
53 testfdt5 = "/some-bus/c-test@5";
55 testfdtm1 = &testfdtm1;
56 fdt-dummy0 = "/translation-test@8000/dev@0,0";
57 fdt-dummy1 = "/translation-test@8000/dev@1,100";
58 fdt-dummy2 = "/translation-test@8000/dev@2,200";
59 fdt-dummy3 = "/translation-test@8000/noxlatebus@3,300/dev@42";
73 testing-str = "testing";
82 compatible = "u-boot,boot-std";
84 filename-prefixes = "/", "/boot/";
85 bootdev-order = "mmc2", "mmc1";
88 compatible = "u-boot,distro-syslinux";
92 compatible = "u-boot,distro-efi";
97 compatible = "fwupd,vbe-simple";
99 skip-offset = <0x200>;
100 area-start = <0x400>;
101 area-size = <0x1000>;
102 state-offset = <0x400>;
104 version-offset = <0x800>;
105 version-size = <0x100>;
110 compatible = "sandbox,fuzzing-engine";
114 compatible = "reboot-mode-gpio";
115 gpios = <&gpio_c 0 GPIO_ACTIVE_HIGH>, <&gpio_c 1 GPIO_ACTIVE_HIGH>;
116 u-boot,env-variable = "bootstatus";
118 mode-download = <0x03>;
121 reboot_mode1: reboot-mode@14 {
122 compatible = "reboot-mode-rtc";
125 u-boot,env-variable = "bootstatus";
127 mode-test = <0x21969147>;
128 mode-download = <0x51939147>;
132 compatible = "sandbox,audio-codec";
133 #sound-dai-cells = <1>;
137 compatible = "gpio-keys";
140 gpios = <&gpio_a 3 0>;
145 gpios = <&gpio_a 4 0>;
151 compatible = "adc-keys";
152 io-channels = <&adc 3>;
153 keyup-threshold-microvolt = <3000000>;
157 linux,code = <KEY_F3>;
158 press-threshold-microvolt = <1500000>;
163 linux,code = <KEY_F4>;
164 press-threshold-microvolt = <1000000>;
169 linux,code = <KEY_F5>;
170 press-threshold-microvolt = <500000>;
176 compatible = "google,cros-ec-sandbox";
179 * This describes the flash memory within the EC. Note
180 * that the STM32L flash erases to 0, not 0xff.
183 image-pos = <0x08000000>;
187 /* Information for sandbox */
193 image-pos = <0xf000>;
197 uncomp-size = <0xcf8>;
200 value = [00 01 02 03 04 05 06 07
201 08 09 0a 0b 0c 0d 0e 0f
202 10 11 12 13 14 15 16 17
203 18 19 1a 1b 1c 1d 1e 1f];
207 image-pos = <0x10000>;
212 cros_ec_pwm: cros-ec-pwm {
213 compatible = "google,cros-ec-pwm";
220 compatible = "sandbox,dsi-host";
225 compatible = "denx,u-boot-fdt-test";
229 test-gpios = <&gpio_a 1>, <&gpio_a 4>,
230 <&gpio_b 5 GPIO_ACTIVE_HIGH 3 2 1>,
232 test2-gpios = <&gpio_a 1>, <&gpio_a 4>,
233 <&gpio_b 6 GPIO_ACTIVE_LOW 3 2 1>,
234 <&gpio_b 7 GPIO_IN 3 2 1>,
235 <&gpio_b 8 GPIO_OUT 3 2 1>,
236 <&gpio_b 9 (GPIO_OUT|GPIO_OUT_ACTIVE) 3 2 1>;
238 <&gpio_c 0 (GPIO_OUT|GPIO_OPEN_DRAIN)>,
239 <&gpio_c 1 (GPIO_OUT|GPIO_OPEN_SOURCE)>,
240 <&gpio_c 2 GPIO_OUT>,
241 <&gpio_c 3 (GPIO_IN|GPIO_PULL_UP)>,
242 <&gpio_c 4 (GPIO_IN|GPIO_PULL_DOWN)>,
244 <&gpio_c 6 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_DRAIN)>,
245 <&gpio_c 7 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_SOURCE)>;
246 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
247 test5-gpios = <&gpio_a 19>;
250 int8-value = /bits/ 8 <0x12>;
251 int16-value = /bits/ 16 <0x1234>;
253 uint-value = <(-1234)>;
254 int64-value = /bits/ 64 <0x1111222233334444>;
255 int-array = <5678 9123 4567>;
256 str-value = "test string";
257 interrupts-extended = <&irq 3 0>;
259 phandle-value = <&gpio_c 10>, <0xFFFFFFFF 20>, <&gpio_a 30>;
261 mux-controls = <&muxcontroller0 0>, <&muxcontroller0 1>,
262 <&muxcontroller0 2>, <&muxcontroller0 3>,
264 mux-control-names = "mux0", "mux1", "mux2", "mux3", "mux4";
265 mux-syscon = <&syscon3>;
268 clock-frequency = <6500000>;
280 pixelclk-active = <1>;
286 clock-frequency = <9000000>;
298 pixelclk-active = <0>;
301 clock-frequency = <33500000>;
305 hfront-porch = <164>;
316 compatible = "not,compatible";
323 backlight: backlight {
324 compatible = "pwm-backlight";
325 enable-gpios = <&gpio_a 1>;
326 power-supply = <&ldo_1>;
327 pwms = <&pwm 0 1000>;
328 default-brightness-level = <5>;
329 brightness-levels = <0 16 32 64 128 170 202 234 255>;
333 compatible = "simple-bus";
335 compatible = "sandbox,phy";
340 compatible = "simple-bus";
346 compatible = "denx,u-boot-fdt-test";
350 mux-controls = <&muxcontroller0 0>;
351 mux-control-names = "mux0";
354 phy_provider0: gen_phy@0 {
355 compatible = "sandbox,phy";
359 phy_provider1: gen_phy@1 {
360 compatible = "sandbox,phy";
365 phy_provider2: gen_phy@2 {
366 compatible = "sandbox,phy";
370 gen_phy_user: gen_phy_user {
371 compatible = "simple-bus";
372 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
373 phy-names = "phy1", "phy2", "phy3";
376 gen_phy_user1: gen_phy_user1 {
377 compatible = "simple-bus";
378 phys = <&phy_provider0 0>, <&phy_provider2>;
379 phy-names = "phy1", "phy2";
383 #address-cells = <1>;
385 compatible = "denx,u-boot-test-bus";
390 compatible = "denx,u-boot-fdt-test";
396 compatible = "denx,u-boot-fdt-test";
402 compatible = "denx,u-boot-fdt-test";
413 compatible = "google,another-fdt-test";
420 compatible = "google,another-fdt-test";
424 compatible = "denx,u-boot-fdt-test";
428 compatible = "denx,u-boot-fdt-test";
432 compatible = "denx,u-boot-fdt-test1";
436 compatible = "mediatek,u-boot-fdt-test";
437 #address-cells = <1>;
454 compatible = "denx,u-boot-devres-test";
459 compatible = "denx,u-boot-fdt-test";
460 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
461 test5-gpios = <&gpio_a 19>;
465 #address-cells = <1>;
467 compatible = "denx,u-boot-test-bus";
468 dma-ranges = <0x10000000 0x00000000 0x00040000>;
471 compatible = "denx,u-boot-fdt-test";
476 #address-cells = <1>;
478 compatible = "denx,u-boot-test-bus";
481 compatible = "denx,u-boot-fdt-test";
485 acpi_test1: acpi-test {
486 compatible = "denx,u-boot-acpi-test";
487 acpi-ssdt-test-data = "ab";
488 acpi-dsdt-test-data = "hi";
490 compatible = "denx,u-boot-acpi-test";
494 acpi_test2: acpi-test2 {
495 compatible = "denx,u-boot-acpi-test";
496 acpi-ssdt-test-data = "cd";
497 acpi-dsdt-test-data = "jk";
501 clk_fixed: clk-fixed {
502 compatible = "fixed-clock";
504 clock-frequency = <1234>;
507 clk_fixed_factor: clk-fixed-factor {
508 compatible = "fixed-factor-clock";
512 clocks = <&clk_fixed>;
516 compatible = "fixed-clock";
518 clock-frequency = <20000000>;
522 clk_sandbox: clk-sbox {
523 compatible = "sandbox,clk";
525 assigned-clocks = <&clk_sandbox 3>;
526 assigned-clock-rates = <321>;
530 compatible = "sandbox,clk-test";
531 clocks = <&clk_fixed>,
536 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
540 compatible = "sandbox,clk-ccf";
544 compatible = "sandbox,efi-media";
548 compatible = "sandbox,eth";
549 reg = <0x10002000 0x1000>;
552 eth_5: eth@10003000 {
553 compatible = "sandbox,eth";
554 reg = <0x10003000 0x1000>;
555 nvmem-cells = <ð5_addr>;
556 nvmem-cell-names = "mac-address";
560 compatible = "sandbox,eth";
561 reg = <0x10005000 0x1000>;
562 nvmem-cells = <ð3_addr>;
563 nvmem-cell-names = "mac-address";
567 compatible = "sandbox,eth";
568 reg = <0x10004000 0x1000>;
571 phy_eth0: phy-test-eth {
572 compatible = "sandbox,eth";
573 reg = <0x10007000 0x1000>;
574 mac-address = [ 02 00 11 22 33 49 ];
575 phy-handle = <ðphy1>;
576 phy-mode = "2500base-x";
579 dsa_eth0: dsa-test-eth {
580 compatible = "sandbox,eth";
581 reg = <0x10006000 0x1000>;
582 nvmem-cells = <ð4_addr>;
583 nvmem-cell-names = "mac-address";
587 compatible = "sandbox,dsa";
590 #address-cells = <1>;
595 phy-mode = "rgmii-rxid";
606 phy-mode = "rgmii-txid";
607 fixed-link = <0 1 100 0 0>;
612 ethernet = <&dsa_eth0>;
623 sandbox_firmware: sandbox-firmware {
624 compatible = "sandbox,firmware";
628 compatible = "sandbox,scmi-agent";
629 #address-cells = <1>;
636 clk_scmi: protocol@14 {
641 reset_scmi: protocol@16 {
650 #address-cells = <1>;
655 regulator-name = "sandbox-voltd0";
656 regulator-min-microvolt = <1100000>;
657 regulator-max-microvolt = <3300000>;
661 regulator-name = "sandbox-voltd1";
662 regulator-min-microvolt = <1800000>;
670 compatible = "sandbox,fpga";
674 compatible = "sandbox,pinctrl-gpio";
677 compatible = "sandbox,gpio";
680 gpio-bank-name = "a";
681 sandbox,gpio-count = <20>;
682 hog_input_active_low {
685 gpios = <10 GPIO_ACTIVE_LOW>;
687 hog_input_active_high {
690 gpios = <11 GPIO_ACTIVE_HIGH>;
695 gpios = <12 GPIO_ACTIVE_HIGH>;
700 gpios = <13 GPIO_ACTIVE_HIGH>;
704 gpio_b: extra-gpios {
705 compatible = "sandbox,gpio";
708 gpio-bank-name = "b";
709 sandbox,gpio-count = <10>;
712 gpio_c: pinmux-gpios {
713 compatible = "sandbox,gpio";
716 gpio-bank-name = "c";
717 sandbox,gpio-count = <10>;
722 #address-cells = <1>;
725 compatible = "sandbox,i2c";
726 clock-frequency = <100000>;
727 pinctrl-names = "default";
728 pinctrl-0 = <&pinmux_i2c0_pins>;
731 #address-cells = <1>;
734 compatible = "i2c-eeprom";
735 sandbox,emul = <&emul_eeprom>;
737 compatible = "fixed-partitions";
738 #address-cells = <1>;
740 bootcount_i2c: bootcount@10 {
745 eth3_addr: mac-address@24 {
751 #address-cells = <1>;
754 compatible = "sandbox-rtc";
755 sandbox,emul = <&emul0>;
757 eth4_addr: mac-address@40 {
764 compatible = "sandbox-rtc";
765 sandbox,emul = <&emul1>;
770 compatible = "sandbox,i2c-emul-parent";
771 emul_eeprom: emul-eeprom {
772 compatible = "sandbox,i2c-eeprom";
773 sandbox,filename = "i2c.bin";
774 sandbox,size = <256>;
777 compatible = "sandbox,i2c-rtc-emul";
780 compatible = "sandbox,i2c-rtc-emul";
784 sandbox_pmic: sandbox_pmic {
786 sandbox,emul = <&emul_pmic0>;
791 sandbox,emul = <&emul_pmic1>;
796 compatible = "u-boot,bootcount-rtc";
802 compatible = "u-boot,bootcount-i2c-eeprom";
803 i2c-eeprom = <&bootcount_i2c>;
807 compatible = "u-boot,bootcount-syscon";
809 reg = <0x0 0x04>, <0x0 0x04>;
810 reg-names = "syscon_reg", "offset";
814 compatible = "u-boot,bootcount-syscon";
816 reg = <0x0 0x04>, <0x0 0x02> ;
817 reg-names = "syscon_reg", "offset";
821 compatible = "sandbox,adc";
822 #io-channel-cells = <1>;
823 vdd-supply = <&buck2>;
824 vss-microvolts = <0>;
828 compatible = "sandbox,iommu";
833 compatible = "sandbox,irq";
834 interrupt-controller;
835 #interrupt-cells = <2>;
840 compatible = "sandbox,lcd-sdl";
841 pinctrl-names = "default";
842 pinctrl-0 = <&pinmux_lcd_pins>;
848 compatible = "gpio-leds";
851 gpios = <&gpio_a 1 0>;
852 label = "sandbox:red";
856 gpios = <&gpio_a 2 0>;
857 label = "sandbox:green";
861 gpios = <&gpio_a 5 0>;
862 label = "sandbox:default_on";
863 default-state = "on";
867 gpios = <&gpio_a 6 0>;
868 /* label intentionally omitted */
869 default-state = "off";
874 gpios = <&gpio_a 7 0>;
875 compatible = "linux,wdt-gpio";
876 hw_margin_ms = <100>;
882 gpios = <&gpio_a 7 0>;
883 compatible = "linux,wdt-gpio";
884 hw_margin_ms = <100>;
890 compatible = "sandbox,mbox";
895 compatible = "sandbox,mbox-test";
896 mboxes = <&mbox 100>, <&mbox 1>;
897 mbox-names = "other", "test";
901 #address-cells = <1>;
903 timebase-frequency = <2000000>;
907 timebase-frequency = <3000000>;
908 compatible = "sandbox,cpu_sandbox";
915 compatible = "sandbox,cpu_sandbox";
922 compatible = "sandbox,cpu_sandbox";
928 compatible = "sandbox,soc";
932 compatible = "sandbox,i2s";
933 #sound-dai-cells = <1>;
934 sandbox,silent; /* Don't emit sounds while testing */
938 compatible = "sandbox,nop_sandbox1";
940 compatible = "sandbox,nop_sandbox2";
944 compatible = "sandbox,nop_sandbox2";
950 compatible = "sandbox,memory";
954 #address-cells = <1>;
956 compatible = "sandbox,misc_sandbox";
958 eth5_addr: mac-address@10 {
964 compatible = "sandbox,mmc";
968 /* This is used for the bootdev tests */
970 compatible = "sandbox,mmc";
971 filename = "mmc1.img";
974 /* This is used for the fastboot tests */
976 compatible = "sandbox,mmc";
980 compatible = "sandbox,pch";
984 compatible = "sandbox,pci";
986 bus-range = <0x00 0xff>;
987 #address-cells = <3>;
989 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
990 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
992 compatible = "pci-generic";
993 reg = <0x0000 0 0 0 0>;
994 sandbox,emul = <&swap_case_emul0_0>;
997 compatible = "pci-generic";
998 /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
999 reg = <0x02000814 0 0 0 0
1000 0x01000810 0 0 0 0>;
1001 sandbox,emul = <&swap_case_emul0_1>;
1004 compatible = "sandbox,p2sb";
1005 reg = <0x02001010 0 0 0 0>;
1006 sandbox,emul = <&p2sb_emul>;
1009 intel,p2sb-port-id = <3>;
1010 compatible = "sandbox,adder";
1014 compatible = "sandbox,pmc";
1015 reg = <0xf000 0 0 0 0>;
1016 sandbox,emul = <&pmc_emul1e>;
1017 acpi-base = <0x400>;
1018 gpe0-dwx-mask = <0xf>;
1019 gpe0-dwx-shift-base = <4>;
1025 compatible = "pci-generic";
1026 /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
1027 reg = <0x0100f810 0 0 0 0>;
1028 sandbox,emul = <&swap_case_emul0_1f>;
1033 compatible = "sandbox,pci-emul-parent";
1034 swap_case_emul0_0: emul0@0,0 {
1035 compatible = "sandbox,swap-case";
1037 swap_case_emul0_1: emul0@1,0 {
1038 compatible = "sandbox,swap-case";
1041 swap_case_emul0_1f: emul0@1f,0 {
1042 compatible = "sandbox,swap-case";
1044 p2sb_emul: emul@2,0 {
1045 compatible = "sandbox,p2sb-emul";
1047 pmc_emul1e: emul@1e,0 {
1048 compatible = "sandbox,pmc-emul";
1053 compatible = "sandbox,pci";
1054 device_type = "pci";
1055 bus-range = <0x00 0xff>;
1056 #address-cells = <3>;
1058 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 // MEM0
1059 0x02000000 0 0x31000000 0x3e000000 0 0x2000 // MEM1
1060 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
1061 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
1062 0x0c 0x00 0x1234 0x5678
1063 0x10 0x00 0x1234 0x5678>;
1065 reg = <0x8000 0 0 0 0>;
1070 compatible = "sandbox,pci";
1071 device_type = "pci";
1072 bus-range = <0x00 0xff>;
1073 #address-cells = <3>;
1075 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
1076 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
1077 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
1079 compatible = "pci-generic";
1080 reg = <0xf800 0 0 0 0>;
1081 sandbox,emul = <&swap_case_emul2_1f>;
1086 compatible = "sandbox,pci-emul-parent";
1087 swap_case_emul2_1f: emul2@1f,0 {
1088 compatible = "sandbox,swap-case";
1093 compatible = "sandbox,pci_ep";
1097 compatible = "simple-bus";
1099 compatible = "denx,u-boot-probe-test";
1103 compatible = "denx,u-boot-probe-test";
1107 compatible = "denx,u-boot-probe-test";
1111 compatible = "denx,u-boot-probe-test";
1112 first-syscon = <&syscon0>;
1113 second-sys-ctrl = <&another_system_controller>;
1114 third-syscon = <&syscon2>;
1118 pwrdom: power-domain {
1119 compatible = "sandbox,power-domain";
1120 #power-domain-cells = <1>;
1124 compatible = "sandbox,power-domain-test";
1125 power-domains = <&pwrdom 2>;
1129 compatible = "sandbox,pwm";
1131 pinctrl-names = "default";
1132 pinctrl-0 = <&pinmux_pwm_pins>;
1136 compatible = "sandbox,pwm";
1141 compatible = "sandbox,ram";
1145 compatible = "sandbox,warm-reset";
1146 u-boot,dm-pre-proper;
1150 compatible = "sandbox,reset";
1151 u-boot,dm-pre-proper;
1155 compatible = "sandbox,reset-ctl";
1160 compatible = "sandbox,reset-ctl-test";
1161 resets = <&resetc 100>, <&resetc 2>, <&resetc 20>, <&resetc 40>;
1162 reset-names = "other", "test", "test2", "test3";
1166 compatible = "sandbox,sandbox-rng";
1170 compatible = "sandbox,test-processor";
1171 remoteproc-name = "remoteproc-test-dev1";
1175 compatible = "sandbox,test-processor";
1176 internal-memory-mapped;
1177 remoteproc-name = "remoteproc-test-dev2";
1181 compatible = "simple-panel";
1182 backlight = <&backlight 0 100>;
1186 compatible = "sandbox,scsi";
1187 sandbox,filepath = "scsi.img";
1191 compatible = "sandbox,smem";
1195 compatible = "sandbox,sound";
1197 sound-dai = <&i2s 0>;
1201 sound-dai = <&audio 0>;
1206 #address-cells = <1>;
1209 compatible = "sandbox,spi";
1210 cs-gpios = <0>, <0>, <&gpio_a 0>;
1211 pinctrl-names = "default";
1212 pinctrl-0 = <&pinmux_spi0_pins>;
1216 compatible = "spansion,m25p16", "jedec,spi-nor";
1217 spi-max-frequency = <40000000>;
1218 sandbox,filename = "spi.bin";
1222 compatible = "spansion,m25p16", "jedec,spi-nor";
1223 spi-max-frequency = <50000000>;
1224 sandbox,filename = "spi.bin";
1231 compatible = "sandbox,syscon0";
1235 another_system_controller: syscon@1 {
1236 compatible = "sandbox,syscon1";
1244 compatible = "simple-mfd", "syscon";
1252 compatible = "simple-mfd", "syscon";
1253 reg = <0x000100 0x10>;
1255 muxcontroller0: a-mux-controller {
1256 compatible = "mmio-mux";
1257 #mux-control-cells = <1>;
1259 mux-reg-masks = <0x0 0x30>, /* 0: reg 0x0, bits 5:4 */
1260 <0xc 0x1E>, /* 1: reg 0xc, bits 4:1 */
1261 <0x4 0xFF>; /* 2: reg 0x4, bits 7:0 */
1262 idle-states = <MUX_IDLE_AS_IS>, <0x02>, <0x73>;
1263 u-boot,mux-autoprobe;
1267 muxcontroller1: emul-mux-controller {
1268 compatible = "mux-emul";
1269 #mux-control-cells = <0>;
1270 u-boot,mux-autoprobe;
1271 idle-state = <0xabcd>;
1275 compatible = "denx,u-boot-fdtm-test";
1278 testfdtm1: testfdtm1 {
1279 compatible = "denx,u-boot-fdtm-test";
1283 compatible = "denx,u-boot-fdtm-test";
1287 compatible = "sandbox,timer";
1288 clock-frequency = <1000000>;
1292 compatible = "sandbox,timer";
1293 sandbox,timebase-frequency-fallback;
1297 compatible = "sandbox,tpm2";
1301 compatible = "sandbox,serial";
1302 u-boot,dm-pre-reloc;
1303 pinctrl-names = "default";
1304 pinctrl-0 = <&pinmux_uart0_pins>;
1308 compatible = "sandbox,usb";
1309 status = "disabled";
1311 compatible = "sandbox,usb-hub";
1312 #address-cells = <1>;
1316 compatible = "sandbox,usb-flash";
1322 compatible = "sandbox,usb";
1325 compatible = "usb-hub";
1326 usb,device-class = <9>;
1327 #address-cells = <1>;
1330 compatible = "sandbox,usb-hub";
1331 #address-cells = <1>;
1335 compatible = "sandbox,usb-flash";
1336 sandbox,filepath = "testflash.bin";
1341 compatible = "sandbox,usb-flash";
1342 sandbox,filepath = "testflash1.bin";
1347 compatible = "sandbox,usb-flash";
1348 sandbox,filepath = "testflash2.bin";
1353 compatible = "sandbox,usb-keyb";
1368 compatible = "sandbox,usb";
1369 status = "disabled";
1373 compatible = "sandbox,spmi";
1374 #address-cells = <0x1>;
1375 #size-cells = <0x1>;
1378 compatible = "qcom,spmi-pmic";
1380 #address-cells = <0x1>;
1381 #size-cells = <0x1>;
1384 spmi_gpios: gpios@c000 {
1385 compatible = "qcom,pm8916-gpio";
1386 reg = <0xc000 0x400>;
1390 gpio-bank-name="spmi";
1396 compatible = "sandbox,wdt";
1397 hw_margin_ms = <200>;
1401 compatible = "sandbox,axi";
1402 #address-cells = <0x1>;
1403 #size-cells = <0x1>;
1405 compatible = "sandbox,sandbox_store";
1411 #address-cells = <1>;
1413 setting = "sunrise ohoka";
1414 other-node = "/some-bus/c-test@5";
1415 int-values = <0x1937 72993>;
1416 u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>;
1418 compatible = "denx,u-boot-fdt-test";
1423 translation-test@8000 {
1424 compatible = "simple-bus";
1425 reg = <0x8000 0x4000>;
1427 #address-cells = <0x2>;
1428 #size-cells = <0x1>;
1430 ranges = <0 0x0 0x8000 0x1000
1431 1 0x100 0x9000 0x1000
1432 2 0x200 0xA000 0x1000
1433 3 0x300 0xB000 0x1000
1436 dma-ranges = <0 0x000 0x10000000 0x1000
1437 1 0x100 0x20000000 0x1000
1441 compatible = "denx,u-boot-fdt-dummy";
1442 reg = <0 0x0 0x1000>;
1443 reg-names = "sandbox-dummy-0";
1447 compatible = "denx,u-boot-fdt-dummy";
1448 reg = <1 0x100 0x1000>;
1453 compatible = "denx,u-boot-fdt-dummy";
1454 reg = <2 0x200 0x1000>;
1459 compatible = "simple-bus";
1460 reg = <3 0x300 0x1000>;
1462 #address-cells = <0x1>;
1463 #size-cells = <0x0>;
1466 compatible = "denx,u-boot-fdt-dummy";
1473 compatible = "sandbox,sandbox_osd";
1477 compatible = "sandbox,tee";
1481 compatible = "sandbox,virtio1";
1485 compatible = "sandbox,virtio2";
1489 compatible = "sandbox,scmi-devices";
1490 clocks = <&clk_scmi 2>, <&clk_scmi 0>;
1491 resets = <&reset_scmi 3>;
1492 regul0-supply = <®ul0_scmi>;
1493 regul1-supply = <®ul1_scmi>;
1497 compatible = "sandbox,pinctrl";
1499 pinctrl-names = "default", "alternate";
1500 pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>;
1501 pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>;
1503 pinctrl_gpios: gpios {
1517 pinmux = <SANDBOX_PINMUX(7, SANDBOX_PINMUX_GPIO)>;
1522 pinmux = <SANDBOX_PINMUX(8, SANDBOX_PINMUX_GPIO)>;
1529 groups = "I2C_UART";
1549 pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>,
1550 <SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>;
1555 pinctrl-single-no-width {
1556 compatible = "pinctrl-single";
1557 reg = <0x0000 0x238>;
1558 #pinctrl-cells = <1>;
1559 pinctrl-single,function-mask = <0x7f>;
1562 pinctrl-single-pins {
1563 compatible = "pinctrl-single";
1564 reg = <0x0000 0x238>;
1565 #pinctrl-cells = <1>;
1566 pinctrl-single,register-width = <32>;
1567 pinctrl-single,function-mask = <0x7f>;
1569 pinmux_pwm_pins: pinmux_pwm_pins {
1570 pinctrl-single,pins = < 0x48 0x06 >;
1573 pinmux_spi0_pins: pinmux_spi0_pins {
1574 pinctrl-single,pins = <
1582 pinmux_uart0_pins: pinmux_uart0_pins {
1583 pinctrl-single,pins = <
1590 pinctrl-single-bits {
1591 compatible = "pinctrl-single";
1592 reg = <0x0000 0x50>;
1593 #pinctrl-cells = <2>;
1594 pinctrl-single,bit-per-mux;
1595 pinctrl-single,register-width = <32>;
1596 pinctrl-single,function-mask = <0xf>;
1598 pinmux_i2c0_pins: pinmux_i2c0_pins {
1599 pinctrl-single,bits = <
1600 0x10 0x00002200 0x0000ff00
1604 pinmux_lcd_pins: pinmux_lcd_pins {
1605 pinctrl-single,bits = <
1606 0x40 0x22222200 0xffffff00
1607 0x44 0x22222222 0xffffffff
1608 0x48 0x00000022 0x000000ff
1609 0x48 0x02000000 0x0f000000
1610 0x4c 0x02000022 0x0f0000ff
1616 compatible = "sandbox,hwspinlock";
1620 compatible = "sandbox,dma";
1623 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
1624 dma-names = "m2m", "tx0", "rx0";
1628 * keep mdio-mux ahead of mdio so that the mux is removed first at the
1629 * end of the test. If parent mdio is removed first, clean-up of the
1630 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
1631 * active at the end of the test. That it turn doesn't allow the mdio
1632 * class to be destroyed, triggering an error.
1635 compatible = "sandbox,mdio-mux";
1636 #address-cells = <1>;
1638 mdio-parent-bus = <&mdio>;
1649 compatible = "sandbox,mdio";
1650 #address-cells = <1>;
1653 ethphy1: ethernet-phy@1 {
1659 compatible = "simple-pm-bus";
1660 clocks = <&clk_sandbox 4>;
1661 power-domains = <&pwrdom 1>;
1664 resetc2: syscon-reset {
1665 compatible = "syscon-reset";
1667 regmap = <&syscon0>;
1669 mask = <0x27FFFFFF>;
1674 compatible = "sandbox,misc_sandbox";
1675 resets = <&resetc2 15>, <&resetc2 30>, <&resetc2 60>;
1676 reset-names = "valid", "no_mask", "out_of_range";
1680 compatible = "sandbox,sysinfo-sandbox";
1684 compatible = "gpio-sysinfo";
1685 gpios = <&gpio_a 15>, <&gpio_a 16>, <&gpio_a 17>;
1686 revisions = <19>, <5>;
1687 names = "rev_a", "foo";
1690 some_regmapped-bus {
1691 #address-cells = <0x1>;
1692 #size-cells = <0x1>;
1694 ranges = <0x0 0x0 0x10>;
1695 compatible = "simple-bus";
1699 compatible = "sandbox,regmap_test";
1704 compatible = "sandbox,thermal";
1708 #include "sandbox_pmic.dtsi"
1709 #include "cros-ec-keyboard.dtsi"