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.
32 reg = <0x08000000 0x20000>;
37 /* Information for sandbox */
42 reg = <0xf000 0x1000>;
45 reg = <0x10000 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";
163 pinctrl_serial0: uart0 {
170 compatible = "sandbox,reset";
174 #address-cells = <1>;
177 compatible = "sandbox,spi";
178 cs-gpios = <0>, <&gpio_a 0>;
179 firmware_storage_spi: flash@0 {
181 compatible = "spansion,m25p16", "sandbox,spi-flash";
182 spi-max-frequency = <40000000>;
183 sandbox,filename = "spi.bin";
189 compatible = "sandbox,spl-test";
195 longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
196 stringval = "message";
197 stringarray = "multi-word", "message";
202 compatible = "sandbox,spl-test";
206 bytearray = [01 23 34];
207 longbytearray = [09 0a 0b 0c];
208 stringval = "message2";
209 stringarray = "another", "multi-word", "message";
214 compatible = "sandbox,spl-test";
220 compatible = "sandbox,spl-test.2";
224 compatible = "demo-shape";
230 compatible = "sandbox,timer";
231 clock-frequency = <1000000>;
235 compatible = "google,sandbox-tpm";
239 compatible = "sandbox,tpm2";
243 compatible = "demo-shape";
247 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
250 /* Needs to be available prior to relocation */
252 compatible = "sandbox,serial";
253 sandbox,text-colour = "cyan";
254 pinctrl-names = "default";
255 pinctrl-0 = <&pinctrl_serial0>;
259 compatible = "sandbox,usb";
262 compatible = "sandbox,usb-hub";
263 #address-cells = <1>;
267 compatible = "sandbox,usb-flash";
273 compatible = "sandbox,usb";
275 compatible = "usb-hub";
276 usb,device-class = <USB_CLASS_HUB>;
278 compatible = "sandbox,usb-hub";
279 #address-cells = <1>;
283 compatible = "sandbox,usb-flash";
284 sandbox,filepath = "flash.bin";
291 compatible = "sandbox,usb";
296 compatible = "sandbox,spmi";
297 #address-cells = <0x1>;
300 compatible = "qcom,spmi-pmic";
302 #address-cells = <0x1>;
305 spmi_gpios: gpios@c000 {
306 compatible = "qcom,pm8916-gpio";
307 reg = <0xc000 0x400>;
311 gpio-bank-name="spmi";
317 compatible = "sandbox,axi";
318 #address-cells = <0x1>;
321 compatible = "sandbox,sandbox_store";
327 #include "cros-ec-keyboard.dtsi"
328 #include "sandbox_pmic.dtsi"