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>;
145 compatible = "sandbox,dsi-host";
150 compatible = "denx,u-boot-fdt-test";
154 test-gpios = <&gpio_a 1>, <&gpio_a 4>,
155 <&gpio_b 5 GPIO_ACTIVE_HIGH 3 2 1>,
157 test2-gpios = <&gpio_a 1>, <&gpio_a 4>,
158 <&gpio_b 6 GPIO_ACTIVE_LOW 3 2 1>,
159 <&gpio_b 7 GPIO_IN 3 2 1>,
160 <&gpio_b 8 GPIO_OUT 3 2 1>,
161 <&gpio_b 9 (GPIO_OUT|GPIO_OUT_ACTIVE) 3 2 1>;
163 <&gpio_c 0 (GPIO_OUT|GPIO_OPEN_DRAIN)>,
164 <&gpio_c 1 (GPIO_OUT|GPIO_OPEN_SOURCE)>,
165 <&gpio_c 2 GPIO_OUT>,
166 <&gpio_c 3 (GPIO_IN|GPIO_PULL_UP)>,
167 <&gpio_c 4 (GPIO_IN|GPIO_PULL_DOWN)>,
169 <&gpio_c 6 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_DRAIN)>,
170 <&gpio_c 7 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_SOURCE)>;
171 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
172 test5-gpios = <&gpio_a 19>;
175 uint-value = <(-1234)>;
176 int64-value = /bits/ 64 <0x1111222233334444>;
177 int-array = <5678 9123 4567>;
178 str-value = "test string";
179 interrupts-extended = <&irq 3 0>;
181 phandle-value = <&gpio_c 10>, <0xFFFFFFFF 20>, <&gpio_a 30>;
183 mux-controls = <&muxcontroller0 0>, <&muxcontroller0 1>,
184 <&muxcontroller0 2>, <&muxcontroller0 3>,
186 mux-control-names = "mux0", "mux1", "mux2", "mux3", "mux4";
187 mux-syscon = <&syscon3>;
190 clock-frequency = <6500000>;
202 pixelclk-active = <1>;
208 clock-frequency = <9000000>;
220 pixelclk-active = <0>;
223 clock-frequency = <33500000>;
227 hfront-porch = <164>;
238 compatible = "not,compatible";
245 backlight: backlight {
246 compatible = "pwm-backlight";
247 enable-gpios = <&gpio_a 1>;
248 power-supply = <&ldo_1>;
249 pwms = <&pwm 0 1000>;
250 default-brightness-level = <5>;
251 brightness-levels = <0 16 32 64 128 170 202 234 255>;
255 compatible = "simple-bus";
257 compatible = "sandbox,phy";
262 compatible = "simple-bus";
268 compatible = "denx,u-boot-fdt-test";
272 mux-controls = <&muxcontroller0 0>;
273 mux-control-names = "mux0";
276 phy_provider0: gen_phy@0 {
277 compatible = "sandbox,phy";
281 phy_provider1: gen_phy@1 {
282 compatible = "sandbox,phy";
287 phy_provider2: gen_phy@2 {
288 compatible = "sandbox,phy";
292 gen_phy_user: gen_phy_user {
293 compatible = "simple-bus";
294 phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>;
295 phy-names = "phy1", "phy2", "phy3";
298 gen_phy_user1: gen_phy_user1 {
299 compatible = "simple-bus";
300 phys = <&phy_provider0 0>, <&phy_provider2>;
301 phy-names = "phy1", "phy2";
305 #address-cells = <1>;
307 compatible = "denx,u-boot-test-bus";
312 compatible = "denx,u-boot-fdt-test";
318 compatible = "denx,u-boot-fdt-test";
324 compatible = "denx,u-boot-fdt-test";
335 compatible = "google,another-fdt-test";
342 compatible = "google,another-fdt-test";
346 compatible = "denx,u-boot-fdt-test";
350 compatible = "denx,u-boot-fdt-test";
354 compatible = "denx,u-boot-fdt-test1";
358 compatible = "mediatek,u-boot-fdt-test";
359 #address-cells = <1>;
376 compatible = "denx,u-boot-devres-test";
381 compatible = "denx,u-boot-fdt-test";
382 test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>;
383 test5-gpios = <&gpio_a 19>;
387 #address-cells = <1>;
389 compatible = "denx,u-boot-test-bus";
390 dma-ranges = <0x10000000 0x00000000 0x00040000>;
393 compatible = "denx,u-boot-fdt-test";
398 #address-cells = <1>;
400 compatible = "denx,u-boot-test-bus";
403 compatible = "denx,u-boot-fdt-test";
407 acpi_test1: acpi-test {
408 compatible = "denx,u-boot-acpi-test";
409 acpi-ssdt-test-data = "ab";
410 acpi-dsdt-test-data = "hi";
412 compatible = "denx,u-boot-acpi-test";
416 acpi_test2: acpi-test2 {
417 compatible = "denx,u-boot-acpi-test";
418 acpi-ssdt-test-data = "cd";
419 acpi-dsdt-test-data = "jk";
423 clk_fixed: clk-fixed {
424 compatible = "fixed-clock";
426 clock-frequency = <1234>;
429 clk_fixed_factor: clk-fixed-factor {
430 compatible = "fixed-factor-clock";
434 clocks = <&clk_fixed>;
438 compatible = "fixed-clock";
440 clock-frequency = <20000000>;
444 clk_sandbox: clk-sbox {
445 compatible = "sandbox,clk";
447 assigned-clocks = <&clk_sandbox 3>;
448 assigned-clock-rates = <321>;
452 compatible = "sandbox,clk-test";
453 clocks = <&clk_fixed>,
458 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
462 compatible = "sandbox,clk-ccf";
466 compatible = "sandbox,eth";
467 reg = <0x10002000 0x1000>;
468 fake-host-hwaddr = [00 00 66 44 22 00];
471 eth_5: eth@10003000 {
472 compatible = "sandbox,eth";
473 reg = <0x10003000 0x1000>;
474 fake-host-hwaddr = [00 00 66 44 22 11];
478 compatible = "sandbox,eth";
479 reg = <0x10005000 0x1000>;
480 fake-host-hwaddr = [00 00 66 44 22 33];
484 compatible = "sandbox,eth";
485 reg = <0x10004000 0x1000>;
486 fake-host-hwaddr = [00 00 66 44 22 22];
489 dsa_eth0: dsa-test-eth {
490 compatible = "sandbox,eth";
491 reg = <0x10006000 0x1000>;
492 fake-host-hwaddr = [00 00 66 44 22 66];
496 compatible = "sandbox,dsa";
499 #address-cells = <1>;
504 phy-mode = "rgmii-rxid";
515 phy-mode = "rgmii-txid";
516 fixed-link = <0 1 100 0 0>;
521 ethernet = <&dsa_eth0>;
532 sandbox_firmware: sandbox-firmware {
533 compatible = "sandbox,firmware";
536 sandbox-scmi-agent@0 {
537 compatible = "sandbox,scmi-agent";
538 #address-cells = <1>;
541 clk_scmi0: protocol@14 {
546 reset_scmi0: protocol@16 {
555 #address-cells = <1>;
558 regul0_scmi0: reg@0 {
560 regulator-name = "sandbox-voltd0";
561 regulator-min-microvolt = <1100000>;
562 regulator-max-microvolt = <3300000>;
564 regul1_scmi0: reg@1 {
566 regulator-name = "sandbox-voltd1";
567 regulator-min-microvolt = <1800000>;
573 sandbox-scmi-agent@1 {
574 compatible = "sandbox,scmi-agent";
575 #address-cells = <1>;
578 clk_scmi1: protocol@14 {
590 compatible = "sandbox,pinctrl-gpio";
593 compatible = "sandbox,gpio";
596 gpio-bank-name = "a";
597 sandbox,gpio-count = <20>;
598 hog_input_active_low {
601 gpios = <10 GPIO_ACTIVE_LOW>;
603 hog_input_active_high {
606 gpios = <11 GPIO_ACTIVE_HIGH>;
611 gpios = <12 GPIO_ACTIVE_HIGH>;
616 gpios = <13 GPIO_ACTIVE_HIGH>;
620 gpio_b: extra-gpios {
621 compatible = "sandbox,gpio";
624 gpio-bank-name = "b";
625 sandbox,gpio-count = <10>;
628 gpio_c: pinmux-gpios {
629 compatible = "sandbox,gpio";
632 gpio-bank-name = "c";
633 sandbox,gpio-count = <10>;
638 #address-cells = <1>;
641 compatible = "sandbox,i2c";
642 clock-frequency = <100000>;
643 pinctrl-names = "default";
644 pinctrl-0 = <&pinmux_i2c0_pins>;
648 compatible = "i2c-eeprom";
649 sandbox,emul = <&emul_eeprom>;
651 compatible = "fixed-partitions";
652 #address-cells = <1>;
654 bootcount_i2c: bootcount@10 {
662 compatible = "sandbox-rtc";
663 sandbox,emul = <&emul0>;
668 compatible = "sandbox-rtc";
669 sandbox,emul = <&emul1>;
674 compatible = "sandbox,i2c-emul-parent";
675 emul_eeprom: emul-eeprom {
676 compatible = "sandbox,i2c-eeprom";
677 sandbox,filename = "i2c.bin";
678 sandbox,size = <256>;
681 compatible = "sandbox,i2c-rtc-emul";
684 compatible = "sandbox,i2c-rtc-emul";
688 sandbox_pmic: sandbox_pmic {
690 sandbox,emul = <&emul_pmic0>;
695 sandbox,emul = <&emul_pmic1>;
700 compatible = "u-boot,bootcount-rtc";
706 compatible = "u-boot,bootcount-i2c-eeprom";
707 i2c-eeprom = <&bootcount_i2c>;
711 compatible = "sandbox,adc";
712 #io-channel-cells = <1>;
713 vdd-supply = <&buck2>;
714 vss-microvolts = <0>;
718 compatible = "sandbox,irq";
719 interrupt-controller;
720 #interrupt-cells = <2>;
725 compatible = "sandbox,lcd-sdl";
726 pinctrl-names = "default";
727 pinctrl-0 = <&pinmux_lcd_pins>;
733 compatible = "gpio-leds";
736 gpios = <&gpio_a 1 0>;
737 label = "sandbox:red";
741 gpios = <&gpio_a 2 0>;
742 label = "sandbox:green";
746 gpios = <&gpio_a 5 0>;
747 label = "sandbox:default_on";
748 default-state = "on";
752 gpios = <&gpio_a 6 0>;
753 /* label intentionally omitted */
754 default-state = "off";
759 compatible = "sandbox,mbox";
764 compatible = "sandbox,mbox-test";
765 mboxes = <&mbox 100>, <&mbox 1>;
766 mbox-names = "other", "test";
770 timebase-frequency = <2000000>;
772 timebase-frequency = <3000000>;
773 compatible = "sandbox,cpu_sandbox";
778 compatible = "sandbox,cpu_sandbox";
783 compatible = "sandbox,cpu_sandbox";
789 compatible = "sandbox,soc";
793 compatible = "sandbox,i2s";
794 #sound-dai-cells = <1>;
795 sandbox,silent; /* Don't emit sounds while testing */
799 compatible = "sandbox,nop_sandbox1";
801 compatible = "sandbox,nop_sandbox2";
805 compatible = "sandbox,nop_sandbox2";
811 compatible = "sandbox,misc_sandbox";
815 compatible = "sandbox,mmc";
819 compatible = "sandbox,mmc";
823 compatible = "sandbox,mmc";
827 compatible = "sandbox,pch";
831 compatible = "sandbox,pci";
833 bus-range = <0x00 0xff>;
834 #address-cells = <3>;
836 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000
837 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
839 compatible = "pci-generic";
840 reg = <0x0000 0 0 0 0>;
841 sandbox,emul = <&swap_case_emul0_0>;
844 compatible = "pci-generic";
845 /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */
846 reg = <0x02000814 0 0 0 0
848 sandbox,emul = <&swap_case_emul0_1>;
851 compatible = "sandbox,p2sb";
852 reg = <0x02001010 0 0 0 0>;
853 sandbox,emul = <&p2sb_emul>;
856 intel,p2sb-port-id = <3>;
857 compatible = "sandbox,adder";
861 compatible = "sandbox,pmc";
862 reg = <0xf000 0 0 0 0>;
863 sandbox,emul = <&pmc_emul1e>;
865 gpe0-dwx-mask = <0xf>;
866 gpe0-dwx-shift-base = <4>;
872 compatible = "pci-generic";
873 /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */
874 reg = <0x0100f810 0 0 0 0>;
875 sandbox,emul = <&swap_case_emul0_1f>;
880 compatible = "sandbox,pci-emul-parent";
881 swap_case_emul0_0: emul0@0,0 {
882 compatible = "sandbox,swap-case";
884 swap_case_emul0_1: emul0@1,0 {
885 compatible = "sandbox,swap-case";
888 swap_case_emul0_1f: emul0@1f,0 {
889 compatible = "sandbox,swap-case";
891 p2sb_emul: emul@2,0 {
892 compatible = "sandbox,p2sb-emul";
894 pmc_emul1e: emul@1e,0 {
895 compatible = "sandbox,pmc-emul";
900 compatible = "sandbox,pci";
902 bus-range = <0x00 0xff>;
903 #address-cells = <3>;
905 ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 // MEM0
906 0x02000000 0 0x31000000 0x31000000 0 0x2000 // MEM1
907 0x01000000 0 0x40000000 0x40000000 0 0x2000>;
908 sandbox,dev-info = <0x08 0x00 0x1234 0x5678
909 0x0c 0x00 0x1234 0x5678
910 0x10 0x00 0x1234 0x5678>;
912 reg = <0x8000 0 0 0 0>;
917 compatible = "sandbox,pci";
919 bus-range = <0x00 0xff>;
920 #address-cells = <3>;
922 ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
923 0x01000000 0 0x60000000 0x60000000 0 0x2000>;
924 sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
926 compatible = "pci-generic";
927 reg = <0xf800 0 0 0 0>;
928 sandbox,emul = <&swap_case_emul2_1f>;
933 compatible = "sandbox,pci-emul-parent";
934 swap_case_emul2_1f: emul2@1f,0 {
935 compatible = "sandbox,swap-case";
940 compatible = "sandbox,pci_ep";
944 compatible = "simple-bus";
946 compatible = "denx,u-boot-probe-test";
950 compatible = "denx,u-boot-probe-test";
954 compatible = "denx,u-boot-probe-test";
958 compatible = "denx,u-boot-probe-test";
959 first-syscon = <&syscon0>;
960 second-sys-ctrl = <&another_system_controller>;
961 third-syscon = <&syscon2>;
965 pwrdom: power-domain {
966 compatible = "sandbox,power-domain";
967 #power-domain-cells = <1>;
971 compatible = "sandbox,power-domain-test";
972 power-domains = <&pwrdom 2>;
976 compatible = "sandbox,pwm";
978 pinctrl-names = "default";
979 pinctrl-0 = <&pinmux_pwm_pins>;
983 compatible = "sandbox,pwm";
988 compatible = "sandbox,ram";
992 compatible = "sandbox,warm-reset";
996 compatible = "sandbox,reset";
1000 compatible = "sandbox,reset-ctl";
1005 compatible = "sandbox,reset-ctl-test";
1006 resets = <&resetc 100>, <&resetc 2>, <&resetc 20>, <&resetc 40>;
1007 reset-names = "other", "test", "test2", "test3";
1011 compatible = "sandbox,sandbox-rng";
1015 compatible = "sandbox,test-processor";
1016 remoteproc-name = "remoteproc-test-dev1";
1020 compatible = "sandbox,test-processor";
1021 internal-memory-mapped;
1022 remoteproc-name = "remoteproc-test-dev2";
1026 compatible = "simple-panel";
1027 backlight = <&backlight 0 100>;
1031 compatible = "sandbox,smem";
1035 compatible = "sandbox,sound";
1037 sound-dai = <&i2s 0>;
1041 sound-dai = <&audio 0>;
1046 #address-cells = <1>;
1049 compatible = "sandbox,spi";
1050 cs-gpios = <0>, <0>, <&gpio_a 0>;
1051 pinctrl-names = "default";
1052 pinctrl-0 = <&pinmux_spi0_pins>;
1056 compatible = "spansion,m25p16", "jedec,spi-nor";
1057 spi-max-frequency = <40000000>;
1058 sandbox,filename = "spi.bin";
1062 compatible = "spansion,m25p16", "jedec,spi-nor";
1063 spi-max-frequency = <50000000>;
1064 sandbox,filename = "spi.bin";
1071 compatible = "sandbox,syscon0";
1075 another_system_controller: syscon@1 {
1076 compatible = "sandbox,syscon1";
1084 compatible = "simple-mfd", "syscon";
1092 compatible = "simple-mfd", "syscon";
1093 reg = <0x000100 0x10>;
1095 muxcontroller0: a-mux-controller {
1096 compatible = "mmio-mux";
1097 #mux-control-cells = <1>;
1099 mux-reg-masks = <0x0 0x30>, /* 0: reg 0x0, bits 5:4 */
1100 <0xc 0x1E>, /* 1: reg 0xc, bits 4:1 */
1101 <0x4 0xFF>; /* 2: reg 0x4, bits 7:0 */
1102 idle-states = <MUX_IDLE_AS_IS>, <0x02>, <0x73>;
1103 u-boot,mux-autoprobe;
1107 muxcontroller1: emul-mux-controller {
1108 compatible = "mux-emul";
1109 #mux-control-cells = <0>;
1110 u-boot,mux-autoprobe;
1111 idle-state = <0xabcd>;
1115 compatible = "denx,u-boot-fdtm-test";
1118 testfdtm1: testfdtm1 {
1119 compatible = "denx,u-boot-fdtm-test";
1123 compatible = "denx,u-boot-fdtm-test";
1127 compatible = "sandbox,timer";
1128 clock-frequency = <1000000>;
1132 compatible = "sandbox,timer";
1133 sandbox,timebase-frequency-fallback;
1137 compatible = "sandbox,tpm2";
1141 compatible = "sandbox,serial";
1142 u-boot,dm-pre-reloc;
1143 pinctrl-names = "default";
1144 pinctrl-0 = <&pinmux_uart0_pins>;
1148 compatible = "sandbox,usb";
1149 status = "disabled";
1151 compatible = "sandbox,usb-hub";
1152 #address-cells = <1>;
1156 compatible = "sandbox,usb-flash";
1162 compatible = "sandbox,usb";
1164 compatible = "usb-hub";
1165 usb,device-class = <9>;
1166 #address-cells = <1>;
1169 compatible = "sandbox,usb-hub";
1170 #address-cells = <1>;
1174 compatible = "sandbox,usb-flash";
1175 sandbox,filepath = "testflash.bin";
1180 compatible = "sandbox,usb-flash";
1181 sandbox,filepath = "testflash1.bin";
1186 compatible = "sandbox,usb-flash";
1187 sandbox,filepath = "testflash2.bin";
1192 compatible = "sandbox,usb-keyb";
1207 compatible = "sandbox,usb";
1208 status = "disabled";
1212 compatible = "sandbox,spmi";
1213 #address-cells = <0x1>;
1214 #size-cells = <0x1>;
1217 compatible = "qcom,spmi-pmic";
1219 #address-cells = <0x1>;
1220 #size-cells = <0x1>;
1223 spmi_gpios: gpios@c000 {
1224 compatible = "qcom,pm8916-gpio";
1225 reg = <0xc000 0x400>;
1229 gpio-bank-name="spmi";
1235 compatible = "sandbox,wdt";
1239 compatible = "sandbox,axi";
1240 #address-cells = <0x1>;
1241 #size-cells = <0x1>;
1243 compatible = "sandbox,sandbox_store";
1249 #address-cells = <1>;
1251 setting = "sunrise ohoka";
1252 other-node = "/some-bus/c-test@5";
1253 int-values = <0x1937 72993>;
1254 u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>;
1256 compatible = "denx,u-boot-fdt-test";
1261 translation-test@8000 {
1262 compatible = "simple-bus";
1263 reg = <0x8000 0x4000>;
1265 #address-cells = <0x2>;
1266 #size-cells = <0x1>;
1268 ranges = <0 0x0 0x8000 0x1000
1269 1 0x100 0x9000 0x1000
1270 2 0x200 0xA000 0x1000
1271 3 0x300 0xB000 0x1000
1274 dma-ranges = <0 0x000 0x10000000 0x1000
1275 1 0x100 0x20000000 0x1000
1279 compatible = "denx,u-boot-fdt-dummy";
1280 reg = <0 0x0 0x1000>;
1281 reg-names = "sandbox-dummy-0";
1285 compatible = "denx,u-boot-fdt-dummy";
1286 reg = <1 0x100 0x1000>;
1291 compatible = "denx,u-boot-fdt-dummy";
1292 reg = <2 0x200 0x1000>;
1297 compatible = "simple-bus";
1298 reg = <3 0x300 0x1000>;
1300 #address-cells = <0x1>;
1301 #size-cells = <0x0>;
1304 compatible = "denx,u-boot-fdt-dummy";
1311 compatible = "sandbox,sandbox_osd";
1315 compatible = "sandbox,tee";
1319 compatible = "sandbox,virtio1";
1323 compatible = "sandbox,virtio2";
1327 compatible = "sandbox,scmi-devices";
1328 clocks = <&clk_scmi0 7>, <&clk_scmi0 3>, <&clk_scmi1 1>;
1329 resets = <&reset_scmi0 3>;
1330 regul0-supply = <®ul0_scmi0>;
1331 regul1-supply = <®ul1_scmi0>;
1335 compatible = "sandbox,pinctrl";
1337 pinctrl-names = "default", "alternate";
1338 pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>;
1339 pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>;
1341 pinctrl_gpios: gpios {
1355 pinmux = <SANDBOX_PINMUX(7, SANDBOX_PINMUX_GPIO)>;
1360 pinmux = <SANDBOX_PINMUX(8, SANDBOX_PINMUX_GPIO)>;
1367 groups = "I2C_UART";
1387 pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>,
1388 <SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>;
1393 pinctrl-single-no-width {
1394 compatible = "pinctrl-single";
1395 reg = <0x0000 0x238>;
1396 #pinctrl-cells = <1>;
1397 pinctrl-single,function-mask = <0x7f>;
1400 pinctrl-single-pins {
1401 compatible = "pinctrl-single";
1402 reg = <0x0000 0x238>;
1403 #pinctrl-cells = <1>;
1404 pinctrl-single,register-width = <32>;
1405 pinctrl-single,function-mask = <0x7f>;
1407 pinmux_pwm_pins: pinmux_pwm_pins {
1408 pinctrl-single,pins = < 0x48 0x06 >;
1411 pinmux_spi0_pins: pinmux_spi0_pins {
1412 pinctrl-single,pins = <
1420 pinmux_uart0_pins: pinmux_uart0_pins {
1421 pinctrl-single,pins = <
1428 pinctrl-single-bits {
1429 compatible = "pinctrl-single";
1430 reg = <0x0000 0x50>;
1431 #pinctrl-cells = <2>;
1432 pinctrl-single,bit-per-mux;
1433 pinctrl-single,register-width = <32>;
1434 pinctrl-single,function-mask = <0xf>;
1436 pinmux_i2c0_pins: pinmux_i2c0_pins {
1437 pinctrl-single,bits = <
1438 0x10 0x00002200 0x0000ff00
1442 pinmux_lcd_pins: pinmux_lcd_pins {
1443 pinctrl-single,bits = <
1444 0x40 0x22222200 0xffffff00
1445 0x44 0x22222222 0xffffffff
1446 0x48 0x00000022 0x000000ff
1447 0x48 0x02000000 0x0f000000
1448 0x4c 0x02000022 0x0f0000ff
1454 compatible = "sandbox,hwspinlock";
1458 compatible = "sandbox,dma";
1461 dmas = <&dma 0>, <&dma 1>, <&dma 2>;
1462 dma-names = "m2m", "tx0", "rx0";
1466 * keep mdio-mux ahead of mdio so that the mux is removed first at the
1467 * end of the test. If parent mdio is removed first, clean-up of the
1468 * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio
1469 * active at the end of the test. That it turn doesn't allow the mdio
1470 * class to be destroyed, triggering an error.
1473 compatible = "sandbox,mdio-mux";
1474 #address-cells = <1>;
1476 mdio-parent-bus = <&mdio>;
1487 compatible = "sandbox,mdio";
1491 compatible = "simple-pm-bus";
1492 clocks = <&clk_sandbox 4>;
1493 power-domains = <&pwrdom 1>;
1496 resetc2: syscon-reset {
1497 compatible = "syscon-reset";
1499 regmap = <&syscon0>;
1501 mask = <0x27FFFFFF>;
1506 compatible = "sandbox,misc_sandbox";
1507 resets = <&resetc2 15>, <&resetc2 30>, <&resetc2 60>;
1508 reset-names = "valid", "no_mask", "out_of_range";
1512 compatible = "sandbox,sysinfo-sandbox";
1516 compatible = "gpio-sysinfo";
1517 gpios = <&gpio_a 15>, <&gpio_a 16>, <&gpio_a 17>;
1518 revisions = <19>, <5>;
1519 names = "rev_a", "foo";
1522 some_regmapped-bus {
1523 #address-cells = <0x1>;
1524 #size-cells = <0x1>;
1526 ranges = <0x0 0x0 0x10>;
1527 compatible = "simple-bus";
1531 compatible = "sandbox,regmap_test";
1536 #include "sandbox_pmic.dtsi"
1537 #include "cros-ec-keyboard.dtsi"