3 #define USB_CLASS_HUB 9
18 stdout-path = "/serial";
22 compatible = "sandbox,audio-codec";
23 #sound-dai-cells = <1>;
29 compatible = "google,cros-ec-sandbox";
32 * This describes the flash memory within the EC. Note
33 * that the STM32L flash erases to 0, not 0xff.
37 image-pos = <0x08000000>;
41 /* Information for sandbox */
51 image-pos = <0x10000>;
58 compatible = "sandbox,eth-raw-bus";
63 compatible = "sandbox,eth";
64 reg = <0x10002000 0x1000>;
65 fake-host-hwaddr = [00 00 66 44 22 00];
71 compatible = "sandbox,gpio";
74 sandbox,gpio-count = <20>;
80 compatible = "sandbox,gpio";
83 sandbox,gpio-count = <10>;
87 compatible = "demo-simple";
96 compatible = "sandbox,i2c";
97 clock-frequency = <400000>;
98 pinctrl-names = "default";
99 pinctrl-0 = <&pinctrl_i2c0>;
102 compatible = "i2c-eeprom";
103 sandbox,emul = <&emul_eeprom>;
108 compatible = "sandbox-rtc";
109 sandbox,emul = <&emul0>;
111 sandbox_pmic: sandbox_pmic {
121 compatible = "sandbox,i2c-emul-parent";
122 emul_eeprom: emul-eeprom {
123 compatible = "sandbox,i2c-eeprom";
124 sandbox,filename = "i2c.bin";
125 sandbox,size = <256>;
128 compatible = "sandbox,i2c-rtc";
134 compatible = "sandbox,i2s";
135 #sound-dai-cells = <1>;
140 compatible = "sandbox,lcd-sdl";
146 compatible = "gpio-leds";
149 gpios = <&gpio_a 1 0>;
150 label = "sandbox:red";
154 gpios = <&gpio_a 2 0>;
155 label = "sandbox:green";
159 pci: pci-controller {
160 compatible = "sandbox,pci";
162 #address-cells = <3>;
164 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
165 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
167 compatible = "pci-generic";
168 reg = <0xf800 0 0 0 0>;
170 compatible = "sandbox,swap-case";
176 compatible = "sandbox,pinctrl";
185 pinctrl_serial0: uart0 {
190 pinctrl_onewire0: onewire0 {
198 compatible = "sandbox,reset";
202 compatible = "sandbox,sound";
204 sound-dai = <&i2s 0>;
208 sound-dai = <&audio 0>;
214 #address-cells = <1>;
217 compatible = "sandbox,spi";
218 cs-gpios = <0>, <&gpio_a 0>;
219 firmware_storage_spi: flash@0 {
222 compatible = "spansion,m25p16", "sandbox,spi-flash";
223 spi-max-frequency = <40000000>;
224 sandbox,filename = "spi.bin";
230 compatible = "sandbox,spl-test";
236 longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
237 stringval = "message";
238 stringarray = "multi-word", "message";
243 compatible = "sandbox,spl-test";
247 bytearray = [01 23 34];
248 longbytearray = [09 0a 0b 0c];
249 stringval = "message2";
250 stringarray = "another", "multi-word", "message";
255 compatible = "sandbox,spl-test";
261 compatible = "sandbox,spl-test.2";
265 compatible = "demo-shape";
271 compatible = "sandbox,timer";
272 clock-frequency = <1000000>;
277 compatible = "google,sandbox-tpm";
281 compatible = "sandbox,tpm2";
285 compatible = "demo-shape";
289 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
292 /* Needs to be available prior to relocation */
295 compatible = "sandbox,serial";
296 sandbox,text-colour = "cyan";
297 pinctrl-names = "default";
298 pinctrl-0 = <&pinctrl_serial0>;
302 compatible = "sandbox,usb";
305 compatible = "sandbox,usb-hub";
306 #address-cells = <1>;
310 compatible = "sandbox,usb-flash";
316 compatible = "sandbox,usb";
318 compatible = "usb-hub";
319 usb,device-class = <USB_CLASS_HUB>;
321 compatible = "sandbox,usb-hub";
322 #address-cells = <1>;
326 compatible = "sandbox,usb-flash";
327 sandbox,filepath = "flash.bin";
334 compatible = "sandbox,usb";
339 compatible = "sandbox,spmi";
340 #address-cells = <0x1>;
343 compatible = "qcom,spmi-pmic";
345 #address-cells = <0x1>;
348 spmi_gpios: gpios@c000 {
349 compatible = "qcom,pm8916-gpio";
350 reg = <0xc000 0x400>;
354 gpio-bank-name="spmi";
360 compatible = "sandbox,axi";
361 #address-cells = <0x1>;
364 compatible = "sandbox,sandbox_store";
370 compatible = "w1-gpio";
372 pinctrl-names = "default";
373 pinctrl-0 = <&pinctrl_onewire0>;
376 sandbox_eeprom0: sandbox_eeprom@0 {
377 compatible = "sandbox,w1-eeprom";
383 compatible = "sandbox,tee";
387 #include "cros-ec-keyboard.dtsi"
388 #include "sandbox_pmic.dtsi"
392 keyboard-controller {