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";
81 compatible = "u-boot,boot-std";
83 filename-prefixes = "/", "/boot/";
84 bootdev-order = "mmc2", "mmc1";
87 compatible = "u-boot,distro-syslinux";
91 compatible = "u-boot,distro-efi";
96 compatible = "sandbox,fuzzing-engine";
100 compatible = "reboot-mode-gpio";
101 gpios = <&gpio_c 0 GPIO_ACTIVE_HIGH>, <&gpio_c 1 GPIO_ACTIVE_HIGH>;
102 u-boot,env-variable = "bootstatus";
104 mode-download = <0x03>;
107 reboot_mode1: reboot-mode@14 {
108 compatible = "reboot-mode-rtc";
111 u-boot,env-variable = "bootstatus";
113 mode-test = <0x21969147>;
114 mode-download = <0x51939147>;
118 compatible = "sandbox,audio-codec";
119 #sound-dai-cells = <1>;
123 compatible = "gpio-keys";
126 gpios = <&gpio_a 3 0>;
131 gpios = <&gpio_a 4 0>;
137 compatible = "adc-keys";
138 io-channels = <&adc 3>;
139 keyup-threshold-microvolt = <3000000>;
143 linux,code = <KEY_F3>;
144 press-threshold-microvolt = <1500000>;
149 linux,code = <KEY_F4>;
150 press-threshold-microvolt = <1000000>;
155 linux,code = <KEY_F5>;
156 press-threshold-microvolt = <500000>;
162 compatible = "google,cros-ec-sandbox";
165 * This describes the flash memory within the EC. Note
166 * that the STM32L flash erases to 0, not 0xff.
169 image-pos = <0x08000000>;
173 /* Information for sandbox */
179 image-pos = <0xf000>;
183 uncomp-size = <0xcf8>;
186 value = [00 01 02 03 04 05 06 07
187 08 09 0a 0b 0c 0d 0e 0f
188 10 11 12 13 14 15 16 17
189 18 19 1a 1b 1c 1d 1e 1f];
193 image-pos = <0x10000>;
198 cros_ec_pwm: cros-ec-pwm {
199 compatible = "google,cros-ec-pwm";
206 compatible = "sandbox,dsi-host";
211 compatible = "denx,u-boot-fdt-test";
215 test-gpios = <&gpio_a 1>, <&gpio_a 4>,
216 <&gpio_b 5 GPIO_ACTIVE_HIGH 3 2 1>,
218 test2-gpios = <&gpio_a 1>, <&gpio_a 4>,
219 <&gpio_b 6 GPIO_ACTIVE_LOW 3 2 1>,
220 <&gpio_b 7 GPIO_IN 3 2 1>,
221 <&gpio_b 8 GPIO_OUT 3 2 1>,
222 <&gpio_b 9 (GPIO_OUT|GPIO_OUT_ACTIVE) 3 2 1>;
224 <&gpio_c 0 (GPIO_OUT|GPIO_OPEN_DRAIN)>,
225 <&gpio_c 1 (GPIO_OUT|GPIO_OPEN_SOURCE)>,
226 <&gpio_c 2 GPIO_OUT>,
227 <&gpio_c 3 (GPIO_IN|GPIO_PULL_UP)>,
228 <&gpio_c 4 (GPIO_IN|GPIO_PULL_DOWN)>,
230 <&gpio_c 6 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_DRAIN)>,
231 <&gpio_c 7 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_SOURCE)>;
232 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
233 test5-gpios = <&gpio_a 19>;
236 int8-value = /bits/ 8 <0x12>;
237 int16-value = /bits/ 16 <0x1234>;
239 uint-value = <(-1234)>;
240 int64-value = /bits/ 64 <0x1111222233334444>;
241 int-array = <5678 9123 4567>;
242 str-value = "test string";
243 interrupts-extended = <&irq 3 0>;
245 phandle-value = <&gpio_c 10>, <0xFFFFFFFF 20>, <&gpio_a 30>;
247 mux-controls = <&muxcontroller0 0>, <&muxcontroller0 1>,
248 <&muxcontroller0 2>, <&muxcontroller0 3>,
250 mux-control-names = "mux0", "mux1", "mux2", "mux3", "mux4";
251 mux-syscon = <&syscon3>;
254 clock-frequency = <6500000>;
266 pixelclk-active = <1>;
272 clock-frequency = <9000000>;
284 pixelclk-active = <0>;
287 clock-frequency = <33500000>;
291 hfront-porch = <164>;
302 compatible = "not,compatible";
309 backlight: backlight {
310 compatible = "pwm-backlight";
311 enable-gpios = <&gpio_a 1>;
312 power-supply = <&ldo_1>;
313 pwms = <&pwm 0 1000>;
314 default-brightness-level = <5>;
315 brightness-levels = <0 16 32 64 128 170 202 234 255>;
319 compatible = "simple-bus";
321 compatible = "sandbox,phy";
326 compatible = "simple-bus";
332 compatible = "denx,u-boot-fdt-test";
336 mux-controls = <&muxcontroller0 0>;
337 mux-control-names = "mux0";
340 phy_provider0: gen_phy@0 {
341 compatible = "sandbox,phy";
345 phy_provider1: gen_phy@1 {
346 compatible = "sandbox,phy";
351 phy_provider2: gen_phy@2 {
352 compatible = "sandbox,phy";
356 gen_phy_user: gen_phy_user {
357 compatible = "simple-bus";
358 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
359 phy-names = "phy1", "phy2", "phy3";
362 gen_phy_user1: gen_phy_user1 {
363 compatible = "simple-bus";
364 phys = <&phy_provider0 0>, <&phy_provider2>;
365 phy-names = "phy1", "phy2";
369 #address-cells = <1>;
371 compatible = "denx,u-boot-test-bus";
376 compatible = "denx,u-boot-fdt-test";
382 compatible = "denx,u-boot-fdt-test";
388 compatible = "denx,u-boot-fdt-test";
399 compatible = "google,another-fdt-test";
406 compatible = "google,another-fdt-test";
410 compatible = "denx,u-boot-fdt-test";
414 compatible = "denx,u-boot-fdt-test";
418 compatible = "denx,u-boot-fdt-test1";
422 compatible = "mediatek,u-boot-fdt-test";
423 #address-cells = <1>;
440 compatible = "denx,u-boot-devres-test";
445 compatible = "denx,u-boot-fdt-test";
446 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
447 test5-gpios = <&gpio_a 19>;
451 #address-cells = <1>;
453 compatible = "denx,u-boot-test-bus";
454 dma-ranges = <0x10000000 0x00000000 0x00040000>;
457 compatible = "denx,u-boot-fdt-test";
462 #address-cells = <1>;
464 compatible = "denx,u-boot-test-bus";
467 compatible = "denx,u-boot-fdt-test";
471 acpi_test1: acpi-test {
472 compatible = "denx,u-boot-acpi-test";
473 acpi-ssdt-test-data = "ab";
474 acpi-dsdt-test-data = "hi";
476 compatible = "denx,u-boot-acpi-test";
480 acpi_test2: acpi-test2 {
481 compatible = "denx,u-boot-acpi-test";
482 acpi-ssdt-test-data = "cd";
483 acpi-dsdt-test-data = "jk";
487 clk_fixed: clk-fixed {
488 compatible = "fixed-clock";
490 clock-frequency = <1234>;
493 clk_fixed_factor: clk-fixed-factor {
494 compatible = "fixed-factor-clock";
498 clocks = <&clk_fixed>;
502 compatible = "fixed-clock";
504 clock-frequency = <20000000>;
508 clk_sandbox: clk-sbox {
509 compatible = "sandbox,clk";
511 assigned-clocks = <&clk_sandbox 3>;
512 assigned-clock-rates = <321>;
516 compatible = "sandbox,clk-test";
517 clocks = <&clk_fixed>,
522 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
526 compatible = "sandbox,clk-ccf";
530 compatible = "sandbox,efi-media";
534 compatible = "sandbox,eth";
535 reg = <0x10002000 0x1000>;
538 eth_5: eth@10003000 {
539 compatible = "sandbox,eth";
540 reg = <0x10003000 0x1000>;
541 nvmem-cells = <ð5_addr>;
542 nvmem-cell-names = "mac-address";
546 compatible = "sandbox,eth";
547 reg = <0x10005000 0x1000>;
548 nvmem-cells = <ð3_addr>;
549 nvmem-cell-names = "mac-address";
553 compatible = "sandbox,eth";
554 reg = <0x10004000 0x1000>;
557 phy_eth0: phy-test-eth {
558 compatible = "sandbox,eth";
559 reg = <0x10007000 0x1000>;
560 mac-address = [ 02 00 11 22 33 49 ];
561 phy-handle = <ðphy1>;
562 phy-mode = "2500base-x";
565 dsa_eth0: dsa-test-eth {
566 compatible = "sandbox,eth";
567 reg = <0x10006000 0x1000>;
568 nvmem-cells = <ð4_addr>;
569 nvmem-cell-names = "mac-address";
573 compatible = "sandbox,dsa";
576 #address-cells = <1>;
581 phy-mode = "rgmii-rxid";
592 phy-mode = "rgmii-txid";
593 fixed-link = <0 1 100 0 0>;
598 ethernet = <&dsa_eth0>;
609 sandbox_firmware: sandbox-firmware {
610 compatible = "sandbox,firmware";
614 compatible = "sandbox,scmi-agent";
615 #address-cells = <1>;
622 clk_scmi: protocol@14 {
627 reset_scmi: protocol@16 {
636 #address-cells = <1>;
641 regulator-name = "sandbox-voltd0";
642 regulator-min-microvolt = <1100000>;
643 regulator-max-microvolt = <3300000>;
647 regulator-name = "sandbox-voltd1";
648 regulator-min-microvolt = <1800000>;
656 compatible = "sandbox,fpga";
660 compatible = "sandbox,pinctrl-gpio";
663 compatible = "sandbox,gpio";
666 gpio-bank-name = "a";
667 sandbox,gpio-count = <20>;
668 hog_input_active_low {
671 gpios = <10 GPIO_ACTIVE_LOW>;
673 hog_input_active_high {
676 gpios = <11 GPIO_ACTIVE_HIGH>;
681 gpios = <12 GPIO_ACTIVE_HIGH>;
686 gpios = <13 GPIO_ACTIVE_HIGH>;
690 gpio_b: extra-gpios {
691 compatible = "sandbox,gpio";
694 gpio-bank-name = "b";
695 sandbox,gpio-count = <10>;
698 gpio_c: pinmux-gpios {
699 compatible = "sandbox,gpio";
702 gpio-bank-name = "c";
703 sandbox,gpio-count = <10>;
708 #address-cells = <1>;
711 compatible = "sandbox,i2c";
712 clock-frequency = <100000>;
713 pinctrl-names = "default";
714 pinctrl-0 = <&pinmux_i2c0_pins>;
717 #address-cells = <1>;
720 compatible = "i2c-eeprom";
721 sandbox,emul = <&emul_eeprom>;
723 compatible = "fixed-partitions";
724 #address-cells = <1>;
726 bootcount_i2c: bootcount@10 {
731 eth3_addr: mac-address@24 {
737 #address-cells = <1>;
740 compatible = "sandbox-rtc";
741 sandbox,emul = <&emul0>;
743 eth4_addr: mac-address@40 {
750 compatible = "sandbox-rtc";
751 sandbox,emul = <&emul1>;
756 compatible = "sandbox,i2c-emul-parent";
757 emul_eeprom: emul-eeprom {
758 compatible = "sandbox,i2c-eeprom";
759 sandbox,filename = "i2c.bin";
760 sandbox,size = <256>;
763 compatible = "sandbox,i2c-rtc-emul";
766 compatible = "sandbox,i2c-rtc-emul";
770 sandbox_pmic: sandbox_pmic {
772 sandbox,emul = <&emul_pmic0>;
777 sandbox,emul = <&emul_pmic1>;
782 compatible = "u-boot,bootcount-rtc";
788 compatible = "u-boot,bootcount-i2c-eeprom";
789 i2c-eeprom = <&bootcount_i2c>;
793 compatible = "u-boot,bootcount-syscon";
795 reg = <0x0 0x04>, <0x0 0x04>;
796 reg-names = "syscon_reg", "offset";
800 compatible = "u-boot,bootcount-syscon";
802 reg = <0x0 0x04>, <0x0 0x02> ;
803 reg-names = "syscon_reg", "offset";
807 compatible = "sandbox,adc";
808 #io-channel-cells = <1>;
809 vdd-supply = <&buck2>;
810 vss-microvolts = <0>;
814 compatible = "sandbox,iommu";
819 compatible = "sandbox,irq";
820 interrupt-controller;
821 #interrupt-cells = <2>;
826 compatible = "sandbox,lcd-sdl";
827 pinctrl-names = "default";
828 pinctrl-0 = <&pinmux_lcd_pins>;
834 compatible = "gpio-leds";
837 gpios = <&gpio_a 1 0>;
838 label = "sandbox:red";
842 gpios = <&gpio_a 2 0>;
843 label = "sandbox:green";
847 gpios = <&gpio_a 5 0>;
848 label = "sandbox:default_on";
849 default-state = "on";
853 gpios = <&gpio_a 6 0>;
854 /* label intentionally omitted */
855 default-state = "off";
860 gpios = <&gpio_a 7 0>;
861 compatible = "linux,wdt-gpio";
862 hw_margin_ms = <100>;
868 gpios = <&gpio_a 7 0>;
869 compatible = "linux,wdt-gpio";
870 hw_margin_ms = <100>;
876 compatible = "sandbox,mbox";
881 compatible = "sandbox,mbox-test";
882 mboxes = <&mbox 100>, <&mbox 1>;
883 mbox-names = "other", "test";
887 #address-cells = <1>;
889 timebase-frequency = <2000000>;
893 timebase-frequency = <3000000>;
894 compatible = "sandbox,cpu_sandbox";
901 compatible = "sandbox,cpu_sandbox";
908 compatible = "sandbox,cpu_sandbox";
914 compatible = "sandbox,soc";
918 compatible = "sandbox,i2s";
919 #sound-dai-cells = <1>;
920 sandbox,silent; /* Don't emit sounds while testing */
924 compatible = "sandbox,nop_sandbox1";
926 compatible = "sandbox,nop_sandbox2";
930 compatible = "sandbox,nop_sandbox2";
936 compatible = "sandbox,memory";
940 #address-cells = <1>;
942 compatible = "sandbox,misc_sandbox";
944 eth5_addr: mac-address@10 {
950 compatible = "sandbox,mmc";
954 /* This is used for the bootdev tests */
956 compatible = "sandbox,mmc";
957 filename = "mmc1.img";
960 /* This is used for the fastboot tests */
962 compatible = "sandbox,mmc";
966 compatible = "sandbox,pch";
970 compatible = "sandbox,pci";
972 bus-range = <0x00 0xff>;
973 #address-cells = <3>;
975 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
976 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
978 compatible = "pci-generic";
979 reg = <0x0000 0 0 0 0>;
980 sandbox,emul = <&swap_case_emul0_0>;
983 compatible = "pci-generic";
984 /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
985 reg = <0x02000814 0 0 0 0
987 sandbox,emul = <&swap_case_emul0_1>;
990 compatible = "sandbox,p2sb";
991 reg = <0x02001010 0 0 0 0>;
992 sandbox,emul = <&p2sb_emul>;
995 intel,p2sb-port-id = <3>;
996 compatible = "sandbox,adder";
1000 compatible = "sandbox,pmc";
1001 reg = <0xf000 0 0 0 0>;
1002 sandbox,emul = <&pmc_emul1e>;
1003 acpi-base = <0x400>;
1004 gpe0-dwx-mask = <0xf>;
1005 gpe0-dwx-shift-base = <4>;
1011 compatible = "pci-generic";
1012 /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
1013 reg = <0x0100f810 0 0 0 0>;
1014 sandbox,emul = <&swap_case_emul0_1f>;
1019 compatible = "sandbox,pci-emul-parent";
1020 swap_case_emul0_0: emul0@0,0 {
1021 compatible = "sandbox,swap-case";
1023 swap_case_emul0_1: emul0@1,0 {
1024 compatible = "sandbox,swap-case";
1027 swap_case_emul0_1f: emul0@1f,0 {
1028 compatible = "sandbox,swap-case";
1030 p2sb_emul: emul@2,0 {
1031 compatible = "sandbox,p2sb-emul";
1033 pmc_emul1e: emul@1e,0 {
1034 compatible = "sandbox,pmc-emul";
1039 compatible = "sandbox,pci";
1040 device_type = "pci";
1041 bus-range = <0x00 0xff>;
1042 #address-cells = <3>;
1044 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 // MEM0
1045 0x02000000 0 0x31000000 0x3e000000 0 0x2000 // MEM1
1046 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
1047 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
1048 0x0c 0x00 0x1234 0x5678
1049 0x10 0x00 0x1234 0x5678>;
1051 reg = <0x8000 0 0 0 0>;
1056 compatible = "sandbox,pci";
1057 device_type = "pci";
1058 bus-range = <0x00 0xff>;
1059 #address-cells = <3>;
1061 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
1062 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
1063 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
1065 compatible = "pci-generic";
1066 reg = <0xf800 0 0 0 0>;
1067 sandbox,emul = <&swap_case_emul2_1f>;
1072 compatible = "sandbox,pci-emul-parent";
1073 swap_case_emul2_1f: emul2@1f,0 {
1074 compatible = "sandbox,swap-case";
1079 compatible = "sandbox,pci_ep";
1083 compatible = "simple-bus";
1085 compatible = "denx,u-boot-probe-test";
1089 compatible = "denx,u-boot-probe-test";
1093 compatible = "denx,u-boot-probe-test";
1097 compatible = "denx,u-boot-probe-test";
1098 first-syscon = <&syscon0>;
1099 second-sys-ctrl = <&another_system_controller>;
1100 third-syscon = <&syscon2>;
1104 pwrdom: power-domain {
1105 compatible = "sandbox,power-domain";
1106 #power-domain-cells = <1>;
1110 compatible = "sandbox,power-domain-test";
1111 power-domains = <&pwrdom 2>;
1115 compatible = "sandbox,pwm";
1117 pinctrl-names = "default";
1118 pinctrl-0 = <&pinmux_pwm_pins>;
1122 compatible = "sandbox,pwm";
1127 compatible = "sandbox,ram";
1131 compatible = "sandbox,warm-reset";
1132 u-boot,dm-pre-proper;
1136 compatible = "sandbox,reset";
1137 u-boot,dm-pre-proper;
1141 compatible = "sandbox,reset-ctl";
1146 compatible = "sandbox,reset-ctl-test";
1147 resets = <&resetc 100>, <&resetc 2>, <&resetc 20>, <&resetc 40>;
1148 reset-names = "other", "test", "test2", "test3";
1152 compatible = "sandbox,sandbox-rng";
1156 compatible = "sandbox,test-processor";
1157 remoteproc-name = "remoteproc-test-dev1";
1161 compatible = "sandbox,test-processor";
1162 internal-memory-mapped;
1163 remoteproc-name = "remoteproc-test-dev2";
1167 compatible = "simple-panel";
1168 backlight = <&backlight 0 100>;
1172 compatible = "sandbox,scsi";
1173 sandbox,filepath = "scsi.img";
1177 compatible = "sandbox,smem";
1181 compatible = "sandbox,sound";
1183 sound-dai = <&i2s 0>;
1187 sound-dai = <&audio 0>;
1192 #address-cells = <1>;
1195 compatible = "sandbox,spi";
1196 cs-gpios = <0>, <0>, <&gpio_a 0>;
1197 pinctrl-names = "default";
1198 pinctrl-0 = <&pinmux_spi0_pins>;
1202 compatible = "spansion,m25p16", "jedec,spi-nor";
1203 spi-max-frequency = <40000000>;
1204 sandbox,filename = "spi.bin";
1208 compatible = "spansion,m25p16", "jedec,spi-nor";
1209 spi-max-frequency = <50000000>;
1210 sandbox,filename = "spi.bin";
1217 compatible = "sandbox,syscon0";
1221 another_system_controller: syscon@1 {
1222 compatible = "sandbox,syscon1";
1230 compatible = "simple-mfd", "syscon";
1238 compatible = "simple-mfd", "syscon";
1239 reg = <0x000100 0x10>;
1241 muxcontroller0: a-mux-controller {
1242 compatible = "mmio-mux";
1243 #mux-control-cells = <1>;
1245 mux-reg-masks = <0x0 0x30>, /* 0: reg 0x0, bits 5:4 */
1246 <0xc 0x1E>, /* 1: reg 0xc, bits 4:1 */
1247 <0x4 0xFF>; /* 2: reg 0x4, bits 7:0 */
1248 idle-states = <MUX_IDLE_AS_IS>, <0x02>, <0x73>;
1249 u-boot,mux-autoprobe;
1253 muxcontroller1: emul-mux-controller {
1254 compatible = "mux-emul";
1255 #mux-control-cells = <0>;
1256 u-boot,mux-autoprobe;
1257 idle-state = <0xabcd>;
1261 compatible = "denx,u-boot-fdtm-test";
1264 testfdtm1: testfdtm1 {
1265 compatible = "denx,u-boot-fdtm-test";
1269 compatible = "denx,u-boot-fdtm-test";
1273 compatible = "sandbox,timer";
1274 clock-frequency = <1000000>;
1278 compatible = "sandbox,timer";
1279 sandbox,timebase-frequency-fallback;
1283 compatible = "sandbox,tpm2";
1287 compatible = "sandbox,serial";
1288 u-boot,dm-pre-reloc;
1289 pinctrl-names = "default";
1290 pinctrl-0 = <&pinmux_uart0_pins>;
1294 compatible = "sandbox,usb";
1295 status = "disabled";
1297 compatible = "sandbox,usb-hub";
1298 #address-cells = <1>;
1302 compatible = "sandbox,usb-flash";
1308 compatible = "sandbox,usb";
1311 compatible = "usb-hub";
1312 usb,device-class = <9>;
1313 #address-cells = <1>;
1316 compatible = "sandbox,usb-hub";
1317 #address-cells = <1>;
1321 compatible = "sandbox,usb-flash";
1322 sandbox,filepath = "testflash.bin";
1327 compatible = "sandbox,usb-flash";
1328 sandbox,filepath = "testflash1.bin";
1333 compatible = "sandbox,usb-flash";
1334 sandbox,filepath = "testflash2.bin";
1339 compatible = "sandbox,usb-keyb";
1354 compatible = "sandbox,usb";
1355 status = "disabled";
1359 compatible = "sandbox,spmi";
1360 #address-cells = <0x1>;
1361 #size-cells = <0x1>;
1364 compatible = "qcom,spmi-pmic";
1366 #address-cells = <0x1>;
1367 #size-cells = <0x1>;
1370 spmi_gpios: gpios@c000 {
1371 compatible = "qcom,pm8916-gpio";
1372 reg = <0xc000 0x400>;
1376 gpio-bank-name="spmi";
1382 compatible = "sandbox,wdt";
1383 hw_margin_ms = <200>;
1387 compatible = "sandbox,axi";
1388 #address-cells = <0x1>;
1389 #size-cells = <0x1>;
1391 compatible = "sandbox,sandbox_store";
1397 #address-cells = <1>;
1399 setting = "sunrise ohoka";
1400 other-node = "/some-bus/c-test@5";
1401 int-values = <0x1937 72993>;
1402 u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>;
1404 compatible = "denx,u-boot-fdt-test";
1409 compatible = "simple-bus";
1411 compatible = "fwupd,vbe-simple";
1413 area-start = <0x400>;
1414 area-size = <0x1000>;
1415 skip-offset = <0x200>;
1416 state-offset = <0x400>;
1417 state-size = <0x40>;
1418 version-offset = <0x800>;
1419 version-size = <0x100>;
1424 translation-test@8000 {
1425 compatible = "simple-bus";
1426 reg = <0x8000 0x4000>;
1428 #address-cells = <0x2>;
1429 #size-cells = <0x1>;
1431 ranges = <0 0x0 0x8000 0x1000
1432 1 0x100 0x9000 0x1000
1433 2 0x200 0xA000 0x1000
1434 3 0x300 0xB000 0x1000
1437 dma-ranges = <0 0x000 0x10000000 0x1000
1438 1 0x100 0x20000000 0x1000
1442 compatible = "denx,u-boot-fdt-dummy";
1443 reg = <0 0x0 0x1000>;
1444 reg-names = "sandbox-dummy-0";
1448 compatible = "denx,u-boot-fdt-dummy";
1449 reg = <1 0x100 0x1000>;
1454 compatible = "denx,u-boot-fdt-dummy";
1455 reg = <2 0x200 0x1000>;
1460 compatible = "simple-bus";
1461 reg = <3 0x300 0x1000>;
1463 #address-cells = <0x1>;
1464 #size-cells = <0x0>;
1467 compatible = "denx,u-boot-fdt-dummy";
1474 compatible = "sandbox,sandbox_osd";
1478 compatible = "sandbox,tee";
1482 compatible = "sandbox,virtio1";
1486 compatible = "sandbox,virtio2";
1490 compatible = "sandbox,scmi-devices";
1491 clocks = <&clk_scmi 2>, <&clk_scmi 0>;
1492 resets = <&reset_scmi 3>;
1493 regul0-supply = <®ul0_scmi>;
1494 regul1-supply = <®ul1_scmi>;
1498 compatible = "sandbox,pinctrl";
1500 pinctrl-names = "default", "alternate";
1501 pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>;
1502 pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>;
1504 pinctrl_gpios: gpios {
1518 pinmux = <SANDBOX_PINMUX(7, SANDBOX_PINMUX_GPIO)>;
1523 pinmux = <SANDBOX_PINMUX(8, SANDBOX_PINMUX_GPIO)>;
1530 groups = "I2C_UART";
1550 pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>,
1551 <SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>;
1556 pinctrl-single-no-width {
1557 compatible = "pinctrl-single";
1558 reg = <0x0000 0x238>;
1559 #pinctrl-cells = <1>;
1560 pinctrl-single,function-mask = <0x7f>;
1563 pinctrl-single-pins {
1564 compatible = "pinctrl-single";
1565 reg = <0x0000 0x238>;
1566 #pinctrl-cells = <1>;
1567 pinctrl-single,register-width = <32>;
1568 pinctrl-single,function-mask = <0x7f>;
1570 pinmux_pwm_pins: pinmux_pwm_pins {
1571 pinctrl-single,pins = < 0x48 0x06 >;
1574 pinmux_spi0_pins: pinmux_spi0_pins {
1575 pinctrl-single,pins = <
1583 pinmux_uart0_pins: pinmux_uart0_pins {
1584 pinctrl-single,pins = <
1591 pinctrl-single-bits {
1592 compatible = "pinctrl-single";
1593 reg = <0x0000 0x50>;
1594 #pinctrl-cells = <2>;
1595 pinctrl-single,bit-per-mux;
1596 pinctrl-single,register-width = <32>;
1597 pinctrl-single,function-mask = <0xf>;
1599 pinmux_i2c0_pins: pinmux_i2c0_pins {
1600 pinctrl-single,bits = <
1601 0x10 0x00002200 0x0000ff00
1605 pinmux_lcd_pins: pinmux_lcd_pins {
1606 pinctrl-single,bits = <
1607 0x40 0x22222200 0xffffff00
1608 0x44 0x22222222 0xffffffff
1609 0x48 0x00000022 0x000000ff
1610 0x48 0x02000000 0x0f000000
1611 0x4c 0x02000022 0x0f0000ff
1617 compatible = "sandbox,hwspinlock";
1621 compatible = "sandbox,dma";
1624 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
1625 dma-names = "m2m", "tx0", "rx0";
1629 * keep mdio-mux ahead of mdio so that the mux is removed first at the
1630 * end of the test. If parent mdio is removed first, clean-up of the
1631 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
1632 * active at the end of the test. That it turn doesn't allow the mdio
1633 * class to be destroyed, triggering an error.
1636 compatible = "sandbox,mdio-mux";
1637 #address-cells = <1>;
1639 mdio-parent-bus = <&mdio>;
1650 compatible = "sandbox,mdio";
1651 #address-cells = <1>;
1654 ethphy1: ethernet-phy@1 {
1660 compatible = "simple-pm-bus";
1661 clocks = <&clk_sandbox 4>;
1662 power-domains = <&pwrdom 1>;
1665 resetc2: syscon-reset {
1666 compatible = "syscon-reset";
1668 regmap = <&syscon0>;
1670 mask = <0x27FFFFFF>;
1675 compatible = "sandbox,misc_sandbox";
1676 resets = <&resetc2 15>, <&resetc2 30>, <&resetc2 60>;
1677 reset-names = "valid", "no_mask", "out_of_range";
1681 compatible = "sandbox,sysinfo-sandbox";
1685 compatible = "gpio-sysinfo";
1686 gpios = <&gpio_a 15>, <&gpio_a 16>, <&gpio_a 17>;
1687 revisions = <19>, <5>;
1688 names = "rev_a", "foo";
1691 some_regmapped-bus {
1692 #address-cells = <0x1>;
1693 #size-cells = <0x1>;
1695 ranges = <0x0 0x0 0x10>;
1696 compatible = "simple-bus";
1700 compatible = "sandbox,regmap_test";
1705 compatible = "sandbox,thermal";
1709 #include "sandbox_pmic.dtsi"
1710 #include "cros-ec-keyboard.dtsi"