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";
102 compatible = "sandbox-rtc";
104 sandbox_pmic: sandbox_pmic {
113 #address-cells = <1>;
116 compatible = "sandbox,i2c-emul-parent";
119 compatible = "sandbox,i2c-eeprom";
120 sandbox,filename = "i2c.bin";
121 sandbox,size = <256>;
125 compatible = "sandbox,i2c-rtc";
132 compatible = "sandbox,lcd-sdl";
138 compatible = "gpio-leds";
141 gpios = <&gpio_a 1 0>;
142 label = "sandbox:red";
146 gpios = <&gpio_a 2 0>;
147 label = "sandbox:green";
151 pci: pci-controller {
152 compatible = "sandbox,pci";
154 #address-cells = <3>;
156 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
157 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
159 compatible = "pci-generic";
160 reg = <0xf800 0 0 0 0>;
162 compatible = "sandbox,swap-case";
168 compatible = "sandbox,pinctrl";
177 pinctrl_serial0: uart0 {
182 pinctrl_onewire0: onewire0 {
190 compatible = "sandbox,reset";
195 #address-cells = <1>;
198 compatible = "sandbox,spi";
199 cs-gpios = <0>, <&gpio_a 0>;
200 firmware_storage_spi: flash@0 {
203 compatible = "spansion,m25p16", "sandbox,spi-flash";
204 spi-max-frequency = <40000000>;
205 sandbox,filename = "spi.bin";
211 compatible = "sandbox,spl-test";
217 longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
218 stringval = "message";
219 stringarray = "multi-word", "message";
224 compatible = "sandbox,spl-test";
228 bytearray = [01 23 34];
229 longbytearray = [09 0a 0b 0c];
230 stringval = "message2";
231 stringarray = "another", "multi-word", "message";
236 compatible = "sandbox,spl-test";
242 compatible = "sandbox,spl-test.2";
246 compatible = "demo-shape";
252 compatible = "sandbox,timer";
253 clock-frequency = <1000000>;
258 compatible = "google,sandbox-tpm";
262 compatible = "sandbox,tpm2";
266 compatible = "demo-shape";
270 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
273 /* Needs to be available prior to relocation */
276 compatible = "sandbox,serial";
277 sandbox,text-colour = "cyan";
278 pinctrl-names = "default";
279 pinctrl-0 = <&pinctrl_serial0>;
283 compatible = "sandbox,usb";
286 compatible = "sandbox,usb-hub";
287 #address-cells = <1>;
291 compatible = "sandbox,usb-flash";
297 compatible = "sandbox,usb";
299 compatible = "usb-hub";
300 usb,device-class = <USB_CLASS_HUB>;
302 compatible = "sandbox,usb-hub";
303 #address-cells = <1>;
307 compatible = "sandbox,usb-flash";
308 sandbox,filepath = "flash.bin";
315 compatible = "sandbox,usb";
320 compatible = "sandbox,spmi";
321 #address-cells = <0x1>;
324 compatible = "qcom,spmi-pmic";
326 #address-cells = <0x1>;
329 spmi_gpios: gpios@c000 {
330 compatible = "qcom,pm8916-gpio";
331 reg = <0xc000 0x400>;
335 gpio-bank-name="spmi";
341 compatible = "sandbox,axi";
342 #address-cells = <0x1>;
345 compatible = "sandbox,sandbox_store";
351 compatible = "w1-gpio";
353 pinctrl-names = "default";
354 pinctrl-0 = <&pinctrl_onewire0>;
357 sandbox_eeprom0: sandbox_eeprom@0 {
358 compatible = "sandbox,w1-eeprom";
364 compatible = "sandbox,tee";
368 #include "cros-ec-keyboard.dtsi"
369 #include "sandbox_pmic.dtsi"
373 keyboard-controller {