2 * This is the common sandbox device-tree nodes. This is shared between sandbox
3 * and sandbox64 builds.
6 #define USB_CLASS_HUB 9
10 stdout-path = "/serial";
14 compatible = "sandbox,audio-codec";
15 #sound-dai-cells = <1>;
21 compatible = "sandbox,gpio";
24 sandbox,gpio-count = <20>;
30 compatible = "sandbox,gpio";
33 sandbox,gpio-count = <10>;
37 compatible = "demo-simple";
45 compatible = "i2c-eeprom";
46 sandbox,emul = <&emul_eeprom>;
51 compatible = "sandbox-rtc";
52 sandbox,emul = <&emul0>;
54 sandbox_pmic: sandbox_pmic {
64 compatible = "sandbox,i2c-emul-parent";
65 emul_eeprom: emul-eeprom {
66 compatible = "sandbox,i2c-eeprom";
67 sandbox,filename = "i2c.bin";
71 compatible = "sandbox,i2c-rtc";
77 compatible = "sandbox,i2s";
78 #sound-dai-cells = <1>;
83 compatible = "sandbox,lcd-sdl";
89 compatible = "gpio-leds";
92 gpios = <&gpio_a 1 0>;
93 label = "sandbox:red";
97 gpios = <&gpio_a 2 0>;
98 label = "sandbox:green";
104 compatible = "pci-generic";
105 reg = <0xf800 0 0 0 0>;
107 compatible = "sandbox,swap-case";
113 compatible = "sandbox,pinctrl";
122 pinctrl_serial0: uart0 {
127 pinctrl_onewire0: onewire0 {
135 compatible = "sandbox,reset";
139 compatible = "sandbox,sound";
141 sound-dai = <&i2s 0>;
145 sound-dai = <&audio 0>;
150 firmware_storage_spi: flash@0 {
153 compatible = "spansion,m25p16", "jedec,spi-nor";
154 spi-max-frequency = <40000000>;
155 sandbox,filename = "spi.bin";
161 compatible = "sandbox,spl-test";
167 longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
168 stringval = "message";
169 stringarray = "multi-word", "message";
174 compatible = "sandbox,spl-test";
178 bytearray = [01 23 34];
179 longbytearray = [09 0a 0b 0c];
180 stringval = "message2";
181 stringarray = "another", "multi-word", "message";
186 compatible = "sandbox,spl-test";
192 compatible = "sandbox,spl-test.2";
197 compatible = "sandbox,spl-test";
202 u-boot,dm-pre-proper;
203 compatible = "sandbox,spl-test";
204 stringarray = "pre-proper";
209 compatible = "sandbox,spl-test";
214 compatible = "demo-shape";
220 compatible = "sandbox,timer";
221 clock-frequency = <1000000>;
226 compatible = "google,sandbox-tpm";
230 compatible = "sandbox,tpm2";
234 compatible = "demo-shape";
238 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
241 /* Needs to be available prior to relocation */
244 compatible = "sandbox,serial";
245 sandbox,text-colour = "cyan";
246 pinctrl-names = "default";
247 pinctrl-0 = <&pinctrl_serial0>;
251 compatible = "sandbox,usb";
254 compatible = "sandbox,usb-hub";
255 #address-cells = <1>;
259 compatible = "sandbox,usb-flash";
265 compatible = "sandbox,usb";
267 compatible = "usb-hub";
268 usb,device-class = <USB_CLASS_HUB>;
270 compatible = "sandbox,usb-hub";
271 #address-cells = <1>;
275 compatible = "sandbox,usb-flash";
276 sandbox,filepath = "flash.bin";
283 compatible = "sandbox,usb";
288 compatible = "sandbox,spmi";
289 #address-cells = <0x1>;
292 compatible = "qcom,spmi-pmic";
294 #address-cells = <0x1>;
297 spmi_gpios: gpios@c000 {
298 compatible = "qcom,pm8916-gpio";
299 reg = <0xc000 0x400>;
303 gpio-bank-name="spmi";
309 compatible = "sandbox,axi";
310 #address-cells = <0x1>;
313 compatible = "sandbox,sandbox_store";
319 compatible = "w1-gpio";
321 pinctrl-names = "default";
322 pinctrl-0 = <&pinctrl_onewire0>;
325 sandbox_eeprom0: sandbox_eeprom@0 {
326 compatible = "sandbox,w1-eeprom";
332 compatible = "sandbox,tee";
338 * This describes the flash memory within the EC. Note
339 * that the STM32L flash erases to 0, not 0xff.
342 image-pos = <0x08000000>;
346 /* Information for sandbox */
352 image-pos = <0xf000>;
356 image-pos = <0x10000>;
361 keyboard-controller {