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";
196 compatible = "demo-shape";
202 compatible = "sandbox,timer";
203 clock-frequency = <1000000>;
208 compatible = "google,sandbox-tpm";
212 compatible = "sandbox,tpm2";
216 compatible = "demo-shape";
220 light-gpios = <&gpio_a 2>, <&gpio_b 6 0>;
223 /* Needs to be available prior to relocation */
226 compatible = "sandbox,serial";
227 sandbox,text-colour = "cyan";
228 pinctrl-names = "default";
229 pinctrl-0 = <&pinctrl_serial0>;
233 compatible = "sandbox,usb";
236 compatible = "sandbox,usb-hub";
237 #address-cells = <1>;
241 compatible = "sandbox,usb-flash";
247 compatible = "sandbox,usb";
249 compatible = "usb-hub";
250 usb,device-class = <USB_CLASS_HUB>;
252 compatible = "sandbox,usb-hub";
253 #address-cells = <1>;
257 compatible = "sandbox,usb-flash";
258 sandbox,filepath = "flash.bin";
265 compatible = "sandbox,usb";
270 compatible = "sandbox,spmi";
271 #address-cells = <0x1>;
274 compatible = "qcom,spmi-pmic";
276 #address-cells = <0x1>;
279 spmi_gpios: gpios@c000 {
280 compatible = "qcom,pm8916-gpio";
281 reg = <0xc000 0x400>;
285 gpio-bank-name="spmi";
291 compatible = "sandbox,axi";
292 #address-cells = <0x1>;
295 compatible = "sandbox,sandbox_store";
301 compatible = "w1-gpio";
303 pinctrl-names = "default";
304 pinctrl-0 = <&pinctrl_onewire0>;
307 sandbox_eeprom0: sandbox_eeprom@0 {
308 compatible = "sandbox,w1-eeprom";
314 compatible = "sandbox,tee";
320 * This describes the flash memory within the EC. Note
321 * that the STM32L flash erases to 0, not 0xff.
324 image-pos = <0x08000000>;
328 /* Information for sandbox */
334 image-pos = <0xf000>;
338 image-pos = <0x10000>;
343 keyboard-controller {