3 #define USB_CLASS_HUB 9
10 eth5 = "/eth@90000000";
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";
51 reg = <0x10002000 0x1000>;
52 fake-host-hwaddr = [00 00 66 44 22 00];
56 compatible = "sandbox,eth-raw";
57 reg = <0x80000000 0x1000>;
58 host-raw-interface = "eth0";
62 compatible = "sandbox,eth-raw";
63 reg = <0x90000000 0x1000>;
64 host-raw-interface = "lo";
69 compatible = "sandbox,gpio";
77 compatible = "sandbox,gpio";
84 compatible = "demo-simple";
93 compatible = "sandbox,i2c";
94 clock-frequency = <400000>;
95 pinctrl-names = "default";
96 pinctrl-0 = <&pinctrl_i2c0>;
99 compatible = "i2c-eeprom";
101 compatible = "sandbox,i2c-eeprom";
102 sandbox,filename = "i2c.bin";
103 sandbox,size = <128>;
109 compatible = "sandbox-rtc";
111 compatible = "sandbox,i2c-rtc";
114 sandbox_pmic: sandbox_pmic {
121 compatible = "sandbox,lcd-sdl";
127 compatible = "gpio-leds";
130 gpios = <&gpio_a 1 0>;
131 label = "sandbox:red";
135 gpios = <&gpio_a 2 0>;
136 label = "sandbox:green";
140 pci: pci-controller {
141 compatible = "sandbox,pci";
143 #address-cells = <3>;
145 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
146 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
148 compatible = "pci-generic";
149 reg = <0xf800 0 0 0 0>;
151 compatible = "sandbox,swap-case";
157 compatible = "sandbox,pinctrl";
165 pinctrl_serial0: uart0 {
172 compatible = "sandbox,reset";
176 #address-cells = <1>;
179 compatible = "sandbox,spi";
180 cs-gpios = <0>, <&gpio_a 0>;
181 firmware_storage_spi: flash@0 {
183 compatible = "spansion,m25p16", "sandbox,spi-flash";
184 spi-max-frequency = <40000000>;
185 sandbox,filename = "spi.bin";
191 compatible = "sandbox,spl-test";
197 longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
198 stringval = "message";
199 stringarray = "multi-word", "message";
204 compatible = "sandbox,spl-test";
208 bytearray = [01 23 34];
209 longbytearray = [09 0a 0b 0c];
210 stringval = "message2";
211 stringarray = "another", "multi-word", "message";
216 compatible = "sandbox,spl-test";
222 compatible = "sandbox,spl-test.2";
226 compatible = "demo-shape";
232 compatible = "sandbox,timer";
233 clock-frequency = <1000000>;
237 compatible = "google,sandbox-tpm";
241 compatible = "demo-shape";
245 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
248 /* Needs to be available prior to relocation */
250 compatible = "sandbox,serial";
251 sandbox,text-colour = "cyan";
252 pinctrl-names = "default";
253 pinctrl-0 = <&pinctrl_serial0>;
257 compatible = "sandbox,usb";
260 compatible = "sandbox,usb-hub";
261 #address-cells = <1>;
265 compatible = "sandbox,usb-flash";
271 compatible = "sandbox,usb";
273 compatible = "usb-hub";
274 usb,device-class = <USB_CLASS_HUB>;
276 compatible = "sandbox,usb-hub";
277 #address-cells = <1>;
281 compatible = "sandbox,usb-flash";
282 sandbox,filepath = "flash.bin";
289 compatible = "sandbox,usb";
294 compatible = "sandbox,spmi";
295 #address-cells = <0x1>;
298 compatible = "qcom,spmi-pmic";
300 #address-cells = <0x1>;
303 spmi_gpios: gpios@c000 {
304 compatible = "qcom,pm8916-gpio";
305 reg = <0xc000 0x400>;
309 gpio-bank-name="spmi";
315 #include "cros-ec-keyboard.dtsi"
316 #include "sandbox_pmic.dtsi"