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>;
97 compatible = "i2c-eeprom";
99 compatible = "sandbox,i2c-eeprom";
100 sandbox,filename = "i2c.bin";
101 sandbox,size = <128>;
107 compatible = "sandbox-rtc";
109 compatible = "sandbox,i2c-rtc";
112 sandbox_pmic: sandbox_pmic {
118 compatible = "sandbox,lcd-sdl";
123 pci: pci-controller {
124 compatible = "sandbox,pci";
126 #address-cells = <3>;
128 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
129 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
131 compatible = "pci-generic";
132 reg = <0xf800 0 0 0 0>;
134 compatible = "sandbox,swap-case";
140 #address-cells = <1>;
143 compatible = "sandbox,spi";
144 cs-gpios = <0>, <&gpio_a 0>;
145 firmware_storage_spi: flash@0 {
147 compatible = "spansion,m25p16", "sandbox,spi-flash";
148 spi-max-frequency = <40000000>;
149 sandbox,filename = "spi.bin";
154 compatible = "demo-shape";
160 compatible = "google,sandbox-tpm";
164 compatible = "demo-shape";
168 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
171 /* Needs to be available prior to relocation */
173 compatible = "sandbox,serial";
174 sandbox,text-colour = "cyan";
178 compatible = "sandbox,usb";
181 compatible = "sandbox,usb-hub";
182 #address-cells = <1>;
186 compatible = "sandbox,usb-flash";
192 compatible = "sandbox,usb";
194 compatible = "usb-hub";
195 usb,device-class = <USB_CLASS_HUB>;
197 compatible = "sandbox,usb-hub";
198 #address-cells = <1>;
202 compatible = "sandbox,usb-flash";
203 sandbox,filepath = "flash.bin";
210 compatible = "sandbox,usb";
216 #include "cros-ec-keyboard.dtsi"
217 #include "sandbox_pmic.dtsi"