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 eth0 = "/eth@10002000";
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";
48 fdt-dummy4 = "/translation-test@8000/xlatebus@4,400/devs/dev@19";
57 compatible = "sandbox,audio-codec";
58 #sound-dai-cells = <1>;
62 compatible = "gpio-keys";
65 gpios = <&gpio_a 3 0>;
70 gpios = <&gpio_a 4 0>;
76 compatible = "adc-keys";
77 io-channels = <&adc 3>;
78 keyup-threshold-microvolt = <3000000>;
82 linux,code = <KEY_F3>;
83 press-threshold-microvolt = <1500000>;
88 linux,code = <KEY_F4>;
89 press-threshold-microvolt = <1000000>;
94 linux,code = <KEY_F5>;
95 press-threshold-microvolt = <500000>;
101 compatible = "google,cros-ec-sandbox";
104 * This describes the flash memory within the EC. Note
105 * that the STM32L flash erases to 0, not 0xff.
108 image-pos = <0x08000000>;
112 /* Information for sandbox */
118 image-pos = <0xf000>;
122 uncomp-size = <0xcf8>;
125 value = [00 01 02 03 04 05 06 07
126 08 09 0a 0b 0c 0d 0e 0f
127 10 11 12 13 14 15 16 17
128 18 19 1a 1b 1c 1d 1e 1f];
132 image-pos = <0x10000>;
139 compatible = "sandbox,dsi-host";
144 compatible = "denx,u-boot-fdt-test";
148 test-gpios = <&gpio_a 1>, <&gpio_a 4>,
149 <&gpio_b 5 GPIO_ACTIVE_HIGH 3 2 1>,
151 test2-gpios = <&gpio_a 1>, <&gpio_a 4>,
152 <&gpio_b 6 GPIO_ACTIVE_LOW 3 2 1>,
153 <&gpio_b 7 GPIO_IN 3 2 1>,
154 <&gpio_b 8 GPIO_OUT 3 2 1>,
155 <&gpio_b 9 (GPIO_OUT|GPIO_OUT_ACTIVE) 3 2 1>;
157 <&gpio_c 0 (GPIO_OUT|GPIO_OPEN_DRAIN)>,
158 <&gpio_c 1 (GPIO_OUT|GPIO_OPEN_SOURCE)>,
159 <&gpio_c 2 GPIO_OUT>,
160 <&gpio_c 3 (GPIO_IN|GPIO_PULL_UP)>,
161 <&gpio_c 4 (GPIO_IN|GPIO_PULL_DOWN)>,
163 <&gpio_c 6 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_DRAIN)>,
164 <&gpio_c 7 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_SOURCE)>;
165 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
166 test5-gpios = <&gpio_a 19>;
169 uint-value = <(-1234)>;
170 int64-value = /bits/ 64 <0x1111222233334444>;
171 int-array = <5678 9123 4567>;
172 str-value = "test string";
173 interrupts-extended = <&irq 3 0>;
175 phandle-value = <&gpio_c 10>, <0xFFFFFFFF 20>, <&gpio_a 30>;
177 mux-controls = <&muxcontroller0 0>, <&muxcontroller0 1>,
178 <&muxcontroller0 2>, <&muxcontroller0 3>,
180 mux-control-names = "mux0", "mux1", "mux2", "mux3", "mux4";
181 mux-syscon = <&syscon3>;
184 clock-frequency = <6500000>;
196 pixelclk-active = <1>;
202 clock-frequency = <9000000>;
214 pixelclk-active = <0>;
217 clock-frequency = <33500000>;
221 hfront-porch = <164>;
232 compatible = "not,compatible";
239 backlight: backlight {
240 compatible = "pwm-backlight";
241 enable-gpios = <&gpio_a 1>;
242 power-supply = <&ldo_1>;
243 pwms = <&pwm 0 1000>;
244 default-brightness-level = <5>;
245 brightness-levels = <0 16 32 64 128 170 202 234 255>;
249 compatible = "simple-bus";
251 compatible = "sandbox,phy";
256 compatible = "simple-bus";
262 compatible = "denx,u-boot-fdt-test";
266 mux-controls = <&muxcontroller0 0>;
267 mux-control-names = "mux0";
270 phy_provider0: gen_phy@0 {
271 compatible = "sandbox,phy";
275 phy_provider1: gen_phy@1 {
276 compatible = "sandbox,phy";
281 phy_provider2: gen_phy@2 {
282 compatible = "sandbox,phy";
286 gen_phy_user: gen_phy_user {
287 compatible = "simple-bus";
288 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
289 phy-names = "phy1", "phy2", "phy3";
292 gen_phy_user1: gen_phy_user1 {
293 compatible = "simple-bus";
294 phys = <&phy_provider0 0>, <&phy_provider2>;
295 phy-names = "phy1", "phy2";
299 #address-cells = <1>;
301 compatible = "denx,u-boot-test-bus";
306 compatible = "denx,u-boot-fdt-test";
312 compatible = "denx,u-boot-fdt-test";
318 compatible = "denx,u-boot-fdt-test";
329 compatible = "google,another-fdt-test";
336 compatible = "google,another-fdt-test";
340 compatible = "denx,u-boot-fdt-test";
344 compatible = "denx,u-boot-fdt-test";
348 compatible = "denx,u-boot-fdt-test1";
352 compatible = "mediatek,u-boot-fdt-test";
353 #address-cells = <1>;
370 compatible = "denx,u-boot-devres-test";
375 compatible = "denx,u-boot-fdt-test";
376 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
377 test5-gpios = <&gpio_a 19>;
381 #address-cells = <1>;
383 compatible = "denx,u-boot-test-bus";
384 dma-ranges = <0x10000000 0x00000000 0x00040000>;
387 compatible = "denx,u-boot-fdt-test";
392 #address-cells = <1>;
394 compatible = "denx,u-boot-test-bus";
397 compatible = "denx,u-boot-fdt-test";
401 acpi_test1: acpi-test {
402 compatible = "denx,u-boot-acpi-test";
403 acpi-ssdt-test-data = "ab";
404 acpi-dsdt-test-data = "hi";
406 compatible = "denx,u-boot-acpi-test";
410 acpi_test2: acpi-test2 {
411 compatible = "denx,u-boot-acpi-test";
412 acpi-ssdt-test-data = "cd";
413 acpi-dsdt-test-data = "jk";
417 clk_fixed: clk-fixed {
418 compatible = "fixed-clock";
420 clock-frequency = <1234>;
423 clk_fixed_factor: clk-fixed-factor {
424 compatible = "fixed-factor-clock";
428 clocks = <&clk_fixed>;
432 compatible = "fixed-clock";
434 clock-frequency = <20000000>;
438 clk_sandbox: clk-sbox {
439 compatible = "sandbox,clk";
441 assigned-clocks = <&clk_sandbox 3>;
442 assigned-clock-rates = <321>;
446 compatible = "sandbox,clk-test";
447 clocks = <&clk_fixed>,
452 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
456 compatible = "sandbox,clk-ccf";
460 compatible = "sandbox,eth";
461 reg = <0x10002000 0x1000>;
462 fake-host-hwaddr = [00 00 66 44 22 00];
465 eth_5: eth@10003000 {
466 compatible = "sandbox,eth";
467 reg = <0x10003000 0x1000>;
468 fake-host-hwaddr = [00 00 66 44 22 11];
472 compatible = "sandbox,eth";
473 reg = <0x10005000 0x1000>;
474 fake-host-hwaddr = [00 00 66 44 22 33];
478 compatible = "sandbox,eth";
479 reg = <0x10004000 0x1000>;
480 fake-host-hwaddr = [00 00 66 44 22 22];
483 dsa_eth0: dsa-test-eth {
484 compatible = "sandbox,eth";
485 reg = <0x10006000 0x1000>;
486 fake-host-hwaddr = [00 00 66 44 22 66];
490 compatible = "sandbox,dsa";
493 #address-cells = <1>;
498 phy-mode = "rgmii-rxid";
509 phy-mode = "rgmii-txid";
510 fixed-link = <0 1 100 0 0>;
515 ethernet = <&dsa_eth0>;
526 sandbox_firmware: sandbox-firmware {
527 compatible = "sandbox,firmware";
530 sandbox-scmi-agent@0 {
531 compatible = "sandbox,scmi-agent";
532 #address-cells = <1>;
535 clk_scmi0: protocol@14 {
540 reset_scmi0: protocol@16 {
549 #address-cells = <1>;
552 regul0_scmi0: reg@0 {
554 regulator-name = "sandbox-voltd0";
555 regulator-min-microvolt = <1100000>;
556 regulator-max-microvolt = <3300000>;
558 regul1_scmi0: reg@1 {
560 regulator-name = "sandbox-voltd1";
561 regulator-min-microvolt = <1800000>;
567 sandbox-scmi-agent@1 {
568 compatible = "sandbox,scmi-agent";
569 #address-cells = <1>;
572 clk_scmi1: protocol@14 {
584 compatible = "sandbox,pinctrl-gpio";
587 compatible = "sandbox,gpio";
590 gpio-bank-name = "a";
591 sandbox,gpio-count = <20>;
592 hog_input_active_low {
595 gpios = <10 GPIO_ACTIVE_LOW>;
597 hog_input_active_high {
600 gpios = <11 GPIO_ACTIVE_HIGH>;
605 gpios = <12 GPIO_ACTIVE_HIGH>;
610 gpios = <13 GPIO_ACTIVE_HIGH>;
614 gpio_b: extra-gpios {
615 compatible = "sandbox,gpio";
618 gpio-bank-name = "b";
619 sandbox,gpio-count = <10>;
622 gpio_c: pinmux-gpios {
623 compatible = "sandbox,gpio";
626 gpio-bank-name = "c";
627 sandbox,gpio-count = <10>;
632 #address-cells = <1>;
635 compatible = "sandbox,i2c";
636 clock-frequency = <100000>;
637 pinctrl-names = "default";
638 pinctrl-0 = <&pinmux_i2c0_pins>;
642 compatible = "i2c-eeprom";
643 sandbox,emul = <&emul_eeprom>;
645 compatible = "fixed-partitions";
646 #address-cells = <1>;
648 bootcount_i2c: bootcount@10 {
656 compatible = "sandbox-rtc";
657 sandbox,emul = <&emul0>;
662 compatible = "sandbox-rtc";
663 sandbox,emul = <&emul1>;
668 compatible = "sandbox,i2c-emul-parent";
669 emul_eeprom: emul-eeprom {
670 compatible = "sandbox,i2c-eeprom";
671 sandbox,filename = "i2c.bin";
672 sandbox,size = <256>;
675 compatible = "sandbox,i2c-rtc-emul";
678 compatible = "sandbox,i2c-rtc-emul";
682 sandbox_pmic: sandbox_pmic {
684 sandbox,emul = <&emul_pmic0>;
689 sandbox,emul = <&emul_pmic1>;
694 compatible = "u-boot,bootcount-rtc";
700 compatible = "u-boot,bootcount-i2c-eeprom";
701 i2c-eeprom = <&bootcount_i2c>;
705 compatible = "sandbox,adc";
706 #io-channel-cells = <1>;
707 vdd-supply = <&buck2>;
708 vss-microvolts = <0>;
712 compatible = "sandbox,irq";
713 interrupt-controller;
714 #interrupt-cells = <2>;
719 compatible = "sandbox,lcd-sdl";
720 pinctrl-names = "default";
721 pinctrl-0 = <&pinmux_lcd_pins>;
727 compatible = "gpio-leds";
730 gpios = <&gpio_a 1 0>;
731 label = "sandbox:red";
735 gpios = <&gpio_a 2 0>;
736 label = "sandbox:green";
740 gpios = <&gpio_a 5 0>;
741 label = "sandbox:default_on";
742 default-state = "on";
746 gpios = <&gpio_a 6 0>;
747 /* label intentionally omitted */
748 default-state = "off";
753 compatible = "sandbox,mbox";
758 compatible = "sandbox,mbox-test";
759 mboxes = <&mbox 100>, <&mbox 1>;
760 mbox-names = "other", "test";
764 timebase-frequency = <2000000>;
766 timebase-frequency = <3000000>;
767 compatible = "sandbox,cpu_sandbox";
772 compatible = "sandbox,cpu_sandbox";
777 compatible = "sandbox,cpu_sandbox";
783 compatible = "sandbox,soc";
787 compatible = "sandbox,i2s";
788 #sound-dai-cells = <1>;
789 sandbox,silent; /* Don't emit sounds while testing */
793 compatible = "sandbox,nop_sandbox1";
795 compatible = "sandbox,nop_sandbox2";
799 compatible = "sandbox,nop_sandbox2";
805 compatible = "sandbox,misc_sandbox";
809 compatible = "sandbox,mmc";
813 compatible = "sandbox,mmc";
817 compatible = "sandbox,mmc";
821 compatible = "sandbox,pch";
825 compatible = "sandbox,pci";
827 bus-range = <0x00 0xff>;
828 #address-cells = <3>;
830 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
831 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
833 compatible = "pci-generic";
834 reg = <0x0000 0 0 0 0>;
835 sandbox,emul = <&swap_case_emul0_0>;
838 compatible = "pci-generic";
839 /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
840 reg = <0x02000814 0 0 0 0
842 sandbox,emul = <&swap_case_emul0_1>;
845 compatible = "sandbox,p2sb";
846 reg = <0x02001010 0 0 0 0>;
847 sandbox,emul = <&p2sb_emul>;
850 intel,p2sb-port-id = <3>;
851 compatible = "sandbox,adder";
855 compatible = "sandbox,pmc";
856 reg = <0xf000 0 0 0 0>;
857 sandbox,emul = <&pmc_emul1e>;
859 gpe0-dwx-mask = <0xf>;
860 gpe0-dwx-shift-base = <4>;
866 compatible = "pci-generic";
867 /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
868 reg = <0x0100f810 0 0 0 0>;
869 sandbox,emul = <&swap_case_emul0_1f>;
874 compatible = "sandbox,pci-emul-parent";
875 swap_case_emul0_0: emul0@0,0 {
876 compatible = "sandbox,swap-case";
878 swap_case_emul0_1: emul0@1,0 {
879 compatible = "sandbox,swap-case";
882 swap_case_emul0_1f: emul0@1f,0 {
883 compatible = "sandbox,swap-case";
885 p2sb_emul: emul@2,0 {
886 compatible = "sandbox,p2sb-emul";
888 pmc_emul1e: emul@1e,0 {
889 compatible = "sandbox,pmc-emul";
894 compatible = "sandbox,pci";
896 bus-range = <0x00 0xff>;
897 #address-cells = <3>;
899 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 // MEM0
900 0x02000000 0 0x31000000 0x31000000 0 0x2000 // MEM1
901 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
902 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
903 0x0c 0x00 0x1234 0x5678
904 0x10 0x00 0x1234 0x5678>;
906 reg = <0x8000 0 0 0 0>;
911 compatible = "sandbox,pci";
913 bus-range = <0x00 0xff>;
914 #address-cells = <3>;
916 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
917 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
918 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
920 compatible = "pci-generic";
921 reg = <0xf800 0 0 0 0>;
922 sandbox,emul = <&swap_case_emul2_1f>;
927 compatible = "sandbox,pci-emul-parent";
928 swap_case_emul2_1f: emul2@1f,0 {
929 compatible = "sandbox,swap-case";
934 compatible = "sandbox,pci_ep";
938 compatible = "simple-bus";
940 compatible = "denx,u-boot-probe-test";
944 compatible = "denx,u-boot-probe-test";
948 compatible = "denx,u-boot-probe-test";
952 compatible = "denx,u-boot-probe-test";
953 first-syscon = <&syscon0>;
954 second-sys-ctrl = <&another_system_controller>;
955 third-syscon = <&syscon2>;
959 pwrdom: power-domain {
960 compatible = "sandbox,power-domain";
961 #power-domain-cells = <1>;
965 compatible = "sandbox,power-domain-test";
966 power-domains = <&pwrdom 2>;
970 compatible = "sandbox,pwm";
972 pinctrl-names = "default";
973 pinctrl-0 = <&pinmux_pwm_pins>;
977 compatible = "sandbox,pwm";
982 compatible = "sandbox,ram";
986 compatible = "sandbox,warm-reset";
990 compatible = "sandbox,reset";
994 compatible = "sandbox,reset-ctl";
999 compatible = "sandbox,reset-ctl-test";
1000 resets = <&resetc 100>, <&resetc 2>, <&resetc 20>, <&resetc 40>;
1001 reset-names = "other", "test", "test2", "test3";
1005 compatible = "sandbox,sandbox-rng";
1009 compatible = "sandbox,test-processor";
1010 remoteproc-name = "remoteproc-test-dev1";
1014 compatible = "sandbox,test-processor";
1015 internal-memory-mapped;
1016 remoteproc-name = "remoteproc-test-dev2";
1020 compatible = "simple-panel";
1021 backlight = <&backlight 0 100>;
1025 compatible = "sandbox,smem";
1029 compatible = "sandbox,sound";
1031 sound-dai = <&i2s 0>;
1035 sound-dai = <&audio 0>;
1040 #address-cells = <1>;
1043 compatible = "sandbox,spi";
1044 cs-gpios = <0>, <0>, <&gpio_a 0>;
1045 pinctrl-names = "default";
1046 pinctrl-0 = <&pinmux_spi0_pins>;
1050 compatible = "spansion,m25p16", "jedec,spi-nor";
1051 spi-max-frequency = <40000000>;
1052 sandbox,filename = "spi.bin";
1056 compatible = "spansion,m25p16", "jedec,spi-nor";
1057 spi-max-frequency = <50000000>;
1058 sandbox,filename = "spi.bin";
1065 compatible = "sandbox,syscon0";
1069 another_system_controller: syscon@1 {
1070 compatible = "sandbox,syscon1";
1078 compatible = "simple-mfd", "syscon";
1086 compatible = "simple-mfd", "syscon";
1087 reg = <0x000100 0x10>;
1089 muxcontroller0: a-mux-controller {
1090 compatible = "mmio-mux";
1091 #mux-control-cells = <1>;
1093 mux-reg-masks = <0x0 0x30>, /* 0: reg 0x0, bits 5:4 */
1094 <0xc 0x1E>, /* 1: reg 0xc, bits 4:1 */
1095 <0x4 0xFF>; /* 2: reg 0x4, bits 7:0 */
1096 idle-states = <MUX_IDLE_AS_IS>, <0x02>, <0x73>;
1097 u-boot,mux-autoprobe;
1101 muxcontroller1: emul-mux-controller {
1102 compatible = "mux-emul";
1103 #mux-control-cells = <0>;
1104 u-boot,mux-autoprobe;
1105 idle-state = <0xabcd>;
1109 compatible = "denx,u-boot-fdtm-test";
1112 testfdtm1: testfdtm1 {
1113 compatible = "denx,u-boot-fdtm-test";
1117 compatible = "denx,u-boot-fdtm-test";
1121 compatible = "sandbox,timer";
1122 clock-frequency = <1000000>;
1126 compatible = "sandbox,timer";
1127 sandbox,timebase-frequency-fallback;
1131 compatible = "sandbox,tpm2";
1135 compatible = "sandbox,serial";
1136 u-boot,dm-pre-reloc;
1137 pinctrl-names = "default";
1138 pinctrl-0 = <&pinmux_uart0_pins>;
1142 compatible = "sandbox,usb";
1143 status = "disabled";
1145 compatible = "sandbox,usb-hub";
1146 #address-cells = <1>;
1150 compatible = "sandbox,usb-flash";
1156 compatible = "sandbox,usb";
1158 compatible = "usb-hub";
1159 usb,device-class = <9>;
1160 #address-cells = <1>;
1163 compatible = "sandbox,usb-hub";
1164 #address-cells = <1>;
1168 compatible = "sandbox,usb-flash";
1169 sandbox,filepath = "testflash.bin";
1174 compatible = "sandbox,usb-flash";
1175 sandbox,filepath = "testflash1.bin";
1180 compatible = "sandbox,usb-flash";
1181 sandbox,filepath = "testflash2.bin";
1186 compatible = "sandbox,usb-keyb";
1201 compatible = "sandbox,usb";
1202 status = "disabled";
1206 compatible = "sandbox,spmi";
1207 #address-cells = <0x1>;
1208 #size-cells = <0x1>;
1211 compatible = "qcom,spmi-pmic";
1213 #address-cells = <0x1>;
1214 #size-cells = <0x1>;
1217 spmi_gpios: gpios@c000 {
1218 compatible = "qcom,pm8916-gpio";
1219 reg = <0xc000 0x400>;
1223 gpio-bank-name="spmi";
1229 compatible = "sandbox,wdt";
1233 compatible = "sandbox,axi";
1234 #address-cells = <0x1>;
1235 #size-cells = <0x1>;
1237 compatible = "sandbox,sandbox_store";
1243 #address-cells = <1>;
1245 setting = "sunrise ohoka";
1246 other-node = "/some-bus/c-test@5";
1247 int-values = <0x1937 72993>;
1248 u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>;
1250 compatible = "denx,u-boot-fdt-test";
1255 translation-test@8000 {
1256 compatible = "simple-bus";
1257 reg = <0x8000 0x4000>;
1259 #address-cells = <0x2>;
1260 #size-cells = <0x1>;
1262 ranges = <0 0x0 0x8000 0x1000
1263 1 0x100 0x9000 0x1000
1264 2 0x200 0xA000 0x1000
1265 3 0x300 0xB000 0x1000
1266 4 0x400 0xC000 0x1000
1269 dma-ranges = <0 0x000 0x10000000 0x1000
1270 1 0x100 0x20000000 0x1000
1274 compatible = "denx,u-boot-fdt-dummy";
1275 reg = <0 0x0 0x1000>;
1276 reg-names = "sandbox-dummy-0";
1280 compatible = "denx,u-boot-fdt-dummy";
1281 reg = <1 0x100 0x1000>;
1286 compatible = "denx,u-boot-fdt-dummy";
1287 reg = <2 0x200 0x1000>;
1292 compatible = "simple-bus";
1293 reg = <3 0x300 0x1000>;
1295 #address-cells = <0x1>;
1296 #size-cells = <0x0>;
1299 compatible = "denx,u-boot-fdt-dummy";
1305 compatible = "sandbox,zero-size-cells-bus";
1306 reg = <4 0x400 0x1000>;
1307 #address-cells = <1>;
1309 ranges = <0 4 0x400 0x1000>;
1312 #address-cells = <1>;
1316 compatible = "denx,u-boot-fdt-dummy";
1325 compatible = "sandbox,sandbox_osd";
1329 compatible = "sandbox,tee";
1333 compatible = "sandbox,virtio1";
1337 compatible = "sandbox,virtio2";
1341 compatible = "sandbox,scmi-devices";
1342 clocks = <&clk_scmi0 7>, <&clk_scmi0 3>, <&clk_scmi1 1>;
1343 resets = <&reset_scmi0 3>;
1344 regul0-supply = <®ul0_scmi0>;
1345 regul1-supply = <®ul1_scmi0>;
1349 compatible = "sandbox,pinctrl";
1351 pinctrl-names = "default", "alternate";
1352 pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>;
1353 pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>;
1355 pinctrl_gpios: gpios {
1369 pinmux = <SANDBOX_PINMUX(7, SANDBOX_PINMUX_GPIO)>;
1374 pinmux = <SANDBOX_PINMUX(8, SANDBOX_PINMUX_GPIO)>;
1381 groups = "I2C_UART";
1401 pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>,
1402 <SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>;
1407 pinctrl-single-no-width {
1408 compatible = "pinctrl-single";
1409 reg = <0x0000 0x238>;
1410 #pinctrl-cells = <1>;
1411 pinctrl-single,function-mask = <0x7f>;
1414 pinctrl-single-pins {
1415 compatible = "pinctrl-single";
1416 reg = <0x0000 0x238>;
1417 #pinctrl-cells = <1>;
1418 pinctrl-single,register-width = <32>;
1419 pinctrl-single,function-mask = <0x7f>;
1421 pinmux_pwm_pins: pinmux_pwm_pins {
1422 pinctrl-single,pins = < 0x48 0x06 >;
1425 pinmux_spi0_pins: pinmux_spi0_pins {
1426 pinctrl-single,pins = <
1434 pinmux_uart0_pins: pinmux_uart0_pins {
1435 pinctrl-single,pins = <
1442 pinctrl-single-bits {
1443 compatible = "pinctrl-single";
1444 reg = <0x0000 0x50>;
1445 #pinctrl-cells = <2>;
1446 pinctrl-single,bit-per-mux;
1447 pinctrl-single,register-width = <32>;
1448 pinctrl-single,function-mask = <0xf>;
1450 pinmux_i2c0_pins: pinmux_i2c0_pins {
1451 pinctrl-single,bits = <
1452 0x10 0x00002200 0x0000ff00
1456 pinmux_lcd_pins: pinmux_lcd_pins {
1457 pinctrl-single,bits = <
1458 0x40 0x22222200 0xffffff00
1459 0x44 0x22222222 0xffffffff
1460 0x48 0x00000022 0x000000ff
1461 0x48 0x02000000 0x0f000000
1462 0x4c 0x02000022 0x0f0000ff
1468 compatible = "sandbox,hwspinlock";
1472 compatible = "sandbox,dma";
1475 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
1476 dma-names = "m2m", "tx0", "rx0";
1480 * keep mdio-mux ahead of mdio so that the mux is removed first at the
1481 * end of the test. If parent mdio is removed first, clean-up of the
1482 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
1483 * active at the end of the test. That it turn doesn't allow the mdio
1484 * class to be destroyed, triggering an error.
1487 compatible = "sandbox,mdio-mux";
1488 #address-cells = <1>;
1490 mdio-parent-bus = <&mdio>;
1501 compatible = "sandbox,mdio";
1505 compatible = "simple-pm-bus";
1506 clocks = <&clk_sandbox 4>;
1507 power-domains = <&pwrdom 1>;
1510 resetc2: syscon-reset {
1511 compatible = "syscon-reset";
1513 regmap = <&syscon0>;
1515 mask = <0x27FFFFFF>;
1520 compatible = "sandbox,misc_sandbox";
1521 resets = <&resetc2 15>, <&resetc2 30>, <&resetc2 60>;
1522 reset-names = "valid", "no_mask", "out_of_range";
1526 compatible = "sandbox,sysinfo-sandbox";
1529 some_regmapped-bus {
1530 #address-cells = <0x1>;
1531 #size-cells = <0x1>;
1533 ranges = <0x0 0x0 0x10>;
1534 compatible = "simple-bus";
1538 compatible = "sandbox,regmap_test";
1543 #include "sandbox_pmic.dtsi"
1544 #include "cros-ec-keyboard.dtsi"