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>;
71 compatible = "sandbox,audio-codec";
72 #sound-dai-cells = <1>;
76 compatible = "gpio-keys";
79 gpios = <&gpio_a 3 0>;
84 gpios = <&gpio_a 4 0>;
90 compatible = "adc-keys";
91 io-channels = <&adc 3>;
92 keyup-threshold-microvolt = <3000000>;
96 linux,code = <KEY_F3>;
97 press-threshold-microvolt = <1500000>;
102 linux,code = <KEY_F4>;
103 press-threshold-microvolt = <1000000>;
108 linux,code = <KEY_F5>;
109 press-threshold-microvolt = <500000>;
115 compatible = "google,cros-ec-sandbox";
118 * This describes the flash memory within the EC. Note
119 * that the STM32L flash erases to 0, not 0xff.
122 image-pos = <0x08000000>;
126 /* Information for sandbox */
132 image-pos = <0xf000>;
136 uncomp-size = <0xcf8>;
139 value = [00 01 02 03 04 05 06 07
140 08 09 0a 0b 0c 0d 0e 0f
141 10 11 12 13 14 15 16 17
142 18 19 1a 1b 1c 1d 1e 1f];
146 image-pos = <0x10000>;
151 cros_ec_pwm: cros-ec-pwm {
152 compatible = "google,cros-ec-pwm";
159 compatible = "sandbox,dsi-host";
164 compatible = "denx,u-boot-fdt-test";
168 test-gpios = <&gpio_a 1>, <&gpio_a 4>,
169 <&gpio_b 5 GPIO_ACTIVE_HIGH 3 2 1>,
171 test2-gpios = <&gpio_a 1>, <&gpio_a 4>,
172 <&gpio_b 6 GPIO_ACTIVE_LOW 3 2 1>,
173 <&gpio_b 7 GPIO_IN 3 2 1>,
174 <&gpio_b 8 GPIO_OUT 3 2 1>,
175 <&gpio_b 9 (GPIO_OUT|GPIO_OUT_ACTIVE) 3 2 1>;
177 <&gpio_c 0 (GPIO_OUT|GPIO_OPEN_DRAIN)>,
178 <&gpio_c 1 (GPIO_OUT|GPIO_OPEN_SOURCE)>,
179 <&gpio_c 2 GPIO_OUT>,
180 <&gpio_c 3 (GPIO_IN|GPIO_PULL_UP)>,
181 <&gpio_c 4 (GPIO_IN|GPIO_PULL_DOWN)>,
183 <&gpio_c 6 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_DRAIN)>,
184 <&gpio_c 7 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_SOURCE)>;
185 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
186 test5-gpios = <&gpio_a 19>;
189 uint-value = <(-1234)>;
190 int64-value = /bits/ 64 <0x1111222233334444>;
191 int-array = <5678 9123 4567>;
192 str-value = "test string";
193 interrupts-extended = <&irq 3 0>;
195 phandle-value = <&gpio_c 10>, <0xFFFFFFFF 20>, <&gpio_a 30>;
197 mux-controls = <&muxcontroller0 0>, <&muxcontroller0 1>,
198 <&muxcontroller0 2>, <&muxcontroller0 3>,
200 mux-control-names = "mux0", "mux1", "mux2", "mux3", "mux4";
201 mux-syscon = <&syscon3>;
204 clock-frequency = <6500000>;
216 pixelclk-active = <1>;
222 clock-frequency = <9000000>;
234 pixelclk-active = <0>;
237 clock-frequency = <33500000>;
241 hfront-porch = <164>;
252 compatible = "not,compatible";
259 backlight: backlight {
260 compatible = "pwm-backlight";
261 enable-gpios = <&gpio_a 1>;
262 power-supply = <&ldo_1>;
263 pwms = <&pwm 0 1000>;
264 default-brightness-level = <5>;
265 brightness-levels = <0 16 32 64 128 170 202 234 255>;
269 compatible = "simple-bus";
271 compatible = "sandbox,phy";
276 compatible = "simple-bus";
282 compatible = "denx,u-boot-fdt-test";
286 mux-controls = <&muxcontroller0 0>;
287 mux-control-names = "mux0";
290 phy_provider0: gen_phy@0 {
291 compatible = "sandbox,phy";
295 phy_provider1: gen_phy@1 {
296 compatible = "sandbox,phy";
301 phy_provider2: gen_phy@2 {
302 compatible = "sandbox,phy";
306 gen_phy_user: gen_phy_user {
307 compatible = "simple-bus";
308 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
309 phy-names = "phy1", "phy2", "phy3";
312 gen_phy_user1: gen_phy_user1 {
313 compatible = "simple-bus";
314 phys = <&phy_provider0 0>, <&phy_provider2>;
315 phy-names = "phy1", "phy2";
319 #address-cells = <1>;
321 compatible = "denx,u-boot-test-bus";
326 compatible = "denx,u-boot-fdt-test";
332 compatible = "denx,u-boot-fdt-test";
338 compatible = "denx,u-boot-fdt-test";
349 compatible = "google,another-fdt-test";
356 compatible = "google,another-fdt-test";
360 compatible = "denx,u-boot-fdt-test";
364 compatible = "denx,u-boot-fdt-test";
368 compatible = "denx,u-boot-fdt-test1";
372 compatible = "mediatek,u-boot-fdt-test";
373 #address-cells = <1>;
390 compatible = "denx,u-boot-devres-test";
395 compatible = "denx,u-boot-fdt-test";
396 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
397 test5-gpios = <&gpio_a 19>;
401 #address-cells = <1>;
403 compatible = "denx,u-boot-test-bus";
404 dma-ranges = <0x10000000 0x00000000 0x00040000>;
407 compatible = "denx,u-boot-fdt-test";
412 #address-cells = <1>;
414 compatible = "denx,u-boot-test-bus";
417 compatible = "denx,u-boot-fdt-test";
421 acpi_test1: acpi-test {
422 compatible = "denx,u-boot-acpi-test";
423 acpi-ssdt-test-data = "ab";
424 acpi-dsdt-test-data = "hi";
426 compatible = "denx,u-boot-acpi-test";
430 acpi_test2: acpi-test2 {
431 compatible = "denx,u-boot-acpi-test";
432 acpi-ssdt-test-data = "cd";
433 acpi-dsdt-test-data = "jk";
437 clk_fixed: clk-fixed {
438 compatible = "fixed-clock";
440 clock-frequency = <1234>;
443 clk_fixed_factor: clk-fixed-factor {
444 compatible = "fixed-factor-clock";
448 clocks = <&clk_fixed>;
452 compatible = "fixed-clock";
454 clock-frequency = <20000000>;
458 clk_sandbox: clk-sbox {
459 compatible = "sandbox,clk";
461 assigned-clocks = <&clk_sandbox 3>;
462 assigned-clock-rates = <321>;
466 compatible = "sandbox,clk-test";
467 clocks = <&clk_fixed>,
472 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
476 compatible = "sandbox,clk-ccf";
480 compatible = "sandbox,eth";
481 reg = <0x10002000 0x1000>;
482 fake-host-hwaddr = [00 00 66 44 22 00];
485 eth_5: eth@10003000 {
486 compatible = "sandbox,eth";
487 reg = <0x10003000 0x1000>;
488 fake-host-hwaddr = [00 00 66 44 22 11];
492 compatible = "sandbox,eth";
493 reg = <0x10005000 0x1000>;
494 fake-host-hwaddr = [00 00 66 44 22 33];
498 compatible = "sandbox,eth";
499 reg = <0x10004000 0x1000>;
500 fake-host-hwaddr = [00 00 66 44 22 22];
503 dsa_eth0: dsa-test-eth {
504 compatible = "sandbox,eth";
505 reg = <0x10006000 0x1000>;
506 fake-host-hwaddr = [00 00 66 44 22 66];
510 compatible = "sandbox,dsa";
513 #address-cells = <1>;
518 phy-mode = "rgmii-rxid";
529 phy-mode = "rgmii-txid";
530 fixed-link = <0 1 100 0 0>;
535 ethernet = <&dsa_eth0>;
546 sandbox_firmware: sandbox-firmware {
547 compatible = "sandbox,firmware";
550 sandbox-scmi-agent@0 {
551 compatible = "sandbox,scmi-agent";
552 #address-cells = <1>;
555 clk_scmi0: protocol@14 {
560 reset_scmi0: protocol@16 {
569 #address-cells = <1>;
572 regul0_scmi0: reg@0 {
574 regulator-name = "sandbox-voltd0";
575 regulator-min-microvolt = <1100000>;
576 regulator-max-microvolt = <3300000>;
578 regul1_scmi0: reg@1 {
580 regulator-name = "sandbox-voltd1";
581 regulator-min-microvolt = <1800000>;
587 sandbox-scmi-agent@1 {
588 compatible = "sandbox,scmi-agent";
589 #address-cells = <1>;
592 clk_scmi1: protocol@14 {
604 compatible = "sandbox,pinctrl-gpio";
607 compatible = "sandbox,gpio";
610 gpio-bank-name = "a";
611 sandbox,gpio-count = <20>;
612 hog_input_active_low {
615 gpios = <10 GPIO_ACTIVE_LOW>;
617 hog_input_active_high {
620 gpios = <11 GPIO_ACTIVE_HIGH>;
625 gpios = <12 GPIO_ACTIVE_HIGH>;
630 gpios = <13 GPIO_ACTIVE_HIGH>;
634 gpio_b: extra-gpios {
635 compatible = "sandbox,gpio";
638 gpio-bank-name = "b";
639 sandbox,gpio-count = <10>;
642 gpio_c: pinmux-gpios {
643 compatible = "sandbox,gpio";
646 gpio-bank-name = "c";
647 sandbox,gpio-count = <10>;
652 #address-cells = <1>;
655 compatible = "sandbox,i2c";
656 clock-frequency = <100000>;
657 pinctrl-names = "default";
658 pinctrl-0 = <&pinmux_i2c0_pins>;
662 compatible = "i2c-eeprom";
663 sandbox,emul = <&emul_eeprom>;
665 compatible = "fixed-partitions";
666 #address-cells = <1>;
668 bootcount_i2c: bootcount@10 {
676 compatible = "sandbox-rtc";
677 sandbox,emul = <&emul0>;
682 compatible = "sandbox-rtc";
683 sandbox,emul = <&emul1>;
688 compatible = "sandbox,i2c-emul-parent";
689 emul_eeprom: emul-eeprom {
690 compatible = "sandbox,i2c-eeprom";
691 sandbox,filename = "i2c.bin";
692 sandbox,size = <256>;
695 compatible = "sandbox,i2c-rtc-emul";
698 compatible = "sandbox,i2c-rtc-emul";
702 sandbox_pmic: sandbox_pmic {
704 sandbox,emul = <&emul_pmic0>;
709 sandbox,emul = <&emul_pmic1>;
714 compatible = "u-boot,bootcount-rtc";
720 compatible = "u-boot,bootcount-i2c-eeprom";
721 i2c-eeprom = <&bootcount_i2c>;
725 compatible = "sandbox,adc";
726 #io-channel-cells = <1>;
727 vdd-supply = <&buck2>;
728 vss-microvolts = <0>;
732 compatible = "sandbox,irq";
733 interrupt-controller;
734 #interrupt-cells = <2>;
739 compatible = "sandbox,lcd-sdl";
740 pinctrl-names = "default";
741 pinctrl-0 = <&pinmux_lcd_pins>;
747 compatible = "gpio-leds";
750 gpios = <&gpio_a 1 0>;
751 label = "sandbox:red";
755 gpios = <&gpio_a 2 0>;
756 label = "sandbox:green";
760 gpios = <&gpio_a 5 0>;
761 label = "sandbox:default_on";
762 default-state = "on";
766 gpios = <&gpio_a 6 0>;
767 /* label intentionally omitted */
768 default-state = "off";
773 compatible = "sandbox,mbox";
778 compatible = "sandbox,mbox-test";
779 mboxes = <&mbox 100>, <&mbox 1>;
780 mbox-names = "other", "test";
784 timebase-frequency = <2000000>;
786 timebase-frequency = <3000000>;
787 compatible = "sandbox,cpu_sandbox";
792 compatible = "sandbox,cpu_sandbox";
797 compatible = "sandbox,cpu_sandbox";
803 compatible = "sandbox,soc";
807 compatible = "sandbox,i2s";
808 #sound-dai-cells = <1>;
809 sandbox,silent; /* Don't emit sounds while testing */
813 compatible = "sandbox,nop_sandbox1";
815 compatible = "sandbox,nop_sandbox2";
819 compatible = "sandbox,nop_sandbox2";
825 compatible = "sandbox,misc_sandbox";
829 compatible = "sandbox,mmc";
834 compatible = "sandbox,mmc";
838 compatible = "sandbox,mmc";
842 compatible = "sandbox,pch";
846 compatible = "sandbox,pci";
848 bus-range = <0x00 0xff>;
849 #address-cells = <3>;
851 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
852 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
854 compatible = "pci-generic";
855 reg = <0x0000 0 0 0 0>;
856 sandbox,emul = <&swap_case_emul0_0>;
859 compatible = "pci-generic";
860 /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
861 reg = <0x02000814 0 0 0 0
863 sandbox,emul = <&swap_case_emul0_1>;
866 compatible = "sandbox,p2sb";
867 reg = <0x02001010 0 0 0 0>;
868 sandbox,emul = <&p2sb_emul>;
871 intel,p2sb-port-id = <3>;
872 compatible = "sandbox,adder";
876 compatible = "sandbox,pmc";
877 reg = <0xf000 0 0 0 0>;
878 sandbox,emul = <&pmc_emul1e>;
880 gpe0-dwx-mask = <0xf>;
881 gpe0-dwx-shift-base = <4>;
887 compatible = "pci-generic";
888 /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
889 reg = <0x0100f810 0 0 0 0>;
890 sandbox,emul = <&swap_case_emul0_1f>;
895 compatible = "sandbox,pci-emul-parent";
896 swap_case_emul0_0: emul0@0,0 {
897 compatible = "sandbox,swap-case";
899 swap_case_emul0_1: emul0@1,0 {
900 compatible = "sandbox,swap-case";
903 swap_case_emul0_1f: emul0@1f,0 {
904 compatible = "sandbox,swap-case";
906 p2sb_emul: emul@2,0 {
907 compatible = "sandbox,p2sb-emul";
909 pmc_emul1e: emul@1e,0 {
910 compatible = "sandbox,pmc-emul";
915 compatible = "sandbox,pci";
917 bus-range = <0x00 0xff>;
918 #address-cells = <3>;
920 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 // MEM0
921 0x02000000 0 0x31000000 0x31000000 0 0x2000 // MEM1
922 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
923 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
924 0x0c 0x00 0x1234 0x5678
925 0x10 0x00 0x1234 0x5678>;
927 reg = <0x8000 0 0 0 0>;
932 compatible = "sandbox,pci";
934 bus-range = <0x00 0xff>;
935 #address-cells = <3>;
937 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
938 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
939 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
941 compatible = "pci-generic";
942 reg = <0xf800 0 0 0 0>;
943 sandbox,emul = <&swap_case_emul2_1f>;
948 compatible = "sandbox,pci-emul-parent";
949 swap_case_emul2_1f: emul2@1f,0 {
950 compatible = "sandbox,swap-case";
955 compatible = "sandbox,pci_ep";
959 compatible = "simple-bus";
961 compatible = "denx,u-boot-probe-test";
965 compatible = "denx,u-boot-probe-test";
969 compatible = "denx,u-boot-probe-test";
973 compatible = "denx,u-boot-probe-test";
974 first-syscon = <&syscon0>;
975 second-sys-ctrl = <&another_system_controller>;
976 third-syscon = <&syscon2>;
980 pwrdom: power-domain {
981 compatible = "sandbox,power-domain";
982 #power-domain-cells = <1>;
986 compatible = "sandbox,power-domain-test";
987 power-domains = <&pwrdom 2>;
991 compatible = "sandbox,pwm";
993 pinctrl-names = "default";
994 pinctrl-0 = <&pinmux_pwm_pins>;
998 compatible = "sandbox,pwm";
1003 compatible = "sandbox,ram";
1007 compatible = "sandbox,warm-reset";
1011 compatible = "sandbox,reset";
1015 compatible = "sandbox,reset-ctl";
1020 compatible = "sandbox,reset-ctl-test";
1021 resets = <&resetc 100>, <&resetc 2>, <&resetc 20>, <&resetc 40>;
1022 reset-names = "other", "test", "test2", "test3";
1026 compatible = "sandbox,sandbox-rng";
1030 compatible = "sandbox,test-processor";
1031 remoteproc-name = "remoteproc-test-dev1";
1035 compatible = "sandbox,test-processor";
1036 internal-memory-mapped;
1037 remoteproc-name = "remoteproc-test-dev2";
1041 compatible = "simple-panel";
1042 backlight = <&backlight 0 100>;
1046 compatible = "sandbox,smem";
1050 compatible = "sandbox,sound";
1052 sound-dai = <&i2s 0>;
1056 sound-dai = <&audio 0>;
1061 #address-cells = <1>;
1064 compatible = "sandbox,spi";
1065 cs-gpios = <0>, <0>, <&gpio_a 0>;
1066 pinctrl-names = "default";
1067 pinctrl-0 = <&pinmux_spi0_pins>;
1071 compatible = "spansion,m25p16", "jedec,spi-nor";
1072 spi-max-frequency = <40000000>;
1073 sandbox,filename = "spi.bin";
1077 compatible = "spansion,m25p16", "jedec,spi-nor";
1078 spi-max-frequency = <50000000>;
1079 sandbox,filename = "spi.bin";
1086 compatible = "sandbox,syscon0";
1090 another_system_controller: syscon@1 {
1091 compatible = "sandbox,syscon1";
1099 compatible = "simple-mfd", "syscon";
1107 compatible = "simple-mfd", "syscon";
1108 reg = <0x000100 0x10>;
1110 muxcontroller0: a-mux-controller {
1111 compatible = "mmio-mux";
1112 #mux-control-cells = <1>;
1114 mux-reg-masks = <0x0 0x30>, /* 0: reg 0x0, bits 5:4 */
1115 <0xc 0x1E>, /* 1: reg 0xc, bits 4:1 */
1116 <0x4 0xFF>; /* 2: reg 0x4, bits 7:0 */
1117 idle-states = <MUX_IDLE_AS_IS>, <0x02>, <0x73>;
1118 u-boot,mux-autoprobe;
1122 muxcontroller1: emul-mux-controller {
1123 compatible = "mux-emul";
1124 #mux-control-cells = <0>;
1125 u-boot,mux-autoprobe;
1126 idle-state = <0xabcd>;
1130 compatible = "denx,u-boot-fdtm-test";
1133 testfdtm1: testfdtm1 {
1134 compatible = "denx,u-boot-fdtm-test";
1138 compatible = "denx,u-boot-fdtm-test";
1142 compatible = "sandbox,timer";
1143 clock-frequency = <1000000>;
1147 compatible = "sandbox,timer";
1148 sandbox,timebase-frequency-fallback;
1152 compatible = "sandbox,tpm2";
1156 compatible = "sandbox,serial";
1157 u-boot,dm-pre-reloc;
1158 pinctrl-names = "default";
1159 pinctrl-0 = <&pinmux_uart0_pins>;
1163 compatible = "sandbox,usb";
1164 status = "disabled";
1166 compatible = "sandbox,usb-hub";
1167 #address-cells = <1>;
1171 compatible = "sandbox,usb-flash";
1177 compatible = "sandbox,usb";
1179 compatible = "usb-hub";
1180 usb,device-class = <9>;
1181 #address-cells = <1>;
1184 compatible = "sandbox,usb-hub";
1185 #address-cells = <1>;
1189 compatible = "sandbox,usb-flash";
1190 sandbox,filepath = "testflash.bin";
1195 compatible = "sandbox,usb-flash";
1196 sandbox,filepath = "testflash1.bin";
1201 compatible = "sandbox,usb-flash";
1202 sandbox,filepath = "testflash2.bin";
1207 compatible = "sandbox,usb-keyb";
1222 compatible = "sandbox,usb";
1223 status = "disabled";
1227 compatible = "sandbox,spmi";
1228 #address-cells = <0x1>;
1229 #size-cells = <0x1>;
1232 compatible = "qcom,spmi-pmic";
1234 #address-cells = <0x1>;
1235 #size-cells = <0x1>;
1238 spmi_gpios: gpios@c000 {
1239 compatible = "qcom,pm8916-gpio";
1240 reg = <0xc000 0x400>;
1244 gpio-bank-name="spmi";
1250 compatible = "sandbox,wdt";
1254 compatible = "sandbox,axi";
1255 #address-cells = <0x1>;
1256 #size-cells = <0x1>;
1258 compatible = "sandbox,sandbox_store";
1264 #address-cells = <1>;
1266 setting = "sunrise ohoka";
1267 other-node = "/some-bus/c-test@5";
1268 int-values = <0x1937 72993>;
1269 u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>;
1271 compatible = "denx,u-boot-fdt-test";
1276 translation-test@8000 {
1277 compatible = "simple-bus";
1278 reg = <0x8000 0x4000>;
1280 #address-cells = <0x2>;
1281 #size-cells = <0x1>;
1283 ranges = <0 0x0 0x8000 0x1000
1284 1 0x100 0x9000 0x1000
1285 2 0x200 0xA000 0x1000
1286 3 0x300 0xB000 0x1000
1289 dma-ranges = <0 0x000 0x10000000 0x1000
1290 1 0x100 0x20000000 0x1000
1294 compatible = "denx,u-boot-fdt-dummy";
1295 reg = <0 0x0 0x1000>;
1296 reg-names = "sandbox-dummy-0";
1300 compatible = "denx,u-boot-fdt-dummy";
1301 reg = <1 0x100 0x1000>;
1306 compatible = "denx,u-boot-fdt-dummy";
1307 reg = <2 0x200 0x1000>;
1312 compatible = "simple-bus";
1313 reg = <3 0x300 0x1000>;
1315 #address-cells = <0x1>;
1316 #size-cells = <0x0>;
1319 compatible = "denx,u-boot-fdt-dummy";
1326 compatible = "sandbox,sandbox_osd";
1330 compatible = "sandbox,tee";
1334 compatible = "sandbox,virtio1";
1338 compatible = "sandbox,virtio2";
1342 compatible = "sandbox,scmi-devices";
1343 clocks = <&clk_scmi0 7>, <&clk_scmi0 3>, <&clk_scmi1 1>;
1344 resets = <&reset_scmi0 3>;
1345 regul0-supply = <®ul0_scmi0>;
1346 regul1-supply = <®ul1_scmi0>;
1350 compatible = "sandbox,pinctrl";
1352 pinctrl-names = "default", "alternate";
1353 pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>;
1354 pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>;
1356 pinctrl_gpios: gpios {
1370 pinmux = <SANDBOX_PINMUX(7, SANDBOX_PINMUX_GPIO)>;
1375 pinmux = <SANDBOX_PINMUX(8, SANDBOX_PINMUX_GPIO)>;
1382 groups = "I2C_UART";
1402 pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>,
1403 <SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>;
1408 pinctrl-single-no-width {
1409 compatible = "pinctrl-single";
1410 reg = <0x0000 0x238>;
1411 #pinctrl-cells = <1>;
1412 pinctrl-single,function-mask = <0x7f>;
1415 pinctrl-single-pins {
1416 compatible = "pinctrl-single";
1417 reg = <0x0000 0x238>;
1418 #pinctrl-cells = <1>;
1419 pinctrl-single,register-width = <32>;
1420 pinctrl-single,function-mask = <0x7f>;
1422 pinmux_pwm_pins: pinmux_pwm_pins {
1423 pinctrl-single,pins = < 0x48 0x06 >;
1426 pinmux_spi0_pins: pinmux_spi0_pins {
1427 pinctrl-single,pins = <
1435 pinmux_uart0_pins: pinmux_uart0_pins {
1436 pinctrl-single,pins = <
1443 pinctrl-single-bits {
1444 compatible = "pinctrl-single";
1445 reg = <0x0000 0x50>;
1446 #pinctrl-cells = <2>;
1447 pinctrl-single,bit-per-mux;
1448 pinctrl-single,register-width = <32>;
1449 pinctrl-single,function-mask = <0xf>;
1451 pinmux_i2c0_pins: pinmux_i2c0_pins {
1452 pinctrl-single,bits = <
1453 0x10 0x00002200 0x0000ff00
1457 pinmux_lcd_pins: pinmux_lcd_pins {
1458 pinctrl-single,bits = <
1459 0x40 0x22222200 0xffffff00
1460 0x44 0x22222222 0xffffffff
1461 0x48 0x00000022 0x000000ff
1462 0x48 0x02000000 0x0f000000
1463 0x4c 0x02000022 0x0f0000ff
1469 compatible = "sandbox,hwspinlock";
1473 compatible = "sandbox,dma";
1476 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
1477 dma-names = "m2m", "tx0", "rx0";
1481 * keep mdio-mux ahead of mdio so that the mux is removed first at the
1482 * end of the test. If parent mdio is removed first, clean-up of the
1483 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
1484 * active at the end of the test. That it turn doesn't allow the mdio
1485 * class to be destroyed, triggering an error.
1488 compatible = "sandbox,mdio-mux";
1489 #address-cells = <1>;
1491 mdio-parent-bus = <&mdio>;
1502 compatible = "sandbox,mdio";
1506 compatible = "simple-pm-bus";
1507 clocks = <&clk_sandbox 4>;
1508 power-domains = <&pwrdom 1>;
1511 resetc2: syscon-reset {
1512 compatible = "syscon-reset";
1514 regmap = <&syscon0>;
1516 mask = <0x27FFFFFF>;
1521 compatible = "sandbox,misc_sandbox";
1522 resets = <&resetc2 15>, <&resetc2 30>, <&resetc2 60>;
1523 reset-names = "valid", "no_mask", "out_of_range";
1527 compatible = "sandbox,sysinfo-sandbox";
1531 compatible = "gpio-sysinfo";
1532 gpios = <&gpio_a 15>, <&gpio_a 16>, <&gpio_a 17>;
1533 revisions = <19>, <5>;
1534 names = "rev_a", "foo";
1537 some_regmapped-bus {
1538 #address-cells = <0x1>;
1539 #size-cells = <0x1>;
1541 ranges = <0x0 0x0 0x10>;
1542 compatible = "simple-bus";
1546 compatible = "sandbox,regmap_test";
1551 #include "sandbox_pmic.dtsi"
1552 #include "cros-ec-keyboard.dtsi"