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 {
120 compatible = "sandbox,lcd-sdl";
125 pci: pci-controller {
126 compatible = "sandbox,pci";
128 #address-cells = <3>;
130 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
131 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
133 compatible = "pci-generic";
134 reg = <0xf800 0 0 0 0>;
136 compatible = "sandbox,swap-case";
142 compatible = "sandbox,pinctrl";
150 pinctrl_serial0: uart0 {
157 compatible = "sandbox,reset";
161 #address-cells = <1>;
164 compatible = "sandbox,spi";
165 cs-gpios = <0>, <&gpio_a 0>;
166 firmware_storage_spi: flash@0 {
168 compatible = "spansion,m25p16", "sandbox,spi-flash";
169 spi-max-frequency = <40000000>;
170 sandbox,filename = "spi.bin";
175 compatible = "demo-shape";
181 compatible = "sandbox,timer";
182 clock-frequency = <1000000>;
186 compatible = "google,sandbox-tpm";
190 compatible = "demo-shape";
194 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
197 /* Needs to be available prior to relocation */
199 compatible = "sandbox,serial";
200 sandbox,text-colour = "cyan";
201 pinctrl-names = "default";
202 pinctrl-0 = <&pinctrl_serial0>;
206 compatible = "sandbox,usb";
209 compatible = "sandbox,usb-hub";
210 #address-cells = <1>;
214 compatible = "sandbox,usb-flash";
220 compatible = "sandbox,usb";
222 compatible = "usb-hub";
223 usb,device-class = <USB_CLASS_HUB>;
225 compatible = "sandbox,usb-hub";
226 #address-cells = <1>;
230 compatible = "sandbox,usb-flash";
231 sandbox,filepath = "flash.bin";
238 compatible = "sandbox,usb";
244 #include "cros-ec-keyboard.dtsi"
245 #include "sandbox_pmic.dtsi"