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";
107 compatible = "sandbox-rtc";
109 sandbox_pmic: sandbox_pmic {
118 #address-cells = <1>;
121 compatible = "sandbox,i2c-emul-parent";
124 compatible = "sandbox,i2c-eeprom";
125 sandbox,filename = "i2c.bin";
126 sandbox,size = <256>;
130 compatible = "sandbox,i2c-rtc";
136 compatible = "sandbox,i2s";
137 #sound-dai-cells = <1>;
142 compatible = "sandbox,lcd-sdl";
148 compatible = "gpio-leds";
151 gpios = <&gpio_a 1 0>;
152 label = "sandbox:red";
156 gpios = <&gpio_a 2 0>;
157 label = "sandbox:green";
161 pci: pci-controller {
162 compatible = "sandbox,pci";
164 #address-cells = <3>;
166 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
167 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
169 compatible = "pci-generic";
170 reg = <0xf800 0 0 0 0>;
172 compatible = "sandbox,swap-case";
178 compatible = "sandbox,pinctrl";
187 pinctrl_serial0: uart0 {
192 pinctrl_onewire0: onewire0 {
200 compatible = "sandbox,reset";
204 compatible = "sandbox,sound";
206 sound-dai = <&i2s 0>;
210 sound-dai = <&audio 0>;
216 #address-cells = <1>;
219 compatible = "sandbox,spi";
220 cs-gpios = <0>, <&gpio_a 0>;
221 firmware_storage_spi: flash@0 {
224 compatible = "spansion,m25p16", "sandbox,spi-flash";
225 spi-max-frequency = <40000000>;
226 sandbox,filename = "spi.bin";
232 compatible = "sandbox,spl-test";
238 longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
239 stringval = "message";
240 stringarray = "multi-word", "message";
245 compatible = "sandbox,spl-test";
249 bytearray = [01 23 34];
250 longbytearray = [09 0a 0b 0c];
251 stringval = "message2";
252 stringarray = "another", "multi-word", "message";
257 compatible = "sandbox,spl-test";
263 compatible = "sandbox,spl-test.2";
267 compatible = "demo-shape";
273 compatible = "sandbox,timer";
274 clock-frequency = <1000000>;
279 compatible = "google,sandbox-tpm";
283 compatible = "sandbox,tpm2";
287 compatible = "demo-shape";
291 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
294 /* Needs to be available prior to relocation */
297 compatible = "sandbox,serial";
298 sandbox,text-colour = "cyan";
299 pinctrl-names = "default";
300 pinctrl-0 = <&pinctrl_serial0>;
304 compatible = "sandbox,usb";
307 compatible = "sandbox,usb-hub";
308 #address-cells = <1>;
312 compatible = "sandbox,usb-flash";
318 compatible = "sandbox,usb";
320 compatible = "usb-hub";
321 usb,device-class = <USB_CLASS_HUB>;
323 compatible = "sandbox,usb-hub";
324 #address-cells = <1>;
328 compatible = "sandbox,usb-flash";
329 sandbox,filepath = "flash.bin";
336 compatible = "sandbox,usb";
341 compatible = "sandbox,spmi";
342 #address-cells = <0x1>;
345 compatible = "qcom,spmi-pmic";
347 #address-cells = <0x1>;
350 spmi_gpios: gpios@c000 {
351 compatible = "qcom,pm8916-gpio";
352 reg = <0xc000 0x400>;
356 gpio-bank-name="spmi";
362 compatible = "sandbox,axi";
363 #address-cells = <0x1>;
366 compatible = "sandbox,sandbox_store";
372 compatible = "w1-gpio";
374 pinctrl-names = "default";
375 pinctrl-0 = <&pinctrl_onewire0>;
378 sandbox_eeprom0: sandbox_eeprom@0 {
379 compatible = "sandbox,w1-eeprom";
385 compatible = "sandbox,tee";
389 #include "cros-ec-keyboard.dtsi"
390 #include "sandbox_pmic.dtsi"
394 keyboard-controller {