3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/gpio/sandbox-gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/pinctrl/sandbox-pinmux.h>
7 #include <dt-bindings/mux/mux.h>
11 compatible = "sandbox";
17 ethernet0 = "/eth@10002000";
20 ethernet4 = &dsa_eth0;
31 remoteproc0 = &rproc_1;
32 remoteproc1 = &rproc_2;
37 testbus3 = "/some-bus";
38 testfdt0 = "/some-bus/c-test@0";
39 testfdt12 = "/some-bus/c-test@1";
41 testfdt5 = "/some-bus/c-test@5";
43 testfdtm1 = &testfdtm1;
44 fdt-dummy0 = "/translation-test@8000/dev@0,0";
45 fdt-dummy1 = "/translation-test@8000/dev@1,100";
46 fdt-dummy2 = "/translation-test@8000/dev@2,200";
47 fdt-dummy3 = "/translation-test@8000/noxlatebus@3,300/dev@42";
63 compatible = "reboot-mode-gpio";
64 gpios = <&gpio_c 0 GPIO_ACTIVE_HIGH>, <&gpio_c 1 GPIO_ACTIVE_HIGH>;
65 u-boot,env-variable = "bootstatus";
67 mode-download = <0x03>;
70 reboot_mode1: reboot-mode@14 {
71 compatible = "reboot-mode-rtc";
74 u-boot,env-variable = "bootstatus";
76 mode-test = <0x21969147>;
77 mode-download = <0x51939147>;
81 compatible = "sandbox,audio-codec";
82 #sound-dai-cells = <1>;
86 compatible = "gpio-keys";
89 gpios = <&gpio_a 3 0>;
94 gpios = <&gpio_a 4 0>;
100 compatible = "adc-keys";
101 io-channels = <&adc 3>;
102 keyup-threshold-microvolt = <3000000>;
106 linux,code = <KEY_F3>;
107 press-threshold-microvolt = <1500000>;
112 linux,code = <KEY_F4>;
113 press-threshold-microvolt = <1000000>;
118 linux,code = <KEY_F5>;
119 press-threshold-microvolt = <500000>;
125 compatible = "google,cros-ec-sandbox";
128 * This describes the flash memory within the EC. Note
129 * that the STM32L flash erases to 0, not 0xff.
132 image-pos = <0x08000000>;
136 /* Information for sandbox */
142 image-pos = <0xf000>;
146 uncomp-size = <0xcf8>;
149 value = [00 01 02 03 04 05 06 07
150 08 09 0a 0b 0c 0d 0e 0f
151 10 11 12 13 14 15 16 17
152 18 19 1a 1b 1c 1d 1e 1f];
156 image-pos = <0x10000>;
161 cros_ec_pwm: cros-ec-pwm {
162 compatible = "google,cros-ec-pwm";
169 compatible = "sandbox,dsi-host";
174 compatible = "denx,u-boot-fdt-test";
178 test-gpios = <&gpio_a 1>, <&gpio_a 4>,
179 <&gpio_b 5 GPIO_ACTIVE_HIGH 3 2 1>,
181 test2-gpios = <&gpio_a 1>, <&gpio_a 4>,
182 <&gpio_b 6 GPIO_ACTIVE_LOW 3 2 1>,
183 <&gpio_b 7 GPIO_IN 3 2 1>,
184 <&gpio_b 8 GPIO_OUT 3 2 1>,
185 <&gpio_b 9 (GPIO_OUT|GPIO_OUT_ACTIVE) 3 2 1>;
187 <&gpio_c 0 (GPIO_OUT|GPIO_OPEN_DRAIN)>,
188 <&gpio_c 1 (GPIO_OUT|GPIO_OPEN_SOURCE)>,
189 <&gpio_c 2 GPIO_OUT>,
190 <&gpio_c 3 (GPIO_IN|GPIO_PULL_UP)>,
191 <&gpio_c 4 (GPIO_IN|GPIO_PULL_DOWN)>,
193 <&gpio_c 6 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_DRAIN)>,
194 <&gpio_c 7 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_SOURCE)>;
195 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
196 test5-gpios = <&gpio_a 19>;
199 uint-value = <(-1234)>;
200 int64-value = /bits/ 64 <0x1111222233334444>;
201 int-array = <5678 9123 4567>;
202 str-value = "test string";
203 interrupts-extended = <&irq 3 0>;
205 phandle-value = <&gpio_c 10>, <0xFFFFFFFF 20>, <&gpio_a 30>;
207 mux-controls = <&muxcontroller0 0>, <&muxcontroller0 1>,
208 <&muxcontroller0 2>, <&muxcontroller0 3>,
210 mux-control-names = "mux0", "mux1", "mux2", "mux3", "mux4";
211 mux-syscon = <&syscon3>;
214 clock-frequency = <6500000>;
226 pixelclk-active = <1>;
232 clock-frequency = <9000000>;
244 pixelclk-active = <0>;
247 clock-frequency = <33500000>;
251 hfront-porch = <164>;
262 compatible = "not,compatible";
269 backlight: backlight {
270 compatible = "pwm-backlight";
271 enable-gpios = <&gpio_a 1>;
272 power-supply = <&ldo_1>;
273 pwms = <&pwm 0 1000>;
274 default-brightness-level = <5>;
275 brightness-levels = <0 16 32 64 128 170 202 234 255>;
279 compatible = "simple-bus";
281 compatible = "sandbox,phy";
286 compatible = "simple-bus";
292 compatible = "denx,u-boot-fdt-test";
296 mux-controls = <&muxcontroller0 0>;
297 mux-control-names = "mux0";
300 phy_provider0: gen_phy@0 {
301 compatible = "sandbox,phy";
305 phy_provider1: gen_phy@1 {
306 compatible = "sandbox,phy";
311 phy_provider2: gen_phy@2 {
312 compatible = "sandbox,phy";
316 gen_phy_user: gen_phy_user {
317 compatible = "simple-bus";
318 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
319 phy-names = "phy1", "phy2", "phy3";
322 gen_phy_user1: gen_phy_user1 {
323 compatible = "simple-bus";
324 phys = <&phy_provider0 0>, <&phy_provider2>;
325 phy-names = "phy1", "phy2";
329 #address-cells = <1>;
331 compatible = "denx,u-boot-test-bus";
336 compatible = "denx,u-boot-fdt-test";
342 compatible = "denx,u-boot-fdt-test";
348 compatible = "denx,u-boot-fdt-test";
359 compatible = "google,another-fdt-test";
366 compatible = "google,another-fdt-test";
370 compatible = "denx,u-boot-fdt-test";
374 compatible = "denx,u-boot-fdt-test";
378 compatible = "denx,u-boot-fdt-test1";
382 compatible = "mediatek,u-boot-fdt-test";
383 #address-cells = <1>;
400 compatible = "denx,u-boot-devres-test";
405 compatible = "denx,u-boot-fdt-test";
406 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
407 test5-gpios = <&gpio_a 19>;
411 #address-cells = <1>;
413 compatible = "denx,u-boot-test-bus";
414 dma-ranges = <0x10000000 0x00000000 0x00040000>;
417 compatible = "denx,u-boot-fdt-test";
422 #address-cells = <1>;
424 compatible = "denx,u-boot-test-bus";
427 compatible = "denx,u-boot-fdt-test";
431 acpi_test1: acpi-test {
432 compatible = "denx,u-boot-acpi-test";
433 acpi-ssdt-test-data = "ab";
434 acpi-dsdt-test-data = "hi";
436 compatible = "denx,u-boot-acpi-test";
440 acpi_test2: acpi-test2 {
441 compatible = "denx,u-boot-acpi-test";
442 acpi-ssdt-test-data = "cd";
443 acpi-dsdt-test-data = "jk";
447 clk_fixed: clk-fixed {
448 compatible = "fixed-clock";
450 clock-frequency = <1234>;
453 clk_fixed_factor: clk-fixed-factor {
454 compatible = "fixed-factor-clock";
458 clocks = <&clk_fixed>;
462 compatible = "fixed-clock";
464 clock-frequency = <20000000>;
468 clk_sandbox: clk-sbox {
469 compatible = "sandbox,clk";
471 assigned-clocks = <&clk_sandbox 3>;
472 assigned-clock-rates = <321>;
476 compatible = "sandbox,clk-test";
477 clocks = <&clk_fixed>,
482 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
486 compatible = "sandbox,clk-ccf";
490 compatible = "sandbox,eth";
491 reg = <0x10002000 0x1000>;
492 fake-host-hwaddr = [00 00 66 44 22 00];
495 eth_5: eth@10003000 {
496 compatible = "sandbox,eth";
497 reg = <0x10003000 0x1000>;
498 fake-host-hwaddr = [00 00 66 44 22 11];
502 compatible = "sandbox,eth";
503 reg = <0x10005000 0x1000>;
504 fake-host-hwaddr = [00 00 66 44 22 33];
508 compatible = "sandbox,eth";
509 reg = <0x10004000 0x1000>;
510 fake-host-hwaddr = [00 00 66 44 22 22];
513 dsa_eth0: dsa-test-eth {
514 compatible = "sandbox,eth";
515 reg = <0x10006000 0x1000>;
516 fake-host-hwaddr = [00 00 66 44 22 66];
520 compatible = "sandbox,dsa";
523 #address-cells = <1>;
528 phy-mode = "rgmii-rxid";
539 phy-mode = "rgmii-txid";
540 fixed-link = <0 1 100 0 0>;
545 ethernet = <&dsa_eth0>;
556 sandbox_firmware: sandbox-firmware {
557 compatible = "sandbox,firmware";
560 sandbox-scmi-agent@0 {
561 compatible = "sandbox,scmi-agent";
562 #address-cells = <1>;
565 clk_scmi0: protocol@14 {
570 reset_scmi0: protocol@16 {
579 #address-cells = <1>;
582 regul0_scmi0: reg@0 {
584 regulator-name = "sandbox-voltd0";
585 regulator-min-microvolt = <1100000>;
586 regulator-max-microvolt = <3300000>;
588 regul1_scmi0: reg@1 {
590 regulator-name = "sandbox-voltd1";
591 regulator-min-microvolt = <1800000>;
597 sandbox-scmi-agent@1 {
598 compatible = "sandbox,scmi-agent";
599 #address-cells = <1>;
602 clk_scmi1: protocol@14 {
614 compatible = "sandbox,pinctrl-gpio";
617 compatible = "sandbox,gpio";
620 gpio-bank-name = "a";
621 sandbox,gpio-count = <20>;
622 hog_input_active_low {
625 gpios = <10 GPIO_ACTIVE_LOW>;
627 hog_input_active_high {
630 gpios = <11 GPIO_ACTIVE_HIGH>;
635 gpios = <12 GPIO_ACTIVE_HIGH>;
640 gpios = <13 GPIO_ACTIVE_HIGH>;
644 gpio_b: extra-gpios {
645 compatible = "sandbox,gpio";
648 gpio-bank-name = "b";
649 sandbox,gpio-count = <10>;
652 gpio_c: pinmux-gpios {
653 compatible = "sandbox,gpio";
656 gpio-bank-name = "c";
657 sandbox,gpio-count = <10>;
662 #address-cells = <1>;
665 compatible = "sandbox,i2c";
666 clock-frequency = <100000>;
667 pinctrl-names = "default";
668 pinctrl-0 = <&pinmux_i2c0_pins>;
672 compatible = "i2c-eeprom";
673 sandbox,emul = <&emul_eeprom>;
675 compatible = "fixed-partitions";
676 #address-cells = <1>;
678 bootcount_i2c: bootcount@10 {
686 compatible = "sandbox-rtc";
687 sandbox,emul = <&emul0>;
692 compatible = "sandbox-rtc";
693 sandbox,emul = <&emul1>;
698 compatible = "sandbox,i2c-emul-parent";
699 emul_eeprom: emul-eeprom {
700 compatible = "sandbox,i2c-eeprom";
701 sandbox,filename = "i2c.bin";
702 sandbox,size = <256>;
705 compatible = "sandbox,i2c-rtc-emul";
708 compatible = "sandbox,i2c-rtc-emul";
712 sandbox_pmic: sandbox_pmic {
714 sandbox,emul = <&emul_pmic0>;
719 sandbox,emul = <&emul_pmic1>;
724 compatible = "u-boot,bootcount-rtc";
730 compatible = "u-boot,bootcount-i2c-eeprom";
731 i2c-eeprom = <&bootcount_i2c>;
735 compatible = "u-boot,bootcount-syscon";
737 reg = <0x0 0x04>, <0x0 0x04>;
738 reg-names = "syscon_reg", "offset";
742 compatible = "u-boot,bootcount-syscon";
744 reg = <0x0 0x04>, <0x0 0x02> ;
745 reg-names = "syscon_reg", "offset";
749 compatible = "sandbox,adc";
750 #io-channel-cells = <1>;
751 vdd-supply = <&buck2>;
752 vss-microvolts = <0>;
756 compatible = "sandbox,irq";
757 interrupt-controller;
758 #interrupt-cells = <2>;
763 compatible = "sandbox,lcd-sdl";
764 pinctrl-names = "default";
765 pinctrl-0 = <&pinmux_lcd_pins>;
771 compatible = "gpio-leds";
774 gpios = <&gpio_a 1 0>;
775 label = "sandbox:red";
779 gpios = <&gpio_a 2 0>;
780 label = "sandbox:green";
784 gpios = <&gpio_a 5 0>;
785 label = "sandbox:default_on";
786 default-state = "on";
790 gpios = <&gpio_a 6 0>;
791 /* label intentionally omitted */
792 default-state = "off";
797 compatible = "sandbox,mbox";
802 compatible = "sandbox,mbox-test";
803 mboxes = <&mbox 100>, <&mbox 1>;
804 mbox-names = "other", "test";
808 timebase-frequency = <2000000>;
810 timebase-frequency = <3000000>;
811 compatible = "sandbox,cpu_sandbox";
816 compatible = "sandbox,cpu_sandbox";
821 compatible = "sandbox,cpu_sandbox";
827 compatible = "sandbox,soc";
831 compatible = "sandbox,i2s";
832 #sound-dai-cells = <1>;
833 sandbox,silent; /* Don't emit sounds while testing */
837 compatible = "sandbox,nop_sandbox1";
839 compatible = "sandbox,nop_sandbox2";
843 compatible = "sandbox,nop_sandbox2";
849 compatible = "sandbox,misc_sandbox";
853 compatible = "sandbox,mmc";
858 compatible = "sandbox,mmc";
862 compatible = "sandbox,mmc";
866 compatible = "sandbox,pch";
870 compatible = "sandbox,pci";
872 bus-range = <0x00 0xff>;
873 #address-cells = <3>;
875 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
876 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
878 compatible = "pci-generic";
879 reg = <0x0000 0 0 0 0>;
880 sandbox,emul = <&swap_case_emul0_0>;
883 compatible = "pci-generic";
884 /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
885 reg = <0x02000814 0 0 0 0
887 sandbox,emul = <&swap_case_emul0_1>;
890 compatible = "sandbox,p2sb";
891 reg = <0x02001010 0 0 0 0>;
892 sandbox,emul = <&p2sb_emul>;
895 intel,p2sb-port-id = <3>;
896 compatible = "sandbox,adder";
900 compatible = "sandbox,pmc";
901 reg = <0xf000 0 0 0 0>;
902 sandbox,emul = <&pmc_emul1e>;
904 gpe0-dwx-mask = <0xf>;
905 gpe0-dwx-shift-base = <4>;
911 compatible = "pci-generic";
912 /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
913 reg = <0x0100f810 0 0 0 0>;
914 sandbox,emul = <&swap_case_emul0_1f>;
919 compatible = "sandbox,pci-emul-parent";
920 swap_case_emul0_0: emul0@0,0 {
921 compatible = "sandbox,swap-case";
923 swap_case_emul0_1: emul0@1,0 {
924 compatible = "sandbox,swap-case";
927 swap_case_emul0_1f: emul0@1f,0 {
928 compatible = "sandbox,swap-case";
930 p2sb_emul: emul@2,0 {
931 compatible = "sandbox,p2sb-emul";
933 pmc_emul1e: emul@1e,0 {
934 compatible = "sandbox,pmc-emul";
939 compatible = "sandbox,pci";
941 bus-range = <0x00 0xff>;
942 #address-cells = <3>;
944 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 // MEM0
945 0x02000000 0 0x31000000 0x31000000 0 0x2000 // MEM1
946 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
947 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
948 0x0c 0x00 0x1234 0x5678
949 0x10 0x00 0x1234 0x5678>;
951 reg = <0x8000 0 0 0 0>;
956 compatible = "sandbox,pci";
958 bus-range = <0x00 0xff>;
959 #address-cells = <3>;
961 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
962 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
963 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
965 compatible = "pci-generic";
966 reg = <0xf800 0 0 0 0>;
967 sandbox,emul = <&swap_case_emul2_1f>;
972 compatible = "sandbox,pci-emul-parent";
973 swap_case_emul2_1f: emul2@1f,0 {
974 compatible = "sandbox,swap-case";
979 compatible = "sandbox,pci_ep";
983 compatible = "simple-bus";
985 compatible = "denx,u-boot-probe-test";
989 compatible = "denx,u-boot-probe-test";
993 compatible = "denx,u-boot-probe-test";
997 compatible = "denx,u-boot-probe-test";
998 first-syscon = <&syscon0>;
999 second-sys-ctrl = <&another_system_controller>;
1000 third-syscon = <&syscon2>;
1004 pwrdom: power-domain {
1005 compatible = "sandbox,power-domain";
1006 #power-domain-cells = <1>;
1010 compatible = "sandbox,power-domain-test";
1011 power-domains = <&pwrdom 2>;
1015 compatible = "sandbox,pwm";
1017 pinctrl-names = "default";
1018 pinctrl-0 = <&pinmux_pwm_pins>;
1022 compatible = "sandbox,pwm";
1027 compatible = "sandbox,ram";
1031 compatible = "sandbox,warm-reset";
1035 compatible = "sandbox,reset";
1039 compatible = "sandbox,reset-ctl";
1044 compatible = "sandbox,reset-ctl-test";
1045 resets = <&resetc 100>, <&resetc 2>, <&resetc 20>, <&resetc 40>;
1046 reset-names = "other", "test", "test2", "test3";
1050 compatible = "sandbox,sandbox-rng";
1054 compatible = "sandbox,test-processor";
1055 remoteproc-name = "remoteproc-test-dev1";
1059 compatible = "sandbox,test-processor";
1060 internal-memory-mapped;
1061 remoteproc-name = "remoteproc-test-dev2";
1065 compatible = "simple-panel";
1066 backlight = <&backlight 0 100>;
1070 compatible = "sandbox,smem";
1074 compatible = "sandbox,sound";
1076 sound-dai = <&i2s 0>;
1080 sound-dai = <&audio 0>;
1085 #address-cells = <1>;
1088 compatible = "sandbox,spi";
1089 cs-gpios = <0>, <0>, <&gpio_a 0>;
1090 pinctrl-names = "default";
1091 pinctrl-0 = <&pinmux_spi0_pins>;
1095 compatible = "spansion,m25p16", "jedec,spi-nor";
1096 spi-max-frequency = <40000000>;
1097 sandbox,filename = "spi.bin";
1101 compatible = "spansion,m25p16", "jedec,spi-nor";
1102 spi-max-frequency = <50000000>;
1103 sandbox,filename = "spi.bin";
1110 compatible = "sandbox,syscon0";
1114 another_system_controller: syscon@1 {
1115 compatible = "sandbox,syscon1";
1123 compatible = "simple-mfd", "syscon";
1131 compatible = "simple-mfd", "syscon";
1132 reg = <0x000100 0x10>;
1134 muxcontroller0: a-mux-controller {
1135 compatible = "mmio-mux";
1136 #mux-control-cells = <1>;
1138 mux-reg-masks = <0x0 0x30>, /* 0: reg 0x0, bits 5:4 */
1139 <0xc 0x1E>, /* 1: reg 0xc, bits 4:1 */
1140 <0x4 0xFF>; /* 2: reg 0x4, bits 7:0 */
1141 idle-states = <MUX_IDLE_AS_IS>, <0x02>, <0x73>;
1142 u-boot,mux-autoprobe;
1146 muxcontroller1: emul-mux-controller {
1147 compatible = "mux-emul";
1148 #mux-control-cells = <0>;
1149 u-boot,mux-autoprobe;
1150 idle-state = <0xabcd>;
1154 compatible = "denx,u-boot-fdtm-test";
1157 testfdtm1: testfdtm1 {
1158 compatible = "denx,u-boot-fdtm-test";
1162 compatible = "denx,u-boot-fdtm-test";
1166 compatible = "sandbox,timer";
1167 clock-frequency = <1000000>;
1171 compatible = "sandbox,timer";
1172 sandbox,timebase-frequency-fallback;
1176 compatible = "sandbox,tpm2";
1180 compatible = "sandbox,serial";
1181 u-boot,dm-pre-reloc;
1182 pinctrl-names = "default";
1183 pinctrl-0 = <&pinmux_uart0_pins>;
1187 compatible = "sandbox,usb";
1188 status = "disabled";
1190 compatible = "sandbox,usb-hub";
1191 #address-cells = <1>;
1195 compatible = "sandbox,usb-flash";
1201 compatible = "sandbox,usb";
1203 compatible = "usb-hub";
1204 usb,device-class = <9>;
1205 #address-cells = <1>;
1208 compatible = "sandbox,usb-hub";
1209 #address-cells = <1>;
1213 compatible = "sandbox,usb-flash";
1214 sandbox,filepath = "testflash.bin";
1219 compatible = "sandbox,usb-flash";
1220 sandbox,filepath = "testflash1.bin";
1225 compatible = "sandbox,usb-flash";
1226 sandbox,filepath = "testflash2.bin";
1231 compatible = "sandbox,usb-keyb";
1246 compatible = "sandbox,usb";
1247 status = "disabled";
1251 compatible = "sandbox,spmi";
1252 #address-cells = <0x1>;
1253 #size-cells = <0x1>;
1256 compatible = "qcom,spmi-pmic";
1258 #address-cells = <0x1>;
1259 #size-cells = <0x1>;
1262 spmi_gpios: gpios@c000 {
1263 compatible = "qcom,pm8916-gpio";
1264 reg = <0xc000 0x400>;
1268 gpio-bank-name="spmi";
1274 compatible = "sandbox,wdt";
1278 compatible = "sandbox,axi";
1279 #address-cells = <0x1>;
1280 #size-cells = <0x1>;
1282 compatible = "sandbox,sandbox_store";
1288 #address-cells = <1>;
1290 setting = "sunrise ohoka";
1291 other-node = "/some-bus/c-test@5";
1292 int-values = <0x1937 72993>;
1293 u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>;
1295 compatible = "denx,u-boot-fdt-test";
1300 translation-test@8000 {
1301 compatible = "simple-bus";
1302 reg = <0x8000 0x4000>;
1304 #address-cells = <0x2>;
1305 #size-cells = <0x1>;
1307 ranges = <0 0x0 0x8000 0x1000
1308 1 0x100 0x9000 0x1000
1309 2 0x200 0xA000 0x1000
1310 3 0x300 0xB000 0x1000
1313 dma-ranges = <0 0x000 0x10000000 0x1000
1314 1 0x100 0x20000000 0x1000
1318 compatible = "denx,u-boot-fdt-dummy";
1319 reg = <0 0x0 0x1000>;
1320 reg-names = "sandbox-dummy-0";
1324 compatible = "denx,u-boot-fdt-dummy";
1325 reg = <1 0x100 0x1000>;
1330 compatible = "denx,u-boot-fdt-dummy";
1331 reg = <2 0x200 0x1000>;
1336 compatible = "simple-bus";
1337 reg = <3 0x300 0x1000>;
1339 #address-cells = <0x1>;
1340 #size-cells = <0x0>;
1343 compatible = "denx,u-boot-fdt-dummy";
1350 compatible = "sandbox,sandbox_osd";
1354 compatible = "sandbox,tee";
1358 compatible = "sandbox,virtio1";
1362 compatible = "sandbox,virtio2";
1366 compatible = "sandbox,scmi-devices";
1367 clocks = <&clk_scmi0 7>, <&clk_scmi0 3>, <&clk_scmi1 1>;
1368 resets = <&reset_scmi0 3>;
1369 regul0-supply = <®ul0_scmi0>;
1370 regul1-supply = <®ul1_scmi0>;
1374 compatible = "sandbox,pinctrl";
1376 pinctrl-names = "default", "alternate";
1377 pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>;
1378 pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>;
1380 pinctrl_gpios: gpios {
1394 pinmux = <SANDBOX_PINMUX(7, SANDBOX_PINMUX_GPIO)>;
1399 pinmux = <SANDBOX_PINMUX(8, SANDBOX_PINMUX_GPIO)>;
1406 groups = "I2C_UART";
1426 pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>,
1427 <SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>;
1432 pinctrl-single-no-width {
1433 compatible = "pinctrl-single";
1434 reg = <0x0000 0x238>;
1435 #pinctrl-cells = <1>;
1436 pinctrl-single,function-mask = <0x7f>;
1439 pinctrl-single-pins {
1440 compatible = "pinctrl-single";
1441 reg = <0x0000 0x238>;
1442 #pinctrl-cells = <1>;
1443 pinctrl-single,register-width = <32>;
1444 pinctrl-single,function-mask = <0x7f>;
1446 pinmux_pwm_pins: pinmux_pwm_pins {
1447 pinctrl-single,pins = < 0x48 0x06 >;
1450 pinmux_spi0_pins: pinmux_spi0_pins {
1451 pinctrl-single,pins = <
1459 pinmux_uart0_pins: pinmux_uart0_pins {
1460 pinctrl-single,pins = <
1467 pinctrl-single-bits {
1468 compatible = "pinctrl-single";
1469 reg = <0x0000 0x50>;
1470 #pinctrl-cells = <2>;
1471 pinctrl-single,bit-per-mux;
1472 pinctrl-single,register-width = <32>;
1473 pinctrl-single,function-mask = <0xf>;
1475 pinmux_i2c0_pins: pinmux_i2c0_pins {
1476 pinctrl-single,bits = <
1477 0x10 0x00002200 0x0000ff00
1481 pinmux_lcd_pins: pinmux_lcd_pins {
1482 pinctrl-single,bits = <
1483 0x40 0x22222200 0xffffff00
1484 0x44 0x22222222 0xffffffff
1485 0x48 0x00000022 0x000000ff
1486 0x48 0x02000000 0x0f000000
1487 0x4c 0x02000022 0x0f0000ff
1493 compatible = "sandbox,hwspinlock";
1497 compatible = "sandbox,dma";
1500 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
1501 dma-names = "m2m", "tx0", "rx0";
1505 * keep mdio-mux ahead of mdio so that the mux is removed first at the
1506 * end of the test. If parent mdio is removed first, clean-up of the
1507 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
1508 * active at the end of the test. That it turn doesn't allow the mdio
1509 * class to be destroyed, triggering an error.
1512 compatible = "sandbox,mdio-mux";
1513 #address-cells = <1>;
1515 mdio-parent-bus = <&mdio>;
1526 compatible = "sandbox,mdio";
1530 compatible = "simple-pm-bus";
1531 clocks = <&clk_sandbox 4>;
1532 power-domains = <&pwrdom 1>;
1535 resetc2: syscon-reset {
1536 compatible = "syscon-reset";
1538 regmap = <&syscon0>;
1540 mask = <0x27FFFFFF>;
1545 compatible = "sandbox,misc_sandbox";
1546 resets = <&resetc2 15>, <&resetc2 30>, <&resetc2 60>;
1547 reset-names = "valid", "no_mask", "out_of_range";
1551 compatible = "sandbox,sysinfo-sandbox";
1555 compatible = "gpio-sysinfo";
1556 gpios = <&gpio_a 15>, <&gpio_a 16>, <&gpio_a 17>;
1557 revisions = <19>, <5>;
1558 names = "rev_a", "foo";
1561 some_regmapped-bus {
1562 #address-cells = <0x1>;
1563 #size-cells = <0x1>;
1565 ranges = <0x0 0x0 0x10>;
1566 compatible = "simple-bus";
1570 compatible = "sandbox,regmap_test";
1575 #include "sandbox_pmic.dtsi"
1576 #include "cros-ec-keyboard.dtsi"