3 #define USB_CLASS_HUB 9
10 eth5 = "/eth@90000000";
17 stdout-path = "/serial";
20 /* Needs to be available prior to relocation */
22 compatible = "sandbox,serial";
23 sandbox,text-colour = "cyan";
27 compatible = "demo-shape";
31 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
34 compatible = "demo-shape";
39 compatible = "demo-simple";
46 compatible = "google,cros-ec-sandbox";
49 * This describes the flash memory within the EC. Note
50 * that the STM32L flash erases to 0, not 0xff.
55 reg = <0x08000000 0x20000>;
60 /* Information for sandbox */
65 reg = <0xf000 0x1000>;
68 reg = <0x10000 0x10000>;
74 compatible = "sandbox,lcd-sdl";
81 compatible = "sandbox,gpio";
89 compatible = "sandbox,gpio";
99 compatible = "sandbox,i2c";
100 clock-frequency = <400000>;
103 compatible = "i2c-eeprom";
105 compatible = "sandbox,i2c-eeprom";
106 sandbox,filename = "i2c.bin";
107 sandbox,size = <128>;
113 compatible = "sandbox-rtc";
115 compatible = "sandbox,i2c-rtc";
121 #address-cells = <1>;
124 compatible = "sandbox,spi";
125 cs-gpios = <0>, <&gpio_a 0>;
126 firmware_storage_spi: flash@0 {
128 compatible = "spansion,m25p16", "sandbox,spi-flash";
129 spi-max-frequency = <40000000>;
130 sandbox,filename = "spi.bin";
134 pci: pci-controller {
135 compatible = "sandbox,pci";
137 #address-cells = <3>;
139 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
140 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
142 compatible = "pci-generic";
143 reg = <0xf800 0 0 0 0>;
145 compatible = "sandbox,swap-case";
151 compatible = "sandbox,eth";
152 reg = <0x10002000 0x1000>;
153 fake-host-hwaddr = [00 00 66 44 22 00];
157 compatible = "sandbox,eth-raw";
158 reg = <0x80000000 0x1000>;
159 host-raw-interface = "eth0";
163 compatible = "sandbox,eth-raw";
164 reg = <0x90000000 0x1000>;
165 host-raw-interface = "lo";
169 compatible = "sandbox,usb";
172 compatible = "sandbox,usb-hub";
173 #address-cells = <1>;
177 compatible = "sandbox,usb-flash";
183 compatible = "sandbox,usb";
185 compatible = "usb-hub";
186 usb,device-class = <USB_CLASS_HUB>;
188 compatible = "sandbox,usb-hub";
189 #address-cells = <1>;
193 compatible = "sandbox,usb-flash";
194 sandbox,filepath = "flash.bin";
201 compatible = "sandbox,usb";
207 #include "cros-ec-keyboard.dtsi"