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 = <0x10002000 0x1000>;
53 fake-host-hwaddr = [00 00 66 44 22 00];
57 compatible = "sandbox,eth-raw";
58 reg = <0x80000000 0x1000>;
59 host-raw-interface = "eth0";
63 compatible = "sandbox,eth-raw";
64 reg = <0x90000000 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 {
122 compatible = "sandbox,lcd-sdl";
128 compatible = "gpio-leds";
131 gpios = <&gpio_a 1 0>;
132 label = "sandbox:red";
136 gpios = <&gpio_a 2 0>;
137 label = "sandbox:green";
141 pci: pci-controller {
142 compatible = "sandbox,pci";
144 #address-cells = <3>;
146 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
147 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
149 compatible = "pci-generic";
150 reg = <0xf800 0 0 0 0>;
152 compatible = "sandbox,swap-case";
158 compatible = "sandbox,pinctrl";
166 pinctrl_serial0: uart0 {
173 compatible = "sandbox,reset";
177 #address-cells = <1>;
180 compatible = "sandbox,spi";
181 cs-gpios = <0>, <&gpio_a 0>;
182 firmware_storage_spi: flash@0 {
184 compatible = "spansion,m25p16", "sandbox,spi-flash";
185 spi-max-frequency = <40000000>;
186 sandbox,filename = "spi.bin";
192 compatible = "sandbox,spl-test";
198 longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
199 stringval = "message";
200 stringarray = "multi-word", "message";
205 compatible = "sandbox,spl-test";
209 bytearray = [01 23 34];
210 longbytearray = [09 0a 0b 0c];
211 stringval = "message2";
212 stringarray = "another", "multi-word", "message";
217 compatible = "sandbox,spl-test";
223 compatible = "sandbox,spl-test.2";
227 compatible = "demo-shape";
233 compatible = "sandbox,timer";
234 clock-frequency = <1000000>;
238 compatible = "google,sandbox-tpm";
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 #include "cros-ec-keyboard.dtsi"
317 #include "sandbox_pmic.dtsi"