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>;
106 sandbox,emul = <&swap_case_emul>;
111 compatible = "sandbox,pci-emul-parent";
112 swap_case_emul: emul@1f,0 {
113 compatible = "sandbox,swap-case";
118 compatible = "sandbox,pinctrl";
127 pinctrl_serial0: uart0 {
132 pinctrl_onewire0: onewire0 {
140 compatible = "sandbox,reset";
144 compatible = "sandbox,sound";
146 sound-dai = <&i2s 0>;
150 sound-dai = <&audio 0>;
155 firmware_storage_spi: flash@0 {
158 compatible = "spansion,m25p16", "jedec,spi-nor";
159 spi-max-frequency = <40000000>;
160 sandbox,filename = "spi.bin";
166 compatible = "sandbox,spl-test";
172 longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11];
173 stringval = "message";
174 stringarray = "multi-word", "message";
179 compatible = "sandbox,spl-test";
183 bytearray = [01 23 34];
184 longbytearray = [09 0a 0b 0c];
185 stringval = "message2";
186 stringarray = "another", "multi-word", "message";
191 compatible = "sandbox,spl-test";
197 compatible = "sandbox,spl-test.2";
202 compatible = "sandbox,spl-test";
207 u-boot,dm-pre-proper;
208 compatible = "sandbox,spl-test";
209 stringarray = "pre-proper";
214 compatible = "sandbox,spl-test";
219 compatible = "demo-shape";
225 compatible = "sandbox,timer";
226 clock-frequency = <1000000>;
231 compatible = "google,sandbox-tpm";
235 compatible = "sandbox,tpm2";
239 compatible = "demo-shape";
243 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
246 /* Needs to be available prior to relocation */
249 compatible = "sandbox,serial";
250 sandbox,text-colour = "cyan";
251 pinctrl-names = "default";
252 pinctrl-0 = <&pinctrl_serial0>;
256 compatible = "sandbox,usb";
259 compatible = "sandbox,usb-hub";
260 #address-cells = <1>;
264 compatible = "sandbox,usb-flash";
270 compatible = "sandbox,usb";
272 compatible = "usb-hub";
273 usb,device-class = <USB_CLASS_HUB>;
275 compatible = "sandbox,usb-hub";
276 #address-cells = <1>;
280 compatible = "sandbox,usb-flash";
281 sandbox,filepath = "flash.bin";
288 compatible = "sandbox,usb";
293 compatible = "sandbox,spmi";
294 #address-cells = <0x1>;
297 compatible = "qcom,spmi-pmic";
299 #address-cells = <0x1>;
302 spmi_gpios: gpios@c000 {
303 compatible = "qcom,pm8916-gpio";
304 reg = <0xc000 0x400>;
308 gpio-bank-name="spmi";
314 compatible = "sandbox,axi";
315 #address-cells = <0x1>;
318 compatible = "sandbox,sandbox_store";
324 compatible = "w1-gpio";
326 pinctrl-names = "default";
327 pinctrl-0 = <&pinctrl_onewire0>;
330 sandbox_eeprom0: sandbox_eeprom@0 {
331 compatible = "sandbox,w1-eeprom";
337 compatible = "sandbox,tee";
343 * This describes the flash memory within the EC. Note
344 * that the STM32L flash erases to 0, not 0xff.
347 image-pos = <0x08000000>;
351 /* Information for sandbox */
357 image-pos = <0xf000>;
361 image-pos = <0x10000>;
366 keyboard-controller {