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";
67 testing-str = "testing";
75 compatible = "reboot-mode-gpio";
76 gpios = <&gpio_c 0 GPIO_ACTIVE_HIGH>, <&gpio_c 1 GPIO_ACTIVE_HIGH>;
77 u-boot,env-variable = "bootstatus";
79 mode-download = <0x03>;
82 reboot_mode1: reboot-mode@14 {
83 compatible = "reboot-mode-rtc";
86 u-boot,env-variable = "bootstatus";
88 mode-test = <0x21969147>;
89 mode-download = <0x51939147>;
93 compatible = "sandbox,audio-codec";
94 #sound-dai-cells = <1>;
98 compatible = "gpio-keys";
101 gpios = <&gpio_a 3 0>;
106 gpios = <&gpio_a 4 0>;
112 compatible = "adc-keys";
113 io-channels = <&adc 3>;
114 keyup-threshold-microvolt = <3000000>;
118 linux,code = <KEY_F3>;
119 press-threshold-microvolt = <1500000>;
124 linux,code = <KEY_F4>;
125 press-threshold-microvolt = <1000000>;
130 linux,code = <KEY_F5>;
131 press-threshold-microvolt = <500000>;
137 compatible = "google,cros-ec-sandbox";
140 * This describes the flash memory within the EC. Note
141 * that the STM32L flash erases to 0, not 0xff.
144 image-pos = <0x08000000>;
148 /* Information for sandbox */
154 image-pos = <0xf000>;
158 uncomp-size = <0xcf8>;
161 value = [00 01 02 03 04 05 06 07
162 08 09 0a 0b 0c 0d 0e 0f
163 10 11 12 13 14 15 16 17
164 18 19 1a 1b 1c 1d 1e 1f];
168 image-pos = <0x10000>;
173 cros_ec_pwm: cros-ec-pwm {
174 compatible = "google,cros-ec-pwm";
181 compatible = "sandbox,dsi-host";
186 compatible = "denx,u-boot-fdt-test";
190 test-gpios = <&gpio_a 1>, <&gpio_a 4>,
191 <&gpio_b 5 GPIO_ACTIVE_HIGH 3 2 1>,
193 test2-gpios = <&gpio_a 1>, <&gpio_a 4>,
194 <&gpio_b 6 GPIO_ACTIVE_LOW 3 2 1>,
195 <&gpio_b 7 GPIO_IN 3 2 1>,
196 <&gpio_b 8 GPIO_OUT 3 2 1>,
197 <&gpio_b 9 (GPIO_OUT|GPIO_OUT_ACTIVE) 3 2 1>;
199 <&gpio_c 0 (GPIO_OUT|GPIO_OPEN_DRAIN)>,
200 <&gpio_c 1 (GPIO_OUT|GPIO_OPEN_SOURCE)>,
201 <&gpio_c 2 GPIO_OUT>,
202 <&gpio_c 3 (GPIO_IN|GPIO_PULL_UP)>,
203 <&gpio_c 4 (GPIO_IN|GPIO_PULL_DOWN)>,
205 <&gpio_c 6 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_DRAIN)>,
206 <&gpio_c 7 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_SOURCE)>;
207 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
208 test5-gpios = <&gpio_a 19>;
211 uint-value = <(-1234)>;
212 int64-value = /bits/ 64 <0x1111222233334444>;
213 int-array = <5678 9123 4567>;
214 str-value = "test string";
215 interrupts-extended = <&irq 3 0>;
217 phandle-value = <&gpio_c 10>, <0xFFFFFFFF 20>, <&gpio_a 30>;
219 mux-controls = <&muxcontroller0 0>, <&muxcontroller0 1>,
220 <&muxcontroller0 2>, <&muxcontroller0 3>,
222 mux-control-names = "mux0", "mux1", "mux2", "mux3", "mux4";
223 mux-syscon = <&syscon3>;
226 clock-frequency = <6500000>;
238 pixelclk-active = <1>;
244 clock-frequency = <9000000>;
256 pixelclk-active = <0>;
259 clock-frequency = <33500000>;
263 hfront-porch = <164>;
274 compatible = "not,compatible";
281 backlight: backlight {
282 compatible = "pwm-backlight";
283 enable-gpios = <&gpio_a 1>;
284 power-supply = <&ldo_1>;
285 pwms = <&pwm 0 1000>;
286 default-brightness-level = <5>;
287 brightness-levels = <0 16 32 64 128 170 202 234 255>;
291 compatible = "simple-bus";
293 compatible = "sandbox,phy";
298 compatible = "simple-bus";
304 compatible = "denx,u-boot-fdt-test";
308 mux-controls = <&muxcontroller0 0>;
309 mux-control-names = "mux0";
312 phy_provider0: gen_phy@0 {
313 compatible = "sandbox,phy";
317 phy_provider1: gen_phy@1 {
318 compatible = "sandbox,phy";
323 phy_provider2: gen_phy@2 {
324 compatible = "sandbox,phy";
328 gen_phy_user: gen_phy_user {
329 compatible = "simple-bus";
330 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
331 phy-names = "phy1", "phy2", "phy3";
334 gen_phy_user1: gen_phy_user1 {
335 compatible = "simple-bus";
336 phys = <&phy_provider0 0>, <&phy_provider2>;
337 phy-names = "phy1", "phy2";
341 #address-cells = <1>;
343 compatible = "denx,u-boot-test-bus";
348 compatible = "denx,u-boot-fdt-test";
354 compatible = "denx,u-boot-fdt-test";
360 compatible = "denx,u-boot-fdt-test";
371 compatible = "google,another-fdt-test";
378 compatible = "google,another-fdt-test";
382 compatible = "denx,u-boot-fdt-test";
386 compatible = "denx,u-boot-fdt-test";
390 compatible = "denx,u-boot-fdt-test1";
394 compatible = "mediatek,u-boot-fdt-test";
395 #address-cells = <1>;
412 compatible = "denx,u-boot-devres-test";
417 compatible = "denx,u-boot-fdt-test";
418 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
419 test5-gpios = <&gpio_a 19>;
423 #address-cells = <1>;
425 compatible = "denx,u-boot-test-bus";
426 dma-ranges = <0x10000000 0x00000000 0x00040000>;
429 compatible = "denx,u-boot-fdt-test";
434 #address-cells = <1>;
436 compatible = "denx,u-boot-test-bus";
439 compatible = "denx,u-boot-fdt-test";
443 acpi_test1: acpi-test {
444 compatible = "denx,u-boot-acpi-test";
445 acpi-ssdt-test-data = "ab";
446 acpi-dsdt-test-data = "hi";
448 compatible = "denx,u-boot-acpi-test";
452 acpi_test2: acpi-test2 {
453 compatible = "denx,u-boot-acpi-test";
454 acpi-ssdt-test-data = "cd";
455 acpi-dsdt-test-data = "jk";
459 clk_fixed: clk-fixed {
460 compatible = "fixed-clock";
462 clock-frequency = <1234>;
465 clk_fixed_factor: clk-fixed-factor {
466 compatible = "fixed-factor-clock";
470 clocks = <&clk_fixed>;
474 compatible = "fixed-clock";
476 clock-frequency = <20000000>;
480 clk_sandbox: clk-sbox {
481 compatible = "sandbox,clk";
483 assigned-clocks = <&clk_sandbox 3>;
484 assigned-clock-rates = <321>;
488 compatible = "sandbox,clk-test";
489 clocks = <&clk_fixed>,
494 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
498 compatible = "sandbox,clk-ccf";
502 compatible = "sandbox,eth";
503 reg = <0x10002000 0x1000>;
504 fake-host-hwaddr = [00 00 66 44 22 00];
507 eth_5: eth@10003000 {
508 compatible = "sandbox,eth";
509 reg = <0x10003000 0x1000>;
510 fake-host-hwaddr = [00 00 66 44 22 11];
514 compatible = "sandbox,eth";
515 reg = <0x10005000 0x1000>;
516 fake-host-hwaddr = [00 00 66 44 22 33];
520 compatible = "sandbox,eth";
521 reg = <0x10004000 0x1000>;
522 fake-host-hwaddr = [00 00 66 44 22 22];
525 dsa_eth0: dsa-test-eth {
526 compatible = "sandbox,eth";
527 reg = <0x10006000 0x1000>;
528 fake-host-hwaddr = [00 00 66 44 22 66];
532 compatible = "sandbox,dsa";
535 #address-cells = <1>;
540 phy-mode = "rgmii-rxid";
551 phy-mode = "rgmii-txid";
552 fixed-link = <0 1 100 0 0>;
557 ethernet = <&dsa_eth0>;
568 sandbox_firmware: sandbox-firmware {
569 compatible = "sandbox,firmware";
572 sandbox-scmi-agent@0 {
573 compatible = "sandbox,scmi-agent";
574 #address-cells = <1>;
577 clk_scmi0: protocol@14 {
582 reset_scmi0: protocol@16 {
591 #address-cells = <1>;
594 regul0_scmi0: reg@0 {
596 regulator-name = "sandbox-voltd0";
597 regulator-min-microvolt = <1100000>;
598 regulator-max-microvolt = <3300000>;
600 regul1_scmi0: reg@1 {
602 regulator-name = "sandbox-voltd1";
603 regulator-min-microvolt = <1800000>;
609 sandbox-scmi-agent@1 {
610 compatible = "sandbox,scmi-agent";
611 #address-cells = <1>;
614 clk_scmi1: protocol@14 {
626 compatible = "sandbox,pinctrl-gpio";
629 compatible = "sandbox,gpio";
632 gpio-bank-name = "a";
633 sandbox,gpio-count = <20>;
634 hog_input_active_low {
637 gpios = <10 GPIO_ACTIVE_LOW>;
639 hog_input_active_high {
642 gpios = <11 GPIO_ACTIVE_HIGH>;
647 gpios = <12 GPIO_ACTIVE_HIGH>;
652 gpios = <13 GPIO_ACTIVE_HIGH>;
656 gpio_b: extra-gpios {
657 compatible = "sandbox,gpio";
660 gpio-bank-name = "b";
661 sandbox,gpio-count = <10>;
664 gpio_c: pinmux-gpios {
665 compatible = "sandbox,gpio";
668 gpio-bank-name = "c";
669 sandbox,gpio-count = <10>;
674 #address-cells = <1>;
677 compatible = "sandbox,i2c";
678 clock-frequency = <100000>;
679 pinctrl-names = "default";
680 pinctrl-0 = <&pinmux_i2c0_pins>;
684 compatible = "i2c-eeprom";
685 sandbox,emul = <&emul_eeprom>;
687 compatible = "fixed-partitions";
688 #address-cells = <1>;
690 bootcount_i2c: bootcount@10 {
698 compatible = "sandbox-rtc";
699 sandbox,emul = <&emul0>;
704 compatible = "sandbox-rtc";
705 sandbox,emul = <&emul1>;
710 compatible = "sandbox,i2c-emul-parent";
711 emul_eeprom: emul-eeprom {
712 compatible = "sandbox,i2c-eeprom";
713 sandbox,filename = "i2c.bin";
714 sandbox,size = <256>;
717 compatible = "sandbox,i2c-rtc-emul";
720 compatible = "sandbox,i2c-rtc-emul";
724 sandbox_pmic: sandbox_pmic {
726 sandbox,emul = <&emul_pmic0>;
731 sandbox,emul = <&emul_pmic1>;
736 compatible = "u-boot,bootcount-rtc";
742 compatible = "u-boot,bootcount-i2c-eeprom";
743 i2c-eeprom = <&bootcount_i2c>;
747 compatible = "u-boot,bootcount-syscon";
749 reg = <0x0 0x04>, <0x0 0x04>;
750 reg-names = "syscon_reg", "offset";
754 compatible = "u-boot,bootcount-syscon";
756 reg = <0x0 0x04>, <0x0 0x02> ;
757 reg-names = "syscon_reg", "offset";
761 compatible = "sandbox,adc";
762 #io-channel-cells = <1>;
763 vdd-supply = <&buck2>;
764 vss-microvolts = <0>;
768 compatible = "sandbox,iommu";
773 compatible = "sandbox,irq";
774 interrupt-controller;
775 #interrupt-cells = <2>;
780 compatible = "sandbox,lcd-sdl";
781 pinctrl-names = "default";
782 pinctrl-0 = <&pinmux_lcd_pins>;
788 compatible = "gpio-leds";
791 gpios = <&gpio_a 1 0>;
792 label = "sandbox:red";
796 gpios = <&gpio_a 2 0>;
797 label = "sandbox:green";
801 gpios = <&gpio_a 5 0>;
802 label = "sandbox:default_on";
803 default-state = "on";
807 gpios = <&gpio_a 6 0>;
808 /* label intentionally omitted */
809 default-state = "off";
814 gpios = <&gpio_a 7 0>;
815 compatible = "linux,wdt-gpio";
816 hw_margin_ms = <100>;
821 compatible = "sandbox,mbox";
826 compatible = "sandbox,mbox-test";
827 mboxes = <&mbox 100>, <&mbox 1>;
828 mbox-names = "other", "test";
832 #address-cells = <1>;
834 timebase-frequency = <2000000>;
838 timebase-frequency = <3000000>;
839 compatible = "sandbox,cpu_sandbox";
846 compatible = "sandbox,cpu_sandbox";
853 compatible = "sandbox,cpu_sandbox";
859 compatible = "sandbox,soc";
863 compatible = "sandbox,i2s";
864 #sound-dai-cells = <1>;
865 sandbox,silent; /* Don't emit sounds while testing */
869 compatible = "sandbox,nop_sandbox1";
871 compatible = "sandbox,nop_sandbox2";
875 compatible = "sandbox,nop_sandbox2";
881 compatible = "sandbox,misc_sandbox";
885 compatible = "sandbox,mmc";
890 compatible = "sandbox,mmc";
894 compatible = "sandbox,mmc";
898 compatible = "sandbox,pch";
902 compatible = "sandbox,pci";
904 bus-range = <0x00 0xff>;
905 #address-cells = <3>;
907 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
908 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
910 compatible = "pci-generic";
911 reg = <0x0000 0 0 0 0>;
912 sandbox,emul = <&swap_case_emul0_0>;
915 compatible = "pci-generic";
916 /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
917 reg = <0x02000814 0 0 0 0
919 sandbox,emul = <&swap_case_emul0_1>;
922 compatible = "sandbox,p2sb";
923 reg = <0x02001010 0 0 0 0>;
924 sandbox,emul = <&p2sb_emul>;
927 intel,p2sb-port-id = <3>;
928 compatible = "sandbox,adder";
932 compatible = "sandbox,pmc";
933 reg = <0xf000 0 0 0 0>;
934 sandbox,emul = <&pmc_emul1e>;
936 gpe0-dwx-mask = <0xf>;
937 gpe0-dwx-shift-base = <4>;
943 compatible = "pci-generic";
944 /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
945 reg = <0x0100f810 0 0 0 0>;
946 sandbox,emul = <&swap_case_emul0_1f>;
951 compatible = "sandbox,pci-emul-parent";
952 swap_case_emul0_0: emul0@0,0 {
953 compatible = "sandbox,swap-case";
955 swap_case_emul0_1: emul0@1,0 {
956 compatible = "sandbox,swap-case";
959 swap_case_emul0_1f: emul0@1f,0 {
960 compatible = "sandbox,swap-case";
962 p2sb_emul: emul@2,0 {
963 compatible = "sandbox,p2sb-emul";
965 pmc_emul1e: emul@1e,0 {
966 compatible = "sandbox,pmc-emul";
971 compatible = "sandbox,pci";
973 bus-range = <0x00 0xff>;
974 #address-cells = <3>;
976 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 // MEM0
977 0x02000000 0 0x31000000 0x31000000 0 0x2000 // MEM1
978 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
979 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
980 0x0c 0x00 0x1234 0x5678
981 0x10 0x00 0x1234 0x5678>;
983 reg = <0x8000 0 0 0 0>;
988 compatible = "sandbox,pci";
990 bus-range = <0x00 0xff>;
991 #address-cells = <3>;
993 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
994 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
995 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
997 compatible = "pci-generic";
998 reg = <0xf800 0 0 0 0>;
999 sandbox,emul = <&swap_case_emul2_1f>;
1004 compatible = "sandbox,pci-emul-parent";
1005 swap_case_emul2_1f: emul2@1f,0 {
1006 compatible = "sandbox,swap-case";
1011 compatible = "sandbox,pci_ep";
1015 compatible = "simple-bus";
1017 compatible = "denx,u-boot-probe-test";
1021 compatible = "denx,u-boot-probe-test";
1025 compatible = "denx,u-boot-probe-test";
1029 compatible = "denx,u-boot-probe-test";
1030 first-syscon = <&syscon0>;
1031 second-sys-ctrl = <&another_system_controller>;
1032 third-syscon = <&syscon2>;
1036 pwrdom: power-domain {
1037 compatible = "sandbox,power-domain";
1038 #power-domain-cells = <1>;
1042 compatible = "sandbox,power-domain-test";
1043 power-domains = <&pwrdom 2>;
1047 compatible = "sandbox,pwm";
1049 pinctrl-names = "default";
1050 pinctrl-0 = <&pinmux_pwm_pins>;
1054 compatible = "sandbox,pwm";
1059 compatible = "sandbox,ram";
1063 compatible = "sandbox,warm-reset";
1067 compatible = "sandbox,reset";
1071 compatible = "sandbox,reset-ctl";
1076 compatible = "sandbox,reset-ctl-test";
1077 resets = <&resetc 100>, <&resetc 2>, <&resetc 20>, <&resetc 40>;
1078 reset-names = "other", "test", "test2", "test3";
1082 compatible = "sandbox,sandbox-rng";
1086 compatible = "sandbox,test-processor";
1087 remoteproc-name = "remoteproc-test-dev1";
1091 compatible = "sandbox,test-processor";
1092 internal-memory-mapped;
1093 remoteproc-name = "remoteproc-test-dev2";
1097 compatible = "simple-panel";
1098 backlight = <&backlight 0 100>;
1102 compatible = "sandbox,smem";
1106 compatible = "sandbox,sound";
1108 sound-dai = <&i2s 0>;
1112 sound-dai = <&audio 0>;
1117 #address-cells = <1>;
1120 compatible = "sandbox,spi";
1121 cs-gpios = <0>, <0>, <&gpio_a 0>;
1122 pinctrl-names = "default";
1123 pinctrl-0 = <&pinmux_spi0_pins>;
1127 compatible = "spansion,m25p16", "jedec,spi-nor";
1128 spi-max-frequency = <40000000>;
1129 sandbox,filename = "spi.bin";
1133 compatible = "spansion,m25p16", "jedec,spi-nor";
1134 spi-max-frequency = <50000000>;
1135 sandbox,filename = "spi.bin";
1142 compatible = "sandbox,syscon0";
1146 another_system_controller: syscon@1 {
1147 compatible = "sandbox,syscon1";
1155 compatible = "simple-mfd", "syscon";
1163 compatible = "simple-mfd", "syscon";
1164 reg = <0x000100 0x10>;
1166 muxcontroller0: a-mux-controller {
1167 compatible = "mmio-mux";
1168 #mux-control-cells = <1>;
1170 mux-reg-masks = <0x0 0x30>, /* 0: reg 0x0, bits 5:4 */
1171 <0xc 0x1E>, /* 1: reg 0xc, bits 4:1 */
1172 <0x4 0xFF>; /* 2: reg 0x4, bits 7:0 */
1173 idle-states = <MUX_IDLE_AS_IS>, <0x02>, <0x73>;
1174 u-boot,mux-autoprobe;
1178 muxcontroller1: emul-mux-controller {
1179 compatible = "mux-emul";
1180 #mux-control-cells = <0>;
1181 u-boot,mux-autoprobe;
1182 idle-state = <0xabcd>;
1186 compatible = "denx,u-boot-fdtm-test";
1189 testfdtm1: testfdtm1 {
1190 compatible = "denx,u-boot-fdtm-test";
1194 compatible = "denx,u-boot-fdtm-test";
1198 compatible = "sandbox,timer";
1199 clock-frequency = <1000000>;
1203 compatible = "sandbox,timer";
1204 sandbox,timebase-frequency-fallback;
1208 compatible = "sandbox,tpm2";
1212 compatible = "sandbox,serial";
1213 u-boot,dm-pre-reloc;
1214 pinctrl-names = "default";
1215 pinctrl-0 = <&pinmux_uart0_pins>;
1219 compatible = "sandbox,usb";
1220 status = "disabled";
1222 compatible = "sandbox,usb-hub";
1223 #address-cells = <1>;
1227 compatible = "sandbox,usb-flash";
1233 compatible = "sandbox,usb";
1236 compatible = "usb-hub";
1237 usb,device-class = <9>;
1238 #address-cells = <1>;
1241 compatible = "sandbox,usb-hub";
1242 #address-cells = <1>;
1246 compatible = "sandbox,usb-flash";
1247 sandbox,filepath = "testflash.bin";
1252 compatible = "sandbox,usb-flash";
1253 sandbox,filepath = "testflash1.bin";
1258 compatible = "sandbox,usb-flash";
1259 sandbox,filepath = "testflash2.bin";
1264 compatible = "sandbox,usb-keyb";
1279 compatible = "sandbox,usb";
1280 status = "disabled";
1284 compatible = "sandbox,spmi";
1285 #address-cells = <0x1>;
1286 #size-cells = <0x1>;
1289 compatible = "qcom,spmi-pmic";
1291 #address-cells = <0x1>;
1292 #size-cells = <0x1>;
1295 spmi_gpios: gpios@c000 {
1296 compatible = "qcom,pm8916-gpio";
1297 reg = <0xc000 0x400>;
1301 gpio-bank-name="spmi";
1307 compatible = "sandbox,wdt";
1308 hw_margin_ms = <200>;
1312 compatible = "sandbox,axi";
1313 #address-cells = <0x1>;
1314 #size-cells = <0x1>;
1316 compatible = "sandbox,sandbox_store";
1322 #address-cells = <1>;
1324 setting = "sunrise ohoka";
1325 other-node = "/some-bus/c-test@5";
1326 int-values = <0x1937 72993>;
1327 u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>;
1329 compatible = "denx,u-boot-fdt-test";
1334 translation-test@8000 {
1335 compatible = "simple-bus";
1336 reg = <0x8000 0x4000>;
1338 #address-cells = <0x2>;
1339 #size-cells = <0x1>;
1341 ranges = <0 0x0 0x8000 0x1000
1342 1 0x100 0x9000 0x1000
1343 2 0x200 0xA000 0x1000
1344 3 0x300 0xB000 0x1000
1347 dma-ranges = <0 0x000 0x10000000 0x1000
1348 1 0x100 0x20000000 0x1000
1352 compatible = "denx,u-boot-fdt-dummy";
1353 reg = <0 0x0 0x1000>;
1354 reg-names = "sandbox-dummy-0";
1358 compatible = "denx,u-boot-fdt-dummy";
1359 reg = <1 0x100 0x1000>;
1364 compatible = "denx,u-boot-fdt-dummy";
1365 reg = <2 0x200 0x1000>;
1370 compatible = "simple-bus";
1371 reg = <3 0x300 0x1000>;
1373 #address-cells = <0x1>;
1374 #size-cells = <0x0>;
1377 compatible = "denx,u-boot-fdt-dummy";
1384 compatible = "sandbox,sandbox_osd";
1388 compatible = "sandbox,tee";
1392 compatible = "sandbox,virtio1";
1396 compatible = "sandbox,virtio2";
1400 compatible = "sandbox,scmi-devices";
1401 clocks = <&clk_scmi0 7>, <&clk_scmi0 3>, <&clk_scmi1 1>;
1402 resets = <&reset_scmi0 3>;
1403 regul0-supply = <®ul0_scmi0>;
1404 regul1-supply = <®ul1_scmi0>;
1408 compatible = "sandbox,pinctrl";
1410 pinctrl-names = "default", "alternate";
1411 pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>;
1412 pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>;
1414 pinctrl_gpios: gpios {
1428 pinmux = <SANDBOX_PINMUX(7, SANDBOX_PINMUX_GPIO)>;
1433 pinmux = <SANDBOX_PINMUX(8, SANDBOX_PINMUX_GPIO)>;
1440 groups = "I2C_UART";
1460 pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>,
1461 <SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>;
1466 pinctrl-single-no-width {
1467 compatible = "pinctrl-single";
1468 reg = <0x0000 0x238>;
1469 #pinctrl-cells = <1>;
1470 pinctrl-single,function-mask = <0x7f>;
1473 pinctrl-single-pins {
1474 compatible = "pinctrl-single";
1475 reg = <0x0000 0x238>;
1476 #pinctrl-cells = <1>;
1477 pinctrl-single,register-width = <32>;
1478 pinctrl-single,function-mask = <0x7f>;
1480 pinmux_pwm_pins: pinmux_pwm_pins {
1481 pinctrl-single,pins = < 0x48 0x06 >;
1484 pinmux_spi0_pins: pinmux_spi0_pins {
1485 pinctrl-single,pins = <
1493 pinmux_uart0_pins: pinmux_uart0_pins {
1494 pinctrl-single,pins = <
1501 pinctrl-single-bits {
1502 compatible = "pinctrl-single";
1503 reg = <0x0000 0x50>;
1504 #pinctrl-cells = <2>;
1505 pinctrl-single,bit-per-mux;
1506 pinctrl-single,register-width = <32>;
1507 pinctrl-single,function-mask = <0xf>;
1509 pinmux_i2c0_pins: pinmux_i2c0_pins {
1510 pinctrl-single,bits = <
1511 0x10 0x00002200 0x0000ff00
1515 pinmux_lcd_pins: pinmux_lcd_pins {
1516 pinctrl-single,bits = <
1517 0x40 0x22222200 0xffffff00
1518 0x44 0x22222222 0xffffffff
1519 0x48 0x00000022 0x000000ff
1520 0x48 0x02000000 0x0f000000
1521 0x4c 0x02000022 0x0f0000ff
1527 compatible = "sandbox,hwspinlock";
1531 compatible = "sandbox,dma";
1534 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
1535 dma-names = "m2m", "tx0", "rx0";
1539 * keep mdio-mux ahead of mdio so that the mux is removed first at the
1540 * end of the test. If parent mdio is removed first, clean-up of the
1541 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
1542 * active at the end of the test. That it turn doesn't allow the mdio
1543 * class to be destroyed, triggering an error.
1546 compatible = "sandbox,mdio-mux";
1547 #address-cells = <1>;
1549 mdio-parent-bus = <&mdio>;
1560 compatible = "sandbox,mdio";
1564 compatible = "simple-pm-bus";
1565 clocks = <&clk_sandbox 4>;
1566 power-domains = <&pwrdom 1>;
1569 resetc2: syscon-reset {
1570 compatible = "syscon-reset";
1572 regmap = <&syscon0>;
1574 mask = <0x27FFFFFF>;
1579 compatible = "sandbox,misc_sandbox";
1580 resets = <&resetc2 15>, <&resetc2 30>, <&resetc2 60>;
1581 reset-names = "valid", "no_mask", "out_of_range";
1585 compatible = "sandbox,sysinfo-sandbox";
1589 compatible = "gpio-sysinfo";
1590 gpios = <&gpio_a 15>, <&gpio_a 16>, <&gpio_a 17>;
1591 revisions = <19>, <5>;
1592 names = "rev_a", "foo";
1595 some_regmapped-bus {
1596 #address-cells = <0x1>;
1597 #size-cells = <0x1>;
1599 ranges = <0x0 0x0 0x10>;
1600 compatible = "simple-bus";
1604 compatible = "sandbox,regmap_test";
1609 #include "sandbox_pmic.dtsi"
1610 #include "cros-ec-keyboard.dtsi"