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";
118 sandbox_pmic: sandbox_pmic {
124 #address-cells = <1>;
127 compatible = "sandbox,spi";
128 cs-gpios = <0>, <&gpio_a 0>;
129 firmware_storage_spi: flash@0 {
131 compatible = "spansion,m25p16", "sandbox,spi-flash";
132 spi-max-frequency = <40000000>;
133 sandbox,filename = "spi.bin";
137 pci: pci-controller {
138 compatible = "sandbox,pci";
140 #address-cells = <3>;
142 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
143 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
145 compatible = "pci-generic";
146 reg = <0xf800 0 0 0 0>;
148 compatible = "sandbox,swap-case";
154 compatible = "sandbox,eth";
155 reg = <0x10002000 0x1000>;
156 fake-host-hwaddr = [00 00 66 44 22 00];
160 compatible = "sandbox,eth-raw";
161 reg = <0x80000000 0x1000>;
162 host-raw-interface = "eth0";
166 compatible = "sandbox,eth-raw";
167 reg = <0x90000000 0x1000>;
168 host-raw-interface = "lo";
172 compatible = "sandbox,usb";
175 compatible = "sandbox,usb-hub";
176 #address-cells = <1>;
180 compatible = "sandbox,usb-flash";
186 compatible = "sandbox,usb";
188 compatible = "usb-hub";
189 usb,device-class = <USB_CLASS_HUB>;
191 compatible = "sandbox,usb-hub";
192 #address-cells = <1>;
196 compatible = "sandbox,usb-flash";
197 sandbox,filepath = "flash.bin";
204 compatible = "sandbox,usb";
210 #include "cros-ec-keyboard.dtsi"
211 #include "sandbox_pmic.dtsi"