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>;
19 compatible = "gpio-keys";
22 gpios = <&gpio_a 3 0>;
27 gpios = <&gpio_a 4 0>;
32 clk_fixed: clk-fixed {
34 compatible = "fixed-clock";
36 clock-frequency = <1234>;
39 clk_sandbox: clk-sbox {
41 compatible = "sandbox,clk";
43 assigned-clocks = <&clk_sandbox 3>;
44 assigned-clock-rates = <321>;
49 compatible = "sandbox,clk-test";
50 clocks = <&clk_fixed>,
55 clock-names = "fixed", "i2c", "spi", "uart2", "uart1";
61 compatible = "sandbox,gpio";
64 sandbox,gpio-count = <20>;
70 compatible = "sandbox,gpio";
73 sandbox,gpio-count = <10>;
77 compatible = "demo-simple";
85 compatible = "i2c-eeprom";
86 sandbox,emul = <&emul_eeprom>;
91 compatible = "sandbox-rtc";
92 sandbox,emul = <&emul0>;
94 sandbox_pmic: sandbox_pmic {
104 compatible = "sandbox,i2c-emul-parent";
105 emul_eeprom: emul-eeprom {
106 compatible = "sandbox,i2c-eeprom";
107 sandbox,filename = "i2c.bin";
108 sandbox,size = <256>;
111 compatible = "sandbox,i2c-rtc";
117 compatible = "sandbox,i2s";
118 #sound-dai-cells = <1>;
123 compatible = "sandbox,lcd-sdl";
130 compatible = "gpio-leds";
133 gpios = <&gpio_a 1 0>;
134 label = "sandbox:red";
138 gpios = <&gpio_a 2 0>;
139 label = "sandbox:green";
145 compatible = "sandbox,pmc";
146 reg = <0xf000 0 0 0 0>;
147 sandbox,emul = <&pmc_emul>;
148 gpe0-dwx-mask = <0xf>;
149 gpe0-dwx-shift-base = <4>;
156 compatible = "pci-generic";
157 reg = <0xf800 0 0 0 0>;
158 sandbox,emul = <&swap_case_emul>;
163 compatible = "sandbox,pci-emul-parent";
164 pmc_emul: emul@1e,0 {
165 compatible = "sandbox,pmc-emul";
167 swap_case_emul: emul@1f,0 {
168 compatible = "sandbox,swap-case";
173 compatible = "sandbox,pinctrl";
182 pinctrl_serial0: uart0 {
187 pinctrl_onewire0: onewire0 {
195 compatible = "sandbox,reset";
199 compatible = "sandbox,sound";
201 sound-dai = <&i2s 0>;
205 sound-dai = <&audio 0>;
210 firmware_storage_spi: flash@0 {
213 compatible = "spansion,m25p16", "jedec,spi-nor";
214 spi-max-frequency = <40000000>;
215 sandbox,filename = "spi.bin";
221 compatible = "sandbox,spl-test";
227 longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
228 stringval = "message";
229 stringarray = "multi-word", "message";
234 compatible = "sandbox,spl-test";
238 bytearray = [01 23 34];
239 longbytearray = [09 0a 0b 0c];
240 stringval = "message2";
241 stringarray = "another", "multi-word", "message";
246 compatible = "sandbox,spl-test";
252 compatible = "sandbox,spl-test.2";
257 compatible = "sandbox,spl-test";
262 u-boot,dm-pre-proper;
263 compatible = "sandbox,spl-test";
264 stringarray = "pre-proper";
269 compatible = "sandbox,spl-test";
274 compatible = "demo-shape";
280 compatible = "sandbox,timer";
281 clock-frequency = <1000000>;
286 compatible = "google,sandbox-tpm";
290 compatible = "sandbox,tpm2";
294 compatible = "demo-shape";
298 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
301 /* Needs to be available prior to relocation */
304 compatible = "sandbox,serial";
305 sandbox,text-colour = "cyan";
306 pinctrl-names = "default";
307 pinctrl-0 = <&pinctrl_serial0>;
311 compatible = "sandbox,usb";
314 compatible = "sandbox,usb-hub";
315 #address-cells = <1>;
319 compatible = "sandbox,usb-flash";
325 compatible = "sandbox,usb";
327 compatible = "usb-hub";
328 usb,device-class = <USB_CLASS_HUB>;
330 compatible = "sandbox,usb-hub";
331 #address-cells = <1>;
335 compatible = "sandbox,usb-flash";
336 sandbox,filepath = "flash.bin";
343 compatible = "sandbox,usb";
348 compatible = "sandbox,spmi";
349 #address-cells = <0x1>;
352 compatible = "qcom,spmi-pmic";
354 #address-cells = <0x1>;
357 spmi_gpios: gpios@c000 {
358 compatible = "qcom,pm8916-gpio";
359 reg = <0xc000 0x400>;
363 gpio-bank-name="spmi";
369 compatible = "sandbox,axi";
370 #address-cells = <0x1>;
373 compatible = "sandbox,sandbox_store";
379 compatible = "w1-gpio";
381 pinctrl-names = "default";
382 pinctrl-0 = <&pinctrl_onewire0>;
385 sandbox_eeprom0: sandbox_eeprom@0 {
386 compatible = "sandbox,w1-eeprom";
392 compatible = "sandbox,tee";
398 * This describes the flash memory within the EC. Note
399 * that the STM32L flash erases to 0, not 0xff.
402 image-pos = <0x08000000>;
406 /* Information for sandbox */
412 image-pos = <0xf000>;
416 image-pos = <0x10000>;
421 keyboard-controller {