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.
31 reg = <0x08000000 0x20000>;
36 /* Information for sandbox */
41 reg = <0xf000 0x1000>;
44 reg = <0x10000 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";
94 compatible = "sandbox,i2c-eeprom";
95 sandbox,filename = "i2c.bin";
102 compatible = "sandbox-rtc";
104 compatible = "sandbox,i2c-rtc";
107 sandbox_pmic: sandbox_pmic {
118 compatible = "sandbox,lcd-sdl";
124 compatible = "gpio-leds";
127 gpios = <&gpio_a 1 0>;
128 label = "sandbox:red";
132 gpios = <&gpio_a 2 0>;
133 label = "sandbox:green";
137 pci: pci-controller {
138 compatible = "sandbox,pci";
140 #address-cells = <3>;
142 ranges = <0x02000000 0 0x10000000 0 0x10000000 0 0x2000
143 0x01000000 0 0x20000000 0 0x20000000 0 0x2000>;
145 compatible = "pci-generic";
146 reg = <0xf800 0 0 0 0>;
148 compatible = "sandbox,swap-case";
154 compatible = "sandbox,pinctrl";
162 pinctrl_serial0: uart0 {
169 compatible = "sandbox,reset";
173 #address-cells = <1>;
176 compatible = "sandbox,spi";
177 cs-gpios = <0>, <&gpio_a 0>;
178 firmware_storage_spi: flash@0 {
180 compatible = "spansion,m25p16", "sandbox,spi-flash";
181 spi-max-frequency = <40000000>;
182 sandbox,filename = "spi.bin";
188 compatible = "sandbox,spl-test";
194 longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
195 stringval = "message";
196 stringarray = "multi-word", "message";
201 compatible = "sandbox,spl-test";
205 bytearray = [01 23 34];
206 longbytearray = [09 0a 0b 0c];
207 stringval = "message2";
208 stringarray = "another", "multi-word", "message";
213 compatible = "sandbox,spl-test";
219 compatible = "sandbox,spl-test.2";
223 compatible = "demo-shape";
229 compatible = "sandbox,timer";
230 clock-frequency = <1000000>;
234 compatible = "google,sandbox-tpm";
238 compatible = "sandbox,tpm2";
242 compatible = "demo-shape";
246 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
249 /* Needs to be available prior to relocation */
251 compatible = "sandbox,serial";
252 sandbox,text-colour = "cyan";
253 pinctrl-names = "default";
254 pinctrl-0 = <&pinctrl_serial0>;
258 compatible = "sandbox,usb";
261 compatible = "sandbox,usb-hub";
262 #address-cells = <1>;
266 compatible = "sandbox,usb-flash";
272 compatible = "sandbox,usb";
274 compatible = "usb-hub";
275 usb,device-class = <USB_CLASS_HUB>;
277 compatible = "sandbox,usb-hub";
278 #address-cells = <1>;
282 compatible = "sandbox,usb-flash";
283 sandbox,filepath = "flash.bin";
290 compatible = "sandbox,usb";
295 compatible = "sandbox,spmi";
296 #address-cells = <0x1>;
299 compatible = "qcom,spmi-pmic";
301 #address-cells = <0x1>;
304 spmi_gpios: gpios@c000 {
305 compatible = "qcom,pm8916-gpio";
306 reg = <0xc000 0x400>;
310 gpio-bank-name="spmi";
316 compatible = "sandbox,tee";
320 #include "cros-ec-keyboard.dtsi"
321 #include "sandbox_pmic.dtsi"