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 = "sandbox,audio-codec";
64 #sound-dai-cells = <1>;
68 compatible = "gpio-keys";
71 gpios = <&gpio_a 3 0>;
76 gpios = <&gpio_a 4 0>;
82 compatible = "adc-keys";
83 io-channels = <&adc 3>;
84 keyup-threshold-microvolt = <3000000>;
88 linux,code = <KEY_F3>;
89 press-threshold-microvolt = <1500000>;
94 linux,code = <KEY_F4>;
95 press-threshold-microvolt = <1000000>;
100 linux,code = <KEY_F5>;
101 press-threshold-microvolt = <500000>;
107 compatible = "google,cros-ec-sandbox";
110 * This describes the flash memory within the EC. Note
111 * that the STM32L flash erases to 0, not 0xff.
114 image-pos = <0x08000000>;
118 /* Information for sandbox */
124 image-pos = <0xf000>;
128 uncomp-size = <0xcf8>;
131 value = [00 01 02 03 04 05 06 07
132 08 09 0a 0b 0c 0d 0e 0f
133 10 11 12 13 14 15 16 17
134 18 19 1a 1b 1c 1d 1e 1f];
138 image-pos = <0x10000>;
143 cros_ec_pwm: cros-ec-pwm {
144 compatible = "google,cros-ec-pwm";
151 compatible = "sandbox,dsi-host";
156 compatible = "denx,u-boot-fdt-test";
160 test-gpios = <&gpio_a 1>, <&gpio_a 4>,
161 <&gpio_b 5 GPIO_ACTIVE_HIGH 3 2 1>,
163 test2-gpios = <&gpio_a 1>, <&gpio_a 4>,
164 <&gpio_b 6 GPIO_ACTIVE_LOW 3 2 1>,
165 <&gpio_b 7 GPIO_IN 3 2 1>,
166 <&gpio_b 8 GPIO_OUT 3 2 1>,
167 <&gpio_b 9 (GPIO_OUT|GPIO_OUT_ACTIVE) 3 2 1>;
169 <&gpio_c 0 (GPIO_OUT|GPIO_OPEN_DRAIN)>,
170 <&gpio_c 1 (GPIO_OUT|GPIO_OPEN_SOURCE)>,
171 <&gpio_c 2 GPIO_OUT>,
172 <&gpio_c 3 (GPIO_IN|GPIO_PULL_UP)>,
173 <&gpio_c 4 (GPIO_IN|GPIO_PULL_DOWN)>,
175 <&gpio_c 6 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_DRAIN)>,
176 <&gpio_c 7 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_SOURCE)>;
177 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
178 test5-gpios = <&gpio_a 19>;
181 uint-value = <(-1234)>;
182 int64-value = /bits/ 64 <0x1111222233334444>;
183 int-array = <5678 9123 4567>;
184 str-value = "test string";
185 interrupts-extended = <&irq 3 0>;
187 phandle-value = <&gpio_c 10>, <0xFFFFFFFF 20>, <&gpio_a 30>;
189 mux-controls = <&muxcontroller0 0>, <&muxcontroller0 1>,
190 <&muxcontroller0 2>, <&muxcontroller0 3>,
192 mux-control-names = "mux0", "mux1", "mux2", "mux3", "mux4";
193 mux-syscon = <&syscon3>;
196 clock-frequency = <6500000>;
208 pixelclk-active = <1>;
214 clock-frequency = <9000000>;
226 pixelclk-active = <0>;
229 clock-frequency = <33500000>;
233 hfront-porch = <164>;
244 compatible = "not,compatible";
251 backlight: backlight {
252 compatible = "pwm-backlight";
253 enable-gpios = <&gpio_a 1>;
254 power-supply = <&ldo_1>;
255 pwms = <&pwm 0 1000>;
256 default-brightness-level = <5>;
257 brightness-levels = <0 16 32 64 128 170 202 234 255>;
261 compatible = "simple-bus";
263 compatible = "sandbox,phy";
268 compatible = "simple-bus";
274 compatible = "denx,u-boot-fdt-test";
278 mux-controls = <&muxcontroller0 0>;
279 mux-control-names = "mux0";
282 phy_provider0: gen_phy@0 {
283 compatible = "sandbox,phy";
287 phy_provider1: gen_phy@1 {
288 compatible = "sandbox,phy";
293 phy_provider2: gen_phy@2 {
294 compatible = "sandbox,phy";
298 gen_phy_user: gen_phy_user {
299 compatible = "simple-bus";
300 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
301 phy-names = "phy1", "phy2", "phy3";
304 gen_phy_user1: gen_phy_user1 {
305 compatible = "simple-bus";
306 phys = <&phy_provider0 0>, <&phy_provider2>;
307 phy-names = "phy1", "phy2";
311 #address-cells = <1>;
313 compatible = "denx,u-boot-test-bus";
318 compatible = "denx,u-boot-fdt-test";
324 compatible = "denx,u-boot-fdt-test";
330 compatible = "denx,u-boot-fdt-test";
341 compatible = "google,another-fdt-test";
348 compatible = "google,another-fdt-test";
352 compatible = "denx,u-boot-fdt-test";
356 compatible = "denx,u-boot-fdt-test";
360 compatible = "denx,u-boot-fdt-test1";
364 compatible = "mediatek,u-boot-fdt-test";
365 #address-cells = <1>;
382 compatible = "denx,u-boot-devres-test";
387 compatible = "denx,u-boot-fdt-test";
388 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
389 test5-gpios = <&gpio_a 19>;
393 #address-cells = <1>;
395 compatible = "denx,u-boot-test-bus";
396 dma-ranges = <0x10000000 0x00000000 0x00040000>;
399 compatible = "denx,u-boot-fdt-test";
404 #address-cells = <1>;
406 compatible = "denx,u-boot-test-bus";
409 compatible = "denx,u-boot-fdt-test";
413 acpi_test1: acpi-test {
414 compatible = "denx,u-boot-acpi-test";
415 acpi-ssdt-test-data = "ab";
416 acpi-dsdt-test-data = "hi";
418 compatible = "denx,u-boot-acpi-test";
422 acpi_test2: acpi-test2 {
423 compatible = "denx,u-boot-acpi-test";
424 acpi-ssdt-test-data = "cd";
425 acpi-dsdt-test-data = "jk";
429 clk_fixed: clk-fixed {
430 compatible = "fixed-clock";
432 clock-frequency = <1234>;
435 clk_fixed_factor: clk-fixed-factor {
436 compatible = "fixed-factor-clock";
440 clocks = <&clk_fixed>;
444 compatible = "fixed-clock";
446 clock-frequency = <20000000>;
450 clk_sandbox: clk-sbox {
451 compatible = "sandbox,clk";
453 assigned-clocks = <&clk_sandbox 3>;
454 assigned-clock-rates = <321>;
458 compatible = "sandbox,clk-test";
459 clocks = <&clk_fixed>,
464 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
468 compatible = "sandbox,clk-ccf";
472 compatible = "sandbox,eth";
473 reg = <0x10002000 0x1000>;
474 fake-host-hwaddr = [00 00 66 44 22 00];
477 eth_5: eth@10003000 {
478 compatible = "sandbox,eth";
479 reg = <0x10003000 0x1000>;
480 fake-host-hwaddr = [00 00 66 44 22 11];
484 compatible = "sandbox,eth";
485 reg = <0x10005000 0x1000>;
486 fake-host-hwaddr = [00 00 66 44 22 33];
490 compatible = "sandbox,eth";
491 reg = <0x10004000 0x1000>;
492 fake-host-hwaddr = [00 00 66 44 22 22];
495 dsa_eth0: dsa-test-eth {
496 compatible = "sandbox,eth";
497 reg = <0x10006000 0x1000>;
498 fake-host-hwaddr = [00 00 66 44 22 66];
502 compatible = "sandbox,dsa";
505 #address-cells = <1>;
510 phy-mode = "rgmii-rxid";
521 phy-mode = "rgmii-txid";
522 fixed-link = <0 1 100 0 0>;
527 ethernet = <&dsa_eth0>;
538 sandbox_firmware: sandbox-firmware {
539 compatible = "sandbox,firmware";
542 sandbox-scmi-agent@0 {
543 compatible = "sandbox,scmi-agent";
544 #address-cells = <1>;
547 clk_scmi0: protocol@14 {
552 reset_scmi0: protocol@16 {
561 #address-cells = <1>;
564 regul0_scmi0: reg@0 {
566 regulator-name = "sandbox-voltd0";
567 regulator-min-microvolt = <1100000>;
568 regulator-max-microvolt = <3300000>;
570 regul1_scmi0: reg@1 {
572 regulator-name = "sandbox-voltd1";
573 regulator-min-microvolt = <1800000>;
579 sandbox-scmi-agent@1 {
580 compatible = "sandbox,scmi-agent";
581 #address-cells = <1>;
584 clk_scmi1: protocol@14 {
596 compatible = "sandbox,pinctrl-gpio";
599 compatible = "sandbox,gpio";
602 gpio-bank-name = "a";
603 sandbox,gpio-count = <20>;
604 hog_input_active_low {
607 gpios = <10 GPIO_ACTIVE_LOW>;
609 hog_input_active_high {
612 gpios = <11 GPIO_ACTIVE_HIGH>;
617 gpios = <12 GPIO_ACTIVE_HIGH>;
622 gpios = <13 GPIO_ACTIVE_HIGH>;
626 gpio_b: extra-gpios {
627 compatible = "sandbox,gpio";
630 gpio-bank-name = "b";
631 sandbox,gpio-count = <10>;
634 gpio_c: pinmux-gpios {
635 compatible = "sandbox,gpio";
638 gpio-bank-name = "c";
639 sandbox,gpio-count = <10>;
644 #address-cells = <1>;
647 compatible = "sandbox,i2c";
648 clock-frequency = <100000>;
649 pinctrl-names = "default";
650 pinctrl-0 = <&pinmux_i2c0_pins>;
654 compatible = "i2c-eeprom";
655 sandbox,emul = <&emul_eeprom>;
657 compatible = "fixed-partitions";
658 #address-cells = <1>;
660 bootcount_i2c: bootcount@10 {
668 compatible = "sandbox-rtc";
669 sandbox,emul = <&emul0>;
674 compatible = "sandbox-rtc";
675 sandbox,emul = <&emul1>;
680 compatible = "sandbox,i2c-emul-parent";
681 emul_eeprom: emul-eeprom {
682 compatible = "sandbox,i2c-eeprom";
683 sandbox,filename = "i2c.bin";
684 sandbox,size = <256>;
687 compatible = "sandbox,i2c-rtc-emul";
690 compatible = "sandbox,i2c-rtc-emul";
694 sandbox_pmic: sandbox_pmic {
696 sandbox,emul = <&emul_pmic0>;
701 sandbox,emul = <&emul_pmic1>;
706 compatible = "u-boot,bootcount-rtc";
712 compatible = "u-boot,bootcount-i2c-eeprom";
713 i2c-eeprom = <&bootcount_i2c>;
717 compatible = "sandbox,adc";
718 #io-channel-cells = <1>;
719 vdd-supply = <&buck2>;
720 vss-microvolts = <0>;
724 compatible = "sandbox,irq";
725 interrupt-controller;
726 #interrupt-cells = <2>;
731 compatible = "sandbox,lcd-sdl";
732 pinctrl-names = "default";
733 pinctrl-0 = <&pinmux_lcd_pins>;
739 compatible = "gpio-leds";
742 gpios = <&gpio_a 1 0>;
743 label = "sandbox:red";
747 gpios = <&gpio_a 2 0>;
748 label = "sandbox:green";
752 gpios = <&gpio_a 5 0>;
753 label = "sandbox:default_on";
754 default-state = "on";
758 gpios = <&gpio_a 6 0>;
759 /* label intentionally omitted */
760 default-state = "off";
765 compatible = "sandbox,mbox";
770 compatible = "sandbox,mbox-test";
771 mboxes = <&mbox 100>, <&mbox 1>;
772 mbox-names = "other", "test";
776 timebase-frequency = <2000000>;
778 timebase-frequency = <3000000>;
779 compatible = "sandbox,cpu_sandbox";
784 compatible = "sandbox,cpu_sandbox";
789 compatible = "sandbox,cpu_sandbox";
795 compatible = "sandbox,soc";
799 compatible = "sandbox,i2s";
800 #sound-dai-cells = <1>;
801 sandbox,silent; /* Don't emit sounds while testing */
805 compatible = "sandbox,nop_sandbox1";
807 compatible = "sandbox,nop_sandbox2";
811 compatible = "sandbox,nop_sandbox2";
817 compatible = "sandbox,misc_sandbox";
821 compatible = "sandbox,mmc";
826 compatible = "sandbox,mmc";
830 compatible = "sandbox,mmc";
834 compatible = "sandbox,pch";
838 compatible = "sandbox,pci";
840 bus-range = <0x00 0xff>;
841 #address-cells = <3>;
843 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
844 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
846 compatible = "pci-generic";
847 reg = <0x0000 0 0 0 0>;
848 sandbox,emul = <&swap_case_emul0_0>;
851 compatible = "pci-generic";
852 /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
853 reg = <0x02000814 0 0 0 0
855 sandbox,emul = <&swap_case_emul0_1>;
858 compatible = "sandbox,p2sb";
859 reg = <0x02001010 0 0 0 0>;
860 sandbox,emul = <&p2sb_emul>;
863 intel,p2sb-port-id = <3>;
864 compatible = "sandbox,adder";
868 compatible = "sandbox,pmc";
869 reg = <0xf000 0 0 0 0>;
870 sandbox,emul = <&pmc_emul1e>;
872 gpe0-dwx-mask = <0xf>;
873 gpe0-dwx-shift-base = <4>;
879 compatible = "pci-generic";
880 /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
881 reg = <0x0100f810 0 0 0 0>;
882 sandbox,emul = <&swap_case_emul0_1f>;
887 compatible = "sandbox,pci-emul-parent";
888 swap_case_emul0_0: emul0@0,0 {
889 compatible = "sandbox,swap-case";
891 swap_case_emul0_1: emul0@1,0 {
892 compatible = "sandbox,swap-case";
895 swap_case_emul0_1f: emul0@1f,0 {
896 compatible = "sandbox,swap-case";
898 p2sb_emul: emul@2,0 {
899 compatible = "sandbox,p2sb-emul";
901 pmc_emul1e: emul@1e,0 {
902 compatible = "sandbox,pmc-emul";
907 compatible = "sandbox,pci";
909 bus-range = <0x00 0xff>;
910 #address-cells = <3>;
912 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 // MEM0
913 0x02000000 0 0x31000000 0x31000000 0 0x2000 // MEM1
914 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
915 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
916 0x0c 0x00 0x1234 0x5678
917 0x10 0x00 0x1234 0x5678>;
919 reg = <0x8000 0 0 0 0>;
924 compatible = "sandbox,pci";
926 bus-range = <0x00 0xff>;
927 #address-cells = <3>;
929 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
930 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
931 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
933 compatible = "pci-generic";
934 reg = <0xf800 0 0 0 0>;
935 sandbox,emul = <&swap_case_emul2_1f>;
940 compatible = "sandbox,pci-emul-parent";
941 swap_case_emul2_1f: emul2@1f,0 {
942 compatible = "sandbox,swap-case";
947 compatible = "sandbox,pci_ep";
951 compatible = "simple-bus";
953 compatible = "denx,u-boot-probe-test";
957 compatible = "denx,u-boot-probe-test";
961 compatible = "denx,u-boot-probe-test";
965 compatible = "denx,u-boot-probe-test";
966 first-syscon = <&syscon0>;
967 second-sys-ctrl = <&another_system_controller>;
968 third-syscon = <&syscon2>;
972 pwrdom: power-domain {
973 compatible = "sandbox,power-domain";
974 #power-domain-cells = <1>;
978 compatible = "sandbox,power-domain-test";
979 power-domains = <&pwrdom 2>;
983 compatible = "sandbox,pwm";
985 pinctrl-names = "default";
986 pinctrl-0 = <&pinmux_pwm_pins>;
990 compatible = "sandbox,pwm";
995 compatible = "sandbox,ram";
999 compatible = "sandbox,warm-reset";
1003 compatible = "sandbox,reset";
1007 compatible = "sandbox,reset-ctl";
1012 compatible = "sandbox,reset-ctl-test";
1013 resets = <&resetc 100>, <&resetc 2>, <&resetc 20>, <&resetc 40>;
1014 reset-names = "other", "test", "test2", "test3";
1018 compatible = "sandbox,sandbox-rng";
1022 compatible = "sandbox,test-processor";
1023 remoteproc-name = "remoteproc-test-dev1";
1027 compatible = "sandbox,test-processor";
1028 internal-memory-mapped;
1029 remoteproc-name = "remoteproc-test-dev2";
1033 compatible = "simple-panel";
1034 backlight = <&backlight 0 100>;
1038 compatible = "sandbox,smem";
1042 compatible = "sandbox,sound";
1044 sound-dai = <&i2s 0>;
1048 sound-dai = <&audio 0>;
1053 #address-cells = <1>;
1056 compatible = "sandbox,spi";
1057 cs-gpios = <0>, <0>, <&gpio_a 0>;
1058 pinctrl-names = "default";
1059 pinctrl-0 = <&pinmux_spi0_pins>;
1063 compatible = "spansion,m25p16", "jedec,spi-nor";
1064 spi-max-frequency = <40000000>;
1065 sandbox,filename = "spi.bin";
1069 compatible = "spansion,m25p16", "jedec,spi-nor";
1070 spi-max-frequency = <50000000>;
1071 sandbox,filename = "spi.bin";
1078 compatible = "sandbox,syscon0";
1082 another_system_controller: syscon@1 {
1083 compatible = "sandbox,syscon1";
1091 compatible = "simple-mfd", "syscon";
1099 compatible = "simple-mfd", "syscon";
1100 reg = <0x000100 0x10>;
1102 muxcontroller0: a-mux-controller {
1103 compatible = "mmio-mux";
1104 #mux-control-cells = <1>;
1106 mux-reg-masks = <0x0 0x30>, /* 0: reg 0x0, bits 5:4 */
1107 <0xc 0x1E>, /* 1: reg 0xc, bits 4:1 */
1108 <0x4 0xFF>; /* 2: reg 0x4, bits 7:0 */
1109 idle-states = <MUX_IDLE_AS_IS>, <0x02>, <0x73>;
1110 u-boot,mux-autoprobe;
1114 muxcontroller1: emul-mux-controller {
1115 compatible = "mux-emul";
1116 #mux-control-cells = <0>;
1117 u-boot,mux-autoprobe;
1118 idle-state = <0xabcd>;
1122 compatible = "denx,u-boot-fdtm-test";
1125 testfdtm1: testfdtm1 {
1126 compatible = "denx,u-boot-fdtm-test";
1130 compatible = "denx,u-boot-fdtm-test";
1134 compatible = "sandbox,timer";
1135 clock-frequency = <1000000>;
1139 compatible = "sandbox,timer";
1140 sandbox,timebase-frequency-fallback;
1144 compatible = "sandbox,tpm2";
1148 compatible = "sandbox,serial";
1149 u-boot,dm-pre-reloc;
1150 pinctrl-names = "default";
1151 pinctrl-0 = <&pinmux_uart0_pins>;
1155 compatible = "sandbox,usb";
1156 status = "disabled";
1158 compatible = "sandbox,usb-hub";
1159 #address-cells = <1>;
1163 compatible = "sandbox,usb-flash";
1169 compatible = "sandbox,usb";
1171 compatible = "usb-hub";
1172 usb,device-class = <9>;
1173 #address-cells = <1>;
1176 compatible = "sandbox,usb-hub";
1177 #address-cells = <1>;
1181 compatible = "sandbox,usb-flash";
1182 sandbox,filepath = "testflash.bin";
1187 compatible = "sandbox,usb-flash";
1188 sandbox,filepath = "testflash1.bin";
1193 compatible = "sandbox,usb-flash";
1194 sandbox,filepath = "testflash2.bin";
1199 compatible = "sandbox,usb-keyb";
1214 compatible = "sandbox,usb";
1215 status = "disabled";
1219 compatible = "sandbox,spmi";
1220 #address-cells = <0x1>;
1221 #size-cells = <0x1>;
1224 compatible = "qcom,spmi-pmic";
1226 #address-cells = <0x1>;
1227 #size-cells = <0x1>;
1230 spmi_gpios: gpios@c000 {
1231 compatible = "qcom,pm8916-gpio";
1232 reg = <0xc000 0x400>;
1236 gpio-bank-name="spmi";
1242 compatible = "sandbox,wdt";
1246 compatible = "sandbox,axi";
1247 #address-cells = <0x1>;
1248 #size-cells = <0x1>;
1250 compatible = "sandbox,sandbox_store";
1256 #address-cells = <1>;
1258 setting = "sunrise ohoka";
1259 other-node = "/some-bus/c-test@5";
1260 int-values = <0x1937 72993>;
1261 u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>;
1263 compatible = "denx,u-boot-fdt-test";
1268 translation-test@8000 {
1269 compatible = "simple-bus";
1270 reg = <0x8000 0x4000>;
1272 #address-cells = <0x2>;
1273 #size-cells = <0x1>;
1275 ranges = <0 0x0 0x8000 0x1000
1276 1 0x100 0x9000 0x1000
1277 2 0x200 0xA000 0x1000
1278 3 0x300 0xB000 0x1000
1281 dma-ranges = <0 0x000 0x10000000 0x1000
1282 1 0x100 0x20000000 0x1000
1286 compatible = "denx,u-boot-fdt-dummy";
1287 reg = <0 0x0 0x1000>;
1288 reg-names = "sandbox-dummy-0";
1292 compatible = "denx,u-boot-fdt-dummy";
1293 reg = <1 0x100 0x1000>;
1298 compatible = "denx,u-boot-fdt-dummy";
1299 reg = <2 0x200 0x1000>;
1304 compatible = "simple-bus";
1305 reg = <3 0x300 0x1000>;
1307 #address-cells = <0x1>;
1308 #size-cells = <0x0>;
1311 compatible = "denx,u-boot-fdt-dummy";
1318 compatible = "sandbox,sandbox_osd";
1322 compatible = "sandbox,tee";
1326 compatible = "sandbox,virtio1";
1330 compatible = "sandbox,virtio2";
1334 compatible = "sandbox,scmi-devices";
1335 clocks = <&clk_scmi0 7>, <&clk_scmi0 3>, <&clk_scmi1 1>;
1336 resets = <&reset_scmi0 3>;
1337 regul0-supply = <®ul0_scmi0>;
1338 regul1-supply = <®ul1_scmi0>;
1342 compatible = "sandbox,pinctrl";
1344 pinctrl-names = "default", "alternate";
1345 pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>;
1346 pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>;
1348 pinctrl_gpios: gpios {
1362 pinmux = <SANDBOX_PINMUX(7, SANDBOX_PINMUX_GPIO)>;
1367 pinmux = <SANDBOX_PINMUX(8, SANDBOX_PINMUX_GPIO)>;
1374 groups = "I2C_UART";
1394 pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>,
1395 <SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>;
1400 pinctrl-single-no-width {
1401 compatible = "pinctrl-single";
1402 reg = <0x0000 0x238>;
1403 #pinctrl-cells = <1>;
1404 pinctrl-single,function-mask = <0x7f>;
1407 pinctrl-single-pins {
1408 compatible = "pinctrl-single";
1409 reg = <0x0000 0x238>;
1410 #pinctrl-cells = <1>;
1411 pinctrl-single,register-width = <32>;
1412 pinctrl-single,function-mask = <0x7f>;
1414 pinmux_pwm_pins: pinmux_pwm_pins {
1415 pinctrl-single,pins = < 0x48 0x06 >;
1418 pinmux_spi0_pins: pinmux_spi0_pins {
1419 pinctrl-single,pins = <
1427 pinmux_uart0_pins: pinmux_uart0_pins {
1428 pinctrl-single,pins = <
1435 pinctrl-single-bits {
1436 compatible = "pinctrl-single";
1437 reg = <0x0000 0x50>;
1438 #pinctrl-cells = <2>;
1439 pinctrl-single,bit-per-mux;
1440 pinctrl-single,register-width = <32>;
1441 pinctrl-single,function-mask = <0xf>;
1443 pinmux_i2c0_pins: pinmux_i2c0_pins {
1444 pinctrl-single,bits = <
1445 0x10 0x00002200 0x0000ff00
1449 pinmux_lcd_pins: pinmux_lcd_pins {
1450 pinctrl-single,bits = <
1451 0x40 0x22222200 0xffffff00
1452 0x44 0x22222222 0xffffffff
1453 0x48 0x00000022 0x000000ff
1454 0x48 0x02000000 0x0f000000
1455 0x4c 0x02000022 0x0f0000ff
1461 compatible = "sandbox,hwspinlock";
1465 compatible = "sandbox,dma";
1468 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
1469 dma-names = "m2m", "tx0", "rx0";
1473 * keep mdio-mux ahead of mdio so that the mux is removed first at the
1474 * end of the test. If parent mdio is removed first, clean-up of the
1475 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
1476 * active at the end of the test. That it turn doesn't allow the mdio
1477 * class to be destroyed, triggering an error.
1480 compatible = "sandbox,mdio-mux";
1481 #address-cells = <1>;
1483 mdio-parent-bus = <&mdio>;
1494 compatible = "sandbox,mdio";
1498 compatible = "simple-pm-bus";
1499 clocks = <&clk_sandbox 4>;
1500 power-domains = <&pwrdom 1>;
1503 resetc2: syscon-reset {
1504 compatible = "syscon-reset";
1506 regmap = <&syscon0>;
1508 mask = <0x27FFFFFF>;
1513 compatible = "sandbox,misc_sandbox";
1514 resets = <&resetc2 15>, <&resetc2 30>, <&resetc2 60>;
1515 reset-names = "valid", "no_mask", "out_of_range";
1519 compatible = "sandbox,sysinfo-sandbox";
1523 compatible = "gpio-sysinfo";
1524 gpios = <&gpio_a 15>, <&gpio_a 16>, <&gpio_a 17>;
1525 revisions = <19>, <5>;
1526 names = "rev_a", "foo";
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"