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>;
237 uint-value = <(-1234)>;
238 int64-value = /bits/ 64 <0x1111222233334444>;
239 int-array = <5678 9123 4567>;
240 str-value = "test string";
241 interrupts-extended = <&irq 3 0>;
243 phandle-value = <&gpio_c 10>, <0xFFFFFFFF 20>, <&gpio_a 30>;
245 mux-controls = <&muxcontroller0 0>, <&muxcontroller0 1>,
246 <&muxcontroller0 2>, <&muxcontroller0 3>,
248 mux-control-names = "mux0", "mux1", "mux2", "mux3", "mux4";
249 mux-syscon = <&syscon3>;
252 clock-frequency = <6500000>;
264 pixelclk-active = <1>;
270 clock-frequency = <9000000>;
282 pixelclk-active = <0>;
285 clock-frequency = <33500000>;
289 hfront-porch = <164>;
300 compatible = "not,compatible";
307 backlight: backlight {
308 compatible = "pwm-backlight";
309 enable-gpios = <&gpio_a 1>;
310 power-supply = <&ldo_1>;
311 pwms = <&pwm 0 1000>;
312 default-brightness-level = <5>;
313 brightness-levels = <0 16 32 64 128 170 202 234 255>;
317 compatible = "simple-bus";
319 compatible = "sandbox,phy";
324 compatible = "simple-bus";
330 compatible = "denx,u-boot-fdt-test";
334 mux-controls = <&muxcontroller0 0>;
335 mux-control-names = "mux0";
338 phy_provider0: gen_phy@0 {
339 compatible = "sandbox,phy";
343 phy_provider1: gen_phy@1 {
344 compatible = "sandbox,phy";
349 phy_provider2: gen_phy@2 {
350 compatible = "sandbox,phy";
354 gen_phy_user: gen_phy_user {
355 compatible = "simple-bus";
356 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
357 phy-names = "phy1", "phy2", "phy3";
360 gen_phy_user1: gen_phy_user1 {
361 compatible = "simple-bus";
362 phys = <&phy_provider0 0>, <&phy_provider2>;
363 phy-names = "phy1", "phy2";
367 #address-cells = <1>;
369 compatible = "denx,u-boot-test-bus";
374 compatible = "denx,u-boot-fdt-test";
380 compatible = "denx,u-boot-fdt-test";
386 compatible = "denx,u-boot-fdt-test";
397 compatible = "google,another-fdt-test";
404 compatible = "google,another-fdt-test";
408 compatible = "denx,u-boot-fdt-test";
412 compatible = "denx,u-boot-fdt-test";
416 compatible = "denx,u-boot-fdt-test1";
420 compatible = "mediatek,u-boot-fdt-test";
421 #address-cells = <1>;
438 compatible = "denx,u-boot-devres-test";
443 compatible = "denx,u-boot-fdt-test";
444 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
445 test5-gpios = <&gpio_a 19>;
449 #address-cells = <1>;
451 compatible = "denx,u-boot-test-bus";
452 dma-ranges = <0x10000000 0x00000000 0x00040000>;
455 compatible = "denx,u-boot-fdt-test";
460 #address-cells = <1>;
462 compatible = "denx,u-boot-test-bus";
465 compatible = "denx,u-boot-fdt-test";
469 acpi_test1: acpi-test {
470 compatible = "denx,u-boot-acpi-test";
471 acpi-ssdt-test-data = "ab";
472 acpi-dsdt-test-data = "hi";
474 compatible = "denx,u-boot-acpi-test";
478 acpi_test2: acpi-test2 {
479 compatible = "denx,u-boot-acpi-test";
480 acpi-ssdt-test-data = "cd";
481 acpi-dsdt-test-data = "jk";
485 clk_fixed: clk-fixed {
486 compatible = "fixed-clock";
488 clock-frequency = <1234>;
491 clk_fixed_factor: clk-fixed-factor {
492 compatible = "fixed-factor-clock";
496 clocks = <&clk_fixed>;
500 compatible = "fixed-clock";
502 clock-frequency = <20000000>;
506 clk_sandbox: clk-sbox {
507 compatible = "sandbox,clk";
509 assigned-clocks = <&clk_sandbox 3>;
510 assigned-clock-rates = <321>;
514 compatible = "sandbox,clk-test";
515 clocks = <&clk_fixed>,
520 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
524 compatible = "sandbox,clk-ccf";
528 compatible = "sandbox,efi-media";
532 compatible = "sandbox,eth";
533 reg = <0x10002000 0x1000>;
536 eth_5: eth@10003000 {
537 compatible = "sandbox,eth";
538 reg = <0x10003000 0x1000>;
539 nvmem-cells = <ð5_addr>;
540 nvmem-cell-names = "mac-address";
544 compatible = "sandbox,eth";
545 reg = <0x10005000 0x1000>;
546 nvmem-cells = <ð3_addr>;
547 nvmem-cell-names = "mac-address";
551 compatible = "sandbox,eth";
552 reg = <0x10004000 0x1000>;
555 phy_eth0: phy-test-eth {
556 compatible = "sandbox,eth";
557 reg = <0x10007000 0x1000>;
558 mac-address = [ 02 00 11 22 33 49 ];
559 phy-handle = <ðphy1>;
560 phy-mode = "2500base-x";
563 dsa_eth0: dsa-test-eth {
564 compatible = "sandbox,eth";
565 reg = <0x10006000 0x1000>;
566 nvmem-cells = <ð4_addr>;
567 nvmem-cell-names = "mac-address";
571 compatible = "sandbox,dsa";
574 #address-cells = <1>;
579 phy-mode = "rgmii-rxid";
590 phy-mode = "rgmii-txid";
591 fixed-link = <0 1 100 0 0>;
596 ethernet = <&dsa_eth0>;
607 sandbox_firmware: sandbox-firmware {
608 compatible = "sandbox,firmware";
612 compatible = "sandbox,scmi-agent";
613 #address-cells = <1>;
620 clk_scmi: protocol@14 {
625 reset_scmi: protocol@16 {
634 #address-cells = <1>;
639 regulator-name = "sandbox-voltd0";
640 regulator-min-microvolt = <1100000>;
641 regulator-max-microvolt = <3300000>;
645 regulator-name = "sandbox-voltd1";
646 regulator-min-microvolt = <1800000>;
654 compatible = "sandbox,pinctrl-gpio";
657 compatible = "sandbox,gpio";
660 gpio-bank-name = "a";
661 sandbox,gpio-count = <20>;
662 hog_input_active_low {
665 gpios = <10 GPIO_ACTIVE_LOW>;
667 hog_input_active_high {
670 gpios = <11 GPIO_ACTIVE_HIGH>;
675 gpios = <12 GPIO_ACTIVE_HIGH>;
680 gpios = <13 GPIO_ACTIVE_HIGH>;
684 gpio_b: extra-gpios {
685 compatible = "sandbox,gpio";
688 gpio-bank-name = "b";
689 sandbox,gpio-count = <10>;
692 gpio_c: pinmux-gpios {
693 compatible = "sandbox,gpio";
696 gpio-bank-name = "c";
697 sandbox,gpio-count = <10>;
702 #address-cells = <1>;
705 compatible = "sandbox,i2c";
706 clock-frequency = <100000>;
707 pinctrl-names = "default";
708 pinctrl-0 = <&pinmux_i2c0_pins>;
711 #address-cells = <1>;
714 compatible = "i2c-eeprom";
715 sandbox,emul = <&emul_eeprom>;
717 compatible = "fixed-partitions";
718 #address-cells = <1>;
720 bootcount_i2c: bootcount@10 {
725 eth3_addr: mac-address@24 {
731 #address-cells = <1>;
734 compatible = "sandbox-rtc";
735 sandbox,emul = <&emul0>;
737 eth4_addr: mac-address@40 {
744 compatible = "sandbox-rtc";
745 sandbox,emul = <&emul1>;
750 compatible = "sandbox,i2c-emul-parent";
751 emul_eeprom: emul-eeprom {
752 compatible = "sandbox,i2c-eeprom";
753 sandbox,filename = "i2c.bin";
754 sandbox,size = <256>;
757 compatible = "sandbox,i2c-rtc-emul";
760 compatible = "sandbox,i2c-rtc-emul";
764 sandbox_pmic: sandbox_pmic {
766 sandbox,emul = <&emul_pmic0>;
771 sandbox,emul = <&emul_pmic1>;
776 compatible = "u-boot,bootcount-rtc";
782 compatible = "u-boot,bootcount-i2c-eeprom";
783 i2c-eeprom = <&bootcount_i2c>;
787 compatible = "u-boot,bootcount-syscon";
789 reg = <0x0 0x04>, <0x0 0x04>;
790 reg-names = "syscon_reg", "offset";
794 compatible = "u-boot,bootcount-syscon";
796 reg = <0x0 0x04>, <0x0 0x02> ;
797 reg-names = "syscon_reg", "offset";
801 compatible = "sandbox,adc";
802 #io-channel-cells = <1>;
803 vdd-supply = <&buck2>;
804 vss-microvolts = <0>;
808 compatible = "sandbox,iommu";
813 compatible = "sandbox,irq";
814 interrupt-controller;
815 #interrupt-cells = <2>;
820 compatible = "sandbox,lcd-sdl";
821 pinctrl-names = "default";
822 pinctrl-0 = <&pinmux_lcd_pins>;
828 compatible = "gpio-leds";
831 gpios = <&gpio_a 1 0>;
832 label = "sandbox:red";
836 gpios = <&gpio_a 2 0>;
837 label = "sandbox:green";
841 gpios = <&gpio_a 5 0>;
842 label = "sandbox:default_on";
843 default-state = "on";
847 gpios = <&gpio_a 6 0>;
848 /* label intentionally omitted */
849 default-state = "off";
854 gpios = <&gpio_a 7 0>;
855 compatible = "linux,wdt-gpio";
856 hw_margin_ms = <100>;
862 gpios = <&gpio_a 7 0>;
863 compatible = "linux,wdt-gpio";
864 hw_margin_ms = <100>;
870 compatible = "sandbox,mbox";
875 compatible = "sandbox,mbox-test";
876 mboxes = <&mbox 100>, <&mbox 1>;
877 mbox-names = "other", "test";
881 #address-cells = <1>;
883 timebase-frequency = <2000000>;
887 timebase-frequency = <3000000>;
888 compatible = "sandbox,cpu_sandbox";
895 compatible = "sandbox,cpu_sandbox";
902 compatible = "sandbox,cpu_sandbox";
908 compatible = "sandbox,soc";
912 compatible = "sandbox,i2s";
913 #sound-dai-cells = <1>;
914 sandbox,silent; /* Don't emit sounds while testing */
918 compatible = "sandbox,nop_sandbox1";
920 compatible = "sandbox,nop_sandbox2";
924 compatible = "sandbox,nop_sandbox2";
930 #address-cells = <1>;
932 compatible = "sandbox,misc_sandbox";
934 eth5_addr: mac-address@10 {
940 compatible = "sandbox,mmc";
944 /* This is used for the bootdev tests */
946 compatible = "sandbox,mmc";
947 filename = "mmc1.img";
950 /* This is used for the fastboot tests */
952 compatible = "sandbox,mmc";
956 compatible = "sandbox,pch";
960 compatible = "sandbox,pci";
962 bus-range = <0x00 0xff>;
963 #address-cells = <3>;
965 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
966 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
968 compatible = "pci-generic";
969 reg = <0x0000 0 0 0 0>;
970 sandbox,emul = <&swap_case_emul0_0>;
973 compatible = "pci-generic";
974 /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
975 reg = <0x02000814 0 0 0 0
977 sandbox,emul = <&swap_case_emul0_1>;
980 compatible = "sandbox,p2sb";
981 reg = <0x02001010 0 0 0 0>;
982 sandbox,emul = <&p2sb_emul>;
985 intel,p2sb-port-id = <3>;
986 compatible = "sandbox,adder";
990 compatible = "sandbox,pmc";
991 reg = <0xf000 0 0 0 0>;
992 sandbox,emul = <&pmc_emul1e>;
994 gpe0-dwx-mask = <0xf>;
995 gpe0-dwx-shift-base = <4>;
1001 compatible = "pci-generic";
1002 /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
1003 reg = <0x0100f810 0 0 0 0>;
1004 sandbox,emul = <&swap_case_emul0_1f>;
1009 compatible = "sandbox,pci-emul-parent";
1010 swap_case_emul0_0: emul0@0,0 {
1011 compatible = "sandbox,swap-case";
1013 swap_case_emul0_1: emul0@1,0 {
1014 compatible = "sandbox,swap-case";
1017 swap_case_emul0_1f: emul0@1f,0 {
1018 compatible = "sandbox,swap-case";
1020 p2sb_emul: emul@2,0 {
1021 compatible = "sandbox,p2sb-emul";
1023 pmc_emul1e: emul@1e,0 {
1024 compatible = "sandbox,pmc-emul";
1029 compatible = "sandbox,pci";
1030 device_type = "pci";
1031 bus-range = <0x00 0xff>;
1032 #address-cells = <3>;
1034 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 // MEM0
1035 0x02000000 0 0x31000000 0x3e000000 0 0x2000 // MEM1
1036 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
1037 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
1038 0x0c 0x00 0x1234 0x5678
1039 0x10 0x00 0x1234 0x5678>;
1041 reg = <0x8000 0 0 0 0>;
1046 compatible = "sandbox,pci";
1047 device_type = "pci";
1048 bus-range = <0x00 0xff>;
1049 #address-cells = <3>;
1051 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
1052 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
1053 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
1055 compatible = "pci-generic";
1056 reg = <0xf800 0 0 0 0>;
1057 sandbox,emul = <&swap_case_emul2_1f>;
1062 compatible = "sandbox,pci-emul-parent";
1063 swap_case_emul2_1f: emul2@1f,0 {
1064 compatible = "sandbox,swap-case";
1069 compatible = "sandbox,pci_ep";
1073 compatible = "simple-bus";
1075 compatible = "denx,u-boot-probe-test";
1079 compatible = "denx,u-boot-probe-test";
1083 compatible = "denx,u-boot-probe-test";
1087 compatible = "denx,u-boot-probe-test";
1088 first-syscon = <&syscon0>;
1089 second-sys-ctrl = <&another_system_controller>;
1090 third-syscon = <&syscon2>;
1094 pwrdom: power-domain {
1095 compatible = "sandbox,power-domain";
1096 #power-domain-cells = <1>;
1100 compatible = "sandbox,power-domain-test";
1101 power-domains = <&pwrdom 2>;
1105 compatible = "sandbox,pwm";
1107 pinctrl-names = "default";
1108 pinctrl-0 = <&pinmux_pwm_pins>;
1112 compatible = "sandbox,pwm";
1117 compatible = "sandbox,ram";
1121 compatible = "sandbox,warm-reset";
1125 compatible = "sandbox,reset";
1129 compatible = "sandbox,reset-ctl";
1134 compatible = "sandbox,reset-ctl-test";
1135 resets = <&resetc 100>, <&resetc 2>, <&resetc 20>, <&resetc 40>;
1136 reset-names = "other", "test", "test2", "test3";
1140 compatible = "sandbox,sandbox-rng";
1144 compatible = "sandbox,test-processor";
1145 remoteproc-name = "remoteproc-test-dev1";
1149 compatible = "sandbox,test-processor";
1150 internal-memory-mapped;
1151 remoteproc-name = "remoteproc-test-dev2";
1155 compatible = "simple-panel";
1156 backlight = <&backlight 0 100>;
1160 compatible = "sandbox,smem";
1164 compatible = "sandbox,sound";
1166 sound-dai = <&i2s 0>;
1170 sound-dai = <&audio 0>;
1175 #address-cells = <1>;
1178 compatible = "sandbox,spi";
1179 cs-gpios = <0>, <0>, <&gpio_a 0>;
1180 pinctrl-names = "default";
1181 pinctrl-0 = <&pinmux_spi0_pins>;
1185 compatible = "spansion,m25p16", "jedec,spi-nor";
1186 spi-max-frequency = <40000000>;
1187 sandbox,filename = "spi.bin";
1191 compatible = "spansion,m25p16", "jedec,spi-nor";
1192 spi-max-frequency = <50000000>;
1193 sandbox,filename = "spi.bin";
1200 compatible = "sandbox,syscon0";
1204 another_system_controller: syscon@1 {
1205 compatible = "sandbox,syscon1";
1213 compatible = "simple-mfd", "syscon";
1221 compatible = "simple-mfd", "syscon";
1222 reg = <0x000100 0x10>;
1224 muxcontroller0: a-mux-controller {
1225 compatible = "mmio-mux";
1226 #mux-control-cells = <1>;
1228 mux-reg-masks = <0x0 0x30>, /* 0: reg 0x0, bits 5:4 */
1229 <0xc 0x1E>, /* 1: reg 0xc, bits 4:1 */
1230 <0x4 0xFF>; /* 2: reg 0x4, bits 7:0 */
1231 idle-states = <MUX_IDLE_AS_IS>, <0x02>, <0x73>;
1232 u-boot,mux-autoprobe;
1236 muxcontroller1: emul-mux-controller {
1237 compatible = "mux-emul";
1238 #mux-control-cells = <0>;
1239 u-boot,mux-autoprobe;
1240 idle-state = <0xabcd>;
1244 compatible = "denx,u-boot-fdtm-test";
1247 testfdtm1: testfdtm1 {
1248 compatible = "denx,u-boot-fdtm-test";
1252 compatible = "denx,u-boot-fdtm-test";
1256 compatible = "sandbox,timer";
1257 clock-frequency = <1000000>;
1261 compatible = "sandbox,timer";
1262 sandbox,timebase-frequency-fallback;
1266 compatible = "sandbox,tpm2";
1270 compatible = "sandbox,serial";
1271 u-boot,dm-pre-reloc;
1272 pinctrl-names = "default";
1273 pinctrl-0 = <&pinmux_uart0_pins>;
1277 compatible = "sandbox,usb";
1278 status = "disabled";
1280 compatible = "sandbox,usb-hub";
1281 #address-cells = <1>;
1285 compatible = "sandbox,usb-flash";
1291 compatible = "sandbox,usb";
1294 compatible = "usb-hub";
1295 usb,device-class = <9>;
1296 #address-cells = <1>;
1299 compatible = "sandbox,usb-hub";
1300 #address-cells = <1>;
1304 compatible = "sandbox,usb-flash";
1305 sandbox,filepath = "testflash.bin";
1310 compatible = "sandbox,usb-flash";
1311 sandbox,filepath = "testflash1.bin";
1316 compatible = "sandbox,usb-flash";
1317 sandbox,filepath = "testflash2.bin";
1322 compatible = "sandbox,usb-keyb";
1337 compatible = "sandbox,usb";
1338 status = "disabled";
1342 compatible = "sandbox,spmi";
1343 #address-cells = <0x1>;
1344 #size-cells = <0x1>;
1347 compatible = "qcom,spmi-pmic";
1349 #address-cells = <0x1>;
1350 #size-cells = <0x1>;
1353 spmi_gpios: gpios@c000 {
1354 compatible = "qcom,pm8916-gpio";
1355 reg = <0xc000 0x400>;
1359 gpio-bank-name="spmi";
1365 compatible = "sandbox,wdt";
1366 hw_margin_ms = <200>;
1370 compatible = "sandbox,axi";
1371 #address-cells = <0x1>;
1372 #size-cells = <0x1>;
1374 compatible = "sandbox,sandbox_store";
1380 #address-cells = <1>;
1382 setting = "sunrise ohoka";
1383 other-node = "/some-bus/c-test@5";
1384 int-values = <0x1937 72993>;
1385 u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>;
1387 compatible = "denx,u-boot-fdt-test";
1392 translation-test@8000 {
1393 compatible = "simple-bus";
1394 reg = <0x8000 0x4000>;
1396 #address-cells = <0x2>;
1397 #size-cells = <0x1>;
1399 ranges = <0 0x0 0x8000 0x1000
1400 1 0x100 0x9000 0x1000
1401 2 0x200 0xA000 0x1000
1402 3 0x300 0xB000 0x1000
1405 dma-ranges = <0 0x000 0x10000000 0x1000
1406 1 0x100 0x20000000 0x1000
1410 compatible = "denx,u-boot-fdt-dummy";
1411 reg = <0 0x0 0x1000>;
1412 reg-names = "sandbox-dummy-0";
1416 compatible = "denx,u-boot-fdt-dummy";
1417 reg = <1 0x100 0x1000>;
1422 compatible = "denx,u-boot-fdt-dummy";
1423 reg = <2 0x200 0x1000>;
1428 compatible = "simple-bus";
1429 reg = <3 0x300 0x1000>;
1431 #address-cells = <0x1>;
1432 #size-cells = <0x0>;
1435 compatible = "denx,u-boot-fdt-dummy";
1442 compatible = "sandbox,sandbox_osd";
1446 compatible = "sandbox,tee";
1450 compatible = "sandbox,virtio1";
1454 compatible = "sandbox,virtio2";
1458 compatible = "sandbox,scmi-devices";
1459 clocks = <&clk_scmi 2>, <&clk_scmi 0>;
1460 resets = <&reset_scmi 3>;
1461 regul0-supply = <®ul0_scmi>;
1462 regul1-supply = <®ul1_scmi>;
1466 compatible = "sandbox,pinctrl";
1468 pinctrl-names = "default", "alternate";
1469 pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>;
1470 pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>;
1472 pinctrl_gpios: gpios {
1486 pinmux = <SANDBOX_PINMUX(7, SANDBOX_PINMUX_GPIO)>;
1491 pinmux = <SANDBOX_PINMUX(8, SANDBOX_PINMUX_GPIO)>;
1498 groups = "I2C_UART";
1518 pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>,
1519 <SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>;
1524 pinctrl-single-no-width {
1525 compatible = "pinctrl-single";
1526 reg = <0x0000 0x238>;
1527 #pinctrl-cells = <1>;
1528 pinctrl-single,function-mask = <0x7f>;
1531 pinctrl-single-pins {
1532 compatible = "pinctrl-single";
1533 reg = <0x0000 0x238>;
1534 #pinctrl-cells = <1>;
1535 pinctrl-single,register-width = <32>;
1536 pinctrl-single,function-mask = <0x7f>;
1538 pinmux_pwm_pins: pinmux_pwm_pins {
1539 pinctrl-single,pins = < 0x48 0x06 >;
1542 pinmux_spi0_pins: pinmux_spi0_pins {
1543 pinctrl-single,pins = <
1551 pinmux_uart0_pins: pinmux_uart0_pins {
1552 pinctrl-single,pins = <
1559 pinctrl-single-bits {
1560 compatible = "pinctrl-single";
1561 reg = <0x0000 0x50>;
1562 #pinctrl-cells = <2>;
1563 pinctrl-single,bit-per-mux;
1564 pinctrl-single,register-width = <32>;
1565 pinctrl-single,function-mask = <0xf>;
1567 pinmux_i2c0_pins: pinmux_i2c0_pins {
1568 pinctrl-single,bits = <
1569 0x10 0x00002200 0x0000ff00
1573 pinmux_lcd_pins: pinmux_lcd_pins {
1574 pinctrl-single,bits = <
1575 0x40 0x22222200 0xffffff00
1576 0x44 0x22222222 0xffffffff
1577 0x48 0x00000022 0x000000ff
1578 0x48 0x02000000 0x0f000000
1579 0x4c 0x02000022 0x0f0000ff
1585 compatible = "sandbox,hwspinlock";
1589 compatible = "sandbox,dma";
1592 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
1593 dma-names = "m2m", "tx0", "rx0";
1597 * keep mdio-mux ahead of mdio so that the mux is removed first at the
1598 * end of the test. If parent mdio is removed first, clean-up of the
1599 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
1600 * active at the end of the test. That it turn doesn't allow the mdio
1601 * class to be destroyed, triggering an error.
1604 compatible = "sandbox,mdio-mux";
1605 #address-cells = <1>;
1607 mdio-parent-bus = <&mdio>;
1618 compatible = "sandbox,mdio";
1619 #address-cells = <1>;
1622 ethphy1: ethernet-phy@1 {
1628 compatible = "simple-pm-bus";
1629 clocks = <&clk_sandbox 4>;
1630 power-domains = <&pwrdom 1>;
1633 resetc2: syscon-reset {
1634 compatible = "syscon-reset";
1636 regmap = <&syscon0>;
1638 mask = <0x27FFFFFF>;
1643 compatible = "sandbox,misc_sandbox";
1644 resets = <&resetc2 15>, <&resetc2 30>, <&resetc2 60>;
1645 reset-names = "valid", "no_mask", "out_of_range";
1649 compatible = "sandbox,sysinfo-sandbox";
1653 compatible = "gpio-sysinfo";
1654 gpios = <&gpio_a 15>, <&gpio_a 16>, <&gpio_a 17>;
1655 revisions = <19>, <5>;
1656 names = "rev_a", "foo";
1659 some_regmapped-bus {
1660 #address-cells = <0x1>;
1661 #size-cells = <0x1>;
1663 ranges = <0x0 0x0 0x10>;
1664 compatible = "simple-bus";
1668 compatible = "sandbox,regmap_test";
1673 #include "sandbox_pmic.dtsi"
1674 #include "cros-ec-keyboard.dtsi"