3 #define USB_CLASS_HUB 9
11 eth5 = "/eth@90000000";
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";
52 reg = <0x0 0x10002000 0x0 0x1000>;
53 fake-host-hwaddr = [00 00 66 44 22 00];
57 compatible = "sandbox,eth-raw";
58 reg = <0x0 0x80000000 0x0 0x1000>;
59 host-raw-interface = "eth0";
63 compatible = "sandbox,eth-raw";
64 reg = <0x0 0x90000000 0x0 0x1000>;
65 host-raw-interface = "lo";
70 compatible = "sandbox,gpio";
73 sandbox,gpio-count = <20>;
78 compatible = "sandbox,gpio";
81 sandbox,gpio-count = <10>;
85 compatible = "demo-simple";
94 compatible = "sandbox,i2c";
95 clock-frequency = <400000>;
96 pinctrl-names = "default";
97 pinctrl-0 = <&pinctrl_i2c0>;
100 compatible = "i2c-eeprom";
102 compatible = "sandbox,i2c-eeprom";
103 sandbox,filename = "i2c.bin";
104 sandbox,size = <128>;
110 compatible = "sandbox-rtc";
112 compatible = "sandbox,i2c-rtc";
115 sandbox_pmic: sandbox_pmic {
126 compatible = "sandbox,lcd-sdl";
132 compatible = "gpio-leds";
135 gpios = <&gpio_a 1 0>;
136 label = "sandbox:red";
140 gpios = <&gpio_a 2 0>;
141 label = "sandbox:green";
145 pci: pci-controller {
146 compatible = "sandbox,pci";
148 #address-cells = <3>;
150 ranges = <0x02000000 0 0x10000000 0 0x10000000 0 0x2000
151 0x01000000 0 0x20000000 0 0x20000000 0 0x2000>;
153 compatible = "pci-generic";
154 reg = <0xf800 0 0 0 0>;
156 compatible = "sandbox,swap-case";
162 compatible = "sandbox,pinctrl";
170 pinctrl_serial0: uart0 {
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 #include "cros-ec-keyboard.dtsi"
325 #include "sandbox_pmic.dtsi"