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;
40 remoteproc0 = &rproc_1;
41 remoteproc1 = &rproc_2;
46 testbus3 = "/some-bus";
47 testfdt0 = "/some-bus/c-test@0";
48 testfdt12 = "/some-bus/c-test@1";
50 testfdt5 = "/some-bus/c-test@5";
52 testfdtm1 = &testfdtm1;
53 fdt-dummy0 = "/translation-test@8000/dev@0,0";
54 fdt-dummy1 = "/translation-test@8000/dev@1,100";
55 fdt-dummy2 = "/translation-test@8000/dev@2,200";
56 fdt-dummy3 = "/translation-test@8000/noxlatebus@3,300/dev@42";
70 testing-str = "testing";
78 compatible = "reboot-mode-gpio";
79 gpios = <&gpio_c 0 GPIO_ACTIVE_HIGH>, <&gpio_c 1 GPIO_ACTIVE_HIGH>;
80 u-boot,env-variable = "bootstatus";
82 mode-download = <0x03>;
85 reboot_mode1: reboot-mode@14 {
86 compatible = "reboot-mode-rtc";
89 u-boot,env-variable = "bootstatus";
91 mode-test = <0x21969147>;
92 mode-download = <0x51939147>;
96 compatible = "sandbox,audio-codec";
97 #sound-dai-cells = <1>;
101 compatible = "gpio-keys";
104 gpios = <&gpio_a 3 0>;
109 gpios = <&gpio_a 4 0>;
115 compatible = "adc-keys";
116 io-channels = <&adc 3>;
117 keyup-threshold-microvolt = <3000000>;
121 linux,code = <KEY_F3>;
122 press-threshold-microvolt = <1500000>;
127 linux,code = <KEY_F4>;
128 press-threshold-microvolt = <1000000>;
133 linux,code = <KEY_F5>;
134 press-threshold-microvolt = <500000>;
140 compatible = "google,cros-ec-sandbox";
143 * This describes the flash memory within the EC. Note
144 * that the STM32L flash erases to 0, not 0xff.
147 image-pos = <0x08000000>;
151 /* Information for sandbox */
157 image-pos = <0xf000>;
161 uncomp-size = <0xcf8>;
164 value = [00 01 02 03 04 05 06 07
165 08 09 0a 0b 0c 0d 0e 0f
166 10 11 12 13 14 15 16 17
167 18 19 1a 1b 1c 1d 1e 1f];
171 image-pos = <0x10000>;
176 cros_ec_pwm: cros-ec-pwm {
177 compatible = "google,cros-ec-pwm";
184 compatible = "sandbox,dsi-host";
189 compatible = "denx,u-boot-fdt-test";
193 test-gpios = <&gpio_a 1>, <&gpio_a 4>,
194 <&gpio_b 5 GPIO_ACTIVE_HIGH 3 2 1>,
196 test2-gpios = <&gpio_a 1>, <&gpio_a 4>,
197 <&gpio_b 6 GPIO_ACTIVE_LOW 3 2 1>,
198 <&gpio_b 7 GPIO_IN 3 2 1>,
199 <&gpio_b 8 GPIO_OUT 3 2 1>,
200 <&gpio_b 9 (GPIO_OUT|GPIO_OUT_ACTIVE) 3 2 1>;
202 <&gpio_c 0 (GPIO_OUT|GPIO_OPEN_DRAIN)>,
203 <&gpio_c 1 (GPIO_OUT|GPIO_OPEN_SOURCE)>,
204 <&gpio_c 2 GPIO_OUT>,
205 <&gpio_c 3 (GPIO_IN|GPIO_PULL_UP)>,
206 <&gpio_c 4 (GPIO_IN|GPIO_PULL_DOWN)>,
208 <&gpio_c 6 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_DRAIN)>,
209 <&gpio_c 7 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_SOURCE)>;
210 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
211 test5-gpios = <&gpio_a 19>;
215 uint-value = <(-1234)>;
216 int64-value = /bits/ 64 <0x1111222233334444>;
217 int-array = <5678 9123 4567>;
218 str-value = "test string";
219 interrupts-extended = <&irq 3 0>;
221 phandle-value = <&gpio_c 10>, <0xFFFFFFFF 20>, <&gpio_a 30>;
223 mux-controls = <&muxcontroller0 0>, <&muxcontroller0 1>,
224 <&muxcontroller0 2>, <&muxcontroller0 3>,
226 mux-control-names = "mux0", "mux1", "mux2", "mux3", "mux4";
227 mux-syscon = <&syscon3>;
230 clock-frequency = <6500000>;
242 pixelclk-active = <1>;
248 clock-frequency = <9000000>;
260 pixelclk-active = <0>;
263 clock-frequency = <33500000>;
267 hfront-porch = <164>;
278 compatible = "not,compatible";
285 backlight: backlight {
286 compatible = "pwm-backlight";
287 enable-gpios = <&gpio_a 1>;
288 power-supply = <&ldo_1>;
289 pwms = <&pwm 0 1000>;
290 default-brightness-level = <5>;
291 brightness-levels = <0 16 32 64 128 170 202 234 255>;
295 compatible = "simple-bus";
297 compatible = "sandbox,phy";
302 compatible = "simple-bus";
308 compatible = "denx,u-boot-fdt-test";
312 mux-controls = <&muxcontroller0 0>;
313 mux-control-names = "mux0";
316 phy_provider0: gen_phy@0 {
317 compatible = "sandbox,phy";
321 phy_provider1: gen_phy@1 {
322 compatible = "sandbox,phy";
327 phy_provider2: gen_phy@2 {
328 compatible = "sandbox,phy";
332 gen_phy_user: gen_phy_user {
333 compatible = "simple-bus";
334 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
335 phy-names = "phy1", "phy2", "phy3";
338 gen_phy_user1: gen_phy_user1 {
339 compatible = "simple-bus";
340 phys = <&phy_provider0 0>, <&phy_provider2>;
341 phy-names = "phy1", "phy2";
345 #address-cells = <1>;
347 compatible = "denx,u-boot-test-bus";
352 compatible = "denx,u-boot-fdt-test";
358 compatible = "denx,u-boot-fdt-test";
364 compatible = "denx,u-boot-fdt-test";
375 compatible = "google,another-fdt-test";
382 compatible = "google,another-fdt-test";
386 compatible = "denx,u-boot-fdt-test";
390 compatible = "denx,u-boot-fdt-test";
394 compatible = "denx,u-boot-fdt-test1";
398 compatible = "mediatek,u-boot-fdt-test";
399 #address-cells = <1>;
416 compatible = "denx,u-boot-devres-test";
421 compatible = "denx,u-boot-fdt-test";
422 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
423 test5-gpios = <&gpio_a 19>;
427 #address-cells = <1>;
429 compatible = "denx,u-boot-test-bus";
430 dma-ranges = <0x10000000 0x00000000 0x00040000>;
433 compatible = "denx,u-boot-fdt-test";
438 #address-cells = <1>;
440 compatible = "denx,u-boot-test-bus";
443 compatible = "denx,u-boot-fdt-test";
447 acpi_test1: acpi-test {
448 compatible = "denx,u-boot-acpi-test";
449 acpi-ssdt-test-data = "ab";
450 acpi-dsdt-test-data = "hi";
452 compatible = "denx,u-boot-acpi-test";
456 acpi_test2: acpi-test2 {
457 compatible = "denx,u-boot-acpi-test";
458 acpi-ssdt-test-data = "cd";
459 acpi-dsdt-test-data = "jk";
463 clk_fixed: clk-fixed {
464 compatible = "fixed-clock";
466 clock-frequency = <1234>;
469 clk_fixed_factor: clk-fixed-factor {
470 compatible = "fixed-factor-clock";
474 clocks = <&clk_fixed>;
478 compatible = "fixed-clock";
480 clock-frequency = <20000000>;
484 clk_sandbox: clk-sbox {
485 compatible = "sandbox,clk";
487 assigned-clocks = <&clk_sandbox 3>;
488 assigned-clock-rates = <321>;
492 compatible = "sandbox,clk-test";
493 clocks = <&clk_fixed>,
498 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
502 compatible = "sandbox,clk-ccf";
506 compatible = "sandbox,efi-media";
510 compatible = "sandbox,eth";
511 reg = <0x10002000 0x1000>;
512 fake-host-hwaddr = [00 00 66 44 22 00];
515 eth_5: eth@10003000 {
516 compatible = "sandbox,eth";
517 reg = <0x10003000 0x1000>;
518 fake-host-hwaddr = [00 00 66 44 22 11];
522 compatible = "sandbox,eth";
523 reg = <0x10005000 0x1000>;
524 fake-host-hwaddr = [00 00 66 44 22 33];
528 compatible = "sandbox,eth";
529 reg = <0x10004000 0x1000>;
530 fake-host-hwaddr = [00 00 66 44 22 22];
533 phy_eth0: phy-test-eth {
534 compatible = "sandbox,eth";
535 reg = <0x10007000 0x1000>;
536 fake-host-hwaddr = [00 00 66 44 22 77];
537 phy-handle = <ðphy1>;
538 phy-mode = "2500base-x";
541 dsa_eth0: dsa-test-eth {
542 compatible = "sandbox,eth";
543 reg = <0x10006000 0x1000>;
544 fake-host-hwaddr = [00 00 66 44 22 66];
548 compatible = "sandbox,dsa";
551 #address-cells = <1>;
556 phy-mode = "rgmii-rxid";
567 phy-mode = "rgmii-txid";
568 fixed-link = <0 1 100 0 0>;
573 ethernet = <&dsa_eth0>;
584 sandbox_firmware: sandbox-firmware {
585 compatible = "sandbox,firmware";
589 compatible = "sandbox,scmi-agent";
590 #address-cells = <1>;
597 clk_scmi: protocol@14 {
602 reset_scmi: protocol@16 {
611 #address-cells = <1>;
616 regulator-name = "sandbox-voltd0";
617 regulator-min-microvolt = <1100000>;
618 regulator-max-microvolt = <3300000>;
622 regulator-name = "sandbox-voltd1";
623 regulator-min-microvolt = <1800000>;
631 compatible = "sandbox,pinctrl-gpio";
634 compatible = "sandbox,gpio";
637 gpio-bank-name = "a";
638 sandbox,gpio-count = <20>;
639 hog_input_active_low {
642 gpios = <10 GPIO_ACTIVE_LOW>;
644 hog_input_active_high {
647 gpios = <11 GPIO_ACTIVE_HIGH>;
652 gpios = <12 GPIO_ACTIVE_HIGH>;
657 gpios = <13 GPIO_ACTIVE_HIGH>;
661 gpio_b: extra-gpios {
662 compatible = "sandbox,gpio";
665 gpio-bank-name = "b";
666 sandbox,gpio-count = <10>;
669 gpio_c: pinmux-gpios {
670 compatible = "sandbox,gpio";
673 gpio-bank-name = "c";
674 sandbox,gpio-count = <10>;
679 #address-cells = <1>;
682 compatible = "sandbox,i2c";
683 clock-frequency = <100000>;
684 pinctrl-names = "default";
685 pinctrl-0 = <&pinmux_i2c0_pins>;
689 compatible = "i2c-eeprom";
690 sandbox,emul = <&emul_eeprom>;
692 compatible = "fixed-partitions";
693 #address-cells = <1>;
695 bootcount_i2c: bootcount@10 {
703 compatible = "sandbox-rtc";
704 sandbox,emul = <&emul0>;
709 compatible = "sandbox-rtc";
710 sandbox,emul = <&emul1>;
715 compatible = "sandbox,i2c-emul-parent";
716 emul_eeprom: emul-eeprom {
717 compatible = "sandbox,i2c-eeprom";
718 sandbox,filename = "i2c.bin";
719 sandbox,size = <256>;
722 compatible = "sandbox,i2c-rtc-emul";
725 compatible = "sandbox,i2c-rtc-emul";
729 sandbox_pmic: sandbox_pmic {
731 sandbox,emul = <&emul_pmic0>;
736 sandbox,emul = <&emul_pmic1>;
741 compatible = "u-boot,bootcount-rtc";
747 compatible = "u-boot,bootcount-i2c-eeprom";
748 i2c-eeprom = <&bootcount_i2c>;
752 compatible = "u-boot,bootcount-syscon";
754 reg = <0x0 0x04>, <0x0 0x04>;
755 reg-names = "syscon_reg", "offset";
759 compatible = "u-boot,bootcount-syscon";
761 reg = <0x0 0x04>, <0x0 0x02> ;
762 reg-names = "syscon_reg", "offset";
766 compatible = "sandbox,adc";
767 #io-channel-cells = <1>;
768 vdd-supply = <&buck2>;
769 vss-microvolts = <0>;
773 compatible = "sandbox,iommu";
778 compatible = "sandbox,irq";
779 interrupt-controller;
780 #interrupt-cells = <2>;
785 compatible = "sandbox,lcd-sdl";
786 pinctrl-names = "default";
787 pinctrl-0 = <&pinmux_lcd_pins>;
793 compatible = "gpio-leds";
796 gpios = <&gpio_a 1 0>;
797 label = "sandbox:red";
801 gpios = <&gpio_a 2 0>;
802 label = "sandbox:green";
806 gpios = <&gpio_a 5 0>;
807 label = "sandbox:default_on";
808 default-state = "on";
812 gpios = <&gpio_a 6 0>;
813 /* label intentionally omitted */
814 default-state = "off";
819 gpios = <&gpio_a 7 0>;
820 compatible = "linux,wdt-gpio";
821 hw_margin_ms = <100>;
826 compatible = "sandbox,mbox";
831 compatible = "sandbox,mbox-test";
832 mboxes = <&mbox 100>, <&mbox 1>;
833 mbox-names = "other", "test";
837 #address-cells = <1>;
839 timebase-frequency = <2000000>;
843 timebase-frequency = <3000000>;
844 compatible = "sandbox,cpu_sandbox";
851 compatible = "sandbox,cpu_sandbox";
858 compatible = "sandbox,cpu_sandbox";
864 compatible = "sandbox,soc";
868 compatible = "sandbox,i2s";
869 #sound-dai-cells = <1>;
870 sandbox,silent; /* Don't emit sounds while testing */
874 compatible = "sandbox,nop_sandbox1";
876 compatible = "sandbox,nop_sandbox2";
880 compatible = "sandbox,nop_sandbox2";
886 compatible = "sandbox,misc_sandbox";
890 compatible = "sandbox,mmc";
895 compatible = "sandbox,mmc";
899 compatible = "sandbox,mmc";
903 compatible = "sandbox,pch";
907 compatible = "sandbox,pci";
909 bus-range = <0x00 0xff>;
910 #address-cells = <3>;
912 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
913 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
915 compatible = "pci-generic";
916 reg = <0x0000 0 0 0 0>;
917 sandbox,emul = <&swap_case_emul0_0>;
920 compatible = "pci-generic";
921 /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
922 reg = <0x02000814 0 0 0 0
924 sandbox,emul = <&swap_case_emul0_1>;
927 compatible = "sandbox,p2sb";
928 reg = <0x02001010 0 0 0 0>;
929 sandbox,emul = <&p2sb_emul>;
932 intel,p2sb-port-id = <3>;
933 compatible = "sandbox,adder";
937 compatible = "sandbox,pmc";
938 reg = <0xf000 0 0 0 0>;
939 sandbox,emul = <&pmc_emul1e>;
941 gpe0-dwx-mask = <0xf>;
942 gpe0-dwx-shift-base = <4>;
948 compatible = "pci-generic";
949 /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
950 reg = <0x0100f810 0 0 0 0>;
951 sandbox,emul = <&swap_case_emul0_1f>;
956 compatible = "sandbox,pci-emul-parent";
957 swap_case_emul0_0: emul0@0,0 {
958 compatible = "sandbox,swap-case";
960 swap_case_emul0_1: emul0@1,0 {
961 compatible = "sandbox,swap-case";
964 swap_case_emul0_1f: emul0@1f,0 {
965 compatible = "sandbox,swap-case";
967 p2sb_emul: emul@2,0 {
968 compatible = "sandbox,p2sb-emul";
970 pmc_emul1e: emul@1e,0 {
971 compatible = "sandbox,pmc-emul";
976 compatible = "sandbox,pci";
978 bus-range = <0x00 0xff>;
979 #address-cells = <3>;
981 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 // MEM0
982 0x02000000 0 0x31000000 0x31000000 0 0x2000 // MEM1
983 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
984 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
985 0x0c 0x00 0x1234 0x5678
986 0x10 0x00 0x1234 0x5678>;
988 reg = <0x8000 0 0 0 0>;
993 compatible = "sandbox,pci";
995 bus-range = <0x00 0xff>;
996 #address-cells = <3>;
998 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
999 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
1000 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
1002 compatible = "pci-generic";
1003 reg = <0xf800 0 0 0 0>;
1004 sandbox,emul = <&swap_case_emul2_1f>;
1009 compatible = "sandbox,pci-emul-parent";
1010 swap_case_emul2_1f: emul2@1f,0 {
1011 compatible = "sandbox,swap-case";
1016 compatible = "sandbox,pci_ep";
1020 compatible = "simple-bus";
1022 compatible = "denx,u-boot-probe-test";
1026 compatible = "denx,u-boot-probe-test";
1030 compatible = "denx,u-boot-probe-test";
1034 compatible = "denx,u-boot-probe-test";
1035 first-syscon = <&syscon0>;
1036 second-sys-ctrl = <&another_system_controller>;
1037 third-syscon = <&syscon2>;
1041 pwrdom: power-domain {
1042 compatible = "sandbox,power-domain";
1043 #power-domain-cells = <1>;
1047 compatible = "sandbox,power-domain-test";
1048 power-domains = <&pwrdom 2>;
1052 compatible = "sandbox,pwm";
1054 pinctrl-names = "default";
1055 pinctrl-0 = <&pinmux_pwm_pins>;
1059 compatible = "sandbox,pwm";
1064 compatible = "sandbox,ram";
1068 compatible = "sandbox,warm-reset";
1072 compatible = "sandbox,reset";
1076 compatible = "sandbox,reset-ctl";
1081 compatible = "sandbox,reset-ctl-test";
1082 resets = <&resetc 100>, <&resetc 2>, <&resetc 20>, <&resetc 40>;
1083 reset-names = "other", "test", "test2", "test3";
1087 compatible = "sandbox,sandbox-rng";
1091 compatible = "sandbox,test-processor";
1092 remoteproc-name = "remoteproc-test-dev1";
1096 compatible = "sandbox,test-processor";
1097 internal-memory-mapped;
1098 remoteproc-name = "remoteproc-test-dev2";
1102 compatible = "simple-panel";
1103 backlight = <&backlight 0 100>;
1107 compatible = "sandbox,smem";
1111 compatible = "sandbox,sound";
1113 sound-dai = <&i2s 0>;
1117 sound-dai = <&audio 0>;
1122 #address-cells = <1>;
1125 compatible = "sandbox,spi";
1126 cs-gpios = <0>, <0>, <&gpio_a 0>;
1127 pinctrl-names = "default";
1128 pinctrl-0 = <&pinmux_spi0_pins>;
1132 compatible = "spansion,m25p16", "jedec,spi-nor";
1133 spi-max-frequency = <40000000>;
1134 sandbox,filename = "spi.bin";
1138 compatible = "spansion,m25p16", "jedec,spi-nor";
1139 spi-max-frequency = <50000000>;
1140 sandbox,filename = "spi.bin";
1147 compatible = "sandbox,syscon0";
1151 another_system_controller: syscon@1 {
1152 compatible = "sandbox,syscon1";
1160 compatible = "simple-mfd", "syscon";
1168 compatible = "simple-mfd", "syscon";
1169 reg = <0x000100 0x10>;
1171 muxcontroller0: a-mux-controller {
1172 compatible = "mmio-mux";
1173 #mux-control-cells = <1>;
1175 mux-reg-masks = <0x0 0x30>, /* 0: reg 0x0, bits 5:4 */
1176 <0xc 0x1E>, /* 1: reg 0xc, bits 4:1 */
1177 <0x4 0xFF>; /* 2: reg 0x4, bits 7:0 */
1178 idle-states = <MUX_IDLE_AS_IS>, <0x02>, <0x73>;
1179 u-boot,mux-autoprobe;
1183 muxcontroller1: emul-mux-controller {
1184 compatible = "mux-emul";
1185 #mux-control-cells = <0>;
1186 u-boot,mux-autoprobe;
1187 idle-state = <0xabcd>;
1191 compatible = "denx,u-boot-fdtm-test";
1194 testfdtm1: testfdtm1 {
1195 compatible = "denx,u-boot-fdtm-test";
1199 compatible = "denx,u-boot-fdtm-test";
1203 compatible = "sandbox,timer";
1204 clock-frequency = <1000000>;
1208 compatible = "sandbox,timer";
1209 sandbox,timebase-frequency-fallback;
1213 compatible = "sandbox,tpm2";
1217 compatible = "sandbox,serial";
1218 u-boot,dm-pre-reloc;
1219 pinctrl-names = "default";
1220 pinctrl-0 = <&pinmux_uart0_pins>;
1224 compatible = "sandbox,usb";
1225 status = "disabled";
1227 compatible = "sandbox,usb-hub";
1228 #address-cells = <1>;
1232 compatible = "sandbox,usb-flash";
1238 compatible = "sandbox,usb";
1241 compatible = "usb-hub";
1242 usb,device-class = <9>;
1243 #address-cells = <1>;
1246 compatible = "sandbox,usb-hub";
1247 #address-cells = <1>;
1251 compatible = "sandbox,usb-flash";
1252 sandbox,filepath = "testflash.bin";
1257 compatible = "sandbox,usb-flash";
1258 sandbox,filepath = "testflash1.bin";
1263 compatible = "sandbox,usb-flash";
1264 sandbox,filepath = "testflash2.bin";
1269 compatible = "sandbox,usb-keyb";
1284 compatible = "sandbox,usb";
1285 status = "disabled";
1289 compatible = "sandbox,spmi";
1290 #address-cells = <0x1>;
1291 #size-cells = <0x1>;
1294 compatible = "qcom,spmi-pmic";
1296 #address-cells = <0x1>;
1297 #size-cells = <0x1>;
1300 spmi_gpios: gpios@c000 {
1301 compatible = "qcom,pm8916-gpio";
1302 reg = <0xc000 0x400>;
1306 gpio-bank-name="spmi";
1312 compatible = "sandbox,wdt";
1313 hw_margin_ms = <200>;
1317 compatible = "sandbox,axi";
1318 #address-cells = <0x1>;
1319 #size-cells = <0x1>;
1321 compatible = "sandbox,sandbox_store";
1327 #address-cells = <1>;
1329 setting = "sunrise ohoka";
1330 other-node = "/some-bus/c-test@5";
1331 int-values = <0x1937 72993>;
1332 u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>;
1334 compatible = "denx,u-boot-fdt-test";
1339 translation-test@8000 {
1340 compatible = "simple-bus";
1341 reg = <0x8000 0x4000>;
1343 #address-cells = <0x2>;
1344 #size-cells = <0x1>;
1346 ranges = <0 0x0 0x8000 0x1000
1347 1 0x100 0x9000 0x1000
1348 2 0x200 0xA000 0x1000
1349 3 0x300 0xB000 0x1000
1352 dma-ranges = <0 0x000 0x10000000 0x1000
1353 1 0x100 0x20000000 0x1000
1357 compatible = "denx,u-boot-fdt-dummy";
1358 reg = <0 0x0 0x1000>;
1359 reg-names = "sandbox-dummy-0";
1363 compatible = "denx,u-boot-fdt-dummy";
1364 reg = <1 0x100 0x1000>;
1369 compatible = "denx,u-boot-fdt-dummy";
1370 reg = <2 0x200 0x1000>;
1375 compatible = "simple-bus";
1376 reg = <3 0x300 0x1000>;
1378 #address-cells = <0x1>;
1379 #size-cells = <0x0>;
1382 compatible = "denx,u-boot-fdt-dummy";
1389 compatible = "sandbox,sandbox_osd";
1393 compatible = "sandbox,tee";
1397 compatible = "sandbox,virtio1";
1401 compatible = "sandbox,virtio2";
1405 compatible = "sandbox,scmi-devices";
1406 clocks = <&clk_scmi 2>, <&clk_scmi 0>;
1407 resets = <&reset_scmi 3>;
1408 regul0-supply = <®ul0_scmi>;
1409 regul1-supply = <®ul1_scmi>;
1413 compatible = "sandbox,pinctrl";
1415 pinctrl-names = "default", "alternate";
1416 pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>;
1417 pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>;
1419 pinctrl_gpios: gpios {
1433 pinmux = <SANDBOX_PINMUX(7, SANDBOX_PINMUX_GPIO)>;
1438 pinmux = <SANDBOX_PINMUX(8, SANDBOX_PINMUX_GPIO)>;
1445 groups = "I2C_UART";
1465 pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>,
1466 <SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>;
1471 pinctrl-single-no-width {
1472 compatible = "pinctrl-single";
1473 reg = <0x0000 0x238>;
1474 #pinctrl-cells = <1>;
1475 pinctrl-single,function-mask = <0x7f>;
1478 pinctrl-single-pins {
1479 compatible = "pinctrl-single";
1480 reg = <0x0000 0x238>;
1481 #pinctrl-cells = <1>;
1482 pinctrl-single,register-width = <32>;
1483 pinctrl-single,function-mask = <0x7f>;
1485 pinmux_pwm_pins: pinmux_pwm_pins {
1486 pinctrl-single,pins = < 0x48 0x06 >;
1489 pinmux_spi0_pins: pinmux_spi0_pins {
1490 pinctrl-single,pins = <
1498 pinmux_uart0_pins: pinmux_uart0_pins {
1499 pinctrl-single,pins = <
1506 pinctrl-single-bits {
1507 compatible = "pinctrl-single";
1508 reg = <0x0000 0x50>;
1509 #pinctrl-cells = <2>;
1510 pinctrl-single,bit-per-mux;
1511 pinctrl-single,register-width = <32>;
1512 pinctrl-single,function-mask = <0xf>;
1514 pinmux_i2c0_pins: pinmux_i2c0_pins {
1515 pinctrl-single,bits = <
1516 0x10 0x00002200 0x0000ff00
1520 pinmux_lcd_pins: pinmux_lcd_pins {
1521 pinctrl-single,bits = <
1522 0x40 0x22222200 0xffffff00
1523 0x44 0x22222222 0xffffffff
1524 0x48 0x00000022 0x000000ff
1525 0x48 0x02000000 0x0f000000
1526 0x4c 0x02000022 0x0f0000ff
1532 compatible = "sandbox,hwspinlock";
1536 compatible = "sandbox,dma";
1539 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
1540 dma-names = "m2m", "tx0", "rx0";
1544 * keep mdio-mux ahead of mdio so that the mux is removed first at the
1545 * end of the test. If parent mdio is removed first, clean-up of the
1546 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
1547 * active at the end of the test. That it turn doesn't allow the mdio
1548 * class to be destroyed, triggering an error.
1551 compatible = "sandbox,mdio-mux";
1552 #address-cells = <1>;
1554 mdio-parent-bus = <&mdio>;
1565 compatible = "sandbox,mdio";
1566 #address-cells = <1>;
1569 ethphy1: ethernet-phy@1 {
1575 compatible = "simple-pm-bus";
1576 clocks = <&clk_sandbox 4>;
1577 power-domains = <&pwrdom 1>;
1580 resetc2: syscon-reset {
1581 compatible = "syscon-reset";
1583 regmap = <&syscon0>;
1585 mask = <0x27FFFFFF>;
1590 compatible = "sandbox,misc_sandbox";
1591 resets = <&resetc2 15>, <&resetc2 30>, <&resetc2 60>;
1592 reset-names = "valid", "no_mask", "out_of_range";
1596 compatible = "sandbox,sysinfo-sandbox";
1600 compatible = "gpio-sysinfo";
1601 gpios = <&gpio_a 15>, <&gpio_a 16>, <&gpio_a 17>;
1602 revisions = <19>, <5>;
1603 names = "rev_a", "foo";
1606 some_regmapped-bus {
1607 #address-cells = <0x1>;
1608 #size-cells = <0x1>;
1610 ranges = <0x0 0x0 0x10>;
1611 compatible = "simple-bus";
1615 compatible = "sandbox,regmap_test";
1620 #include "sandbox_pmic.dtsi"
1621 #include "cros-ec-keyboard.dtsi"