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";
97 compatible = "sandbox-rtc";
99 sandbox_pmic: sandbox_pmic {
109 compatible = "sandbox,i2c-emul-parent";
111 compatible = "sandbox,i2c-eeprom";
112 sandbox,filename = "i2c.bin";
113 sandbox,size = <256>;
116 compatible = "sandbox,i2c-rtc";
123 compatible = "sandbox,lcd-sdl";
129 compatible = "gpio-leds";
132 gpios = <&gpio_a 1 0>;
133 label = "sandbox:red";
137 gpios = <&gpio_a 2 0>;
138 label = "sandbox:green";
142 pci: pci-controller {
143 compatible = "sandbox,pci";
145 #address-cells = <3>;
147 ranges = <0x02000000 0 0x10000000 0 0x10000000 0 0x2000
148 0x01000000 0 0x20000000 0 0x20000000 0 0x2000>;
150 compatible = "pci-generic";
151 reg = <0xf800 0 0 0 0>;
153 compatible = "sandbox,swap-case";
159 compatible = "sandbox,pinctrl";
167 pinctrl_serial0: uart0 {
174 compatible = "sandbox,reset";
178 #address-cells = <1>;
181 compatible = "sandbox,spi";
182 cs-gpios = <0>, <&gpio_a 0>;
183 firmware_storage_spi: flash@0 {
185 compatible = "spansion,m25p16", "sandbox,spi-flash";
186 spi-max-frequency = <40000000>;
187 sandbox,filename = "spi.bin";
193 compatible = "sandbox,spl-test";
199 longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
200 stringval = "message";
201 stringarray = "multi-word", "message";
206 compatible = "sandbox,spl-test";
210 bytearray = [01 23 34];
211 longbytearray = [09 0a 0b 0c];
212 stringval = "message2";
213 stringarray = "another", "multi-word", "message";
218 compatible = "sandbox,spl-test";
224 compatible = "sandbox,spl-test.2";
228 compatible = "demo-shape";
234 compatible = "sandbox,timer";
235 clock-frequency = <1000000>;
239 compatible = "google,sandbox-tpm";
243 compatible = "sandbox,tpm2";
247 compatible = "demo-shape";
251 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
254 /* Needs to be available prior to relocation */
256 compatible = "sandbox,serial";
257 sandbox,text-colour = "cyan";
258 pinctrl-names = "default";
259 pinctrl-0 = <&pinctrl_serial0>;
263 compatible = "sandbox,usb";
266 compatible = "sandbox,usb-hub";
267 #address-cells = <1>;
271 compatible = "sandbox,usb-flash";
277 compatible = "sandbox,usb";
279 compatible = "usb-hub";
280 usb,device-class = <USB_CLASS_HUB>;
282 compatible = "sandbox,usb-hub";
283 #address-cells = <1>;
287 compatible = "sandbox,usb-flash";
288 sandbox,filepath = "flash.bin";
295 compatible = "sandbox,usb";
300 compatible = "sandbox,spmi";
301 #address-cells = <0x1>;
304 compatible = "qcom,spmi-pmic";
306 #address-cells = <0x1>;
309 spmi_gpios: gpios@c000 {
310 compatible = "qcom,pm8916-gpio";
311 reg = <0xc000 0x400>;
315 gpio-bank-name="spmi";
321 compatible = "sandbox,tee";
325 #include "cros-ec-keyboard.dtsi"
326 #include "sandbox_pmic.dtsi"