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";
64 compatible = "sandbox,audio-codec";
65 #sound-dai-cells = <1>;
69 compatible = "gpio-keys";
72 gpios = <&gpio_a 3 0>;
77 gpios = <&gpio_a 4 0>;
83 compatible = "adc-keys";
84 io-channels = <&adc 3>;
85 keyup-threshold-microvolt = <3000000>;
89 linux,code = <KEY_F3>;
90 press-threshold-microvolt = <1500000>;
95 linux,code = <KEY_F4>;
96 press-threshold-microvolt = <1000000>;
101 linux,code = <KEY_F5>;
102 press-threshold-microvolt = <500000>;
108 compatible = "google,cros-ec-sandbox";
111 * This describes the flash memory within the EC. Note
112 * that the STM32L flash erases to 0, not 0xff.
115 image-pos = <0x08000000>;
119 /* Information for sandbox */
125 image-pos = <0xf000>;
129 uncomp-size = <0xcf8>;
132 value = [00 01 02 03 04 05 06 07
133 08 09 0a 0b 0c 0d 0e 0f
134 10 11 12 13 14 15 16 17
135 18 19 1a 1b 1c 1d 1e 1f];
139 image-pos = <0x10000>;
146 compatible = "sandbox,dsi-host";
151 compatible = "denx,u-boot-fdt-test";
155 test-gpios = <&gpio_a 1>, <&gpio_a 4>,
156 <&gpio_b 5 GPIO_ACTIVE_HIGH 3 2 1>,
158 test2-gpios = <&gpio_a 1>, <&gpio_a 4>,
159 <&gpio_b 6 GPIO_ACTIVE_LOW 3 2 1>,
160 <&gpio_b 7 GPIO_IN 3 2 1>,
161 <&gpio_b 8 GPIO_OUT 3 2 1>,
162 <&gpio_b 9 (GPIO_OUT|GPIO_OUT_ACTIVE) 3 2 1>;
164 <&gpio_c 0 (GPIO_OUT|GPIO_OPEN_DRAIN)>,
165 <&gpio_c 1 (GPIO_OUT|GPIO_OPEN_SOURCE)>,
166 <&gpio_c 2 GPIO_OUT>,
167 <&gpio_c 3 (GPIO_IN|GPIO_PULL_UP)>,
168 <&gpio_c 4 (GPIO_IN|GPIO_PULL_DOWN)>,
170 <&gpio_c 6 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_DRAIN)>,
171 <&gpio_c 7 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_SOURCE)>;
172 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
173 test5-gpios = <&gpio_a 19>;
176 uint-value = <(-1234)>;
177 int64-value = /bits/ 64 <0x1111222233334444>;
178 int-array = <5678 9123 4567>;
179 str-value = "test string";
180 interrupts-extended = <&irq 3 0>;
182 phandle-value = <&gpio_c 10>, <0xFFFFFFFF 20>, <&gpio_a 30>;
184 mux-controls = <&muxcontroller0 0>, <&muxcontroller0 1>,
185 <&muxcontroller0 2>, <&muxcontroller0 3>,
187 mux-control-names = "mux0", "mux1", "mux2", "mux3", "mux4";
188 mux-syscon = <&syscon3>;
191 clock-frequency = <6500000>;
203 pixelclk-active = <1>;
209 clock-frequency = <9000000>;
221 pixelclk-active = <0>;
224 clock-frequency = <33500000>;
228 hfront-porch = <164>;
239 compatible = "not,compatible";
246 backlight: backlight {
247 compatible = "pwm-backlight";
248 enable-gpios = <&gpio_a 1>;
249 power-supply = <&ldo_1>;
250 pwms = <&pwm 0 1000>;
251 default-brightness-level = <5>;
252 brightness-levels = <0 16 32 64 128 170 202 234 255>;
256 compatible = "simple-bus";
258 compatible = "sandbox,phy";
263 compatible = "simple-bus";
269 compatible = "denx,u-boot-fdt-test";
273 mux-controls = <&muxcontroller0 0>;
274 mux-control-names = "mux0";
277 phy_provider0: gen_phy@0 {
278 compatible = "sandbox,phy";
282 phy_provider1: gen_phy@1 {
283 compatible = "sandbox,phy";
288 phy_provider2: gen_phy@2 {
289 compatible = "sandbox,phy";
293 gen_phy_user: gen_phy_user {
294 compatible = "simple-bus";
295 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
296 phy-names = "phy1", "phy2", "phy3";
299 gen_phy_user1: gen_phy_user1 {
300 compatible = "simple-bus";
301 phys = <&phy_provider0 0>, <&phy_provider2>;
302 phy-names = "phy1", "phy2";
306 #address-cells = <1>;
308 compatible = "denx,u-boot-test-bus";
313 compatible = "denx,u-boot-fdt-test";
319 compatible = "denx,u-boot-fdt-test";
325 compatible = "denx,u-boot-fdt-test";
336 compatible = "google,another-fdt-test";
343 compatible = "google,another-fdt-test";
347 compatible = "denx,u-boot-fdt-test";
351 compatible = "denx,u-boot-fdt-test";
355 compatible = "denx,u-boot-fdt-test1";
359 compatible = "mediatek,u-boot-fdt-test";
360 #address-cells = <1>;
377 compatible = "denx,u-boot-devres-test";
382 compatible = "denx,u-boot-fdt-test";
383 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
384 test5-gpios = <&gpio_a 19>;
388 #address-cells = <1>;
390 compatible = "denx,u-boot-test-bus";
391 dma-ranges = <0x10000000 0x00000000 0x00040000>;
394 compatible = "denx,u-boot-fdt-test";
399 #address-cells = <1>;
401 compatible = "denx,u-boot-test-bus";
404 compatible = "denx,u-boot-fdt-test";
408 acpi_test1: acpi-test {
409 compatible = "denx,u-boot-acpi-test";
410 acpi-ssdt-test-data = "ab";
411 acpi-dsdt-test-data = "hi";
413 compatible = "denx,u-boot-acpi-test";
417 acpi_test2: acpi-test2 {
418 compatible = "denx,u-boot-acpi-test";
419 acpi-ssdt-test-data = "cd";
420 acpi-dsdt-test-data = "jk";
424 clk_fixed: clk-fixed {
425 compatible = "fixed-clock";
427 clock-frequency = <1234>;
430 clk_fixed_factor: clk-fixed-factor {
431 compatible = "fixed-factor-clock";
435 clocks = <&clk_fixed>;
439 compatible = "fixed-clock";
441 clock-frequency = <20000000>;
445 clk_sandbox: clk-sbox {
446 compatible = "sandbox,clk";
448 assigned-clocks = <&clk_sandbox 3>;
449 assigned-clock-rates = <321>;
453 compatible = "sandbox,clk-test";
454 clocks = <&clk_fixed>,
459 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
463 compatible = "sandbox,clk-ccf";
467 compatible = "sandbox,eth";
468 reg = <0x10002000 0x1000>;
469 fake-host-hwaddr = [00 00 66 44 22 00];
472 eth_5: eth@10003000 {
473 compatible = "sandbox,eth";
474 reg = <0x10003000 0x1000>;
475 fake-host-hwaddr = [00 00 66 44 22 11];
479 compatible = "sandbox,eth";
480 reg = <0x10005000 0x1000>;
481 fake-host-hwaddr = [00 00 66 44 22 33];
485 compatible = "sandbox,eth";
486 reg = <0x10004000 0x1000>;
487 fake-host-hwaddr = [00 00 66 44 22 22];
490 dsa_eth0: dsa-test-eth {
491 compatible = "sandbox,eth";
492 reg = <0x10006000 0x1000>;
493 fake-host-hwaddr = [00 00 66 44 22 66];
497 compatible = "sandbox,dsa";
500 #address-cells = <1>;
505 phy-mode = "rgmii-rxid";
516 phy-mode = "rgmii-txid";
517 fixed-link = <0 1 100 0 0>;
522 ethernet = <&dsa_eth0>;
533 sandbox_firmware: sandbox-firmware {
534 compatible = "sandbox,firmware";
537 sandbox-scmi-agent@0 {
538 compatible = "sandbox,scmi-agent";
539 #address-cells = <1>;
542 clk_scmi0: protocol@14 {
547 reset_scmi0: protocol@16 {
556 #address-cells = <1>;
559 regul0_scmi0: reg@0 {
561 regulator-name = "sandbox-voltd0";
562 regulator-min-microvolt = <1100000>;
563 regulator-max-microvolt = <3300000>;
565 regul1_scmi0: reg@1 {
567 regulator-name = "sandbox-voltd1";
568 regulator-min-microvolt = <1800000>;
574 sandbox-scmi-agent@1 {
575 compatible = "sandbox,scmi-agent";
576 #address-cells = <1>;
579 clk_scmi1: protocol@14 {
591 compatible = "sandbox,pinctrl-gpio";
594 compatible = "sandbox,gpio";
597 gpio-bank-name = "a";
598 sandbox,gpio-count = <20>;
599 hog_input_active_low {
602 gpios = <10 GPIO_ACTIVE_LOW>;
604 hog_input_active_high {
607 gpios = <11 GPIO_ACTIVE_HIGH>;
612 gpios = <12 GPIO_ACTIVE_HIGH>;
617 gpios = <13 GPIO_ACTIVE_HIGH>;
621 gpio_b: extra-gpios {
622 compatible = "sandbox,gpio";
625 gpio-bank-name = "b";
626 sandbox,gpio-count = <10>;
629 gpio_c: pinmux-gpios {
630 compatible = "sandbox,gpio";
633 gpio-bank-name = "c";
634 sandbox,gpio-count = <10>;
639 #address-cells = <1>;
642 compatible = "sandbox,i2c";
643 clock-frequency = <100000>;
644 pinctrl-names = "default";
645 pinctrl-0 = <&pinmux_i2c0_pins>;
649 compatible = "i2c-eeprom";
650 sandbox,emul = <&emul_eeprom>;
652 compatible = "fixed-partitions";
653 #address-cells = <1>;
655 bootcount_i2c: bootcount@10 {
663 compatible = "sandbox-rtc";
664 sandbox,emul = <&emul0>;
669 compatible = "sandbox-rtc";
670 sandbox,emul = <&emul1>;
675 compatible = "sandbox,i2c-emul-parent";
676 emul_eeprom: emul-eeprom {
677 compatible = "sandbox,i2c-eeprom";
678 sandbox,filename = "i2c.bin";
679 sandbox,size = <256>;
682 compatible = "sandbox,i2c-rtc-emul";
685 compatible = "sandbox,i2c-rtc-emul";
689 sandbox_pmic: sandbox_pmic {
691 sandbox,emul = <&emul_pmic0>;
696 sandbox,emul = <&emul_pmic1>;
701 compatible = "u-boot,bootcount-rtc";
707 compatible = "u-boot,bootcount-i2c-eeprom";
708 i2c-eeprom = <&bootcount_i2c>;
712 compatible = "sandbox,adc";
713 #io-channel-cells = <1>;
714 vdd-supply = <&buck2>;
715 vss-microvolts = <0>;
719 compatible = "sandbox,irq";
720 interrupt-controller;
721 #interrupt-cells = <2>;
726 compatible = "sandbox,lcd-sdl";
727 pinctrl-names = "default";
728 pinctrl-0 = <&pinmux_lcd_pins>;
734 compatible = "gpio-leds";
737 gpios = <&gpio_a 1 0>;
738 label = "sandbox:red";
742 gpios = <&gpio_a 2 0>;
743 label = "sandbox:green";
747 gpios = <&gpio_a 5 0>;
748 label = "sandbox:default_on";
749 default-state = "on";
753 gpios = <&gpio_a 6 0>;
754 /* label intentionally omitted */
755 default-state = "off";
760 compatible = "sandbox,mbox";
765 compatible = "sandbox,mbox-test";
766 mboxes = <&mbox 100>, <&mbox 1>;
767 mbox-names = "other", "test";
771 timebase-frequency = <2000000>;
773 timebase-frequency = <3000000>;
774 compatible = "sandbox,cpu_sandbox";
779 compatible = "sandbox,cpu_sandbox";
784 compatible = "sandbox,cpu_sandbox";
790 compatible = "sandbox,soc";
794 compatible = "sandbox,i2s";
795 #sound-dai-cells = <1>;
796 sandbox,silent; /* Don't emit sounds while testing */
800 compatible = "sandbox,nop_sandbox1";
802 compatible = "sandbox,nop_sandbox2";
806 compatible = "sandbox,nop_sandbox2";
812 compatible = "sandbox,misc_sandbox";
816 compatible = "sandbox,mmc";
820 compatible = "sandbox,mmc";
824 compatible = "sandbox,mmc";
828 compatible = "sandbox,pch";
832 compatible = "sandbox,pci";
834 bus-range = <0x00 0xff>;
835 #address-cells = <3>;
837 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
838 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
840 compatible = "pci-generic";
841 reg = <0x0000 0 0 0 0>;
842 sandbox,emul = <&swap_case_emul0_0>;
845 compatible = "pci-generic";
846 /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
847 reg = <0x02000814 0 0 0 0
849 sandbox,emul = <&swap_case_emul0_1>;
852 compatible = "sandbox,p2sb";
853 reg = <0x02001010 0 0 0 0>;
854 sandbox,emul = <&p2sb_emul>;
857 intel,p2sb-port-id = <3>;
858 compatible = "sandbox,adder";
862 compatible = "sandbox,pmc";
863 reg = <0xf000 0 0 0 0>;
864 sandbox,emul = <&pmc_emul1e>;
866 gpe0-dwx-mask = <0xf>;
867 gpe0-dwx-shift-base = <4>;
873 compatible = "pci-generic";
874 /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
875 reg = <0x0100f810 0 0 0 0>;
876 sandbox,emul = <&swap_case_emul0_1f>;
881 compatible = "sandbox,pci-emul-parent";
882 swap_case_emul0_0: emul0@0,0 {
883 compatible = "sandbox,swap-case";
885 swap_case_emul0_1: emul0@1,0 {
886 compatible = "sandbox,swap-case";
889 swap_case_emul0_1f: emul0@1f,0 {
890 compatible = "sandbox,swap-case";
892 p2sb_emul: emul@2,0 {
893 compatible = "sandbox,p2sb-emul";
895 pmc_emul1e: emul@1e,0 {
896 compatible = "sandbox,pmc-emul";
901 compatible = "sandbox,pci";
903 bus-range = <0x00 0xff>;
904 #address-cells = <3>;
906 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 // MEM0
907 0x02000000 0 0x31000000 0x31000000 0 0x2000 // MEM1
908 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
909 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
910 0x0c 0x00 0x1234 0x5678
911 0x10 0x00 0x1234 0x5678>;
913 reg = <0x8000 0 0 0 0>;
918 compatible = "sandbox,pci";
920 bus-range = <0x00 0xff>;
921 #address-cells = <3>;
923 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
924 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
925 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
927 compatible = "pci-generic";
928 reg = <0xf800 0 0 0 0>;
929 sandbox,emul = <&swap_case_emul2_1f>;
934 compatible = "sandbox,pci-emul-parent";
935 swap_case_emul2_1f: emul2@1f,0 {
936 compatible = "sandbox,swap-case";
941 compatible = "sandbox,pci_ep";
945 compatible = "simple-bus";
947 compatible = "denx,u-boot-probe-test";
951 compatible = "denx,u-boot-probe-test";
955 compatible = "denx,u-boot-probe-test";
959 compatible = "denx,u-boot-probe-test";
960 first-syscon = <&syscon0>;
961 second-sys-ctrl = <&another_system_controller>;
962 third-syscon = <&syscon2>;
966 pwrdom: power-domain {
967 compatible = "sandbox,power-domain";
968 #power-domain-cells = <1>;
972 compatible = "sandbox,power-domain-test";
973 power-domains = <&pwrdom 2>;
977 compatible = "sandbox,pwm";
979 pinctrl-names = "default";
980 pinctrl-0 = <&pinmux_pwm_pins>;
984 compatible = "sandbox,pwm";
989 compatible = "sandbox,ram";
993 compatible = "sandbox,warm-reset";
997 compatible = "sandbox,reset";
1001 compatible = "sandbox,reset-ctl";
1006 compatible = "sandbox,reset-ctl-test";
1007 resets = <&resetc 100>, <&resetc 2>, <&resetc 20>, <&resetc 40>;
1008 reset-names = "other", "test", "test2", "test3";
1012 compatible = "sandbox,sandbox-rng";
1016 compatible = "sandbox,test-processor";
1017 remoteproc-name = "remoteproc-test-dev1";
1021 compatible = "sandbox,test-processor";
1022 internal-memory-mapped;
1023 remoteproc-name = "remoteproc-test-dev2";
1027 compatible = "simple-panel";
1028 backlight = <&backlight 0 100>;
1032 compatible = "sandbox,smem";
1036 compatible = "sandbox,sound";
1038 sound-dai = <&i2s 0>;
1042 sound-dai = <&audio 0>;
1047 #address-cells = <1>;
1050 compatible = "sandbox,spi";
1051 cs-gpios = <0>, <0>, <&gpio_a 0>;
1052 pinctrl-names = "default";
1053 pinctrl-0 = <&pinmux_spi0_pins>;
1057 compatible = "spansion,m25p16", "jedec,spi-nor";
1058 spi-max-frequency = <40000000>;
1059 sandbox,filename = "spi.bin";
1063 compatible = "spansion,m25p16", "jedec,spi-nor";
1064 spi-max-frequency = <50000000>;
1065 sandbox,filename = "spi.bin";
1072 compatible = "sandbox,syscon0";
1076 another_system_controller: syscon@1 {
1077 compatible = "sandbox,syscon1";
1085 compatible = "simple-mfd", "syscon";
1093 compatible = "simple-mfd", "syscon";
1094 reg = <0x000100 0x10>;
1096 muxcontroller0: a-mux-controller {
1097 compatible = "mmio-mux";
1098 #mux-control-cells = <1>;
1100 mux-reg-masks = <0x0 0x30>, /* 0: reg 0x0, bits 5:4 */
1101 <0xc 0x1E>, /* 1: reg 0xc, bits 4:1 */
1102 <0x4 0xFF>; /* 2: reg 0x4, bits 7:0 */
1103 idle-states = <MUX_IDLE_AS_IS>, <0x02>, <0x73>;
1104 u-boot,mux-autoprobe;
1108 muxcontroller1: emul-mux-controller {
1109 compatible = "mux-emul";
1110 #mux-control-cells = <0>;
1111 u-boot,mux-autoprobe;
1112 idle-state = <0xabcd>;
1116 compatible = "denx,u-boot-fdtm-test";
1119 testfdtm1: testfdtm1 {
1120 compatible = "denx,u-boot-fdtm-test";
1124 compatible = "denx,u-boot-fdtm-test";
1128 compatible = "sandbox,timer";
1129 clock-frequency = <1000000>;
1133 compatible = "sandbox,timer";
1134 sandbox,timebase-frequency-fallback;
1138 compatible = "sandbox,tpm2";
1142 compatible = "sandbox,serial";
1143 u-boot,dm-pre-reloc;
1144 pinctrl-names = "default";
1145 pinctrl-0 = <&pinmux_uart0_pins>;
1149 compatible = "sandbox,usb";
1150 status = "disabled";
1152 compatible = "sandbox,usb-hub";
1153 #address-cells = <1>;
1157 compatible = "sandbox,usb-flash";
1163 compatible = "sandbox,usb";
1165 compatible = "usb-hub";
1166 usb,device-class = <9>;
1167 #address-cells = <1>;
1170 compatible = "sandbox,usb-hub";
1171 #address-cells = <1>;
1175 compatible = "sandbox,usb-flash";
1176 sandbox,filepath = "testflash.bin";
1181 compatible = "sandbox,usb-flash";
1182 sandbox,filepath = "testflash1.bin";
1187 compatible = "sandbox,usb-flash";
1188 sandbox,filepath = "testflash2.bin";
1193 compatible = "sandbox,usb-keyb";
1208 compatible = "sandbox,usb";
1209 status = "disabled";
1213 compatible = "sandbox,spmi";
1214 #address-cells = <0x1>;
1215 #size-cells = <0x1>;
1218 compatible = "qcom,spmi-pmic";
1220 #address-cells = <0x1>;
1221 #size-cells = <0x1>;
1224 spmi_gpios: gpios@c000 {
1225 compatible = "qcom,pm8916-gpio";
1226 reg = <0xc000 0x400>;
1230 gpio-bank-name="spmi";
1236 compatible = "sandbox,wdt";
1240 compatible = "sandbox,axi";
1241 #address-cells = <0x1>;
1242 #size-cells = <0x1>;
1244 compatible = "sandbox,sandbox_store";
1250 #address-cells = <1>;
1252 setting = "sunrise ohoka";
1253 other-node = "/some-bus/c-test@5";
1254 int-values = <0x1937 72993>;
1255 u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>;
1257 compatible = "denx,u-boot-fdt-test";
1262 translation-test@8000 {
1263 compatible = "simple-bus";
1264 reg = <0x8000 0x4000>;
1266 #address-cells = <0x2>;
1267 #size-cells = <0x1>;
1269 ranges = <0 0x0 0x8000 0x1000
1270 1 0x100 0x9000 0x1000
1271 2 0x200 0xA000 0x1000
1272 3 0x300 0xB000 0x1000
1273 4 0x400 0xC000 0x1000
1276 dma-ranges = <0 0x000 0x10000000 0x1000
1277 1 0x100 0x20000000 0x1000
1281 compatible = "denx,u-boot-fdt-dummy";
1282 reg = <0 0x0 0x1000>;
1283 reg-names = "sandbox-dummy-0";
1287 compatible = "denx,u-boot-fdt-dummy";
1288 reg = <1 0x100 0x1000>;
1293 compatible = "denx,u-boot-fdt-dummy";
1294 reg = <2 0x200 0x1000>;
1299 compatible = "simple-bus";
1300 reg = <3 0x300 0x1000>;
1302 #address-cells = <0x1>;
1303 #size-cells = <0x0>;
1306 compatible = "denx,u-boot-fdt-dummy";
1312 compatible = "sandbox,zero-size-cells-bus";
1313 reg = <4 0x400 0x1000>;
1314 #address-cells = <1>;
1316 ranges = <0 4 0x400 0x1000>;
1319 #address-cells = <1>;
1323 compatible = "denx,u-boot-fdt-dummy";
1332 compatible = "sandbox,sandbox_osd";
1336 compatible = "sandbox,tee";
1340 compatible = "sandbox,virtio1";
1344 compatible = "sandbox,virtio2";
1348 compatible = "sandbox,scmi-devices";
1349 clocks = <&clk_scmi0 7>, <&clk_scmi0 3>, <&clk_scmi1 1>;
1350 resets = <&reset_scmi0 3>;
1351 regul0-supply = <®ul0_scmi0>;
1352 regul1-supply = <®ul1_scmi0>;
1356 compatible = "sandbox,pinctrl";
1358 pinctrl-names = "default", "alternate";
1359 pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>;
1360 pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>;
1362 pinctrl_gpios: gpios {
1376 pinmux = <SANDBOX_PINMUX(7, SANDBOX_PINMUX_GPIO)>;
1381 pinmux = <SANDBOX_PINMUX(8, SANDBOX_PINMUX_GPIO)>;
1388 groups = "I2C_UART";
1408 pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>,
1409 <SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>;
1414 pinctrl-single-no-width {
1415 compatible = "pinctrl-single";
1416 reg = <0x0000 0x238>;
1417 #pinctrl-cells = <1>;
1418 pinctrl-single,function-mask = <0x7f>;
1421 pinctrl-single-pins {
1422 compatible = "pinctrl-single";
1423 reg = <0x0000 0x238>;
1424 #pinctrl-cells = <1>;
1425 pinctrl-single,register-width = <32>;
1426 pinctrl-single,function-mask = <0x7f>;
1428 pinmux_pwm_pins: pinmux_pwm_pins {
1429 pinctrl-single,pins = < 0x48 0x06 >;
1432 pinmux_spi0_pins: pinmux_spi0_pins {
1433 pinctrl-single,pins = <
1441 pinmux_uart0_pins: pinmux_uart0_pins {
1442 pinctrl-single,pins = <
1449 pinctrl-single-bits {
1450 compatible = "pinctrl-single";
1451 reg = <0x0000 0x50>;
1452 #pinctrl-cells = <2>;
1453 pinctrl-single,bit-per-mux;
1454 pinctrl-single,register-width = <32>;
1455 pinctrl-single,function-mask = <0xf>;
1457 pinmux_i2c0_pins: pinmux_i2c0_pins {
1458 pinctrl-single,bits = <
1459 0x10 0x00002200 0x0000ff00
1463 pinmux_lcd_pins: pinmux_lcd_pins {
1464 pinctrl-single,bits = <
1465 0x40 0x22222200 0xffffff00
1466 0x44 0x22222222 0xffffffff
1467 0x48 0x00000022 0x000000ff
1468 0x48 0x02000000 0x0f000000
1469 0x4c 0x02000022 0x0f0000ff
1475 compatible = "sandbox,hwspinlock";
1479 compatible = "sandbox,dma";
1482 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
1483 dma-names = "m2m", "tx0", "rx0";
1487 * keep mdio-mux ahead of mdio so that the mux is removed first at the
1488 * end of the test. If parent mdio is removed first, clean-up of the
1489 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
1490 * active at the end of the test. That it turn doesn't allow the mdio
1491 * class to be destroyed, triggering an error.
1494 compatible = "sandbox,mdio-mux";
1495 #address-cells = <1>;
1497 mdio-parent-bus = <&mdio>;
1508 compatible = "sandbox,mdio";
1512 compatible = "simple-pm-bus";
1513 clocks = <&clk_sandbox 4>;
1514 power-domains = <&pwrdom 1>;
1517 resetc2: syscon-reset {
1518 compatible = "syscon-reset";
1520 regmap = <&syscon0>;
1522 mask = <0x27FFFFFF>;
1527 compatible = "sandbox,misc_sandbox";
1528 resets = <&resetc2 15>, <&resetc2 30>, <&resetc2 60>;
1529 reset-names = "valid", "no_mask", "out_of_range";
1533 compatible = "sandbox,sysinfo-sandbox";
1537 compatible = "gpio-sysinfo";
1538 gpios = <&gpio_a 15>, <&gpio_a 16>, <&gpio_a 17>;
1539 revisions = <19>, <5>;
1540 names = "rev_a", "foo";
1543 some_regmapped-bus {
1544 #address-cells = <0x1>;
1545 #size-cells = <0x1>;
1547 ranges = <0x0 0x0 0x10>;
1548 compatible = "simple-bus";
1552 compatible = "sandbox,regmap_test";
1557 #include "sandbox_pmic.dtsi"
1558 #include "cros-ec-keyboard.dtsi"