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";
90 compatible = "gpio-leds";
93 gpios = <&gpio_a 1 0>;
94 label = "sandbox:red";
98 gpios = <&gpio_a 2 0>;
99 label = "sandbox:green";
105 compatible = "sandbox,pmc";
106 reg = <0xf000 0 0 0 0>;
107 sandbox,emul = <&pmc_emul>;
108 gpe0-dwx-mask = <0xf>;
109 gpe0-dwx-shift-base = <4>;
116 compatible = "pci-generic";
117 reg = <0xf800 0 0 0 0>;
118 sandbox,emul = <&swap_case_emul>;
123 compatible = "sandbox,pci-emul-parent";
124 pmc_emul: emul@1e,0 {
125 compatible = "sandbox,pmc-emul";
127 swap_case_emul: emul@1f,0 {
128 compatible = "sandbox,swap-case";
133 compatible = "sandbox,pinctrl";
142 pinctrl_serial0: uart0 {
147 pinctrl_onewire0: onewire0 {
155 compatible = "sandbox,reset";
159 compatible = "sandbox,sound";
161 sound-dai = <&i2s 0>;
165 sound-dai = <&audio 0>;
170 firmware_storage_spi: flash@0 {
173 compatible = "spansion,m25p16", "jedec,spi-nor";
174 spi-max-frequency = <40000000>;
175 sandbox,filename = "spi.bin";
181 compatible = "sandbox,spl-test";
187 longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
188 stringval = "message";
189 stringarray = "multi-word", "message";
194 compatible = "sandbox,spl-test";
198 bytearray = [01 23 34];
199 longbytearray = [09 0a 0b 0c];
200 stringval = "message2";
201 stringarray = "another", "multi-word", "message";
206 compatible = "sandbox,spl-test";
212 compatible = "sandbox,spl-test.2";
217 compatible = "sandbox,spl-test";
222 u-boot,dm-pre-proper;
223 compatible = "sandbox,spl-test";
224 stringarray = "pre-proper";
229 compatible = "sandbox,spl-test";
234 compatible = "demo-shape";
240 compatible = "sandbox,timer";
241 clock-frequency = <1000000>;
246 compatible = "google,sandbox-tpm";
250 compatible = "sandbox,tpm2";
254 compatible = "demo-shape";
258 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
261 /* Needs to be available prior to relocation */
264 compatible = "sandbox,serial";
265 sandbox,text-colour = "cyan";
266 pinctrl-names = "default";
267 pinctrl-0 = <&pinctrl_serial0>;
271 compatible = "sandbox,usb";
274 compatible = "sandbox,usb-hub";
275 #address-cells = <1>;
279 compatible = "sandbox,usb-flash";
285 compatible = "sandbox,usb";
287 compatible = "usb-hub";
288 usb,device-class = <USB_CLASS_HUB>;
290 compatible = "sandbox,usb-hub";
291 #address-cells = <1>;
295 compatible = "sandbox,usb-flash";
296 sandbox,filepath = "flash.bin";
303 compatible = "sandbox,usb";
308 compatible = "sandbox,spmi";
309 #address-cells = <0x1>;
312 compatible = "qcom,spmi-pmic";
314 #address-cells = <0x1>;
317 spmi_gpios: gpios@c000 {
318 compatible = "qcom,pm8916-gpio";
319 reg = <0xc000 0x400>;
323 gpio-bank-name="spmi";
329 compatible = "sandbox,axi";
330 #address-cells = <0x1>;
333 compatible = "sandbox,sandbox_store";
339 compatible = "w1-gpio";
341 pinctrl-names = "default";
342 pinctrl-0 = <&pinctrl_onewire0>;
345 sandbox_eeprom0: sandbox_eeprom@0 {
346 compatible = "sandbox,w1-eeprom";
352 compatible = "sandbox,tee";
358 * This describes the flash memory within the EC. Note
359 * that the STM32L flash erases to 0, not 0xff.
362 image-pos = <0x08000000>;
366 /* Information for sandbox */
372 image-pos = <0xf000>;
376 image-pos = <0x10000>;
381 keyboard-controller {