]>
Commit | Line | Data |
---|---|---|
7dcc2f7e SG |
1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | |
3 | * Devicetree file for running sandbox tests | |
4 | * | |
5 | * This includes lots of extra devices used by various tests. | |
6 | * | |
7 | * Note that SPL use the main sandbox.dts file | |
8 | */ | |
9 | ||
2e7d35d2 SG |
10 | /dts-v1/; |
11 | ||
2c0f782e PD |
12 | #include <dt-bindings/gpio/gpio.h> |
13 | #include <dt-bindings/gpio/sandbox-gpio.h> | |
289d0ead | 14 | #include <dt-bindings/input/input.h> |
7f0f1806 | 15 | #include <dt-bindings/pinctrl/sandbox-pinmux.h> |
739592cc | 16 | #include <dt-bindings/mux/mux.h> |
2c0f782e | 17 | |
2e7d35d2 SG |
18 | / { |
19 | model = "sandbox"; | |
20 | compatible = "sandbox"; | |
21 | #address-cells = <1>; | |
0503e820 | 22 | #size-cells = <1>; |
2e7d35d2 | 23 | |
00606d7e SG |
24 | aliases { |
25 | console = &uart0; | |
82a3c9ef MW |
26 | ethernet0 = "/eth@10002000"; |
27 | ethernet2 = &swp_0; | |
28 | ethernet3 = ð_3; | |
29 | ethernet4 = &dsa_eth0; | |
30 | ethernet5 = ð_5; | |
bedb182e SA |
31 | ethernet6 = "/eth@10004000"; |
32 | ethernet7 = &swp_1; | |
33 | ethernet8 = &phy_eth0; | |
5d9a88f4 SG |
34 | gpio1 = &gpio_a; |
35 | gpio2 = &gpio_b; | |
ff52665d | 36 | gpio3 = &gpio_c; |
9cc36a2b | 37 | i2c0 = "/i2c@0"; |
e48eeb9e SG |
38 | mmc0 = "/mmc0"; |
39 | mmc1 = "/mmc1"; | |
dee4d752 BM |
40 | pci0 = &pci0; |
41 | pci1 = &pci1; | |
3ed214ac | 42 | pci2 = &pci2; |
be1a6e94 MW |
43 | remoteproc0 = &rproc_1; |
44 | remoteproc1 = &rproc_2; | |
52d3bc5d SG |
45 | rtc0 = &rtc_0; |
46 | rtc1 = &rtc_1; | |
171e991d | 47 | spi0 = "/spi@0"; |
f64000c3 | 48 | testfdt6 = "/e-test"; |
9cc36a2b SG |
49 | testbus3 = "/some-bus"; |
50 | testfdt0 = "/some-bus/c-test@0"; | |
981426e3 | 51 | testfdt12 = "/some-bus/c-test@1"; |
9cc36a2b SG |
52 | testfdt3 = "/b-test"; |
53 | testfdt5 = "/some-bus/c-test@5"; | |
54 | testfdt8 = "/a-test"; | |
93f44e8a | 55 | testfdtm1 = &testfdtm1; |
507cef3d ER |
56 | fdt-dummy0 = "/translation-test@8000/dev@0,0"; |
57 | fdt-dummy1 = "/translation-test@8000/dev@1,100"; | |
58 | fdt-dummy2 = "/translation-test@8000/dev@2,200"; | |
59 | fdt-dummy3 = "/translation-test@8000/noxlatebus@3,300/dev@42"; | |
e00cb223 SG |
60 | usb0 = &usb_0; |
61 | usb1 = &usb_1; | |
62 | usb2 = &usb_2; | |
957983e0 | 63 | axi0 = &axi; |
4eea5318 | 64 | osd0 = "/osd"; |
00606d7e SG |
65 | }; |
66 | ||
059df562 PR |
67 | binman { |
68 | }; | |
69 | ||
8c72842a | 70 | config { |
7de8bd03 SG |
71 | testing-bool; |
72 | testing-int = <123>; | |
73 | testing-str = "testing"; | |
8c72842a RV |
74 | environment { |
75 | from_fdt = "yes"; | |
76 | fdt_env_path = ""; | |
77 | }; | |
78 | }; | |
79 | ||
fb1451be SG |
80 | bootstd { |
81 | compatible = "u-boot,boot-std"; | |
82 | ||
83 | filename-prefixes = "/", "/boot/"; | |
84 | bootdev-order = "mmc2", "mmc1"; | |
85 | ||
86 | syslinux { | |
87 | compatible = "u-boot,distro-syslinux"; | |
88 | }; | |
89 | ||
90 | efi { | |
91 | compatible = "u-boot,distro-efi"; | |
92 | }; | |
93 | }; | |
94 | ||
0518e7a2 AS |
95 | fuzzing-engine { |
96 | compatible = "sandbox,fuzzing-engine"; | |
97 | }; | |
98 | ||
f9db2f16 NH |
99 | reboot-mode0 { |
100 | compatible = "reboot-mode-gpio"; | |
101 | gpios = <&gpio_c 0 GPIO_ACTIVE_HIGH>, <&gpio_c 1 GPIO_ACTIVE_HIGH>; | |
102 | u-boot,env-variable = "bootstatus"; | |
103 | mode-test = <0x01>; | |
104 | mode-download = <0x03>; | |
105 | }; | |
106 | ||
c74675bd NH |
107 | reboot_mode1: reboot-mode@14 { |
108 | compatible = "reboot-mode-rtc"; | |
109 | rtc = <&rtc_0>; | |
110 | reg = <0x30 4>; | |
111 | u-boot,env-variable = "bootstatus"; | |
112 | big-endian; | |
113 | mode-test = <0x21969147>; | |
114 | mode-download = <0x51939147>; | |
115 | }; | |
116 | ||
ce6d99a0 SG |
117 | audio: audio-codec { |
118 | compatible = "sandbox,audio-codec"; | |
119 | #sound-dai-cells = <1>; | |
120 | }; | |
121 | ||
a6c6f0f0 PR |
122 | buttons { |
123 | compatible = "gpio-keys"; | |
124 | ||
39916bb4 | 125 | btn1 { |
a6c6f0f0 | 126 | gpios = <&gpio_a 3 0>; |
39916bb4 | 127 | label = "button1"; |
a6c6f0f0 PR |
128 | }; |
129 | ||
39916bb4 | 130 | btn2 { |
a6c6f0f0 | 131 | gpios = <&gpio_a 4 0>; |
39916bb4 | 132 | label = "button2"; |
a6c6f0f0 PR |
133 | }; |
134 | }; | |
135 | ||
289d0ead MS |
136 | buttons2 { |
137 | compatible = "adc-keys"; | |
138 | io-channels = <&adc 3>; | |
139 | keyup-threshold-microvolt = <3000000>; | |
140 | ||
141 | button-up { | |
142 | label = "button3"; | |
143 | linux,code = <KEY_F3>; | |
144 | press-threshold-microvolt = <1500000>; | |
145 | }; | |
146 | ||
147 | button-down { | |
148 | label = "button4"; | |
149 | linux,code = <KEY_F4>; | |
150 | press-threshold-microvolt = <1000000>; | |
151 | }; | |
152 | ||
153 | button-enter { | |
154 | label = "button5"; | |
155 | linux,code = <KEY_F5>; | |
156 | press-threshold-microvolt = <500000>; | |
157 | }; | |
158 | }; | |
159 | ||
e96fa6c9 | 160 | cros_ec: cros-ec { |
e6c5c94a SG |
161 | reg = <0 0>; |
162 | compatible = "google,cros-ec-sandbox"; | |
163 | ||
164 | /* | |
165 | * This describes the flash memory within the EC. Note | |
166 | * that the STM32L flash erases to 0, not 0xff. | |
167 | */ | |
168 | flash { | |
169 | image-pos = <0x08000000>; | |
170 | size = <0x20000>; | |
171 | erase-value = <0>; | |
172 | ||
173 | /* Information for sandbox */ | |
174 | ro { | |
175 | image-pos = <0>; | |
176 | size = <0xf000>; | |
177 | }; | |
178 | wp-ro { | |
179 | image-pos = <0xf000>; | |
180 | size = <0x1000>; | |
ff5fa7d6 SG |
181 | used = <0x884>; |
182 | compress = "lz4"; | |
183 | uncomp-size = <0xcf8>; | |
184 | hash { | |
185 | algo = "sha256"; | |
186 | value = [00 01 02 03 04 05 06 07 | |
187 | 08 09 0a 0b 0c 0d 0e 0f | |
188 | 10 11 12 13 14 15 16 17 | |
189 | 18 19 1a 1b 1c 1d 1e 1f]; | |
190 | }; | |
e6c5c94a SG |
191 | }; |
192 | rw { | |
193 | image-pos = <0x10000>; | |
194 | size = <0x10000>; | |
195 | }; | |
196 | }; | |
e712245d ANY |
197 | |
198 | cros_ec_pwm: cros-ec-pwm { | |
199 | compatible = "google,cros-ec-pwm"; | |
200 | #pwm-cells = <1>; | |
201 | }; | |
202 | ||
e6c5c94a SG |
203 | }; |
204 | ||
23f965a4 YF |
205 | dsi_host: dsi_host { |
206 | compatible = "sandbox,dsi-host"; | |
207 | }; | |
208 | ||
2e7d35d2 | 209 | a-test { |
0503e820 | 210 | reg = <0 1>; |
2e7d35d2 | 211 | compatible = "denx,u-boot-fdt-test"; |
eb9ef5fe | 212 | ping-expect = <0>; |
2e7d35d2 | 213 | ping-add = <0>; |
00606d7e | 214 | u-boot,dm-pre-reloc; |
2c0f782e PD |
215 | test-gpios = <&gpio_a 1>, <&gpio_a 4>, |
216 | <&gpio_b 5 GPIO_ACTIVE_HIGH 3 2 1>, | |
3669e0e7 | 217 | <0>, <&gpio_a 12>; |
2c0f782e PD |
218 | test2-gpios = <&gpio_a 1>, <&gpio_a 4>, |
219 | <&gpio_b 6 GPIO_ACTIVE_LOW 3 2 1>, | |
220 | <&gpio_b 7 GPIO_IN 3 2 1>, | |
221 | <&gpio_b 8 GPIO_OUT 3 2 1>, | |
222 | <&gpio_b 9 (GPIO_OUT|GPIO_OUT_ACTIVE) 3 2 1>; | |
ff52665d PD |
223 | test3-gpios = |
224 | <&gpio_c 0 (GPIO_OUT|GPIO_OPEN_DRAIN)>, | |
225 | <&gpio_c 1 (GPIO_OUT|GPIO_OPEN_SOURCE)>, | |
226 | <&gpio_c 2 GPIO_OUT>, | |
227 | <&gpio_c 3 (GPIO_IN|GPIO_PULL_UP)>, | |
228 | <&gpio_c 4 (GPIO_IN|GPIO_PULL_DOWN)>, | |
9bf87e25 NA |
229 | <&gpio_c 5 GPIO_IN>, |
230 | <&gpio_c 6 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_DRAIN)>, | |
231 | <&gpio_c 7 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_SOURCE)>; | |
88e6a60e JJH |
232 | test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>; |
233 | test5-gpios = <&gpio_a 19>; | |
234 | ||
fb933d07 | 235 | bool-value; |
a1b17e4f SG |
236 | int-value = <1234>; |
237 | uint-value = <(-1234)>; | |
70573c6c | 238 | int64-value = /bits/ 64 <0x1111222233334444>; |
4bb7075c | 239 | int-array = <5678 9123 4567>; |
06679000 | 240 | str-value = "test string"; |
02554355 | 241 | interrupts-extended = <&irq 3 0>; |
fefac0b0 | 242 | acpi,name = "GHIJ"; |
cc72f3e0 | 243 | phandle-value = <&gpio_c 10>, <0xFFFFFFFF 20>, <&gpio_a 30>; |
739592cc JJH |
244 | |
245 | mux-controls = <&muxcontroller0 0>, <&muxcontroller0 1>, | |
246 | <&muxcontroller0 2>, <&muxcontroller0 3>, | |
247 | <&muxcontroller1>; | |
248 | mux-control-names = "mux0", "mux1", "mux2", "mux3", "mux4"; | |
249 | mux-syscon = <&syscon3>; | |
15daa486 DB |
250 | display-timings { |
251 | timing0: 240x320 { | |
252 | clock-frequency = <6500000>; | |
253 | hactive = <240>; | |
254 | vactive = <320>; | |
255 | hfront-porch = <6>; | |
256 | hback-porch = <7>; | |
257 | hsync-len = <1>; | |
258 | vback-porch = <5>; | |
259 | vfront-porch = <8>; | |
260 | vsync-len = <2>; | |
261 | hsync-active = <1>; | |
262 | vsync-active = <0>; | |
263 | de-active = <1>; | |
264 | pixelclk-active = <1>; | |
265 | interlaced; | |
266 | doublescan; | |
267 | doubleclk; | |
268 | }; | |
269 | timing1: 480x800 { | |
270 | clock-frequency = <9000000>; | |
271 | hactive = <480>; | |
272 | vactive = <800>; | |
273 | hfront-porch = <10>; | |
274 | hback-porch = <59>; | |
275 | hsync-len = <12>; | |
276 | vback-porch = <15>; | |
277 | vfront-porch = <17>; | |
278 | vsync-len = <16>; | |
279 | hsync-active = <0>; | |
280 | vsync-active = <1>; | |
281 | de-active = <0>; | |
282 | pixelclk-active = <0>; | |
283 | }; | |
284 | timing2: 800x480 { | |
285 | clock-frequency = <33500000>; | |
286 | hactive = <800>; | |
287 | vactive = <480>; | |
288 | hback-porch = <89>; | |
289 | hfront-porch = <164>; | |
290 | vback-porch = <23>; | |
291 | vfront-porch = <10>; | |
292 | hsync-len = <11>; | |
293 | vsync-len = <13>; | |
294 | }; | |
295 | }; | |
2e7d35d2 SG |
296 | }; |
297 | ||
298 | junk { | |
0503e820 | 299 | reg = <1 1>; |
2e7d35d2 SG |
300 | compatible = "not,compatible"; |
301 | }; | |
302 | ||
303 | no-compatible { | |
0503e820 | 304 | reg = <2 1>; |
2e7d35d2 SG |
305 | }; |
306 | ||
5d9a88f4 SG |
307 | backlight: backlight { |
308 | compatible = "pwm-backlight"; | |
309 | enable-gpios = <&gpio_a 1>; | |
310 | power-supply = <&ldo_1>; | |
311 | pwms = <&pwm 0 1000>; | |
312 | default-brightness-level = <5>; | |
313 | brightness-levels = <0 16 32 64 128 170 202 234 255>; | |
314 | }; | |
315 | ||
49c752c9 | 316 | bind-test { |
1f0d5885 | 317 | compatible = "simple-bus"; |
49c752c9 JJH |
318 | bind-test-child1 { |
319 | compatible = "sandbox,phy"; | |
320 | #phy-cells = <1>; | |
321 | }; | |
322 | ||
323 | bind-test-child2 { | |
324 | compatible = "simple-bus"; | |
325 | }; | |
326 | }; | |
327 | ||
2e7d35d2 | 328 | b-test { |
0503e820 | 329 | reg = <3 1>; |
2e7d35d2 | 330 | compatible = "denx,u-boot-fdt-test"; |
eb9ef5fe | 331 | ping-expect = <3>; |
2e7d35d2 | 332 | ping-add = <3>; |
739592cc JJH |
333 | |
334 | mux-controls = <&muxcontroller0 0>; | |
335 | mux-control-names = "mux0"; | |
2e7d35d2 SG |
336 | }; |
337 | ||
86322f59 JJH |
338 | phy_provider0: gen_phy@0 { |
339 | compatible = "sandbox,phy"; | |
340 | #phy-cells = <1>; | |
341 | }; | |
342 | ||
343 | phy_provider1: gen_phy@1 { | |
344 | compatible = "sandbox,phy"; | |
345 | #phy-cells = <0>; | |
346 | broken; | |
347 | }; | |
348 | ||
00c82acf CY |
349 | phy_provider2: gen_phy@2 { |
350 | compatible = "sandbox,phy"; | |
351 | #phy-cells = <0>; | |
352 | }; | |
353 | ||
86322f59 JJH |
354 | gen_phy_user: gen_phy_user { |
355 | compatible = "simple-bus"; | |
356 | phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>; | |
357 | phy-names = "phy1", "phy2", "phy3"; | |
358 | }; | |
359 | ||
00c82acf CY |
360 | gen_phy_user1: gen_phy_user1 { |
361 | compatible = "simple-bus"; | |
362 | phys = <&phy_provider0 0>, <&phy_provider2>; | |
363 | phy-names = "phy1", "phy2"; | |
364 | }; | |
365 | ||
2e7d35d2 SG |
366 | some-bus { |
367 | #address-cells = <1>; | |
368 | #size-cells = <0>; | |
1ca7e206 | 369 | compatible = "denx,u-boot-test-bus"; |
0503e820 | 370 | reg = <3 1>; |
eb9ef5fe | 371 | ping-expect = <4>; |
2e7d35d2 | 372 | ping-add = <4>; |
1ca7e206 | 373 | c-test@5 { |
2e7d35d2 SG |
374 | compatible = "denx,u-boot-fdt-test"; |
375 | reg = <5>; | |
1ca7e206 | 376 | ping-expect = <5>; |
2e7d35d2 SG |
377 | ping-add = <5>; |
378 | }; | |
1ca7e206 SG |
379 | c-test@0 { |
380 | compatible = "denx,u-boot-fdt-test"; | |
381 | reg = <0>; | |
382 | ping-expect = <6>; | |
383 | ping-add = <6>; | |
384 | }; | |
385 | c-test@1 { | |
386 | compatible = "denx,u-boot-fdt-test"; | |
387 | reg = <1>; | |
388 | ping-expect = <7>; | |
389 | ping-add = <7>; | |
390 | }; | |
2e7d35d2 SG |
391 | }; |
392 | ||
393 | d-test { | |
0503e820 | 394 | reg = <3 1>; |
5a66a8ff SG |
395 | ping-expect = <6>; |
396 | ping-add = <6>; | |
397 | compatible = "google,another-fdt-test"; | |
398 | }; | |
399 | ||
400 | e-test { | |
0503e820 | 401 | reg = <3 1>; |
eb9ef5fe | 402 | ping-expect = <6>; |
2e7d35d2 SG |
403 | ping-add = <6>; |
404 | compatible = "google,another-fdt-test"; | |
405 | }; | |
406 | ||
9cc36a2b SG |
407 | f-test { |
408 | compatible = "denx,u-boot-fdt-test"; | |
409 | }; | |
410 | ||
411 | g-test { | |
412 | compatible = "denx,u-boot-fdt-test"; | |
413 | }; | |
414 | ||
2786cd74 BM |
415 | h-test { |
416 | compatible = "denx,u-boot-fdt-test1"; | |
417 | }; | |
418 | ||
bf6ad916 CY |
419 | i-test { |
420 | compatible = "mediatek,u-boot-fdt-test"; | |
421 | #address-cells = <1>; | |
422 | #size-cells = <0>; | |
423 | ||
424 | subnode@0 { | |
425 | reg = <0>; | |
426 | }; | |
427 | ||
428 | subnode@1 { | |
429 | reg = <1>; | |
430 | }; | |
431 | ||
432 | subnode@2 { | |
433 | reg = <2>; | |
434 | }; | |
435 | }; | |
436 | ||
dc12ebbb SG |
437 | devres-test { |
438 | compatible = "denx,u-boot-devres-test"; | |
439 | }; | |
440 | ||
88e6a60e JJH |
441 | another-test { |
442 | reg = <0 2>; | |
443 | compatible = "denx,u-boot-fdt-test"; | |
444 | test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>; | |
445 | test5-gpios = <&gpio_a 19>; | |
446 | }; | |
447 | ||
283628c4 NSJ |
448 | mmio-bus@0 { |
449 | #address-cells = <1>; | |
450 | #size-cells = <1>; | |
451 | compatible = "denx,u-boot-test-bus"; | |
452 | dma-ranges = <0x10000000 0x00000000 0x00040000>; | |
453 | ||
454 | subnode@0 { | |
455 | compatible = "denx,u-boot-fdt-test"; | |
456 | }; | |
457 | }; | |
458 | ||
459 | mmio-bus@1 { | |
460 | #address-cells = <1>; | |
461 | #size-cells = <1>; | |
462 | compatible = "denx,u-boot-test-bus"; | |
e8801876 NSJ |
463 | |
464 | subnode@0 { | |
465 | compatible = "denx,u-boot-fdt-test"; | |
466 | }; | |
283628c4 NSJ |
467 | }; |
468 | ||
0f7b111f | 469 | acpi_test1: acpi-test { |
f50cc952 | 470 | compatible = "denx,u-boot-acpi-test"; |
b5183172 | 471 | acpi-ssdt-test-data = "ab"; |
01694589 | 472 | acpi-dsdt-test-data = "hi"; |
1361a53c SG |
473 | child { |
474 | compatible = "denx,u-boot-acpi-test"; | |
475 | }; | |
f50cc952 SG |
476 | }; |
477 | ||
0f7b111f | 478 | acpi_test2: acpi-test2 { |
93f7f827 | 479 | compatible = "denx,u-boot-acpi-test"; |
b5183172 | 480 | acpi-ssdt-test-data = "cd"; |
01694589 | 481 | acpi-dsdt-test-data = "jk"; |
93f7f827 SG |
482 | }; |
483 | ||
ee87a097 PC |
484 | clocks { |
485 | clk_fixed: clk-fixed { | |
486 | compatible = "fixed-clock"; | |
487 | #clock-cells = <0>; | |
488 | clock-frequency = <1234>; | |
489 | }; | |
b630d57d AP |
490 | |
491 | clk_fixed_factor: clk-fixed-factor { | |
492 | compatible = "fixed-factor-clock"; | |
493 | #clock-cells = <0>; | |
494 | clock-div = <3>; | |
495 | clock-mult = <2>; | |
496 | clocks = <&clk_fixed>; | |
497 | }; | |
4ab8e783 LM |
498 | |
499 | osc { | |
500 | compatible = "fixed-clock"; | |
501 | #clock-cells = <0>; | |
502 | clock-frequency = <20000000>; | |
503 | }; | |
135aa950 SW |
504 | }; |
505 | ||
506 | clk_sandbox: clk-sbox { | |
6a1c7cef | 507 | compatible = "sandbox,clk"; |
135aa950 | 508 | #clock-cells = <1>; |
9a52be12 JJH |
509 | assigned-clocks = <&clk_sandbox 3>; |
510 | assigned-clock-rates = <321>; | |
135aa950 SW |
511 | }; |
512 | ||
513 | clk-test { | |
514 | compatible = "sandbox,clk-test"; | |
515 | clocks = <&clk_fixed>, | |
516 | <&clk_sandbox 1>, | |
dd2e0ce2 JJH |
517 | <&clk_sandbox 0>, |
518 | <&clk_sandbox 3>, | |
519 | <&clk_sandbox 2>; | |
520 | clock-names = "fixed", "i2c", "spi", "uart2", "uart1"; | |
6a1c7cef SG |
521 | }; |
522 | ||
87e460c3 LM |
523 | ccf: clk-ccf { |
524 | compatible = "sandbox,clk-ccf"; | |
525 | }; | |
526 | ||
42b7f421 SG |
527 | efi-media { |
528 | compatible = "sandbox,efi-media"; | |
529 | }; | |
530 | ||
171e991d SG |
531 | eth@10002000 { |
532 | compatible = "sandbox,eth"; | |
533 | reg = <0x10002000 0x1000>; | |
171e991d SG |
534 | }; |
535 | ||
536 | eth_5: eth@10003000 { | |
537 | compatible = "sandbox,eth"; | |
538 | reg = <0x10003000 0x1000>; | |
3f51ba92 SA |
539 | nvmem-cells = <ð5_addr>; |
540 | nvmem-cell-names = "mac-address"; | |
171e991d SG |
541 | }; |
542 | ||
71d7971f BM |
543 | eth_3: sbe5 { |
544 | compatible = "sandbox,eth"; | |
545 | reg = <0x10005000 0x1000>; | |
472caa69 SA |
546 | nvmem-cells = <ð3_addr>; |
547 | nvmem-cell-names = "mac-address"; | |
71d7971f BM |
548 | }; |
549 | ||
171e991d SG |
550 | eth@10004000 { |
551 | compatible = "sandbox,eth"; | |
552 | reg = <0x10004000 0x1000>; | |
171e991d SG |
553 | }; |
554 | ||
f3dd213e MB |
555 | phy_eth0: phy-test-eth { |
556 | compatible = "sandbox,eth"; | |
557 | reg = <0x10007000 0x1000>; | |
e844e5d9 | 558 | mac-address = [ 02 00 11 22 33 49 ]; |
f3dd213e | 559 | phy-handle = <ðphy1>; |
123ca114 | 560 | phy-mode = "2500base-x"; |
f3dd213e MB |
561 | }; |
562 | ||
ff98da06 CM |
563 | dsa_eth0: dsa-test-eth { |
564 | compatible = "sandbox,eth"; | |
565 | reg = <0x10006000 0x1000>; | |
d3f72878 SA |
566 | nvmem-cells = <ð4_addr>; |
567 | nvmem-cell-names = "mac-address"; | |
ff98da06 CM |
568 | }; |
569 | ||
570 | dsa-test { | |
571 | compatible = "sandbox,dsa"; | |
572 | ||
573 | ports { | |
574 | #address-cells = <1>; | |
575 | #size-cells = <0>; | |
576 | swp_0: port@0 { | |
577 | reg = <0>; | |
578 | label = "lan0"; | |
579 | phy-mode = "rgmii-rxid"; | |
580 | ||
581 | fixed-link { | |
582 | speed = <100>; | |
583 | full-duplex; | |
584 | }; | |
585 | }; | |
586 | ||
587 | swp_1: port@1 { | |
588 | reg = <1>; | |
589 | label = "lan1"; | |
590 | phy-mode = "rgmii-txid"; | |
534c69b0 | 591 | fixed-link = <0 1 100 0 0>; |
ff98da06 CM |
592 | }; |
593 | ||
594 | port@2 { | |
595 | reg = <2>; | |
596 | ethernet = <&dsa_eth0>; | |
597 | ||
598 | fixed-link { | |
599 | speed = <1000>; | |
600 | full-duplex; | |
601 | }; | |
602 | }; | |
603 | }; | |
604 | }; | |
605 | ||
31b8217e RV |
606 | firmware { |
607 | sandbox_firmware: sandbox-firmware { | |
608 | compatible = "sandbox,firmware"; | |
609 | }; | |
358599ef | 610 | |
41d62e2f | 611 | scmi { |
358599ef EC |
612 | compatible = "sandbox,scmi-agent"; |
613 | #address-cells = <1>; | |
614 | #size-cells = <0>; | |
87d4f277 | 615 | |
41d62e2f EC |
616 | protocol@10 { |
617 | reg = <0x10>; | |
618 | }; | |
619 | ||
620 | clk_scmi: protocol@14 { | |
87d4f277 EC |
621 | reg = <0x14>; |
622 | #clock-cells = <1>; | |
623 | }; | |
c0dd177a | 624 | |
41d62e2f | 625 | reset_scmi: protocol@16 { |
c0dd177a EC |
626 | reg = <0x16>; |
627 | #reset-cells = <1>; | |
628 | }; | |
0124218b EC |
629 | |
630 | protocol@17 { | |
631 | reg = <0x17>; | |
632 | ||
633 | regulators { | |
634 | #address-cells = <1>; | |
635 | #size-cells = <0>; | |
636 | ||
41d62e2f | 637 | regul0_scmi: reg@0 { |
0124218b EC |
638 | reg = <0>; |
639 | regulator-name = "sandbox-voltd0"; | |
640 | regulator-min-microvolt = <1100000>; | |
641 | regulator-max-microvolt = <3300000>; | |
642 | }; | |
41d62e2f | 643 | regul1_scmi: reg@1 { |
0124218b EC |
644 | reg = <0x1>; |
645 | regulator-name = "sandbox-voltd1"; | |
646 | regulator-min-microvolt = <1800000>; | |
647 | }; | |
648 | }; | |
649 | }; | |
358599ef | 650 | }; |
31b8217e RV |
651 | }; |
652 | ||
e5301bac PD |
653 | pinctrl-gpio { |
654 | compatible = "sandbox,pinctrl-gpio"; | |
655 | ||
656 | gpio_a: base-gpios { | |
657 | compatible = "sandbox,gpio"; | |
658 | gpio-controller; | |
659 | #gpio-cells = <1>; | |
660 | gpio-bank-name = "a"; | |
661 | sandbox,gpio-count = <20>; | |
9ba84329 HS |
662 | hog_input_active_low { |
663 | gpio-hog; | |
664 | input; | |
037a56d6 | 665 | gpios = <10 GPIO_ACTIVE_LOW>; |
9ba84329 HS |
666 | }; |
667 | hog_input_active_high { | |
668 | gpio-hog; | |
669 | input; | |
037a56d6 | 670 | gpios = <11 GPIO_ACTIVE_HIGH>; |
9ba84329 HS |
671 | }; |
672 | hog_output_low { | |
673 | gpio-hog; | |
674 | output-low; | |
037a56d6 | 675 | gpios = <12 GPIO_ACTIVE_HIGH>; |
9ba84329 HS |
676 | }; |
677 | hog_output_high { | |
678 | gpio-hog; | |
679 | output-high; | |
037a56d6 | 680 | gpios = <13 GPIO_ACTIVE_HIGH>; |
9ba84329 | 681 | }; |
e5301bac | 682 | }; |
2e7d35d2 | 683 | |
e5301bac PD |
684 | gpio_b: extra-gpios { |
685 | compatible = "sandbox,gpio"; | |
686 | gpio-controller; | |
687 | #gpio-cells = <5>; | |
688 | gpio-bank-name = "b"; | |
689 | sandbox,gpio-count = <10>; | |
690 | }; | |
0ae0cb7b | 691 | |
e5301bac PD |
692 | gpio_c: pinmux-gpios { |
693 | compatible = "sandbox,gpio"; | |
694 | gpio-controller; | |
695 | #gpio-cells = <2>; | |
696 | gpio-bank-name = "c"; | |
697 | sandbox,gpio-count = <10>; | |
698 | }; | |
ff52665d PD |
699 | }; |
700 | ||
ecc2ed55 SG |
701 | i2c@0 { |
702 | #address-cells = <1>; | |
703 | #size-cells = <0>; | |
0503e820 | 704 | reg = <0 1>; |
ecc2ed55 SG |
705 | compatible = "sandbox,i2c"; |
706 | clock-frequency = <100000>; | |
5532262d DB |
707 | pinctrl-names = "default"; |
708 | pinctrl-0 = <&pinmux_i2c0_pins>; | |
709 | ||
ecc2ed55 | 710 | eeprom@2c { |
472caa69 SA |
711 | #address-cells = <1>; |
712 | #size-cells = <1>; | |
ecc2ed55 SG |
713 | reg = <0x2c>; |
714 | compatible = "i2c-eeprom"; | |
031a650e | 715 | sandbox,emul = <&emul_eeprom>; |
f692b479 MS |
716 | partitions { |
717 | compatible = "fixed-partitions"; | |
718 | #address-cells = <1>; | |
719 | #size-cells = <1>; | |
720 | bootcount_i2c: bootcount@10 { | |
721 | reg = <10 2>; | |
722 | }; | |
723 | }; | |
472caa69 SA |
724 | |
725 | eth3_addr: mac-address@24 { | |
726 | reg = <24 6>; | |
727 | }; | |
ecc2ed55 | 728 | }; |
9038cd53 | 729 | |
52d3bc5d | 730 | rtc_0: rtc@43 { |
d3f72878 SA |
731 | #address-cells = <1>; |
732 | #size-cells = <1>; | |
52d3bc5d SG |
733 | reg = <0x43>; |
734 | compatible = "sandbox-rtc"; | |
031a650e | 735 | sandbox,emul = <&emul0>; |
d3f72878 SA |
736 | |
737 | eth4_addr: mac-address@40 { | |
738 | reg = <0x40 6>; | |
739 | }; | |
52d3bc5d SG |
740 | }; |
741 | ||
742 | rtc_1: rtc@61 { | |
743 | reg = <0x61>; | |
744 | compatible = "sandbox-rtc"; | |
031a650e SG |
745 | sandbox,emul = <&emul1>; |
746 | }; | |
747 | ||
748 | i2c_emul: emul { | |
749 | reg = <0xff>; | |
750 | compatible = "sandbox,i2c-emul-parent"; | |
751 | emul_eeprom: emul-eeprom { | |
752 | compatible = "sandbox,i2c-eeprom"; | |
753 | sandbox,filename = "i2c.bin"; | |
754 | sandbox,size = <256>; | |
755 | }; | |
756 | emul0: emul0 { | |
c4085d73 | 757 | compatible = "sandbox,i2c-rtc-emul"; |
031a650e SG |
758 | }; |
759 | emul1: emull { | |
c4085d73 | 760 | compatible = "sandbox,i2c-rtc-emul"; |
52d3bc5d SG |
761 | }; |
762 | }; | |
763 | ||
9038cd53 PM |
764 | sandbox_pmic: sandbox_pmic { |
765 | reg = <0x40>; | |
031a650e | 766 | sandbox,emul = <&emul_pmic0>; |
9038cd53 | 767 | }; |
686df498 LM |
768 | |
769 | mc34708: pmic@41 { | |
770 | reg = <0x41>; | |
031a650e | 771 | sandbox,emul = <&emul_pmic1>; |
686df498 | 772 | }; |
ecc2ed55 SG |
773 | }; |
774 | ||
6f2d59cb PT |
775 | bootcount@0 { |
776 | compatible = "u-boot,bootcount-rtc"; | |
777 | rtc = <&rtc_1>; | |
778 | offset = <0x13>; | |
779 | }; | |
780 | ||
f692b479 MS |
781 | bootcount { |
782 | compatible = "u-boot,bootcount-i2c-eeprom"; | |
783 | i2c-eeprom = <&bootcount_i2c>; | |
784 | }; | |
785 | ||
c50b21b7 NH |
786 | bootcount_4@0 { |
787 | compatible = "u-boot,bootcount-syscon"; | |
788 | syscon = <&syscon0>; | |
789 | reg = <0x0 0x04>, <0x0 0x04>; | |
790 | reg-names = "syscon_reg", "offset"; | |
791 | }; | |
792 | ||
793 | bootcount_2@0 { | |
794 | compatible = "u-boot,bootcount-syscon"; | |
795 | syscon = <&syscon0>; | |
796 | reg = <0x0 0x04>, <0x0 0x02> ; | |
797 | reg-names = "syscon_reg", "offset"; | |
798 | }; | |
799 | ||
289d0ead | 800 | adc: adc@0 { |
08d6300a | 801 | compatible = "sandbox,adc"; |
289d0ead | 802 | #io-channel-cells = <1>; |
08d6300a PM |
803 | vdd-supply = <&buck2>; |
804 | vss-microvolts = <0>; | |
805 | }; | |
806 | ||
fb574624 MK |
807 | iommu: iommu@0 { |
808 | compatible = "sandbox,iommu"; | |
809 | #iommu-cells = <0>; | |
810 | }; | |
811 | ||
02554355 | 812 | irq: irq { |
fbb0efdd | 813 | compatible = "sandbox,irq"; |
02554355 SG |
814 | interrupt-controller; |
815 | #interrupt-cells = <2>; | |
fbb0efdd SG |
816 | }; |
817 | ||
3c97c4fb SG |
818 | lcd { |
819 | u-boot,dm-pre-reloc; | |
820 | compatible = "sandbox,lcd-sdl"; | |
5532262d DB |
821 | pinctrl-names = "default"; |
822 | pinctrl-0 = <&pinmux_lcd_pins>; | |
3c97c4fb SG |
823 | xres = <1366>; |
824 | yres = <768>; | |
825 | }; | |
826 | ||
3c43fba3 SG |
827 | leds { |
828 | compatible = "gpio-leds"; | |
829 | ||
830 | iracibble { | |
831 | gpios = <&gpio_a 1 0>; | |
832 | label = "sandbox:red"; | |
833 | }; | |
834 | ||
835 | martinet { | |
836 | gpios = <&gpio_a 2 0>; | |
837 | label = "sandbox:green"; | |
838 | }; | |
274fb461 PB |
839 | |
840 | default_on { | |
841 | gpios = <&gpio_a 5 0>; | |
842 | label = "sandbox:default_on"; | |
843 | default-state = "on"; | |
844 | }; | |
845 | ||
846 | default_off { | |
847 | gpios = <&gpio_a 6 0>; | |
3e41c7b2 | 848 | /* label intentionally omitted */ |
274fb461 PB |
849 | default-state = "off"; |
850 | }; | |
3c43fba3 SG |
851 | }; |
852 | ||
1fc45d64 | 853 | wdt-gpio-toggle { |
a9346b93 RV |
854 | gpios = <&gpio_a 7 0>; |
855 | compatible = "linux,wdt-gpio"; | |
4171c574 | 856 | hw_margin_ms = <100>; |
1fc45d64 PD |
857 | hw_algo = "toggle"; |
858 | always-running; | |
859 | }; | |
860 | ||
861 | wdt-gpio-level { | |
862 | gpios = <&gpio_a 7 0>; | |
863 | compatible = "linux,wdt-gpio"; | |
864 | hw_margin_ms = <100>; | |
865 | hw_algo = "level"; | |
a9346b93 RV |
866 | always-running; |
867 | }; | |
868 | ||
8961b524 SW |
869 | mbox: mbox { |
870 | compatible = "sandbox,mbox"; | |
871 | #mbox-cells = <1>; | |
872 | }; | |
873 | ||
874 | mbox-test { | |
875 | compatible = "sandbox,mbox-test"; | |
876 | mboxes = <&mbox 100>, <&mbox 1>; | |
877 | mbox-names = "other", "test"; | |
878 | }; | |
879 | ||
073e6d65 | 880 | cpus { |
8ae8da10 HS |
881 | #address-cells = <1>; |
882 | #size-cells = <0>; | |
7616e368 | 883 | timebase-frequency = <2000000>; |
8ae8da10 HS |
884 | cpu1: cpu@1 { |
885 | device_type = "cpu"; | |
886 | reg = <0x1>; | |
7616e368 | 887 | timebase-frequency = <3000000>; |
073e6d65 AT |
888 | compatible = "sandbox,cpu_sandbox"; |
889 | u-boot,dm-pre-reloc; | |
890 | }; | |
fa44b533 | 891 | |
8ae8da10 HS |
892 | cpu2: cpu@2 { |
893 | device_type = "cpu"; | |
894 | reg = <0x2>; | |
073e6d65 AT |
895 | compatible = "sandbox,cpu_sandbox"; |
896 | u-boot,dm-pre-reloc; | |
897 | }; | |
fa44b533 | 898 | |
8ae8da10 HS |
899 | cpu3: cpu@3 { |
900 | device_type = "cpu"; | |
901 | reg = <0x3>; | |
073e6d65 AT |
902 | compatible = "sandbox,cpu_sandbox"; |
903 | u-boot,dm-pre-reloc; | |
904 | }; | |
fa44b533 MS |
905 | }; |
906 | ||
21e3c219 DG |
907 | chipid: chipid { |
908 | compatible = "sandbox,soc"; | |
909 | }; | |
910 | ||
e96fa6c9 SG |
911 | i2s: i2s { |
912 | compatible = "sandbox,i2s"; | |
913 | #sound-dai-cells = <1>; | |
ecc7973d | 914 | sandbox,silent; /* Don't emit sounds while testing */ |
e96fa6c9 SG |
915 | }; |
916 | ||
07e33711 JJH |
917 | nop-test_0 { |
918 | compatible = "sandbox,nop_sandbox1"; | |
919 | nop-test_1 { | |
920 | compatible = "sandbox,nop_sandbox2"; | |
921 | bind = "True"; | |
922 | }; | |
923 | nop-test_2 { | |
924 | compatible = "sandbox,nop_sandbox2"; | |
925 | bind = "False"; | |
926 | }; | |
927 | }; | |
928 | ||
004e67c2 | 929 | misc-test { |
3f51ba92 SA |
930 | #address-cells = <1>; |
931 | #size-cells = <1>; | |
004e67c2 | 932 | compatible = "sandbox,misc_sandbox"; |
3f51ba92 SA |
933 | |
934 | eth5_addr: mac-address@10 { | |
935 | reg = <0x10 6>; | |
936 | }; | |
004e67c2 MS |
937 | }; |
938 | ||
e48eeb9e SG |
939 | mmc2 { |
940 | compatible = "sandbox,mmc"; | |
6b165ab2 | 941 | non-removable; |
e48eeb9e SG |
942 | }; |
943 | ||
fb1451be | 944 | /* This is used for the bootdev tests */ |
e48eeb9e SG |
945 | mmc1 { |
946 | compatible = "sandbox,mmc"; | |
fb1451be | 947 | filename = "mmc1.img"; |
e48eeb9e SG |
948 | }; |
949 | ||
fb1451be | 950 | /* This is used for the fastboot tests */ |
e48eeb9e | 951 | mmc0 { |
8e6cc461 SG |
952 | compatible = "sandbox,mmc"; |
953 | }; | |
954 | ||
b45c833c SG |
955 | pch { |
956 | compatible = "sandbox,pch"; | |
957 | }; | |
958 | ||
42c64d1b | 959 | pci0: pci@0 { |
d3b7ff14 SG |
960 | compatible = "sandbox,pci"; |
961 | device_type = "pci"; | |
42c64d1b | 962 | bus-range = <0x00 0xff>; |
d3b7ff14 SG |
963 | #address-cells = <3>; |
964 | #size-cells = <2>; | |
b0e2c23d | 965 | ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000 |
d3b7ff14 | 966 | 0x01000000 0 0x20000000 0x20000000 0 0x2000>; |
2db7f2b7 BM |
967 | pci@0,0 { |
968 | compatible = "pci-generic"; | |
969 | reg = <0x0000 0 0 0 0>; | |
9b69ba4a | 970 | sandbox,emul = <&swap_case_emul0_0>; |
2db7f2b7 | 971 | }; |
21ebbafd AM |
972 | pci@1,0 { |
973 | compatible = "pci-generic"; | |
33c215af SG |
974 | /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */ |
975 | reg = <0x02000814 0 0 0 0 | |
976 | 0x01000810 0 0 0 0>; | |
9b69ba4a | 977 | sandbox,emul = <&swap_case_emul0_1>; |
21ebbafd | 978 | }; |
3e17ffbb SG |
979 | p2sb-pci@2,0 { |
980 | compatible = "sandbox,p2sb"; | |
981 | reg = <0x02001010 0 0 0 0>; | |
982 | sandbox,emul = <&p2sb_emul>; | |
983 | ||
984 | adder { | |
985 | intel,p2sb-port-id = <3>; | |
986 | compatible = "sandbox,adder"; | |
987 | }; | |
988 | }; | |
3b65ee34 SG |
989 | pci@1e,0 { |
990 | compatible = "sandbox,pmc"; | |
991 | reg = <0xf000 0 0 0 0>; | |
992 | sandbox,emul = <&pmc_emul1e>; | |
993 | acpi-base = <0x400>; | |
994 | gpe0-dwx-mask = <0xf>; | |
995 | gpe0-dwx-shift-base = <4>; | |
996 | gpe0-dw = <6 7 9>; | |
997 | gpe0-sts = <0x20>; | |
998 | gpe0-en = <0x30>; | |
999 | }; | |
d3b7ff14 SG |
1000 | pci@1f,0 { |
1001 | compatible = "pci-generic"; | |
33c215af SG |
1002 | /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */ |
1003 | reg = <0x0100f810 0 0 0 0>; | |
9b69ba4a SG |
1004 | sandbox,emul = <&swap_case_emul0_1f>; |
1005 | }; | |
1006 | }; | |
1007 | ||
1008 | pci-emul0 { | |
1009 | compatible = "sandbox,pci-emul-parent"; | |
1010 | swap_case_emul0_0: emul0@0,0 { | |
1011 | compatible = "sandbox,swap-case"; | |
1012 | }; | |
1013 | swap_case_emul0_1: emul0@1,0 { | |
1014 | compatible = "sandbox,swap-case"; | |
1015 | use-ea; | |
1016 | }; | |
1017 | swap_case_emul0_1f: emul0@1f,0 { | |
1018 | compatible = "sandbox,swap-case"; | |
d3b7ff14 | 1019 | }; |
3e17ffbb SG |
1020 | p2sb_emul: emul@2,0 { |
1021 | compatible = "sandbox,p2sb-emul"; | |
1022 | }; | |
3b65ee34 SG |
1023 | pmc_emul1e: emul@1e,0 { |
1024 | compatible = "sandbox,pmc-emul"; | |
1025 | }; | |
d3b7ff14 SG |
1026 | }; |
1027 | ||
42c64d1b | 1028 | pci1: pci@1 { |
dee4d752 BM |
1029 | compatible = "sandbox,pci"; |
1030 | device_type = "pci"; | |
42c64d1b | 1031 | bus-range = <0x00 0xff>; |
dee4d752 BM |
1032 | #address-cells = <3>; |
1033 | #size-cells = <2>; | |
4cf56ec0 | 1034 | ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 // MEM0 |
55e6adbd | 1035 | 0x02000000 0 0x31000000 0x3e000000 0 0x2000 // MEM1 |
4cf56ec0 | 1036 | 0x01000000 0 0x40000000 0x40000000 0 0x2000>; |
490d13a5 | 1037 | sandbox,dev-info = <0x08 0x00 0x1234 0x5678 |
b59349a0 MV |
1038 | 0x0c 0x00 0x1234 0x5678 |
1039 | 0x10 0x00 0x1234 0x5678>; | |
1040 | pci@10,0 { | |
1041 | reg = <0x8000 0 0 0 0>; | |
1042 | }; | |
dee4d752 BM |
1043 | }; |
1044 | ||
42c64d1b | 1045 | pci2: pci@2 { |
3ed214ac BM |
1046 | compatible = "sandbox,pci"; |
1047 | device_type = "pci"; | |
42c64d1b | 1048 | bus-range = <0x00 0xff>; |
3ed214ac BM |
1049 | #address-cells = <3>; |
1050 | #size-cells = <2>; | |
1051 | ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000 | |
1052 | 0x01000000 0 0x60000000 0x60000000 0 0x2000>; | |
1053 | sandbox,dev-info = <0x08 0x00 0x1234 0x5678>; | |
1054 | pci@1f,0 { | |
1055 | compatible = "pci-generic"; | |
1056 | reg = <0xf800 0 0 0 0>; | |
9b69ba4a SG |
1057 | sandbox,emul = <&swap_case_emul2_1f>; |
1058 | }; | |
1059 | }; | |
1060 | ||
1061 | pci-emul2 { | |
1062 | compatible = "sandbox,pci-emul-parent"; | |
1063 | swap_case_emul2_1f: emul2@1f,0 { | |
1064 | compatible = "sandbox,swap-case"; | |
3ed214ac BM |
1065 | }; |
1066 | }; | |
1067 | ||
bb413337 RF |
1068 | pci_ep: pci_ep { |
1069 | compatible = "sandbox,pci_ep"; | |
1070 | }; | |
1071 | ||
98561572 SG |
1072 | probing { |
1073 | compatible = "simple-bus"; | |
1074 | test1 { | |
1075 | compatible = "denx,u-boot-probe-test"; | |
1076 | }; | |
1077 | ||
1078 | test2 { | |
1079 | compatible = "denx,u-boot-probe-test"; | |
1080 | }; | |
1081 | ||
1082 | test3 { | |
1083 | compatible = "denx,u-boot-probe-test"; | |
1084 | }; | |
1085 | ||
1086 | test4 { | |
1087 | compatible = "denx,u-boot-probe-test"; | |
6c3af1f2 JJH |
1088 | first-syscon = <&syscon0>; |
1089 | second-sys-ctrl = <&another_system_controller>; | |
a442e61e | 1090 | third-syscon = <&syscon2>; |
98561572 SG |
1091 | }; |
1092 | }; | |
1093 | ||
61f5ddcb SW |
1094 | pwrdom: power-domain { |
1095 | compatible = "sandbox,power-domain"; | |
1096 | #power-domain-cells = <1>; | |
1097 | }; | |
1098 | ||
1099 | power-domain-test { | |
1100 | compatible = "sandbox,power-domain-test"; | |
1101 | power-domains = <&pwrdom 2>; | |
1102 | }; | |
1103 | ||
5d9a88f4 | 1104 | pwm: pwm { |
43b41566 | 1105 | compatible = "sandbox,pwm"; |
5d9a88f4 | 1106 | #pwm-cells = <2>; |
5532262d DB |
1107 | pinctrl-names = "default"; |
1108 | pinctrl-0 = <&pinmux_pwm_pins>; | |
43b41566 SG |
1109 | }; |
1110 | ||
1111 | pwm2 { | |
1112 | compatible = "sandbox,pwm"; | |
5d9a88f4 | 1113 | #pwm-cells = <2>; |
43b41566 SG |
1114 | }; |
1115 | ||
64ce0cad SG |
1116 | ram { |
1117 | compatible = "sandbox,ram"; | |
1118 | }; | |
1119 | ||
5010d98f SG |
1120 | reset@0 { |
1121 | compatible = "sandbox,warm-reset"; | |
1122 | }; | |
1123 | ||
1124 | reset@1 { | |
1125 | compatible = "sandbox,reset"; | |
1126 | }; | |
1127 | ||
4581b717 SW |
1128 | resetc: reset-ctl { |
1129 | compatible = "sandbox,reset-ctl"; | |
1130 | #reset-cells = <1>; | |
1131 | }; | |
1132 | ||
1133 | reset-ctl-test { | |
1134 | compatible = "sandbox,reset-ctl-test"; | |
bdfe6907 NA |
1135 | resets = <&resetc 100>, <&resetc 2>, <&resetc 20>, <&resetc 40>; |
1136 | reset-names = "other", "test", "test2", "test3"; | |
4581b717 SW |
1137 | }; |
1138 | ||
ff0dada9 SG |
1139 | rng { |
1140 | compatible = "sandbox,sandbox-rng"; | |
1141 | }; | |
1142 | ||
5215940f NM |
1143 | rproc_1: rproc@1 { |
1144 | compatible = "sandbox,test-processor"; | |
1145 | remoteproc-name = "remoteproc-test-dev1"; | |
1146 | }; | |
1147 | ||
1148 | rproc_2: rproc@2 { | |
1149 | compatible = "sandbox,test-processor"; | |
1150 | internal-memory-mapped; | |
1151 | remoteproc-name = "remoteproc-test-dev2"; | |
1152 | }; | |
1153 | ||
5d9a88f4 SG |
1154 | panel { |
1155 | compatible = "simple-panel"; | |
1156 | backlight = <&backlight 0 100>; | |
1157 | }; | |
1158 | ||
7fd7e2cf RF |
1159 | smem@0 { |
1160 | compatible = "sandbox,smem"; | |
1161 | }; | |
1162 | ||
d4901898 SG |
1163 | sound { |
1164 | compatible = "sandbox,sound"; | |
1165 | cpu { | |
1166 | sound-dai = <&i2s 0>; | |
1167 | }; | |
1168 | ||
1169 | codec { | |
1170 | sound-dai = <&audio 0>; | |
1171 | }; | |
1172 | }; | |
1173 | ||
0ae0cb7b SG |
1174 | spi@0 { |
1175 | #address-cells = <1>; | |
1176 | #size-cells = <0>; | |
0503e820 | 1177 | reg = <0 1>; |
0ae0cb7b | 1178 | compatible = "sandbox,spi"; |
1dc53ce7 | 1179 | cs-gpios = <0>, <0>, <&gpio_a 0>; |
5532262d DB |
1180 | pinctrl-names = "default"; |
1181 | pinctrl-0 = <&pinmux_spi0_pins>; | |
1182 | ||
0ae0cb7b SG |
1183 | spi.bin@0 { |
1184 | reg = <0>; | |
ffd4c7c2 | 1185 | compatible = "spansion,m25p16", "jedec,spi-nor"; |
0ae0cb7b SG |
1186 | spi-max-frequency = <40000000>; |
1187 | sandbox,filename = "spi.bin"; | |
1188 | }; | |
1dc53ce7 OP |
1189 | spi.bin@1 { |
1190 | reg = <1>; | |
1191 | compatible = "spansion,m25p16", "jedec,spi-nor"; | |
1192 | spi-max-frequency = <50000000>; | |
1193 | sandbox,filename = "spi.bin"; | |
1194 | spi-cpol; | |
1195 | spi-cpha; | |
1196 | }; | |
0ae0cb7b SG |
1197 | }; |
1198 | ||
6c3af1f2 | 1199 | syscon0: syscon@0 { |
04035fd3 | 1200 | compatible = "sandbox,syscon0"; |
82744c20 | 1201 | reg = <0x10 16>; |
04035fd3 SG |
1202 | }; |
1203 | ||
6c3af1f2 | 1204 | another_system_controller: syscon@1 { |
04035fd3 | 1205 | compatible = "sandbox,syscon1"; |
0503e820 SG |
1206 | reg = <0x20 5 |
1207 | 0x28 6 | |
1208 | 0x30 7 | |
1209 | 0x38 8>; | |
04035fd3 SG |
1210 | }; |
1211 | ||
a442e61e | 1212 | syscon2: syscon@2 { |
99552c34 MY |
1213 | compatible = "simple-mfd", "syscon"; |
1214 | reg = <0x40 5 | |
1215 | 0x48 6 | |
1216 | 0x50 7 | |
1217 | 0x58 8>; | |
1218 | }; | |
1219 | ||
739592cc JJH |
1220 | syscon3: syscon@3 { |
1221 | compatible = "simple-mfd", "syscon"; | |
1222 | reg = <0x000100 0x10>; | |
1223 | ||
1224 | muxcontroller0: a-mux-controller { | |
1225 | compatible = "mmio-mux"; | |
1226 | #mux-control-cells = <1>; | |
1227 | ||
1228 | mux-reg-masks = <0x0 0x30>, /* 0: reg 0x0, bits 5:4 */ | |
1229 | <0xc 0x1E>, /* 1: reg 0xc, bits 4:1 */ | |
1230 | <0x4 0xFF>; /* 2: reg 0x4, bits 7:0 */ | |
1231 | idle-states = <MUX_IDLE_AS_IS>, <0x02>, <0x73>; | |
1232 | u-boot,mux-autoprobe; | |
1233 | }; | |
1234 | }; | |
1235 | ||
1236 | muxcontroller1: emul-mux-controller { | |
1237 | compatible = "mux-emul"; | |
1238 | #mux-control-cells = <0>; | |
1239 | u-boot,mux-autoprobe; | |
1240 | idle-state = <0xabcd>; | |
1241 | }; | |
1242 | ||
93f44e8a SG |
1243 | testfdtm0 { |
1244 | compatible = "denx,u-boot-fdtm-test"; | |
1245 | }; | |
1246 | ||
1247 | testfdtm1: testfdtm1 { | |
1248 | compatible = "denx,u-boot-fdtm-test"; | |
1249 | }; | |
1250 | ||
1251 | testfdtm2 { | |
1252 | compatible = "denx,u-boot-fdtm-test"; | |
1253 | }; | |
1254 | ||
7616e368 | 1255 | timer@0 { |
e7cc8d11 TC |
1256 | compatible = "sandbox,timer"; |
1257 | clock-frequency = <1000000>; | |
1258 | }; | |
1259 | ||
7616e368 SA |
1260 | timer@1 { |
1261 | compatible = "sandbox,timer"; | |
1262 | sandbox,timebase-frequency-fallback; | |
1263 | }; | |
1264 | ||
b91ad16a MR |
1265 | tpm2 { |
1266 | compatible = "sandbox,tpm2"; | |
1267 | }; | |
1268 | ||
171e991d SG |
1269 | uart0: serial { |
1270 | compatible = "sandbox,serial"; | |
1271 | u-boot,dm-pre-reloc; | |
5532262d DB |
1272 | pinctrl-names = "default"; |
1273 | pinctrl-0 = <&pinmux_uart0_pins>; | |
bfacad7d JH |
1274 | }; |
1275 | ||
e00cb223 SG |
1276 | usb_0: usb@0 { |
1277 | compatible = "sandbox,usb"; | |
1278 | status = "disabled"; | |
1279 | hub { | |
1280 | compatible = "sandbox,usb-hub"; | |
1281 | #address-cells = <1>; | |
1282 | #size-cells = <0>; | |
1283 | flash-stick { | |
1284 | reg = <0>; | |
1285 | compatible = "sandbox,usb-flash"; | |
1286 | }; | |
1287 | }; | |
1288 | }; | |
1289 | ||
1290 | usb_1: usb@1 { | |
1291 | compatible = "sandbox,usb"; | |
fb574624 | 1292 | iommus = <&iommu>; |
e00cb223 SG |
1293 | hub { |
1294 | compatible = "usb-hub"; | |
1295 | usb,device-class = <9>; | |
c03b7612 MW |
1296 | #address-cells = <1>; |
1297 | #size-cells = <0>; | |
e00cb223 SG |
1298 | hub-emul { |
1299 | compatible = "sandbox,usb-hub"; | |
1300 | #address-cells = <1>; | |
1301 | #size-cells = <0>; | |
431cbd6d | 1302 | flash-stick@0 { |
e00cb223 SG |
1303 | reg = <0>; |
1304 | compatible = "sandbox,usb-flash"; | |
1305 | sandbox,filepath = "testflash.bin"; | |
1306 | }; | |
1307 | ||
431cbd6d SG |
1308 | flash-stick@1 { |
1309 | reg = <1>; | |
1310 | compatible = "sandbox,usb-flash"; | |
1311 | sandbox,filepath = "testflash1.bin"; | |
1312 | }; | |
1313 | ||
1314 | flash-stick@2 { | |
1315 | reg = <2>; | |
1316 | compatible = "sandbox,usb-flash"; | |
1317 | sandbox,filepath = "testflash2.bin"; | |
1318 | }; | |
1319 | ||
bff1a71e SG |
1320 | keyb@3 { |
1321 | reg = <3>; | |
1322 | compatible = "sandbox,usb-keyb"; | |
1323 | }; | |
1324 | ||
e00cb223 | 1325 | }; |
c03b7612 MW |
1326 | |
1327 | usbstor@1 { | |
1328 | reg = <1>; | |
1329 | }; | |
1330 | usbstor@3 { | |
1331 | reg = <3>; | |
1332 | }; | |
e00cb223 SG |
1333 | }; |
1334 | }; | |
1335 | ||
1336 | usb_2: usb@2 { | |
1337 | compatible = "sandbox,usb"; | |
1338 | status = "disabled"; | |
1339 | }; | |
1340 | ||
d33776e4 MK |
1341 | spmi: spmi@0 { |
1342 | compatible = "sandbox,spmi"; | |
1343 | #address-cells = <0x1>; | |
1344 | #size-cells = <0x1>; | |
a605b0f7 | 1345 | ranges; |
d33776e4 MK |
1346 | pm8916@0 { |
1347 | compatible = "qcom,spmi-pmic"; | |
1348 | reg = <0x0 0x1>; | |
1349 | #address-cells = <0x1>; | |
1350 | #size-cells = <0x1>; | |
a605b0f7 | 1351 | ranges; |
d33776e4 MK |
1352 | |
1353 | spmi_gpios: gpios@c000 { | |
1354 | compatible = "qcom,pm8916-gpio"; | |
1355 | reg = <0xc000 0x400>; | |
1356 | gpio-controller; | |
1357 | gpio-count = <4>; | |
1358 | #gpio-cells = <2>; | |
1359 | gpio-bank-name="spmi"; | |
1360 | }; | |
1361 | }; | |
1362 | }; | |
0753bc2d | 1363 | |
1364 | wdt0: wdt@0 { | |
1365 | compatible = "sandbox,wdt"; | |
4171c574 | 1366 | hw_margin_ms = <200>; |
0753bc2d | 1367 | }; |
f2006808 | 1368 | |
957983e0 MS |
1369 | axi: axi@0 { |
1370 | compatible = "sandbox,axi"; | |
1371 | #address-cells = <0x1>; | |
1372 | #size-cells = <0x1>; | |
1373 | store@0 { | |
1374 | compatible = "sandbox,sandbox_store"; | |
1375 | reg = <0x0 0x400>; | |
1376 | }; | |
1377 | }; | |
1378 | ||
f2006808 | 1379 | chosen { |
7e87816c SG |
1380 | #address-cells = <1>; |
1381 | #size-cells = <1>; | |
14ca9f7f SG |
1382 | setting = "sunrise ohoka"; |
1383 | other-node = "/some-bus/c-test@5"; | |
bd933bfd | 1384 | int-values = <0x1937 72993>; |
0f7b111f | 1385 | u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>; |
f2006808 RC |
1386 | chosen-test { |
1387 | compatible = "denx,u-boot-fdt-test"; | |
1388 | reg = <9 1>; | |
1389 | }; | |
0917f773 SG |
1390 | |
1391 | fwupd { | |
1392 | compatible = "simple-bus"; | |
1393 | firmware0 { | |
1394 | compatible = "fwupd,vbe-simple"; | |
1395 | storage = "mmc1"; | |
1396 | area-start = <0x400>; | |
1397 | area-size = <0x1000>; | |
1398 | skip-offset = <0x200>; | |
1399 | state-offset = <0x400>; | |
1400 | state-size = <0x40>; | |
1401 | version-offset = <0x800>; | |
1402 | version-size = <0x100>; | |
1403 | }; | |
1404 | }; | |
f2006808 | 1405 | }; |
e8d52918 MS |
1406 | |
1407 | translation-test@8000 { | |
1408 | compatible = "simple-bus"; | |
1409 | reg = <0x8000 0x4000>; | |
1410 | ||
1411 | #address-cells = <0x2>; | |
1412 | #size-cells = <0x1>; | |
1413 | ||
1414 | ranges = <0 0x0 0x8000 0x1000 | |
1415 | 1 0x100 0x9000 0x1000 | |
1416 | 2 0x200 0xA000 0x1000 | |
1417 | 3 0x300 0xB000 0x1000 | |
1418 | >; | |
1419 | ||
641067fb FD |
1420 | dma-ranges = <0 0x000 0x10000000 0x1000 |
1421 | 1 0x100 0x20000000 0x1000 | |
1422 | >; | |
1423 | ||
e8d52918 MS |
1424 | dev@0,0 { |
1425 | compatible = "denx,u-boot-fdt-dummy"; | |
1426 | reg = <0 0x0 0x1000>; | |
79598820 | 1427 | reg-names = "sandbox-dummy-0"; |
e8d52918 MS |
1428 | }; |
1429 | ||
1430 | dev@1,100 { | |
1431 | compatible = "denx,u-boot-fdt-dummy"; | |
1432 | reg = <1 0x100 0x1000>; | |
1433 | ||
1434 | }; | |
1435 | ||
1436 | dev@2,200 { | |
1437 | compatible = "denx,u-boot-fdt-dummy"; | |
1438 | reg = <2 0x200 0x1000>; | |
1439 | }; | |
1440 | ||
1441 | ||
1442 | noxlatebus@3,300 { | |
1443 | compatible = "simple-bus"; | |
1444 | reg = <3 0x300 0x1000>; | |
1445 | ||
1446 | #address-cells = <0x1>; | |
1447 | #size-cells = <0x0>; | |
1448 | ||
1449 | dev@42 { | |
1450 | compatible = "denx,u-boot-fdt-dummy"; | |
1451 | reg = <0x42>; | |
1452 | }; | |
1453 | }; | |
1454 | }; | |
4eea5318 MS |
1455 | |
1456 | osd { | |
1457 | compatible = "sandbox,sandbox_osd"; | |
1458 | }; | |
d24c1d0f | 1459 | |
fa830ae1 JW |
1460 | sandbox_tee { |
1461 | compatible = "sandbox,tee"; | |
1462 | }; | |
4f89d494 BM |
1463 | |
1464 | sandbox_virtio1 { | |
1465 | compatible = "sandbox,virtio1"; | |
1466 | }; | |
1467 | ||
1468 | sandbox_virtio2 { | |
1469 | compatible = "sandbox,virtio2"; | |
1470 | }; | |
f41a824b | 1471 | |
87d4f277 EC |
1472 | sandbox_scmi { |
1473 | compatible = "sandbox,scmi-devices"; | |
10d3e5d2 | 1474 | clocks = <&clk_scmi 2>, <&clk_scmi 0>; |
41d62e2f EC |
1475 | resets = <&reset_scmi 3>; |
1476 | regul0-supply = <®ul0_scmi>; | |
1477 | regul1-supply = <®ul1_scmi>; | |
87d4f277 EC |
1478 | }; |
1479 | ||
f41a824b PC |
1480 | pinctrl { |
1481 | compatible = "sandbox,pinctrl"; | |
d15c05b5 | 1482 | |
7f0f1806 SA |
1483 | pinctrl-names = "default", "alternate"; |
1484 | pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>; | |
1485 | pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>; | |
d15c05b5 | 1486 | |
7f0f1806 | 1487 | pinctrl_gpios: gpios { |
d15c05b5 | 1488 | gpio0 { |
7f0f1806 SA |
1489 | pins = "P5"; |
1490 | function = "GPIO"; | |
d15c05b5 PD |
1491 | bias-pull-up; |
1492 | input-disable; | |
1493 | }; | |
1494 | gpio1 { | |
7f0f1806 SA |
1495 | pins = "P6"; |
1496 | function = "GPIO"; | |
d15c05b5 PD |
1497 | output-high; |
1498 | drive-open-drain; | |
1499 | }; | |
1500 | gpio2 { | |
7f0f1806 | 1501 | pinmux = <SANDBOX_PINMUX(7, SANDBOX_PINMUX_GPIO)>; |
d15c05b5 PD |
1502 | bias-pull-down; |
1503 | input-enable; | |
1504 | }; | |
1505 | gpio3 { | |
7f0f1806 | 1506 | pinmux = <SANDBOX_PINMUX(8, SANDBOX_PINMUX_GPIO)>; |
d15c05b5 PD |
1507 | bias-disable; |
1508 | }; | |
1509 | }; | |
7f0f1806 SA |
1510 | |
1511 | pinctrl_i2c: i2c { | |
1512 | groups { | |
1513 | groups = "I2C_UART"; | |
1514 | function = "I2C"; | |
1515 | }; | |
1516 | ||
1517 | pins { | |
1518 | pins = "P0", "P1"; | |
1519 | drive-open-drain; | |
1520 | }; | |
1521 | }; | |
1522 | ||
1523 | pinctrl_i2s: i2s { | |
1524 | groups = "SPI_I2S"; | |
1525 | function = "I2S"; | |
1526 | }; | |
1527 | ||
1528 | pinctrl_spi: spi { | |
1529 | groups = "SPI_I2S"; | |
1530 | function = "SPI"; | |
1531 | ||
1532 | cs { | |
1533 | pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>, | |
1534 | <SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>; | |
1535 | }; | |
1536 | }; | |
f41a824b | 1537 | }; |
7f84fc67 | 1538 | |
5532262d DB |
1539 | pinctrl-single-no-width { |
1540 | compatible = "pinctrl-single"; | |
1541 | reg = <0x0000 0x238>; | |
1542 | #pinctrl-cells = <1>; | |
1543 | pinctrl-single,function-mask = <0x7f>; | |
1544 | }; | |
1545 | ||
1546 | pinctrl-single-pins { | |
1547 | compatible = "pinctrl-single"; | |
1548 | reg = <0x0000 0x238>; | |
1549 | #pinctrl-cells = <1>; | |
1550 | pinctrl-single,register-width = <32>; | |
1551 | pinctrl-single,function-mask = <0x7f>; | |
1552 | ||
1553 | pinmux_pwm_pins: pinmux_pwm_pins { | |
1554 | pinctrl-single,pins = < 0x48 0x06 >; | |
1555 | }; | |
1556 | ||
1557 | pinmux_spi0_pins: pinmux_spi0_pins { | |
1558 | pinctrl-single,pins = < | |
1559 | 0x190 0x0c | |
1560 | 0x194 0x0c | |
1561 | 0x198 0x23 | |
1562 | 0x19c 0x0c | |
1563 | >; | |
1564 | }; | |
1565 | ||
1566 | pinmux_uart0_pins: pinmux_uart0_pins { | |
1567 | pinctrl-single,pins = < | |
1568 | 0x70 0x30 | |
1569 | 0x74 0x00 | |
1570 | >; | |
1571 | }; | |
1572 | }; | |
1573 | ||
1574 | pinctrl-single-bits { | |
1575 | compatible = "pinctrl-single"; | |
1576 | reg = <0x0000 0x50>; | |
1577 | #pinctrl-cells = <2>; | |
1578 | pinctrl-single,bit-per-mux; | |
1579 | pinctrl-single,register-width = <32>; | |
1580 | pinctrl-single,function-mask = <0xf>; | |
1581 | ||
1582 | pinmux_i2c0_pins: pinmux_i2c0_pins { | |
1583 | pinctrl-single,bits = < | |
1584 | 0x10 0x00002200 0x0000ff00 | |
1585 | >; | |
1586 | }; | |
1587 | ||
1588 | pinmux_lcd_pins: pinmux_lcd_pins { | |
1589 | pinctrl-single,bits = < | |
1590 | 0x40 0x22222200 0xffffff00 | |
1591 | 0x44 0x22222222 0xffffffff | |
1592 | 0x48 0x00000022 0x000000ff | |
1593 | 0x48 0x02000000 0x0f000000 | |
1594 | 0x4c 0x02000022 0x0f0000ff | |
1595 | >; | |
1596 | }; | |
1597 | }; | |
1598 | ||
7f84fc67 BG |
1599 | hwspinlock@0 { |
1600 | compatible = "sandbox,hwspinlock"; | |
1601 | }; | |
b3309918 GS |
1602 | |
1603 | dma: dma { | |
1604 | compatible = "sandbox,dma"; | |
1605 | #dma-cells = <1>; | |
1606 | ||
1607 | dmas = <&dma 0>, <&dma 1>, <&dma 2>; | |
1608 | dma-names = "m2m", "tx0", "rx0"; | |
1609 | }; | |
ec9594a5 | 1610 | |
c3d9f3f8 AM |
1611 | /* |
1612 | * keep mdio-mux ahead of mdio so that the mux is removed first at the | |
1613 | * end of the test. If parent mdio is removed first, clean-up of the | |
1614 | * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio | |
1615 | * active at the end of the test. That it turn doesn't allow the mdio | |
1616 | * class to be destroyed, triggering an error. | |
1617 | */ | |
1618 | mdio-mux-test { | |
1619 | compatible = "sandbox,mdio-mux"; | |
1620 | #address-cells = <1>; | |
1621 | #size-cells = <0>; | |
1622 | mdio-parent-bus = <&mdio>; | |
1623 | ||
1624 | mdio-ch-test@0 { | |
1625 | reg = <0>; | |
1626 | }; | |
1627 | mdio-ch-test@1 { | |
1628 | reg = <1>; | |
1629 | }; | |
1630 | }; | |
1631 | ||
1632 | mdio: mdio-test { | |
ec9594a5 | 1633 | compatible = "sandbox,mdio"; |
f3dd213e MB |
1634 | #address-cells = <1>; |
1635 | #size-cells = <0>; | |
1636 | ||
1637 | ethphy1: ethernet-phy@1 { | |
1638 | reg = <1>; | |
1639 | }; | |
ec9594a5 | 1640 | }; |
4a3390f1 SA |
1641 | |
1642 | pm-bus-test { | |
1643 | compatible = "simple-pm-bus"; | |
1644 | clocks = <&clk_sandbox 4>; | |
1645 | power-domains = <&pwrdom 1>; | |
1646 | }; | |
038b13ee SA |
1647 | |
1648 | resetc2: syscon-reset { | |
1649 | compatible = "syscon-reset"; | |
1650 | #reset-cells = <1>; | |
1651 | regmap = <&syscon0>; | |
1652 | offset = <1>; | |
1653 | mask = <0x27FFFFFF>; | |
1654 | assert-high = <0>; | |
1655 | }; | |
1656 | ||
1657 | syscon-reset-test { | |
1658 | compatible = "sandbox,misc_sandbox"; | |
1659 | resets = <&resetc2 15>, <&resetc2 30>, <&resetc2 60>; | |
1660 | reset-names = "valid", "no_mask", "out_of_range"; | |
1661 | }; | |
0ced26a4 | 1662 | |
3a8ee3df SG |
1663 | sysinfo { |
1664 | compatible = "sandbox,sysinfo-sandbox"; | |
1665 | }; | |
1666 | ||
1cbfed8d SA |
1667 | sysinfo-gpio { |
1668 | compatible = "gpio-sysinfo"; | |
1669 | gpios = <&gpio_a 15>, <&gpio_a 16>, <&gpio_a 17>; | |
1670 | revisions = <19>, <5>; | |
1671 | names = "rev_a", "foo"; | |
1672 | }; | |
1673 | ||
0ced26a4 JJH |
1674 | some_regmapped-bus { |
1675 | #address-cells = <0x1>; | |
1676 | #size-cells = <0x1>; | |
1677 | ||
1678 | ranges = <0x0 0x0 0x10>; | |
1679 | compatible = "simple-bus"; | |
1680 | ||
1681 | regmap-test_0 { | |
1682 | reg = <0 0x10>; | |
1683 | compatible = "sandbox,regmap_test"; | |
1684 | }; | |
1685 | }; | |
2e7d35d2 | 1686 | }; |
9038cd53 PM |
1687 | |
1688 | #include "sandbox_pmic.dtsi" | |
4a2a78ca | 1689 | #include "cros-ec-keyboard.dtsi" |