3 #define USB_CLASS_HUB 9
17 stdout-path = "/serial";
22 compatible = "google,cros-ec-sandbox";
25 * This describes the flash memory within the EC. Note
26 * that the STM32L flash erases to 0, not 0xff.
29 image-pos = <0x08000000>;
33 /* Information for sandbox */
43 image-pos = <0x10000>;
50 compatible = "sandbox,eth-raw-bus";
55 compatible = "sandbox,eth";
56 reg = <0x0 0x10002000 0x0 0x1000>;
57 fake-host-hwaddr = [00 00 66 44 22 00];
62 compatible = "sandbox,gpio";
65 sandbox,gpio-count = <20>;
70 compatible = "sandbox,gpio";
73 sandbox,gpio-count = <10>;
77 compatible = "demo-simple";
86 compatible = "sandbox,i2c";
87 clock-frequency = <400000>;
88 pinctrl-names = "default";
89 pinctrl-0 = <&pinctrl_i2c0>;
92 compatible = "i2c-eeprom";
93 sandbox,emul = <&emul_eeprom>;
98 compatible = "sandbox-rtc";
99 sandbox,emul = <&emul0>;
101 sandbox_pmic: sandbox_pmic {
111 compatible = "sandbox,i2c-emul-parent";
112 emul_eeprom: emul-eeprom {
113 compatible = "sandbox,i2c-eeprom";
114 sandbox,filename = "i2c.bin";
115 sandbox,size = <256>;
118 compatible = "sandbox,i2c-rtc";
125 compatible = "sandbox,lcd-sdl";
131 compatible = "gpio-leds";
134 gpios = <&gpio_a 1 0>;
135 label = "sandbox:red";
139 gpios = <&gpio_a 2 0>;
140 label = "sandbox:green";
144 pci: pci-controller {
145 compatible = "sandbox,pci";
147 #address-cells = <3>;
149 ranges = <0x02000000 0 0x10000000 0 0x10000000 0 0x2000
150 0x01000000 0 0x20000000 0 0x20000000 0 0x2000>;
152 compatible = "pci-generic";
153 reg = <0xf800 0 0 0 0>;
155 compatible = "sandbox,swap-case";
161 compatible = "sandbox,pinctrl";
169 pinctrl_serial0: uart0 {
176 compatible = "sandbox,reset";
180 #address-cells = <1>;
183 compatible = "sandbox,spi";
184 cs-gpios = <0>, <&gpio_a 0>;
185 firmware_storage_spi: flash@0 {
187 compatible = "spansion,m25p16", "sandbox,spi-flash";
188 spi-max-frequency = <40000000>;
189 sandbox,filename = "spi.bin";
195 compatible = "sandbox,spl-test";
201 longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
202 stringval = "message";
203 stringarray = "multi-word", "message";
208 compatible = "sandbox,spl-test";
212 bytearray = [01 23 34];
213 longbytearray = [09 0a 0b 0c];
214 stringval = "message2";
215 stringarray = "another", "multi-word", "message";
220 compatible = "sandbox,spl-test";
226 compatible = "sandbox,spl-test.2";
230 compatible = "demo-shape";
236 compatible = "sandbox,timer";
237 clock-frequency = <1000000>;
241 compatible = "google,sandbox-tpm";
245 compatible = "sandbox,tpm2";
249 compatible = "demo-shape";
253 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
256 /* Needs to be available prior to relocation */
258 compatible = "sandbox,serial";
259 sandbox,text-colour = "cyan";
260 pinctrl-names = "default";
261 pinctrl-0 = <&pinctrl_serial0>;
265 compatible = "sandbox,usb";
268 compatible = "sandbox,usb-hub";
269 #address-cells = <1>;
273 compatible = "sandbox,usb-flash";
279 compatible = "sandbox,usb";
281 compatible = "usb-hub";
282 usb,device-class = <USB_CLASS_HUB>;
284 compatible = "sandbox,usb-hub";
285 #address-cells = <1>;
289 compatible = "sandbox,usb-flash";
290 sandbox,filepath = "flash.bin";
297 compatible = "sandbox,usb";
302 compatible = "sandbox,spmi";
303 #address-cells = <0x1>;
306 compatible = "qcom,spmi-pmic";
308 #address-cells = <0x1>;
311 spmi_gpios: gpios@c000 {
312 compatible = "qcom,pm8916-gpio";
313 reg = <0xc000 0x400>;
317 gpio-bank-name="spmi";
323 compatible = "sandbox,tee";
327 #include "cros-ec-keyboard.dtsi"
328 #include "sandbox_pmic.dtsi"