3 #define USB_CLASS_HUB 9
10 eth5 = "/eth@90000000";
15 stdout-path = "/serial";
18 /* Needs to be available prior to relocation */
20 compatible = "sandbox,serial";
21 sandbox,text-colour = "cyan";
25 compatible = "demo-shape";
29 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
32 compatible = "demo-shape";
37 compatible = "demo-simple";
44 compatible = "google,cros-ec-sandbox";
47 * This describes the flash memory within the EC. Note
48 * that the STM32L flash erases to 0, not 0xff.
53 reg = <0x08000000 0x20000>;
58 /* Information for sandbox */
63 reg = <0xf000 0x1000>;
66 reg = <0x10000 0x10000>;
72 compatible = "sandbox,lcd-sdl";
79 compatible = "sandbox,gpio";
87 compatible = "sandbox,gpio";
97 compatible = "sandbox,i2c";
98 clock-frequency = <400000>;
101 compatible = "i2c-eeprom";
103 compatible = "sandbox,i2c-eeprom";
104 sandbox,filename = "i2c.bin";
105 sandbox,size = <128>;
111 #address-cells = <1>;
114 compatible = "sandbox,spi";
115 cs-gpios = <0>, <&gpio_a 0>;
116 firmware_storage_spi: flash@0 {
118 compatible = "spansion,m25p16", "sandbox,spi-flash";
119 spi-max-frequency = <40000000>;
120 sandbox,filename = "spi.bin";
124 pci: pci-controller {
125 compatible = "sandbox,pci";
127 #address-cells = <3>;
129 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
130 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
132 compatible = "pci-generic";
133 reg = <0xf800 0 0 0 0>;
135 compatible = "sandbox,swap-case";
141 compatible = "sandbox,eth";
142 reg = <0x10002000 0x1000>;
143 fake-host-hwaddr = [00 00 66 44 22 00];
147 compatible = "sandbox,eth-raw";
148 reg = <0x80000000 0x1000>;
149 host-raw-interface = "eth0";
153 compatible = "sandbox,eth-raw";
154 reg = <0x90000000 0x1000>;
155 host-raw-interface = "lo";
159 compatible = "sandbox,usb";
162 compatible = "sandbox,usb-hub";
163 #address-cells = <1>;
167 compatible = "sandbox,usb-flash";
173 compatible = "sandbox,usb";
175 compatible = "usb-hub";
176 usb,device-class = <USB_CLASS_HUB>;
178 compatible = "sandbox,usb-hub";
179 #address-cells = <1>;
183 compatible = "sandbox,usb-flash";
184 sandbox,filepath = "flash.bin";
191 compatible = "sandbox,usb";
197 #include "cros-ec-keyboard.dtsi"