3 #define USB_CLASS_HUB 9
18 stdout-path = "/serial";
24 compatible = "google,cros-ec-sandbox";
27 * This describes the flash memory within the EC. Note
28 * that the STM32L flash erases to 0, not 0xff.
32 image-pos = <0x08000000>;
36 /* Information for sandbox */
46 image-pos = <0x10000>;
53 compatible = "sandbox,eth-raw-bus";
58 compatible = "sandbox,eth";
59 reg = <0x10002000 0x1000>;
60 fake-host-hwaddr = [00 00 66 44 22 00];
66 compatible = "sandbox,gpio";
69 sandbox,gpio-count = <20>;
75 compatible = "sandbox,gpio";
78 sandbox,gpio-count = <10>;
82 compatible = "demo-simple";
91 compatible = "sandbox,i2c";
92 clock-frequency = <400000>;
93 pinctrl-names = "default";
94 pinctrl-0 = <&pinctrl_i2c0>;
97 compatible = "i2c-eeprom";
99 compatible = "sandbox,i2c-eeprom";
100 sandbox,filename = "i2c.bin";
101 sandbox,size = <128>;
107 compatible = "sandbox-rtc";
109 compatible = "sandbox,i2c-rtc";
112 sandbox_pmic: sandbox_pmic {
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 0x10000000 0 0x2000
148 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
150 compatible = "pci-generic";
151 reg = <0xf800 0 0 0 0>;
153 compatible = "sandbox,swap-case";
159 compatible = "sandbox,pinctrl";
168 pinctrl_serial0: uart0 {
173 pinctrl_onewire0: onewire0 {
181 compatible = "sandbox,reset";
186 #address-cells = <1>;
189 compatible = "sandbox,spi";
190 cs-gpios = <0>, <&gpio_a 0>;
191 firmware_storage_spi: flash@0 {
194 compatible = "spansion,m25p16", "sandbox,spi-flash";
195 spi-max-frequency = <40000000>;
196 sandbox,filename = "spi.bin";
202 compatible = "sandbox,spl-test";
208 longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
209 stringval = "message";
210 stringarray = "multi-word", "message";
215 compatible = "sandbox,spl-test";
219 bytearray = [01 23 34];
220 longbytearray = [09 0a 0b 0c];
221 stringval = "message2";
222 stringarray = "another", "multi-word", "message";
227 compatible = "sandbox,spl-test";
233 compatible = "sandbox,spl-test.2";
237 compatible = "demo-shape";
243 compatible = "sandbox,timer";
244 clock-frequency = <1000000>;
249 compatible = "google,sandbox-tpm";
253 compatible = "sandbox,tpm2";
257 compatible = "demo-shape";
261 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
264 /* Needs to be available prior to relocation */
267 compatible = "sandbox,serial";
268 sandbox,text-colour = "cyan";
269 pinctrl-names = "default";
270 pinctrl-0 = <&pinctrl_serial0>;
274 compatible = "sandbox,usb";
277 compatible = "sandbox,usb-hub";
278 #address-cells = <1>;
282 compatible = "sandbox,usb-flash";
288 compatible = "sandbox,usb";
290 compatible = "usb-hub";
291 usb,device-class = <USB_CLASS_HUB>;
293 compatible = "sandbox,usb-hub";
294 #address-cells = <1>;
298 compatible = "sandbox,usb-flash";
299 sandbox,filepath = "flash.bin";
306 compatible = "sandbox,usb";
311 compatible = "sandbox,spmi";
312 #address-cells = <0x1>;
315 compatible = "qcom,spmi-pmic";
317 #address-cells = <0x1>;
320 spmi_gpios: gpios@c000 {
321 compatible = "qcom,pm8916-gpio";
322 reg = <0xc000 0x400>;
326 gpio-bank-name="spmi";
332 compatible = "sandbox,axi";
333 #address-cells = <0x1>;
336 compatible = "sandbox,sandbox_store";
342 compatible = "w1-gpio";
344 pinctrl-names = "default";
345 pinctrl-0 = <&pinctrl_onewire0>;
348 sandbox_eeprom0: sandbox_eeprom@0 {
349 compatible = "sandbox,w1-eeprom";
355 compatible = "sandbox,tee";
359 #include "cros-ec-keyboard.dtsi"
360 #include "sandbox_pmic.dtsi"
364 keyboard-controller {