3 #define USB_CLASS_HUB 9
18 stdout-path = "/serial";
23 compatible = "google,cros-ec-sandbox";
26 * This describes the flash memory within the EC. Note
27 * that the STM32L flash erases to 0, not 0xff.
30 image-pos = <0x08000000>;
34 /* Information for sandbox */
44 image-pos = <0x10000>;
51 compatible = "sandbox,eth-raw-bus";
56 compatible = "sandbox,eth";
57 reg = <0x10002000 0x1000>;
58 fake-host-hwaddr = [00 00 66 44 22 00];
63 compatible = "sandbox,gpio";
66 sandbox,gpio-count = <20>;
71 compatible = "sandbox,gpio";
74 sandbox,gpio-count = <10>;
78 compatible = "demo-simple";
87 compatible = "sandbox,i2c";
88 clock-frequency = <400000>;
89 pinctrl-names = "default";
90 pinctrl-0 = <&pinctrl_i2c0>;
93 compatible = "i2c-eeprom";
95 compatible = "sandbox,i2c-eeprom";
96 sandbox,filename = "i2c.bin";
103 compatible = "sandbox-rtc";
105 compatible = "sandbox,i2c-rtc";
108 sandbox_pmic: sandbox_pmic {
119 compatible = "sandbox,lcd-sdl";
125 compatible = "gpio-leds";
128 gpios = <&gpio_a 1 0>;
129 label = "sandbox:red";
133 gpios = <&gpio_a 2 0>;
134 label = "sandbox:green";
138 pci: pci-controller {
139 compatible = "sandbox,pci";
141 #address-cells = <3>;
143 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
144 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
146 compatible = "pci-generic";
147 reg = <0xf800 0 0 0 0>;
149 compatible = "sandbox,swap-case";
155 compatible = "sandbox,pinctrl";
164 pinctrl_serial0: uart0 {
169 pinctrl_onewire0: onewire0 {
177 compatible = "sandbox,reset";
181 #address-cells = <1>;
184 compatible = "sandbox,spi";
185 cs-gpios = <0>, <&gpio_a 0>;
186 firmware_storage_spi: flash@0 {
188 compatible = "spansion,m25p16", "sandbox,spi-flash";
189 spi-max-frequency = <40000000>;
190 sandbox,filename = "spi.bin";
196 compatible = "sandbox,spl-test";
202 longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
203 stringval = "message";
204 stringarray = "multi-word", "message";
209 compatible = "sandbox,spl-test";
213 bytearray = [01 23 34];
214 longbytearray = [09 0a 0b 0c];
215 stringval = "message2";
216 stringarray = "another", "multi-word", "message";
221 compatible = "sandbox,spl-test";
227 compatible = "sandbox,spl-test.2";
231 compatible = "demo-shape";
237 compatible = "sandbox,timer";
238 clock-frequency = <1000000>;
242 compatible = "google,sandbox-tpm";
246 compatible = "sandbox,tpm2";
250 compatible = "demo-shape";
254 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
257 /* Needs to be available prior to relocation */
259 compatible = "sandbox,serial";
260 sandbox,text-colour = "cyan";
261 pinctrl-names = "default";
262 pinctrl-0 = <&pinctrl_serial0>;
266 compatible = "sandbox,usb";
269 compatible = "sandbox,usb-hub";
270 #address-cells = <1>;
274 compatible = "sandbox,usb-flash";
280 compatible = "sandbox,usb";
282 compatible = "usb-hub";
283 usb,device-class = <USB_CLASS_HUB>;
285 compatible = "sandbox,usb-hub";
286 #address-cells = <1>;
290 compatible = "sandbox,usb-flash";
291 sandbox,filepath = "flash.bin";
298 compatible = "sandbox,usb";
303 compatible = "sandbox,spmi";
304 #address-cells = <0x1>;
307 compatible = "qcom,spmi-pmic";
309 #address-cells = <0x1>;
312 spmi_gpios: gpios@c000 {
313 compatible = "qcom,pm8916-gpio";
314 reg = <0xc000 0x400>;
318 gpio-bank-name="spmi";
324 compatible = "sandbox,axi";
325 #address-cells = <0x1>;
328 compatible = "sandbox,sandbox_store";
334 compatible = "w1-gpio";
336 pinctrl-names = "default";
337 pinctrl-0 = <&pinctrl_onewire0>;
340 sandbox_eeprom0: sandbox_eeprom@0 {
341 compatible = "sandbox,w1-eeprom";
347 compatible = "sandbox,tee";
351 #include "cros-ec-keyboard.dtsi"
352 #include "sandbox_pmic.dtsi"