Simon Glass | 4cc43bf | 2021-08-18 21:40:25 -0600 | [diff] [blame] | 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 | |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 10 | /dts-v1/; |
| 11 | |
Patrick Delaunay | 23aee61 | 2020-01-13 11:35:13 +0100 | [diff] [blame] | 12 | #include <dt-bindings/gpio/gpio.h> |
| 13 | #include <dt-bindings/gpio/sandbox-gpio.h> |
Marek Szyprowski | ad39859 | 2021-02-18 11:33:18 +0100 | [diff] [blame] | 14 | #include <dt-bindings/input/input.h> |
Sean Anderson | 3438e3b | 2020-09-14 11:01:57 -0400 | [diff] [blame] | 15 | #include <dt-bindings/pinctrl/sandbox-pinmux.h> |
Jean-Jacques Hiblot | a94b697 | 2020-10-16 16:16:34 +0530 | [diff] [blame] | 16 | #include <dt-bindings/mux/mux.h> |
Patrick Delaunay | 23aee61 | 2020-01-13 11:35:13 +0100 | [diff] [blame] | 17 | |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 18 | / { |
| 19 | model = "sandbox"; |
| 20 | compatible = "sandbox"; |
| 21 | #address-cells = <1>; |
Simon Glass | cf61f74 | 2015-07-06 12:54:36 -0600 | [diff] [blame] | 22 | #size-cells = <1>; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 23 | |
Simon Glass | fef72b7 | 2014-07-23 06:55:03 -0600 | [diff] [blame] | 24 | aliases { |
| 25 | console = &uart0; |
Michael Walle | 7efcdfd | 2021-02-25 16:51:11 +0100 | [diff] [blame] | 26 | ethernet0 = "/eth@10002000"; |
| 27 | ethernet2 = &swp_0; |
| 28 | ethernet3 = ð_3; |
| 29 | ethernet4 = &dsa_eth0; |
| 30 | ethernet5 = ð_5; |
Sean Anderson | 67d93a4 | 2022-05-05 13:11:30 -0400 | [diff] [blame] | 31 | ethernet6 = "/eth@10004000"; |
| 32 | ethernet7 = &swp_1; |
| 33 | ethernet8 = &phy_eth0; |
Simon Glass | 5620cf8 | 2018-10-01 12:22:40 -0600 | [diff] [blame] | 34 | gpio1 = &gpio_a; |
| 35 | gpio2 = &gpio_b; |
Patrick Delaunay | 28bdaa5 | 2020-01-13 11:35:14 +0100 | [diff] [blame] | 36 | gpio3 = &gpio_c; |
Simon Glass | 0ccb097 | 2015-01-25 08:27:05 -0700 | [diff] [blame] | 37 | i2c0 = "/i2c@0"; |
Simon Glass | e4fef74 | 2017-04-23 20:02:07 -0600 | [diff] [blame] | 38 | mmc0 = "/mmc0"; |
| 39 | mmc1 = "/mmc1"; |
Simon Glass | f1eba35 | 2022-10-20 18:23:20 -0600 | [diff] [blame] | 40 | mmc2 = "/mmc2"; |
| 41 | mmc3 = "/mmc3"; |
Bin Meng | 408e590 | 2018-08-03 01:14:41 -0700 | [diff] [blame] | 42 | pci0 = &pci0; |
| 43 | pci1 = &pci1; |
Bin Meng | 510dddb | 2018-08-03 01:14:50 -0700 | [diff] [blame] | 44 | pci2 = &pci2; |
Michael Walle | 7c41a22 | 2020-06-02 01:47:09 +0200 | [diff] [blame] | 45 | remoteproc0 = &rproc_1; |
| 46 | remoteproc1 = &rproc_2; |
Simon Glass | 336b295 | 2015-05-22 15:42:17 -0600 | [diff] [blame] | 47 | rtc0 = &rtc_0; |
| 48 | rtc1 = &rtc_1; |
Simon Glass | 5b96863 | 2015-05-22 15:42:15 -0600 | [diff] [blame] | 49 | spi0 = "/spi@0"; |
Przemyslaw Marczak | 3dbb55e | 2015-05-13 13:38:34 +0200 | [diff] [blame] | 50 | testfdt6 = "/e-test"; |
Simon Glass | 0ccb097 | 2015-01-25 08:27:05 -0700 | [diff] [blame] | 51 | testbus3 = "/some-bus"; |
| 52 | testfdt0 = "/some-bus/c-test@0"; |
Simon Glass | 7d5e411 | 2020-12-16 21:20:26 -0700 | [diff] [blame] | 53 | testfdt12 = "/some-bus/c-test@1"; |
Simon Glass | 0ccb097 | 2015-01-25 08:27:05 -0700 | [diff] [blame] | 54 | testfdt3 = "/b-test"; |
| 55 | testfdt5 = "/some-bus/c-test@5"; |
| 56 | testfdt8 = "/a-test"; |
Simon Glass | 791a17f | 2020-12-16 21:20:27 -0700 | [diff] [blame] | 57 | testfdtm1 = &testfdtm1; |
Eugeniu Rosca | 5ba71e5 | 2018-05-19 14:13:55 +0200 | [diff] [blame] | 58 | fdt-dummy0 = "/translation-test@8000/dev@0,0"; |
| 59 | fdt-dummy1 = "/translation-test@8000/dev@1,100"; |
| 60 | fdt-dummy2 = "/translation-test@8000/dev@2,200"; |
| 61 | fdt-dummy3 = "/translation-test@8000/noxlatebus@3,300/dev@42"; |
Simon Glass | 3168048 | 2015-03-25 12:23:05 -0600 | [diff] [blame] | 62 | usb0 = &usb_0; |
| 63 | usb1 = &usb_1; |
| 64 | usb2 = &usb_2; |
Mario Six | 9592215 | 2018-08-09 14:51:19 +0200 | [diff] [blame] | 65 | axi0 = &axi; |
Mario Six | 02ad6fb | 2018-09-27 09:19:31 +0200 | [diff] [blame] | 66 | osd0 = "/osd"; |
Simon Glass | fef72b7 | 2014-07-23 06:55:03 -0600 | [diff] [blame] | 67 | }; |
| 68 | |
Simon Glass | 5e135d3 | 2022-10-20 18:23:15 -0600 | [diff] [blame] | 69 | binman: binman { |
Philippe Reynes | 462d163 | 2022-03-28 22:56:53 +0200 | [diff] [blame] | 70 | }; |
| 71 | |
Rasmus Villemoes | 30d4d2b | 2021-04-21 11:06:55 +0200 | [diff] [blame] | 72 | config { |
Simon Glass | 0034d96 | 2021-08-07 07:24:01 -0600 | [diff] [blame] | 73 | testing-bool; |
| 74 | testing-int = <123>; |
| 75 | testing-str = "testing"; |
Rasmus Villemoes | 30d4d2b | 2021-04-21 11:06:55 +0200 | [diff] [blame] | 76 | environment { |
| 77 | from_fdt = "yes"; |
| 78 | fdt_env_path = ""; |
| 79 | }; |
| 80 | }; |
| 81 | |
Simon Glass | b255efc | 2022-04-24 23:31:24 -0600 | [diff] [blame] | 82 | bootstd { |
Simon Glass | a928961 | 2022-10-20 18:23:14 -0600 | [diff] [blame] | 83 | u-boot,dm-vpl; |
Simon Glass | b255efc | 2022-04-24 23:31:24 -0600 | [diff] [blame] | 84 | compatible = "u-boot,boot-std"; |
| 85 | |
| 86 | filename-prefixes = "/", "/boot/"; |
| 87 | bootdev-order = "mmc2", "mmc1"; |
| 88 | |
| 89 | syslinux { |
| 90 | compatible = "u-boot,distro-syslinux"; |
| 91 | }; |
| 92 | |
| 93 | efi { |
| 94 | compatible = "u-boot,distro-efi"; |
| 95 | }; |
Simon Glass | a928961 | 2022-10-20 18:23:14 -0600 | [diff] [blame] | 96 | |
Simon Glass | d2bc33ed | 2023-01-06 08:52:41 -0600 | [diff] [blame] | 97 | theme { |
| 98 | font-size = <30>; |
| 99 | }; |
| 100 | |
Simon Glass | f1eba35 | 2022-10-20 18:23:20 -0600 | [diff] [blame] | 101 | /* |
| 102 | * This is used for the VBE OS-request tests. A FAT filesystem |
| 103 | * created in a partition with the VBE information appearing |
| 104 | * before the parititon starts |
| 105 | */ |
Simon Glass | a928961 | 2022-10-20 18:23:14 -0600 | [diff] [blame] | 106 | firmware0 { |
| 107 | u-boot,dm-vpl; |
| 108 | compatible = "fwupd,vbe-simple"; |
| 109 | storage = "mmc1"; |
| 110 | skip-offset = <0x200>; |
| 111 | area-start = <0x400>; |
| 112 | area-size = <0x1000>; |
| 113 | state-offset = <0x400>; |
| 114 | state-size = <0x40>; |
| 115 | version-offset = <0x800>; |
| 116 | version-size = <0x100>; |
| 117 | }; |
Simon Glass | f1eba35 | 2022-10-20 18:23:20 -0600 | [diff] [blame] | 118 | |
| 119 | /* |
| 120 | * This is used for the VBE VPL tests. The MMC device holds the |
| 121 | * binman image.bin file. The test progresses through each phase |
| 122 | * of U-Boot, loading each in turn from MMC. |
| 123 | * |
| 124 | * Note that the test enables this node (and mmc3) before |
| 125 | * running U-Boot |
| 126 | */ |
| 127 | firmware1 { |
| 128 | u-boot,dm-vpl; |
| 129 | status = "disabled"; |
| 130 | compatible = "fwupd,vbe-simple"; |
| 131 | storage = "mmc3"; |
| 132 | skip-offset = <0x400000>; |
| 133 | area-start = <0>; |
| 134 | area-size = <0xe00000>; |
| 135 | state-offset = <0xdffc00>; |
| 136 | state-size = <0x40>; |
| 137 | version-offset = <0xdffe00>; |
| 138 | version-size = <0x100>; |
| 139 | }; |
Simon Glass | b255efc | 2022-04-24 23:31:24 -0600 | [diff] [blame] | 140 | }; |
| 141 | |
Andrew Scull | 451b8b1 | 2022-05-30 10:00:12 +0000 | [diff] [blame] | 142 | fuzzing-engine { |
| 143 | compatible = "sandbox,fuzzing-engine"; |
| 144 | }; |
| 145 | |
Nandor Han | 6521e5d | 2021-06-10 16:56:44 +0300 | [diff] [blame] | 146 | reboot-mode0 { |
| 147 | compatible = "reboot-mode-gpio"; |
| 148 | gpios = <&gpio_c 0 GPIO_ACTIVE_HIGH>, <&gpio_c 1 GPIO_ACTIVE_HIGH>; |
| 149 | u-boot,env-variable = "bootstatus"; |
| 150 | mode-test = <0x01>; |
| 151 | mode-download = <0x03>; |
| 152 | }; |
| 153 | |
Nandor Han | 7e4067a | 2021-06-10 16:56:45 +0300 | [diff] [blame] | 154 | reboot_mode1: reboot-mode@14 { |
| 155 | compatible = "reboot-mode-rtc"; |
| 156 | rtc = <&rtc_0>; |
| 157 | reg = <0x30 4>; |
| 158 | u-boot,env-variable = "bootstatus"; |
| 159 | big-endian; |
| 160 | mode-test = <0x21969147>; |
| 161 | mode-download = <0x51939147>; |
| 162 | }; |
| 163 | |
Simon Glass | ed96cde | 2018-12-10 10:37:33 -0700 | [diff] [blame] | 164 | audio: audio-codec { |
| 165 | compatible = "sandbox,audio-codec"; |
| 166 | #sound-dai-cells = <1>; |
| 167 | }; |
| 168 | |
Philippe Reynes | 1ee2648 | 2020-07-24 18:19:51 +0200 | [diff] [blame] | 169 | buttons { |
| 170 | compatible = "gpio-keys"; |
| 171 | |
Heinrich Schuchardt | 57c2fc6 | 2020-09-14 12:50:54 +0200 | [diff] [blame] | 172 | btn1 { |
Philippe Reynes | 1ee2648 | 2020-07-24 18:19:51 +0200 | [diff] [blame] | 173 | gpios = <&gpio_a 3 0>; |
Heinrich Schuchardt | 57c2fc6 | 2020-09-14 12:50:54 +0200 | [diff] [blame] | 174 | label = "button1"; |
Dzmitry Sankouski | 157f2c5 | 2023-01-22 18:21:24 +0300 | [diff] [blame] | 175 | linux,code = <BTN_1>; |
Philippe Reynes | 1ee2648 | 2020-07-24 18:19:51 +0200 | [diff] [blame] | 176 | }; |
| 177 | |
Heinrich Schuchardt | 57c2fc6 | 2020-09-14 12:50:54 +0200 | [diff] [blame] | 178 | btn2 { |
Philippe Reynes | 1ee2648 | 2020-07-24 18:19:51 +0200 | [diff] [blame] | 179 | gpios = <&gpio_a 4 0>; |
Heinrich Schuchardt | 57c2fc6 | 2020-09-14 12:50:54 +0200 | [diff] [blame] | 180 | label = "button2"; |
Dzmitry Sankouski | 157f2c5 | 2023-01-22 18:21:24 +0300 | [diff] [blame] | 181 | linux,code = <BTN_2>; |
Philippe Reynes | 1ee2648 | 2020-07-24 18:19:51 +0200 | [diff] [blame] | 182 | }; |
| 183 | }; |
| 184 | |
Marek Szyprowski | ad39859 | 2021-02-18 11:33:18 +0100 | [diff] [blame] | 185 | buttons2 { |
| 186 | compatible = "adc-keys"; |
| 187 | io-channels = <&adc 3>; |
| 188 | keyup-threshold-microvolt = <3000000>; |
| 189 | |
| 190 | button-up { |
| 191 | label = "button3"; |
| 192 | linux,code = <KEY_F3>; |
| 193 | press-threshold-microvolt = <1500000>; |
| 194 | }; |
| 195 | |
| 196 | button-down { |
| 197 | label = "button4"; |
| 198 | linux,code = <KEY_F4>; |
| 199 | press-threshold-microvolt = <1000000>; |
| 200 | }; |
| 201 | |
| 202 | button-enter { |
| 203 | label = "button5"; |
| 204 | linux,code = <KEY_F5>; |
| 205 | press-threshold-microvolt = <500000>; |
| 206 | }; |
| 207 | }; |
| 208 | |
Simon Glass | c953aaf | 2018-12-10 10:37:34 -0700 | [diff] [blame] | 209 | cros_ec: cros-ec { |
Simon Glass | 699c9ca | 2018-10-01 12:22:08 -0600 | [diff] [blame] | 210 | reg = <0 0>; |
| 211 | compatible = "google,cros-ec-sandbox"; |
| 212 | |
| 213 | /* |
| 214 | * This describes the flash memory within the EC. Note |
| 215 | * that the STM32L flash erases to 0, not 0xff. |
| 216 | */ |
| 217 | flash { |
| 218 | image-pos = <0x08000000>; |
| 219 | size = <0x20000>; |
| 220 | erase-value = <0>; |
| 221 | |
| 222 | /* Information for sandbox */ |
| 223 | ro { |
| 224 | image-pos = <0>; |
| 225 | size = <0xf000>; |
| 226 | }; |
| 227 | wp-ro { |
| 228 | image-pos = <0xf000>; |
| 229 | size = <0x1000>; |
Simon Glass | bf0a692 | 2021-01-21 13:57:14 -0700 | [diff] [blame] | 230 | used = <0x884>; |
| 231 | compress = "lz4"; |
| 232 | uncomp-size = <0xcf8>; |
| 233 | hash { |
| 234 | algo = "sha256"; |
| 235 | value = [00 01 02 03 04 05 06 07 |
| 236 | 08 09 0a 0b 0c 0d 0e 0f |
| 237 | 10 11 12 13 14 15 16 17 |
| 238 | 18 19 1a 1b 1c 1d 1e 1f]; |
| 239 | }; |
Simon Glass | 699c9ca | 2018-10-01 12:22:08 -0600 | [diff] [blame] | 240 | }; |
| 241 | rw { |
| 242 | image-pos = <0x10000>; |
| 243 | size = <0x10000>; |
| 244 | }; |
| 245 | }; |
Alper Nebi Yasak | 8a8cd4f | 2021-05-19 19:33:31 +0300 | [diff] [blame] | 246 | |
| 247 | cros_ec_pwm: cros-ec-pwm { |
| 248 | compatible = "google,cros-ec-pwm"; |
| 249 | #pwm-cells = <1>; |
| 250 | }; |
| 251 | |
Simon Glass | 699c9ca | 2018-10-01 12:22:08 -0600 | [diff] [blame] | 252 | }; |
| 253 | |
Yannick Fertré | 9712c82 | 2019-10-07 15:29:05 +0200 | [diff] [blame] | 254 | dsi_host: dsi_host { |
| 255 | compatible = "sandbox,dsi-host"; |
| 256 | }; |
| 257 | |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 258 | a-test { |
Simon Glass | cf61f74 | 2015-07-06 12:54:36 -0600 | [diff] [blame] | 259 | reg = <0 1>; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 260 | compatible = "denx,u-boot-fdt-test"; |
Simon Glass | a7bb08a | 2014-07-23 06:54:57 -0600 | [diff] [blame] | 261 | ping-expect = <0>; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 262 | ping-add = <0>; |
Simon Glass | fef72b7 | 2014-07-23 06:55:03 -0600 | [diff] [blame] | 263 | u-boot,dm-pre-reloc; |
Patrick Delaunay | 23aee61 | 2020-01-13 11:35:13 +0100 | [diff] [blame] | 264 | test-gpios = <&gpio_a 1>, <&gpio_a 4>, |
| 265 | <&gpio_b 5 GPIO_ACTIVE_HIGH 3 2 1>, |
Simon Glass | 16e1040 | 2015-01-05 20:05:29 -0700 | [diff] [blame] | 266 | <0>, <&gpio_a 12>; |
Patrick Delaunay | 23aee61 | 2020-01-13 11:35:13 +0100 | [diff] [blame] | 267 | test2-gpios = <&gpio_a 1>, <&gpio_a 4>, |
| 268 | <&gpio_b 6 GPIO_ACTIVE_LOW 3 2 1>, |
| 269 | <&gpio_b 7 GPIO_IN 3 2 1>, |
| 270 | <&gpio_b 8 GPIO_OUT 3 2 1>, |
| 271 | <&gpio_b 9 (GPIO_OUT|GPIO_OUT_ACTIVE) 3 2 1>; |
Patrick Delaunay | 28bdaa5 | 2020-01-13 11:35:14 +0100 | [diff] [blame] | 272 | test3-gpios = |
| 273 | <&gpio_c 0 (GPIO_OUT|GPIO_OPEN_DRAIN)>, |
| 274 | <&gpio_c 1 (GPIO_OUT|GPIO_OPEN_SOURCE)>, |
| 275 | <&gpio_c 2 GPIO_OUT>, |
| 276 | <&gpio_c 3 (GPIO_IN|GPIO_PULL_UP)>, |
| 277 | <&gpio_c 4 (GPIO_IN|GPIO_PULL_DOWN)>, |
Neil Armstrong | 643778b | 2020-05-05 10:43:18 +0200 | [diff] [blame] | 278 | <&gpio_c 5 GPIO_IN>, |
| 279 | <&gpio_c 6 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_DRAIN)>, |
| 280 | <&gpio_c 7 (GPIO_ACTIVE_LOW|GPIO_OUT|GPIO_OPEN_SOURCE)>; |
Jean-Jacques Hiblot | 7387340 | 2020-09-11 13:43:35 +0530 | [diff] [blame] | 281 | test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>; |
| 282 | test5-gpios = <&gpio_a 19>; |
| 283 | |
Simon Glass | 7302539 | 2021-10-23 17:26:04 -0600 | [diff] [blame] | 284 | bool-value; |
Stefan Herbrechtsmeier | 1b090e6 | 2022-06-14 15:21:30 +0200 | [diff] [blame] | 285 | int8-value = /bits/ 8 <0x12>; |
| 286 | int16-value = /bits/ 16 <0x1234>; |
Simon Glass | 6df01f9 | 2018-12-10 10:37:37 -0700 | [diff] [blame] | 287 | int-value = <1234>; |
| 288 | uint-value = <(-1234)>; |
Dario Binacchi | 421e81e | 2020-03-29 18:04:40 +0200 | [diff] [blame] | 289 | int64-value = /bits/ 64 <0x1111222233334444>; |
Dario Binacchi | 81d80b5 | 2020-03-29 18:04:41 +0200 | [diff] [blame] | 290 | int-array = <5678 9123 4567>; |
Simon Glass | dd0ed90 | 2020-07-07 13:11:58 -0600 | [diff] [blame] | 291 | str-value = "test string"; |
Simon Glass | 515dcff | 2020-02-06 09:55:00 -0700 | [diff] [blame] | 292 | interrupts-extended = <&irq 3 0>; |
Simon Glass | 0964239 | 2020-07-07 13:12:11 -0600 | [diff] [blame] | 293 | acpi,name = "GHIJ"; |
Patrick Delaunay | 8cd2801 | 2020-09-25 09:41:16 +0200 | [diff] [blame] | 294 | phandle-value = <&gpio_c 10>, <0xFFFFFFFF 20>, <&gpio_a 30>; |
Jean-Jacques Hiblot | a94b697 | 2020-10-16 16:16:34 +0530 | [diff] [blame] | 295 | |
| 296 | mux-controls = <&muxcontroller0 0>, <&muxcontroller0 1>, |
| 297 | <&muxcontroller0 2>, <&muxcontroller0 3>, |
| 298 | <&muxcontroller1>; |
| 299 | mux-control-names = "mux0", "mux1", "mux2", "mux3", "mux4"; |
| 300 | mux-syscon = <&syscon3>; |
Dario Binacchi | 836cc9d | 2020-12-30 00:16:26 +0100 | [diff] [blame] | 301 | display-timings { |
| 302 | timing0: 240x320 { |
| 303 | clock-frequency = <6500000>; |
| 304 | hactive = <240>; |
| 305 | vactive = <320>; |
| 306 | hfront-porch = <6>; |
| 307 | hback-porch = <7>; |
| 308 | hsync-len = <1>; |
| 309 | vback-porch = <5>; |
| 310 | vfront-porch = <8>; |
| 311 | vsync-len = <2>; |
| 312 | hsync-active = <1>; |
| 313 | vsync-active = <0>; |
| 314 | de-active = <1>; |
| 315 | pixelclk-active = <1>; |
| 316 | interlaced; |
| 317 | doublescan; |
| 318 | doubleclk; |
| 319 | }; |
| 320 | timing1: 480x800 { |
| 321 | clock-frequency = <9000000>; |
| 322 | hactive = <480>; |
| 323 | vactive = <800>; |
| 324 | hfront-porch = <10>; |
| 325 | hback-porch = <59>; |
| 326 | hsync-len = <12>; |
| 327 | vback-porch = <15>; |
| 328 | vfront-porch = <17>; |
| 329 | vsync-len = <16>; |
| 330 | hsync-active = <0>; |
| 331 | vsync-active = <1>; |
| 332 | de-active = <0>; |
| 333 | pixelclk-active = <0>; |
| 334 | }; |
| 335 | timing2: 800x480 { |
| 336 | clock-frequency = <33500000>; |
| 337 | hactive = <800>; |
| 338 | vactive = <480>; |
| 339 | hback-porch = <89>; |
| 340 | hfront-porch = <164>; |
| 341 | vback-porch = <23>; |
| 342 | vfront-porch = <10>; |
| 343 | hsync-len = <11>; |
| 344 | vsync-len = <13>; |
| 345 | }; |
| 346 | }; |
Nikhil M Jain | bb9d131 | 2023-01-31 15:35:15 +0530 | [diff] [blame] | 347 | panel-timings { |
| 348 | clock-frequency = <6500000>; |
| 349 | hactive = <240>; |
| 350 | vactive = <320>; |
| 351 | hfront-porch = <6>; |
| 352 | hback-porch = <7>; |
| 353 | hsync-len = <1>; |
| 354 | vback-porch = <5>; |
| 355 | vfront-porch = <8>; |
| 356 | vsync-len = <2>; |
| 357 | hsync-active = <1>; |
| 358 | vsync-active = <0>; |
| 359 | de-active = <1>; |
| 360 | pixelclk-active = <1>; |
| 361 | interlaced; |
| 362 | doublescan; |
| 363 | doubleclk; |
| 364 | }; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 365 | }; |
| 366 | |
| 367 | junk { |
Simon Glass | cf61f74 | 2015-07-06 12:54:36 -0600 | [diff] [blame] | 368 | reg = <1 1>; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 369 | compatible = "not,compatible"; |
| 370 | }; |
| 371 | |
| 372 | no-compatible { |
Simon Glass | cf61f74 | 2015-07-06 12:54:36 -0600 | [diff] [blame] | 373 | reg = <2 1>; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 374 | }; |
| 375 | |
Simon Glass | 5620cf8 | 2018-10-01 12:22:40 -0600 | [diff] [blame] | 376 | backlight: backlight { |
| 377 | compatible = "pwm-backlight"; |
| 378 | enable-gpios = <&gpio_a 1>; |
| 379 | power-supply = <&ldo_1>; |
| 380 | pwms = <&pwm 0 1000>; |
| 381 | default-brightness-level = <5>; |
| 382 | brightness-levels = <0 16 32 64 128 170 202 234 255>; |
| 383 | }; |
| 384 | |
Jean-Jacques Hiblot | e83a31b | 2018-08-09 16:17:46 +0200 | [diff] [blame] | 385 | bind-test { |
Patrice Chotard | 7b7f939 | 2020-07-28 09:13:33 +0200 | [diff] [blame] | 386 | compatible = "simple-bus"; |
Jean-Jacques Hiblot | e83a31b | 2018-08-09 16:17:46 +0200 | [diff] [blame] | 387 | bind-test-child1 { |
| 388 | compatible = "sandbox,phy"; |
| 389 | #phy-cells = <1>; |
| 390 | }; |
| 391 | |
| 392 | bind-test-child2 { |
| 393 | compatible = "simple-bus"; |
| 394 | }; |
| 395 | }; |
| 396 | |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 397 | b-test { |
Simon Glass | cf61f74 | 2015-07-06 12:54:36 -0600 | [diff] [blame] | 398 | reg = <3 1>; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 399 | compatible = "denx,u-boot-fdt-test"; |
Simon Glass | a7bb08a | 2014-07-23 06:54:57 -0600 | [diff] [blame] | 400 | ping-expect = <3>; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 401 | ping-add = <3>; |
Jean-Jacques Hiblot | a94b697 | 2020-10-16 16:16:34 +0530 | [diff] [blame] | 402 | |
| 403 | mux-controls = <&muxcontroller0 0>; |
| 404 | mux-control-names = "mux0"; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 405 | }; |
| 406 | |
Jean-Jacques Hiblot | 7e9db02 | 2017-04-24 11:51:28 +0200 | [diff] [blame] | 407 | phy_provider0: gen_phy@0 { |
| 408 | compatible = "sandbox,phy"; |
| 409 | #phy-cells = <1>; |
| 410 | }; |
| 411 | |
| 412 | phy_provider1: gen_phy@1 { |
| 413 | compatible = "sandbox,phy"; |
| 414 | #phy-cells = <0>; |
| 415 | broken; |
| 416 | }; |
| 417 | |
developer | 7109297 | 2020-05-02 11:35:12 +0200 | [diff] [blame] | 418 | phy_provider2: gen_phy@2 { |
| 419 | compatible = "sandbox,phy"; |
| 420 | #phy-cells = <0>; |
| 421 | }; |
| 422 | |
Jean-Jacques Hiblot | 7e9db02 | 2017-04-24 11:51:28 +0200 | [diff] [blame] | 423 | gen_phy_user: gen_phy_user { |
| 424 | compatible = "simple-bus"; |
| 425 | phys = <&phy_provider0 0>, <&phy_provider0 1>, <&phy_provider1>; |
| 426 | phy-names = "phy1", "phy2", "phy3"; |
| 427 | }; |
| 428 | |
developer | 7109297 | 2020-05-02 11:35:12 +0200 | [diff] [blame] | 429 | gen_phy_user1: gen_phy_user1 { |
| 430 | compatible = "simple-bus"; |
| 431 | phys = <&phy_provider0 0>, <&phy_provider2>; |
| 432 | phy-names = "phy1", "phy2"; |
| 433 | }; |
| 434 | |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 435 | some-bus { |
| 436 | #address-cells = <1>; |
| 437 | #size-cells = <0>; |
Simon Glass | 4071742 | 2014-07-23 06:55:18 -0600 | [diff] [blame] | 438 | compatible = "denx,u-boot-test-bus"; |
Simon Glass | cf61f74 | 2015-07-06 12:54:36 -0600 | [diff] [blame] | 439 | reg = <3 1>; |
Simon Glass | a7bb08a | 2014-07-23 06:54:57 -0600 | [diff] [blame] | 440 | ping-expect = <4>; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 441 | ping-add = <4>; |
Simon Glass | 4071742 | 2014-07-23 06:55:18 -0600 | [diff] [blame] | 442 | c-test@5 { |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 443 | compatible = "denx,u-boot-fdt-test"; |
| 444 | reg = <5>; |
Simon Glass | 4071742 | 2014-07-23 06:55:18 -0600 | [diff] [blame] | 445 | ping-expect = <5>; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 446 | ping-add = <5>; |
| 447 | }; |
Simon Glass | 4071742 | 2014-07-23 06:55:18 -0600 | [diff] [blame] | 448 | c-test@0 { |
| 449 | compatible = "denx,u-boot-fdt-test"; |
| 450 | reg = <0>; |
| 451 | ping-expect = <6>; |
| 452 | ping-add = <6>; |
| 453 | }; |
| 454 | c-test@1 { |
| 455 | compatible = "denx,u-boot-fdt-test"; |
| 456 | reg = <1>; |
| 457 | ping-expect = <7>; |
| 458 | ping-add = <7>; |
| 459 | }; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 460 | }; |
| 461 | |
| 462 | d-test { |
Simon Glass | cf61f74 | 2015-07-06 12:54:36 -0600 | [diff] [blame] | 463 | reg = <3 1>; |
Simon Glass | db6f020 | 2014-07-23 06:55:12 -0600 | [diff] [blame] | 464 | ping-expect = <6>; |
| 465 | ping-add = <6>; |
| 466 | compatible = "google,another-fdt-test"; |
| 467 | }; |
| 468 | |
| 469 | e-test { |
Simon Glass | cf61f74 | 2015-07-06 12:54:36 -0600 | [diff] [blame] | 470 | reg = <3 1>; |
Simon Glass | a7bb08a | 2014-07-23 06:54:57 -0600 | [diff] [blame] | 471 | ping-expect = <6>; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 472 | ping-add = <6>; |
| 473 | compatible = "google,another-fdt-test"; |
| 474 | }; |
| 475 | |
Simon Glass | 0ccb097 | 2015-01-25 08:27:05 -0700 | [diff] [blame] | 476 | f-test { |
| 477 | compatible = "denx,u-boot-fdt-test"; |
| 478 | }; |
| 479 | |
| 480 | g-test { |
| 481 | compatible = "denx,u-boot-fdt-test"; |
| 482 | }; |
| 483 | |
Bin Meng | d9d2478 | 2018-10-10 22:07:01 -0700 | [diff] [blame] | 484 | h-test { |
| 485 | compatible = "denx,u-boot-fdt-test1"; |
| 486 | }; |
| 487 | |
developer | cf8bc13 | 2020-05-02 11:35:10 +0200 | [diff] [blame] | 488 | i-test { |
| 489 | compatible = "mediatek,u-boot-fdt-test"; |
| 490 | #address-cells = <1>; |
| 491 | #size-cells = <0>; |
| 492 | |
| 493 | subnode@0 { |
| 494 | reg = <0>; |
| 495 | }; |
| 496 | |
| 497 | subnode@1 { |
| 498 | reg = <1>; |
| 499 | }; |
| 500 | |
| 501 | subnode@2 { |
| 502 | reg = <2>; |
| 503 | }; |
| 504 | }; |
| 505 | |
Simon Glass | 204675c | 2019-12-29 21:19:25 -0700 | [diff] [blame] | 506 | devres-test { |
| 507 | compatible = "denx,u-boot-devres-test"; |
| 508 | }; |
| 509 | |
Jean-Jacques Hiblot | 7387340 | 2020-09-11 13:43:35 +0530 | [diff] [blame] | 510 | another-test { |
| 511 | reg = <0 2>; |
| 512 | compatible = "denx,u-boot-fdt-test"; |
| 513 | test4-gpios = <&gpio_a 14>, <&gpio_b 4 1 3 2 1>; |
| 514 | test5-gpios = <&gpio_a 19>; |
| 515 | }; |
| 516 | |
Nicolas Saenz Julienne | 22b7f7e | 2021-01-12 13:55:23 +0100 | [diff] [blame] | 517 | mmio-bus@0 { |
| 518 | #address-cells = <1>; |
| 519 | #size-cells = <1>; |
| 520 | compatible = "denx,u-boot-test-bus"; |
| 521 | dma-ranges = <0x10000000 0x00000000 0x00040000>; |
| 522 | |
| 523 | subnode@0 { |
| 524 | compatible = "denx,u-boot-fdt-test"; |
| 525 | }; |
| 526 | }; |
| 527 | |
| 528 | mmio-bus@1 { |
| 529 | #address-cells = <1>; |
| 530 | #size-cells = <1>; |
| 531 | compatible = "denx,u-boot-test-bus"; |
Nicolas Saenz Julienne | 892e9b4 | 2021-01-12 13:55:25 +0100 | [diff] [blame] | 532 | |
| 533 | subnode@0 { |
| 534 | compatible = "denx,u-boot-fdt-test"; |
| 535 | }; |
Nicolas Saenz Julienne | 22b7f7e | 2021-01-12 13:55:23 +0100 | [diff] [blame] | 536 | }; |
| 537 | |
Simon Glass | 3c601b1 | 2020-07-07 13:12:06 -0600 | [diff] [blame] | 538 | acpi_test1: acpi-test { |
Simon Glass | 2d67fdf | 2020-04-08 16:57:34 -0600 | [diff] [blame] | 539 | compatible = "denx,u-boot-acpi-test"; |
Simon Glass | d43e0ba | 2020-07-07 13:12:03 -0600 | [diff] [blame] | 540 | acpi-ssdt-test-data = "ab"; |
Simon Glass | 990cd5b | 2020-07-07 13:12:08 -0600 | [diff] [blame] | 541 | acpi-dsdt-test-data = "hi"; |
Simon Glass | ebb2e83 | 2020-07-07 13:11:39 -0600 | [diff] [blame] | 542 | child { |
| 543 | compatible = "denx,u-boot-acpi-test"; |
| 544 | }; |
Simon Glass | 2d67fdf | 2020-04-08 16:57:34 -0600 | [diff] [blame] | 545 | }; |
| 546 | |
Simon Glass | 3c601b1 | 2020-07-07 13:12:06 -0600 | [diff] [blame] | 547 | acpi_test2: acpi-test2 { |
Simon Glass | 17968c3 | 2020-04-26 09:19:46 -0600 | [diff] [blame] | 548 | compatible = "denx,u-boot-acpi-test"; |
Simon Glass | d43e0ba | 2020-07-07 13:12:03 -0600 | [diff] [blame] | 549 | acpi-ssdt-test-data = "cd"; |
Simon Glass | 990cd5b | 2020-07-07 13:12:08 -0600 | [diff] [blame] | 550 | acpi-dsdt-test-data = "jk"; |
Simon Glass | 17968c3 | 2020-04-26 09:19:46 -0600 | [diff] [blame] | 551 | }; |
| 552 | |
Patrice Chotard | 9cc2d14 | 2017-09-04 14:55:57 +0200 | [diff] [blame] | 553 | clocks { |
| 554 | clk_fixed: clk-fixed { |
| 555 | compatible = "fixed-clock"; |
| 556 | #clock-cells = <0>; |
| 557 | clock-frequency = <1234>; |
| 558 | }; |
Anup Patel | 8d28c3c | 2019-02-25 08:14:55 +0000 | [diff] [blame] | 559 | |
| 560 | clk_fixed_factor: clk-fixed-factor { |
| 561 | compatible = "fixed-factor-clock"; |
| 562 | #clock-cells = <0>; |
| 563 | clock-div = <3>; |
| 564 | clock-mult = <2>; |
| 565 | clocks = <&clk_fixed>; |
| 566 | }; |
Lukasz Majewski | ccafcdd | 2019-06-24 15:50:47 +0200 | [diff] [blame] | 567 | |
| 568 | osc { |
| 569 | compatible = "fixed-clock"; |
| 570 | #clock-cells = <0>; |
| 571 | clock-frequency = <20000000>; |
| 572 | }; |
Stephen Warren | a962243 | 2016-06-17 09:44:00 -0600 | [diff] [blame] | 573 | }; |
| 574 | |
| 575 | clk_sandbox: clk-sbox { |
Simon Glass | 8cc4d82 | 2015-07-06 12:54:24 -0600 | [diff] [blame] | 576 | compatible = "sandbox,clk"; |
Stephen Warren | a962243 | 2016-06-17 09:44:00 -0600 | [diff] [blame] | 577 | #clock-cells = <1>; |
Jean-Jacques Hiblot | c1e9c94 | 2019-10-22 14:00:07 +0200 | [diff] [blame] | 578 | assigned-clocks = <&clk_sandbox 3>; |
| 579 | assigned-clock-rates = <321>; |
Stephen Warren | a962243 | 2016-06-17 09:44:00 -0600 | [diff] [blame] | 580 | }; |
| 581 | |
| 582 | clk-test { |
| 583 | compatible = "sandbox,clk-test"; |
| 584 | clocks = <&clk_fixed>, |
| 585 | <&clk_sandbox 1>, |
Jean-Jacques Hiblot | 98e8418 | 2019-10-22 14:00:05 +0200 | [diff] [blame] | 586 | <&clk_sandbox 0>, |
| 587 | <&clk_sandbox 3>, |
| 588 | <&clk_sandbox 2>; |
| 589 | clock-names = "fixed", "i2c", "spi", "uart2", "uart1"; |
Simon Glass | 8cc4d82 | 2015-07-06 12:54:24 -0600 | [diff] [blame] | 590 | }; |
| 591 | |
Lukasz Majewski | 8c0709b | 2019-06-24 15:50:50 +0200 | [diff] [blame] | 592 | ccf: clk-ccf { |
| 593 | compatible = "sandbox,clk-ccf"; |
| 594 | }; |
| 595 | |
Simon Glass | 507ab96 | 2021-12-04 08:56:31 -0700 | [diff] [blame] | 596 | efi-media { |
| 597 | compatible = "sandbox,efi-media"; |
| 598 | }; |
| 599 | |
Simon Glass | 5b96863 | 2015-05-22 15:42:15 -0600 | [diff] [blame] | 600 | eth@10002000 { |
| 601 | compatible = "sandbox,eth"; |
| 602 | reg = <0x10002000 0x1000>; |
Simon Glass | 5b96863 | 2015-05-22 15:42:15 -0600 | [diff] [blame] | 603 | }; |
| 604 | |
| 605 | eth_5: eth@10003000 { |
| 606 | compatible = "sandbox,eth"; |
| 607 | reg = <0x10003000 0x1000>; |
Sean Anderson | 13652b8 | 2022-05-05 13:11:44 -0400 | [diff] [blame] | 608 | nvmem-cells = <ð5_addr>; |
| 609 | nvmem-cell-names = "mac-address"; |
Simon Glass | 5b96863 | 2015-05-22 15:42:15 -0600 | [diff] [blame] | 610 | }; |
| 611 | |
Bin Meng | 04a11cb | 2015-08-27 22:25:53 -0700 | [diff] [blame] | 612 | eth_3: sbe5 { |
| 613 | compatible = "sandbox,eth"; |
| 614 | reg = <0x10005000 0x1000>; |
Sean Anderson | e2dc0e6 | 2022-05-05 13:11:42 -0400 | [diff] [blame] | 615 | nvmem-cells = <ð3_addr>; |
| 616 | nvmem-cell-names = "mac-address"; |
Bin Meng | 04a11cb | 2015-08-27 22:25:53 -0700 | [diff] [blame] | 617 | }; |
| 618 | |
Simon Glass | 5b96863 | 2015-05-22 15:42:15 -0600 | [diff] [blame] | 619 | eth@10004000 { |
| 620 | compatible = "sandbox,eth"; |
| 621 | reg = <0x10004000 0x1000>; |
Simon Glass | 5b96863 | 2015-05-22 15:42:15 -0600 | [diff] [blame] | 622 | }; |
| 623 | |
Marek BehĂșn | f4f1ddc | 2022-04-07 00:32:57 +0200 | [diff] [blame] | 624 | phy_eth0: phy-test-eth { |
| 625 | compatible = "sandbox,eth"; |
| 626 | reg = <0x10007000 0x1000>; |
Sean Anderson | 24b1b8d | 2022-05-05 13:11:35 -0400 | [diff] [blame] | 627 | mac-address = [ 02 00 11 22 33 49 ]; |
Marek BehĂșn | f4f1ddc | 2022-04-07 00:32:57 +0200 | [diff] [blame] | 628 | phy-handle = <ðphy1>; |
Marek BehĂșn | bc19477 | 2022-04-07 00:33:01 +0200 | [diff] [blame] | 629 | phy-mode = "2500base-x"; |
Marek BehĂșn | f4f1ddc | 2022-04-07 00:32:57 +0200 | [diff] [blame] | 630 | }; |
| 631 | |
Claudiu Manoil | d9eaa92 | 2021-03-14 20:14:57 +0800 | [diff] [blame] | 632 | dsa_eth0: dsa-test-eth { |
| 633 | compatible = "sandbox,eth"; |
| 634 | reg = <0x10006000 0x1000>; |
Sean Anderson | 5768e8b | 2022-05-05 13:11:43 -0400 | [diff] [blame] | 635 | nvmem-cells = <ð4_addr>; |
| 636 | nvmem-cell-names = "mac-address"; |
Claudiu Manoil | d9eaa92 | 2021-03-14 20:14:57 +0800 | [diff] [blame] | 637 | }; |
| 638 | |
| 639 | dsa-test { |
| 640 | compatible = "sandbox,dsa"; |
| 641 | |
| 642 | ports { |
| 643 | #address-cells = <1>; |
| 644 | #size-cells = <0>; |
| 645 | swp_0: port@0 { |
| 646 | reg = <0>; |
| 647 | label = "lan0"; |
| 648 | phy-mode = "rgmii-rxid"; |
| 649 | |
| 650 | fixed-link { |
| 651 | speed = <100>; |
| 652 | full-duplex; |
| 653 | }; |
| 654 | }; |
| 655 | |
| 656 | swp_1: port@1 { |
| 657 | reg = <1>; |
| 658 | label = "lan1"; |
| 659 | phy-mode = "rgmii-txid"; |
Bin Meng | 381ed97 | 2021-03-14 20:14:58 +0800 | [diff] [blame] | 660 | fixed-link = <0 1 100 0 0>; |
Claudiu Manoil | d9eaa92 | 2021-03-14 20:14:57 +0800 | [diff] [blame] | 661 | }; |
| 662 | |
| 663 | port@2 { |
| 664 | reg = <2>; |
| 665 | ethernet = <&dsa_eth0>; |
| 666 | |
| 667 | fixed-link { |
| 668 | speed = <1000>; |
| 669 | full-duplex; |
| 670 | }; |
| 671 | }; |
| 672 | }; |
| 673 | }; |
| 674 | |
Rajan Vaja | b3b2ddb | 2018-09-19 03:43:46 -0700 | [diff] [blame] | 675 | firmware { |
| 676 | sandbox_firmware: sandbox-firmware { |
| 677 | compatible = "sandbox,firmware"; |
| 678 | }; |
Etienne Carriere | 02fd126 | 2020-09-09 18:44:00 +0200 | [diff] [blame] | 679 | |
Etienne Carriere | 09665cb | 2022-02-21 09:22:39 +0100 | [diff] [blame] | 680 | scmi { |
Etienne Carriere | 02fd126 | 2020-09-09 18:44:00 +0200 | [diff] [blame] | 681 | compatible = "sandbox,scmi-agent"; |
| 682 | #address-cells = <1>; |
| 683 | #size-cells = <0>; |
Etienne Carriere | 2d94c08fa | 2020-09-09 18:44:05 +0200 | [diff] [blame] | 684 | |
Etienne Carriere | 09665cb | 2022-02-21 09:22:39 +0100 | [diff] [blame] | 685 | protocol@10 { |
| 686 | reg = <0x10>; |
| 687 | }; |
| 688 | |
| 689 | clk_scmi: protocol@14 { |
Etienne Carriere | 2d94c08fa | 2020-09-09 18:44:05 +0200 | [diff] [blame] | 690 | reg = <0x14>; |
| 691 | #clock-cells = <1>; |
| 692 | }; |
Etienne Carriere | 8b9b689 | 2020-09-09 18:44:07 +0200 | [diff] [blame] | 693 | |
Etienne Carriere | 09665cb | 2022-02-21 09:22:39 +0100 | [diff] [blame] | 694 | reset_scmi: protocol@16 { |
Etienne Carriere | 8b9b689 | 2020-09-09 18:44:07 +0200 | [diff] [blame] | 695 | reg = <0x16>; |
| 696 | #reset-cells = <1>; |
| 697 | }; |
Etienne Carriere | b8f15cd | 2021-03-08 22:38:07 +0100 | [diff] [blame] | 698 | |
| 699 | protocol@17 { |
| 700 | reg = <0x17>; |
| 701 | |
| 702 | regulators { |
| 703 | #address-cells = <1>; |
| 704 | #size-cells = <0>; |
| 705 | |
Etienne Carriere | 09665cb | 2022-02-21 09:22:39 +0100 | [diff] [blame] | 706 | regul0_scmi: reg@0 { |
Etienne Carriere | b8f15cd | 2021-03-08 22:38:07 +0100 | [diff] [blame] | 707 | reg = <0>; |
| 708 | regulator-name = "sandbox-voltd0"; |
| 709 | regulator-min-microvolt = <1100000>; |
| 710 | regulator-max-microvolt = <3300000>; |
| 711 | }; |
Etienne Carriere | 09665cb | 2022-02-21 09:22:39 +0100 | [diff] [blame] | 712 | regul1_scmi: reg@1 { |
Etienne Carriere | b8f15cd | 2021-03-08 22:38:07 +0100 | [diff] [blame] | 713 | reg = <0x1>; |
| 714 | regulator-name = "sandbox-voltd1"; |
| 715 | regulator-min-microvolt = <1800000>; |
| 716 | }; |
| 717 | }; |
| 718 | }; |
Etienne Carriere | 02fd126 | 2020-09-09 18:44:00 +0200 | [diff] [blame] | 719 | }; |
Rajan Vaja | b3b2ddb | 2018-09-19 03:43:46 -0700 | [diff] [blame] | 720 | }; |
| 721 | |
Alexander Dahl | 6ac319d | 2022-09-30 14:04:30 +0200 | [diff] [blame] | 722 | fpga { |
| 723 | compatible = "sandbox,fpga"; |
| 724 | }; |
| 725 | |
Patrick Delaunay | 1b4a22f | 2020-01-13 11:35:15 +0100 | [diff] [blame] | 726 | pinctrl-gpio { |
| 727 | compatible = "sandbox,pinctrl-gpio"; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 728 | |
Patrick Delaunay | 1b4a22f | 2020-01-13 11:35:15 +0100 | [diff] [blame] | 729 | gpio_a: base-gpios { |
| 730 | compatible = "sandbox,gpio"; |
| 731 | gpio-controller; |
| 732 | #gpio-cells = <1>; |
| 733 | gpio-bank-name = "a"; |
| 734 | sandbox,gpio-count = <20>; |
Heiko Schocher | 4508abf | 2020-05-22 11:08:58 +0200 | [diff] [blame] | 735 | hog_input_active_low { |
| 736 | gpio-hog; |
| 737 | input; |
Philippe Reynes | b25a5b3 | 2020-07-24 15:51:53 +0200 | [diff] [blame] | 738 | gpios = <10 GPIO_ACTIVE_LOW>; |
Heiko Schocher | 4508abf | 2020-05-22 11:08:58 +0200 | [diff] [blame] | 739 | }; |
| 740 | hog_input_active_high { |
| 741 | gpio-hog; |
| 742 | input; |
Philippe Reynes | b25a5b3 | 2020-07-24 15:51:53 +0200 | [diff] [blame] | 743 | gpios = <11 GPIO_ACTIVE_HIGH>; |
Heiko Schocher | 4508abf | 2020-05-22 11:08:58 +0200 | [diff] [blame] | 744 | }; |
| 745 | hog_output_low { |
| 746 | gpio-hog; |
| 747 | output-low; |
Philippe Reynes | b25a5b3 | 2020-07-24 15:51:53 +0200 | [diff] [blame] | 748 | gpios = <12 GPIO_ACTIVE_HIGH>; |
Heiko Schocher | 4508abf | 2020-05-22 11:08:58 +0200 | [diff] [blame] | 749 | }; |
| 750 | hog_output_high { |
| 751 | gpio-hog; |
| 752 | output-high; |
Philippe Reynes | b25a5b3 | 2020-07-24 15:51:53 +0200 | [diff] [blame] | 753 | gpios = <13 GPIO_ACTIVE_HIGH>; |
Heiko Schocher | 4508abf | 2020-05-22 11:08:58 +0200 | [diff] [blame] | 754 | }; |
Patrick Delaunay | 1b4a22f | 2020-01-13 11:35:15 +0100 | [diff] [blame] | 755 | }; |
| 756 | |
| 757 | gpio_b: extra-gpios { |
| 758 | compatible = "sandbox,gpio"; |
| 759 | gpio-controller; |
| 760 | #gpio-cells = <5>; |
| 761 | gpio-bank-name = "b"; |
| 762 | sandbox,gpio-count = <10>; |
| 763 | }; |
Simon Glass | 25348a4 | 2014-10-13 23:42:11 -0600 | [diff] [blame] | 764 | |
Patrick Delaunay | 1b4a22f | 2020-01-13 11:35:15 +0100 | [diff] [blame] | 765 | gpio_c: pinmux-gpios { |
| 766 | compatible = "sandbox,gpio"; |
| 767 | gpio-controller; |
| 768 | #gpio-cells = <2>; |
| 769 | gpio-bank-name = "c"; |
| 770 | sandbox,gpio-count = <10>; |
| 771 | }; |
Patrick Delaunay | 28bdaa5 | 2020-01-13 11:35:14 +0100 | [diff] [blame] | 772 | }; |
| 773 | |
Simon Glass | 7df766e | 2014-12-10 08:55:55 -0700 | [diff] [blame] | 774 | i2c@0 { |
| 775 | #address-cells = <1>; |
| 776 | #size-cells = <0>; |
Simon Glass | cf61f74 | 2015-07-06 12:54:36 -0600 | [diff] [blame] | 777 | reg = <0 1>; |
Simon Glass | 7df766e | 2014-12-10 08:55:55 -0700 | [diff] [blame] | 778 | compatible = "sandbox,i2c"; |
| 779 | clock-frequency = <100000>; |
Dario Binacchi | 20dd9e1 | 2021-04-11 09:39:50 +0200 | [diff] [blame] | 780 | pinctrl-names = "default"; |
| 781 | pinctrl-0 = <&pinmux_i2c0_pins>; |
| 782 | |
Simon Glass | 7df766e | 2014-12-10 08:55:55 -0700 | [diff] [blame] | 783 | eeprom@2c { |
Sean Anderson | e2dc0e6 | 2022-05-05 13:11:42 -0400 | [diff] [blame] | 784 | #address-cells = <1>; |
| 785 | #size-cells = <1>; |
Simon Glass | 7df766e | 2014-12-10 08:55:55 -0700 | [diff] [blame] | 786 | reg = <0x2c>; |
| 787 | compatible = "i2c-eeprom"; |
Simon Glass | 17b56f6 | 2018-11-18 08:14:34 -0700 | [diff] [blame] | 788 | sandbox,emul = <&emul_eeprom>; |
Michal Simek | 4f18f92 | 2020-05-28 11:48:55 +0200 | [diff] [blame] | 789 | partitions { |
| 790 | compatible = "fixed-partitions"; |
| 791 | #address-cells = <1>; |
| 792 | #size-cells = <1>; |
| 793 | bootcount_i2c: bootcount@10 { |
| 794 | reg = <10 2>; |
| 795 | }; |
| 796 | }; |
Sean Anderson | e2dc0e6 | 2022-05-05 13:11:42 -0400 | [diff] [blame] | 797 | |
| 798 | eth3_addr: mac-address@24 { |
| 799 | reg = <24 6>; |
| 800 | }; |
Simon Glass | 7df766e | 2014-12-10 08:55:55 -0700 | [diff] [blame] | 801 | }; |
Przemyslaw Marczak | 77bee05 | 2015-05-13 13:38:35 +0200 | [diff] [blame] | 802 | |
Simon Glass | 336b295 | 2015-05-22 15:42:17 -0600 | [diff] [blame] | 803 | rtc_0: rtc@43 { |
Sean Anderson | 5768e8b | 2022-05-05 13:11:43 -0400 | [diff] [blame] | 804 | #address-cells = <1>; |
| 805 | #size-cells = <1>; |
Simon Glass | 336b295 | 2015-05-22 15:42:17 -0600 | [diff] [blame] | 806 | reg = <0x43>; |
| 807 | compatible = "sandbox-rtc"; |
Simon Glass | 17b56f6 | 2018-11-18 08:14:34 -0700 | [diff] [blame] | 808 | sandbox,emul = <&emul0>; |
Sean Anderson | 5768e8b | 2022-05-05 13:11:43 -0400 | [diff] [blame] | 809 | |
| 810 | eth4_addr: mac-address@40 { |
| 811 | reg = <0x40 6>; |
| 812 | }; |
Simon Glass | 336b295 | 2015-05-22 15:42:17 -0600 | [diff] [blame] | 813 | }; |
| 814 | |
| 815 | rtc_1: rtc@61 { |
| 816 | reg = <0x61>; |
| 817 | compatible = "sandbox-rtc"; |
Simon Glass | 17b56f6 | 2018-11-18 08:14:34 -0700 | [diff] [blame] | 818 | sandbox,emul = <&emul1>; |
| 819 | }; |
| 820 | |
| 821 | i2c_emul: emul { |
| 822 | reg = <0xff>; |
| 823 | compatible = "sandbox,i2c-emul-parent"; |
| 824 | emul_eeprom: emul-eeprom { |
| 825 | compatible = "sandbox,i2c-eeprom"; |
| 826 | sandbox,filename = "i2c.bin"; |
| 827 | sandbox,size = <256>; |
| 828 | }; |
| 829 | emul0: emul0 { |
Simon Glass | 98af374 | 2021-02-03 06:01:17 -0700 | [diff] [blame] | 830 | compatible = "sandbox,i2c-rtc-emul"; |
Simon Glass | 17b56f6 | 2018-11-18 08:14:34 -0700 | [diff] [blame] | 831 | }; |
| 832 | emul1: emull { |
Simon Glass | 98af374 | 2021-02-03 06:01:17 -0700 | [diff] [blame] | 833 | compatible = "sandbox,i2c-rtc-emul"; |
Simon Glass | 336b295 | 2015-05-22 15:42:17 -0600 | [diff] [blame] | 834 | }; |
| 835 | }; |
| 836 | |
Przemyslaw Marczak | 77bee05 | 2015-05-13 13:38:35 +0200 | [diff] [blame] | 837 | sandbox_pmic: sandbox_pmic { |
| 838 | reg = <0x40>; |
Simon Glass | 17b56f6 | 2018-11-18 08:14:34 -0700 | [diff] [blame] | 839 | sandbox,emul = <&emul_pmic0>; |
Przemyslaw Marczak | 77bee05 | 2015-05-13 13:38:35 +0200 | [diff] [blame] | 840 | }; |
Lukasz Majewski | a4d8297 | 2018-05-15 16:26:40 +0200 | [diff] [blame] | 841 | |
| 842 | mc34708: pmic@41 { |
| 843 | reg = <0x41>; |
Simon Glass | 17b56f6 | 2018-11-18 08:14:34 -0700 | [diff] [blame] | 844 | sandbox,emul = <&emul_pmic1>; |
Lukasz Majewski | a4d8297 | 2018-05-15 16:26:40 +0200 | [diff] [blame] | 845 | }; |
Simon Glass | 7df766e | 2014-12-10 08:55:55 -0700 | [diff] [blame] | 846 | }; |
| 847 | |
Philipp Tomsich | 1fc5330 | 2018-12-14 21:14:29 +0100 | [diff] [blame] | 848 | bootcount@0 { |
| 849 | compatible = "u-boot,bootcount-rtc"; |
| 850 | rtc = <&rtc_1>; |
| 851 | offset = <0x13>; |
| 852 | }; |
| 853 | |
Michal Simek | 4f18f92 | 2020-05-28 11:48:55 +0200 | [diff] [blame] | 854 | bootcount { |
| 855 | compatible = "u-boot,bootcount-i2c-eeprom"; |
| 856 | i2c-eeprom = <&bootcount_i2c>; |
| 857 | }; |
| 858 | |
Nandor Han | 8889581 | 2021-06-10 15:40:38 +0300 | [diff] [blame] | 859 | bootcount_4@0 { |
| 860 | compatible = "u-boot,bootcount-syscon"; |
| 861 | syscon = <&syscon0>; |
| 862 | reg = <0x0 0x04>, <0x0 0x04>; |
| 863 | reg-names = "syscon_reg", "offset"; |
| 864 | }; |
| 865 | |
| 866 | bootcount_2@0 { |
| 867 | compatible = "u-boot,bootcount-syscon"; |
| 868 | syscon = <&syscon0>; |
| 869 | reg = <0x0 0x04>, <0x0 0x02> ; |
| 870 | reg-names = "syscon_reg", "offset"; |
| 871 | }; |
| 872 | |
Marek Szyprowski | ad39859 | 2021-02-18 11:33:18 +0100 | [diff] [blame] | 873 | adc: adc@0 { |
Przemyslaw Marczak | 1bc7f23 | 2015-10-27 13:08:06 +0100 | [diff] [blame] | 874 | compatible = "sandbox,adc"; |
Marek Szyprowski | ad39859 | 2021-02-18 11:33:18 +0100 | [diff] [blame] | 875 | #io-channel-cells = <1>; |
Przemyslaw Marczak | 1bc7f23 | 2015-10-27 13:08:06 +0100 | [diff] [blame] | 876 | vdd-supply = <&buck2>; |
| 877 | vss-microvolts = <0>; |
| 878 | }; |
| 879 | |
Mark Kettenis | 67748ee | 2021-10-23 16:58:02 +0200 | [diff] [blame] | 880 | iommu: iommu@0 { |
| 881 | compatible = "sandbox,iommu"; |
| 882 | #iommu-cells = <0>; |
| 883 | }; |
| 884 | |
Simon Glass | 515dcff | 2020-02-06 09:55:00 -0700 | [diff] [blame] | 885 | irq: irq { |
Simon Glass | 54028bc | 2019-12-06 21:41:59 -0700 | [diff] [blame] | 886 | compatible = "sandbox,irq"; |
Simon Glass | 515dcff | 2020-02-06 09:55:00 -0700 | [diff] [blame] | 887 | interrupt-controller; |
| 888 | #interrupt-cells = <2>; |
Simon Glass | 54028bc | 2019-12-06 21:41:59 -0700 | [diff] [blame] | 889 | }; |
| 890 | |
Simon Glass | 90b6fef | 2016-01-18 19:52:26 -0700 | [diff] [blame] | 891 | lcd { |
| 892 | u-boot,dm-pre-reloc; |
| 893 | compatible = "sandbox,lcd-sdl"; |
Dario Binacchi | 20dd9e1 | 2021-04-11 09:39:50 +0200 | [diff] [blame] | 894 | pinctrl-names = "default"; |
| 895 | pinctrl-0 = <&pinmux_lcd_pins>; |
Simon Glass | 90b6fef | 2016-01-18 19:52:26 -0700 | [diff] [blame] | 896 | xres = <1366>; |
| 897 | yres = <768>; |
| 898 | }; |
| 899 | |
Simon Glass | d783eb3 | 2015-07-06 12:54:34 -0600 | [diff] [blame] | 900 | leds { |
| 901 | compatible = "gpio-leds"; |
| 902 | |
| 903 | iracibble { |
| 904 | gpios = <&gpio_a 1 0>; |
| 905 | label = "sandbox:red"; |
| 906 | }; |
| 907 | |
| 908 | martinet { |
| 909 | gpios = <&gpio_a 2 0>; |
| 910 | label = "sandbox:green"; |
| 911 | }; |
Patrick Bruenn | b58adfe | 2018-04-11 11:16:29 +0200 | [diff] [blame] | 912 | |
| 913 | default_on { |
| 914 | gpios = <&gpio_a 5 0>; |
| 915 | label = "sandbox:default_on"; |
| 916 | default-state = "on"; |
| 917 | }; |
| 918 | |
| 919 | default_off { |
| 920 | gpios = <&gpio_a 6 0>; |
Sean Anderson | fbf8d65 | 2020-09-14 11:02:03 -0400 | [diff] [blame] | 921 | /* label intentionally omitted */ |
Patrick Bruenn | b58adfe | 2018-04-11 11:16:29 +0200 | [diff] [blame] | 922 | default-state = "off"; |
| 923 | }; |
Simon Glass | d783eb3 | 2015-07-06 12:54:34 -0600 | [diff] [blame] | 924 | }; |
| 925 | |
Paul Doelle | 709f037 | 2022-07-04 09:00:25 +0000 | [diff] [blame] | 926 | wdt-gpio-toggle { |
Rasmus Villemoes | 2b67387 | 2021-08-19 11:57:05 +0200 | [diff] [blame] | 927 | gpios = <&gpio_a 7 0>; |
| 928 | compatible = "linux,wdt-gpio"; |
Rasmus Villemoes | f91ff5a | 2021-08-19 11:57:06 +0200 | [diff] [blame] | 929 | hw_margin_ms = <100>; |
Paul Doelle | 709f037 | 2022-07-04 09:00:25 +0000 | [diff] [blame] | 930 | hw_algo = "toggle"; |
| 931 | always-running; |
| 932 | }; |
| 933 | |
| 934 | wdt-gpio-level { |
| 935 | gpios = <&gpio_a 7 0>; |
| 936 | compatible = "linux,wdt-gpio"; |
| 937 | hw_margin_ms = <100>; |
| 938 | hw_algo = "level"; |
Rasmus Villemoes | 2b67387 | 2021-08-19 11:57:05 +0200 | [diff] [blame] | 939 | always-running; |
| 940 | }; |
| 941 | |
Stephen Warren | 62f2c90 | 2016-05-16 17:41:37 -0600 | [diff] [blame] | 942 | mbox: mbox { |
| 943 | compatible = "sandbox,mbox"; |
| 944 | #mbox-cells = <1>; |
| 945 | }; |
| 946 | |
| 947 | mbox-test { |
| 948 | compatible = "sandbox,mbox-test"; |
| 949 | mboxes = <&mbox 100>, <&mbox 1>; |
| 950 | mbox-names = "other", "test"; |
| 951 | }; |
| 952 | |
AKASHI Takahiro | 8fb963a | 2019-08-27 17:17:03 +0900 | [diff] [blame] | 953 | cpus { |
Heinrich Schuchardt | 20f9d3d | 2021-08-28 11:42:08 +0200 | [diff] [blame] | 954 | #address-cells = <1>; |
| 955 | #size-cells = <0>; |
Sean Anderson | 79d3bba | 2020-09-28 10:52:23 -0400 | [diff] [blame] | 956 | timebase-frequency = <2000000>; |
Heinrich Schuchardt | 20f9d3d | 2021-08-28 11:42:08 +0200 | [diff] [blame] | 957 | cpu1: cpu@1 { |
| 958 | device_type = "cpu"; |
| 959 | reg = <0x1>; |
Sean Anderson | 79d3bba | 2020-09-28 10:52:23 -0400 | [diff] [blame] | 960 | timebase-frequency = <3000000>; |
AKASHI Takahiro | 8fb963a | 2019-08-27 17:17:03 +0900 | [diff] [blame] | 961 | compatible = "sandbox,cpu_sandbox"; |
| 962 | u-boot,dm-pre-reloc; |
| 963 | }; |
Mario Six | dea5df7 | 2018-08-06 10:23:44 +0200 | [diff] [blame] | 964 | |
Heinrich Schuchardt | 20f9d3d | 2021-08-28 11:42:08 +0200 | [diff] [blame] | 965 | cpu2: cpu@2 { |
| 966 | device_type = "cpu"; |
| 967 | reg = <0x2>; |
AKASHI Takahiro | 8fb963a | 2019-08-27 17:17:03 +0900 | [diff] [blame] | 968 | compatible = "sandbox,cpu_sandbox"; |
| 969 | u-boot,dm-pre-reloc; |
| 970 | }; |
Mario Six | dea5df7 | 2018-08-06 10:23:44 +0200 | [diff] [blame] | 971 | |
Heinrich Schuchardt | 20f9d3d | 2021-08-28 11:42:08 +0200 | [diff] [blame] | 972 | cpu3: cpu@3 { |
| 973 | device_type = "cpu"; |
| 974 | reg = <0x3>; |
AKASHI Takahiro | 8fb963a | 2019-08-27 17:17:03 +0900 | [diff] [blame] | 975 | compatible = "sandbox,cpu_sandbox"; |
| 976 | u-boot,dm-pre-reloc; |
| 977 | }; |
Mario Six | dea5df7 | 2018-08-06 10:23:44 +0200 | [diff] [blame] | 978 | }; |
| 979 | |
Dave Gerlach | 75dbdfc | 2020-07-15 23:39:58 -0500 | [diff] [blame] | 980 | chipid: chipid { |
| 981 | compatible = "sandbox,soc"; |
| 982 | }; |
| 983 | |
Simon Glass | c953aaf | 2018-12-10 10:37:34 -0700 | [diff] [blame] | 984 | i2s: i2s { |
| 985 | compatible = "sandbox,i2s"; |
| 986 | #sound-dai-cells = <1>; |
Simon Glass | 4d5814c | 2019-02-16 20:24:56 -0700 | [diff] [blame] | 987 | sandbox,silent; /* Don't emit sounds while testing */ |
Simon Glass | c953aaf | 2018-12-10 10:37:34 -0700 | [diff] [blame] | 988 | }; |
| 989 | |
Jean-Jacques Hiblot | db97c7f | 2019-07-05 09:33:57 +0200 | [diff] [blame] | 990 | nop-test_0 { |
| 991 | compatible = "sandbox,nop_sandbox1"; |
| 992 | nop-test_1 { |
| 993 | compatible = "sandbox,nop_sandbox2"; |
| 994 | bind = "True"; |
| 995 | }; |
| 996 | nop-test_2 { |
| 997 | compatible = "sandbox,nop_sandbox2"; |
| 998 | bind = "False"; |
| 999 | }; |
| 1000 | }; |
| 1001 | |
Roger Quadros | b0679a7 | 2022-10-20 16:30:46 +0300 | [diff] [blame] | 1002 | memory-controller { |
| 1003 | compatible = "sandbox,memory"; |
| 1004 | }; |
| 1005 | |
Mario Six | a8ce0ee | 2018-07-31 14:24:14 +0200 | [diff] [blame] | 1006 | misc-test { |
Sean Anderson | 13652b8 | 2022-05-05 13:11:44 -0400 | [diff] [blame] | 1007 | #address-cells = <1>; |
| 1008 | #size-cells = <1>; |
Mario Six | a8ce0ee | 2018-07-31 14:24:14 +0200 | [diff] [blame] | 1009 | compatible = "sandbox,misc_sandbox"; |
Sean Anderson | 13652b8 | 2022-05-05 13:11:44 -0400 | [diff] [blame] | 1010 | |
| 1011 | eth5_addr: mac-address@10 { |
| 1012 | reg = <0x10 6>; |
| 1013 | }; |
Mario Six | a8ce0ee | 2018-07-31 14:24:14 +0200 | [diff] [blame] | 1014 | }; |
| 1015 | |
Simon Glass | e4fef74 | 2017-04-23 20:02:07 -0600 | [diff] [blame] | 1016 | mmc2 { |
| 1017 | compatible = "sandbox,mmc"; |
Simon Glass | 965cd40 | 2021-07-05 16:32:58 -0600 | [diff] [blame] | 1018 | non-removable; |
Simon Glass | e4fef74 | 2017-04-23 20:02:07 -0600 | [diff] [blame] | 1019 | }; |
| 1020 | |
Simon Glass | b255efc | 2022-04-24 23:31:24 -0600 | [diff] [blame] | 1021 | /* This is used for the bootdev tests */ |
Simon Glass | e4fef74 | 2017-04-23 20:02:07 -0600 | [diff] [blame] | 1022 | mmc1 { |
| 1023 | compatible = "sandbox,mmc"; |
Simon Glass | b255efc | 2022-04-24 23:31:24 -0600 | [diff] [blame] | 1024 | filename = "mmc1.img"; |
Simon Glass | e4fef74 | 2017-04-23 20:02:07 -0600 | [diff] [blame] | 1025 | }; |
| 1026 | |
Simon Glass | b255efc | 2022-04-24 23:31:24 -0600 | [diff] [blame] | 1027 | /* This is used for the fastboot tests */ |
Sughosh Ganu | 77079e7 | 2022-10-21 18:16:05 +0530 | [diff] [blame] | 1028 | mmc0: mmc0 { |
Simon Glass | d3e58e4 | 2015-07-06 12:54:32 -0600 | [diff] [blame] | 1029 | compatible = "sandbox,mmc"; |
| 1030 | }; |
| 1031 | |
Simon Glass | f1eba35 | 2022-10-20 18:23:20 -0600 | [diff] [blame] | 1032 | /* This is used for VBE VPL tests */ |
| 1033 | mmc3 { |
| 1034 | status = "disabled"; |
| 1035 | compatible = "sandbox,mmc"; |
| 1036 | filename = "image.bin"; |
| 1037 | non-removable; |
| 1038 | }; |
| 1039 | |
Simon Glass | d2bc33ed | 2023-01-06 08:52:41 -0600 | [diff] [blame] | 1040 | /* This is used for bootstd bootmenu tests */ |
| 1041 | mmc4 { |
| 1042 | status = "disabled"; |
| 1043 | compatible = "sandbox,mmc"; |
| 1044 | filename = "mmc4.img"; |
| 1045 | }; |
| 1046 | |
Simon Glass | 53a68b3 | 2019-02-16 20:24:50 -0700 | [diff] [blame] | 1047 | pch { |
| 1048 | compatible = "sandbox,pch"; |
| 1049 | }; |
| 1050 | |
Tom Rini | 4a3ca48 | 2020-02-11 12:41:23 -0500 | [diff] [blame] | 1051 | pci0: pci@0 { |
Simon Glass | 3a6eae6 | 2015-03-05 12:25:34 -0700 | [diff] [blame] | 1052 | compatible = "sandbox,pci"; |
| 1053 | device_type = "pci"; |
Tom Rini | 4a3ca48 | 2020-02-11 12:41:23 -0500 | [diff] [blame] | 1054 | bus-range = <0x00 0xff>; |
Simon Glass | 3a6eae6 | 2015-03-05 12:25:34 -0700 | [diff] [blame] | 1055 | #address-cells = <3>; |
| 1056 | #size-cells = <2>; |
Simon Glass | 35464f7 | 2019-09-25 08:56:08 -0600 | [diff] [blame] | 1057 | ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000000 |
Simon Glass | 3a6eae6 | 2015-03-05 12:25:34 -0700 | [diff] [blame] | 1058 | 0x01000000 0 0x20000000 0x20000000 0 0x2000>; |
Mark Kettenis | 5dfd4ec | 2023-01-21 20:27:57 +0100 | [diff] [blame] | 1059 | iommu-map = <0x0010 &iommu 0 1>; |
| 1060 | iommu-map-mask = <0xfffffff8>; |
Bin Meng | cbf071b | 2018-08-03 01:14:39 -0700 | [diff] [blame] | 1061 | pci@0,0 { |
| 1062 | compatible = "pci-generic"; |
| 1063 | reg = <0x0000 0 0 0 0>; |
Simon Glass | b98ba4c | 2019-09-25 08:56:10 -0600 | [diff] [blame] | 1064 | sandbox,emul = <&swap_case_emul0_0>; |
Bin Meng | cbf071b | 2018-08-03 01:14:39 -0700 | [diff] [blame] | 1065 | }; |
Alex Marginean | f127443 | 2019-06-07 11:24:24 +0300 | [diff] [blame] | 1066 | pci@1,0 { |
| 1067 | compatible = "pci-generic"; |
Simon Glass | 23b2759 | 2019-09-15 12:08:58 -0600 | [diff] [blame] | 1068 | /* reg 0 is at 0x14, using FDT_PCI_SPACE_MEM32 */ |
| 1069 | reg = <0x02000814 0 0 0 0 |
| 1070 | 0x01000810 0 0 0 0>; |
Simon Glass | b98ba4c | 2019-09-25 08:56:10 -0600 | [diff] [blame] | 1071 | sandbox,emul = <&swap_case_emul0_1>; |
Alex Marginean | f127443 | 2019-06-07 11:24:24 +0300 | [diff] [blame] | 1072 | }; |
Simon Glass | 937bb47 | 2019-12-06 21:41:57 -0700 | [diff] [blame] | 1073 | p2sb-pci@2,0 { |
| 1074 | compatible = "sandbox,p2sb"; |
| 1075 | reg = <0x02001010 0 0 0 0>; |
| 1076 | sandbox,emul = <&p2sb_emul>; |
| 1077 | |
| 1078 | adder { |
| 1079 | intel,p2sb-port-id = <3>; |
| 1080 | compatible = "sandbox,adder"; |
| 1081 | }; |
| 1082 | }; |
Simon Glass | 8c50102 | 2019-12-06 21:41:54 -0700 | [diff] [blame] | 1083 | pci@1e,0 { |
| 1084 | compatible = "sandbox,pmc"; |
| 1085 | reg = <0xf000 0 0 0 0>; |
| 1086 | sandbox,emul = <&pmc_emul1e>; |
| 1087 | acpi-base = <0x400>; |
| 1088 | gpe0-dwx-mask = <0xf>; |
| 1089 | gpe0-dwx-shift-base = <4>; |
| 1090 | gpe0-dw = <6 7 9>; |
| 1091 | gpe0-sts = <0x20>; |
| 1092 | gpe0-en = <0x30>; |
| 1093 | }; |
Simon Glass | 3a6eae6 | 2015-03-05 12:25:34 -0700 | [diff] [blame] | 1094 | pci@1f,0 { |
| 1095 | compatible = "pci-generic"; |
Simon Glass | 23b2759 | 2019-09-15 12:08:58 -0600 | [diff] [blame] | 1096 | /* reg 0 is at 0x10, using FDT_PCI_SPACE_IO */ |
| 1097 | reg = <0x0100f810 0 0 0 0>; |
Simon Glass | b98ba4c | 2019-09-25 08:56:10 -0600 | [diff] [blame] | 1098 | sandbox,emul = <&swap_case_emul0_1f>; |
Simon Glass | 3a6eae6 | 2015-03-05 12:25:34 -0700 | [diff] [blame] | 1099 | }; |
| 1100 | }; |
| 1101 | |
Simon Glass | b98ba4c | 2019-09-25 08:56:10 -0600 | [diff] [blame] | 1102 | pci-emul0 { |
| 1103 | compatible = "sandbox,pci-emul-parent"; |
| 1104 | swap_case_emul0_0: emul0@0,0 { |
| 1105 | compatible = "sandbox,swap-case"; |
| 1106 | }; |
| 1107 | swap_case_emul0_1: emul0@1,0 { |
| 1108 | compatible = "sandbox,swap-case"; |
| 1109 | use-ea; |
| 1110 | }; |
| 1111 | swap_case_emul0_1f: emul0@1f,0 { |
| 1112 | compatible = "sandbox,swap-case"; |
| 1113 | }; |
Simon Glass | 937bb47 | 2019-12-06 21:41:57 -0700 | [diff] [blame] | 1114 | p2sb_emul: emul@2,0 { |
| 1115 | compatible = "sandbox,p2sb-emul"; |
| 1116 | }; |
Simon Glass | 8c50102 | 2019-12-06 21:41:54 -0700 | [diff] [blame] | 1117 | pmc_emul1e: emul@1e,0 { |
| 1118 | compatible = "sandbox,pmc-emul"; |
| 1119 | }; |
Simon Glass | b98ba4c | 2019-09-25 08:56:10 -0600 | [diff] [blame] | 1120 | }; |
| 1121 | |
Tom Rini | 4a3ca48 | 2020-02-11 12:41:23 -0500 | [diff] [blame] | 1122 | pci1: pci@1 { |
Bin Meng | 408e590 | 2018-08-03 01:14:41 -0700 | [diff] [blame] | 1123 | compatible = "sandbox,pci"; |
| 1124 | device_type = "pci"; |
Tom Rini | 4a3ca48 | 2020-02-11 12:41:23 -0500 | [diff] [blame] | 1125 | bus-range = <0x00 0xff>; |
Bin Meng | 408e590 | 2018-08-03 01:14:41 -0700 | [diff] [blame] | 1126 | #address-cells = <3>; |
| 1127 | #size-cells = <2>; |
Suneel Garapati | 3ac3aec | 2019-10-19 17:10:20 -0700 | [diff] [blame] | 1128 | ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000 // MEM0 |
Andrew Scull | c7456a4 | 2022-04-21 16:11:09 +0000 | [diff] [blame] | 1129 | 0x02000000 0 0x31000000 0x3e000000 0 0x2000 // MEM1 |
Suneel Garapati | 3ac3aec | 2019-10-19 17:10:20 -0700 | [diff] [blame] | 1130 | 0x01000000 0 0x40000000 0x40000000 0 0x2000>; |
Bin Meng | 5fed536 | 2018-08-03 01:14:47 -0700 | [diff] [blame] | 1131 | sandbox,dev-info = <0x08 0x00 0x1234 0x5678 |
Marek Vasut | e573322 | 2018-10-10 21:27:08 +0200 | [diff] [blame] | 1132 | 0x0c 0x00 0x1234 0x5678 |
| 1133 | 0x10 0x00 0x1234 0x5678>; |
| 1134 | pci@10,0 { |
| 1135 | reg = <0x8000 0 0 0 0>; |
| 1136 | }; |
Bin Meng | 408e590 | 2018-08-03 01:14:41 -0700 | [diff] [blame] | 1137 | }; |
| 1138 | |
Tom Rini | 4a3ca48 | 2020-02-11 12:41:23 -0500 | [diff] [blame] | 1139 | pci2: pci@2 { |
Bin Meng | 510dddb | 2018-08-03 01:14:50 -0700 | [diff] [blame] | 1140 | compatible = "sandbox,pci"; |
| 1141 | device_type = "pci"; |
Tom Rini | 4a3ca48 | 2020-02-11 12:41:23 -0500 | [diff] [blame] | 1142 | bus-range = <0x00 0xff>; |
Bin Meng | 510dddb | 2018-08-03 01:14:50 -0700 | [diff] [blame] | 1143 | #address-cells = <3>; |
| 1144 | #size-cells = <2>; |
| 1145 | ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000 |
| 1146 | 0x01000000 0 0x60000000 0x60000000 0 0x2000>; |
| 1147 | sandbox,dev-info = <0x08 0x00 0x1234 0x5678>; |
| 1148 | pci@1f,0 { |
| 1149 | compatible = "pci-generic"; |
| 1150 | reg = <0xf800 0 0 0 0>; |
Simon Glass | b98ba4c | 2019-09-25 08:56:10 -0600 | [diff] [blame] | 1151 | sandbox,emul = <&swap_case_emul2_1f>; |
| 1152 | }; |
| 1153 | }; |
| 1154 | |
| 1155 | pci-emul2 { |
| 1156 | compatible = "sandbox,pci-emul-parent"; |
| 1157 | swap_case_emul2_1f: emul2@1f,0 { |
| 1158 | compatible = "sandbox,swap-case"; |
Bin Meng | 510dddb | 2018-08-03 01:14:50 -0700 | [diff] [blame] | 1159 | }; |
| 1160 | }; |
| 1161 | |
Ramon Fried | c64f19b | 2019-04-27 11:15:23 +0300 | [diff] [blame] | 1162 | pci_ep: pci_ep { |
| 1163 | compatible = "sandbox,pci_ep"; |
| 1164 | }; |
| 1165 | |
Simon Glass | 9c433fe | 2017-04-23 20:10:44 -0600 | [diff] [blame] | 1166 | probing { |
| 1167 | compatible = "simple-bus"; |
| 1168 | test1 { |
| 1169 | compatible = "denx,u-boot-probe-test"; |
| 1170 | }; |
| 1171 | |
| 1172 | test2 { |
| 1173 | compatible = "denx,u-boot-probe-test"; |
| 1174 | }; |
| 1175 | |
| 1176 | test3 { |
| 1177 | compatible = "denx,u-boot-probe-test"; |
| 1178 | }; |
| 1179 | |
| 1180 | test4 { |
| 1181 | compatible = "denx,u-boot-probe-test"; |
Jean-Jacques Hiblot | dc44ea4 | 2018-11-29 10:57:37 +0100 | [diff] [blame] | 1182 | first-syscon = <&syscon0>; |
| 1183 | second-sys-ctrl = <&another_system_controller>; |
Patrick Delaunay | ee01043 | 2019-03-07 09:57:13 +0100 | [diff] [blame] | 1184 | third-syscon = <&syscon2>; |
Simon Glass | 9c433fe | 2017-04-23 20:10:44 -0600 | [diff] [blame] | 1185 | }; |
| 1186 | }; |
| 1187 | |
Stephen Warren | 92c67fa | 2016-07-13 13:45:31 -0600 | [diff] [blame] | 1188 | pwrdom: power-domain { |
| 1189 | compatible = "sandbox,power-domain"; |
| 1190 | #power-domain-cells = <1>; |
| 1191 | }; |
| 1192 | |
| 1193 | power-domain-test { |
| 1194 | compatible = "sandbox,power-domain-test"; |
| 1195 | power-domains = <&pwrdom 2>; |
| 1196 | }; |
| 1197 | |
Simon Glass | 5620cf8 | 2018-10-01 12:22:40 -0600 | [diff] [blame] | 1198 | pwm: pwm { |
Simon Glass | e62f4be | 2017-04-16 21:01:11 -0600 | [diff] [blame] | 1199 | compatible = "sandbox,pwm"; |
Simon Glass | 5620cf8 | 2018-10-01 12:22:40 -0600 | [diff] [blame] | 1200 | #pwm-cells = <2>; |
Dario Binacchi | 20dd9e1 | 2021-04-11 09:39:50 +0200 | [diff] [blame] | 1201 | pinctrl-names = "default"; |
| 1202 | pinctrl-0 = <&pinmux_pwm_pins>; |
Simon Glass | e62f4be | 2017-04-16 21:01:11 -0600 | [diff] [blame] | 1203 | }; |
| 1204 | |
| 1205 | pwm2 { |
| 1206 | compatible = "sandbox,pwm"; |
Simon Glass | 5620cf8 | 2018-10-01 12:22:40 -0600 | [diff] [blame] | 1207 | #pwm-cells = <2>; |
Simon Glass | e62f4be | 2017-04-16 21:01:11 -0600 | [diff] [blame] | 1208 | }; |
| 1209 | |
Simon Glass | 3d355e6 | 2015-07-06 12:54:31 -0600 | [diff] [blame] | 1210 | ram { |
| 1211 | compatible = "sandbox,ram"; |
| 1212 | }; |
| 1213 | |
Simon Glass | d860f22 | 2015-07-06 12:54:29 -0600 | [diff] [blame] | 1214 | reset@0 { |
| 1215 | compatible = "sandbox,warm-reset"; |
Michal Suchanek | 7687430 | 2022-10-10 20:29:39 +0200 | [diff] [blame] | 1216 | u-boot,dm-pre-proper; |
Simon Glass | d860f22 | 2015-07-06 12:54:29 -0600 | [diff] [blame] | 1217 | }; |
| 1218 | |
| 1219 | reset@1 { |
| 1220 | compatible = "sandbox,reset"; |
Michal Suchanek | 7687430 | 2022-10-10 20:29:39 +0200 | [diff] [blame] | 1221 | u-boot,dm-pre-proper; |
Simon Glass | d860f22 | 2015-07-06 12:54:29 -0600 | [diff] [blame] | 1222 | }; |
| 1223 | |
Stephen Warren | 6488e64 | 2016-06-17 09:43:59 -0600 | [diff] [blame] | 1224 | resetc: reset-ctl { |
| 1225 | compatible = "sandbox,reset-ctl"; |
| 1226 | #reset-cells = <1>; |
| 1227 | }; |
| 1228 | |
| 1229 | reset-ctl-test { |
| 1230 | compatible = "sandbox,reset-ctl-test"; |
Neil Armstrong | 9b4cdef | 2021-04-20 10:42:25 +0200 | [diff] [blame] | 1231 | resets = <&resetc 100>, <&resetc 2>, <&resetc 20>, <&resetc 40>; |
| 1232 | reset-names = "other", "test", "test2", "test3"; |
Stephen Warren | 6488e64 | 2016-06-17 09:43:59 -0600 | [diff] [blame] | 1233 | }; |
| 1234 | |
Sughosh Ganu | 23e3751 | 2019-12-28 23:58:31 +0530 | [diff] [blame] | 1235 | rng { |
| 1236 | compatible = "sandbox,sandbox-rng"; |
| 1237 | }; |
| 1238 | |
Nishanth Menon | edf8581 | 2015-09-17 15:42:41 -0500 | [diff] [blame] | 1239 | rproc_1: rproc@1 { |
| 1240 | compatible = "sandbox,test-processor"; |
| 1241 | remoteproc-name = "remoteproc-test-dev1"; |
| 1242 | }; |
| 1243 | |
| 1244 | rproc_2: rproc@2 { |
| 1245 | compatible = "sandbox,test-processor"; |
| 1246 | internal-memory-mapped; |
| 1247 | remoteproc-name = "remoteproc-test-dev2"; |
| 1248 | }; |
| 1249 | |
Simon Glass | 5620cf8 | 2018-10-01 12:22:40 -0600 | [diff] [blame] | 1250 | panel { |
| 1251 | compatible = "simple-panel"; |
| 1252 | backlight = <&backlight 0 100>; |
| 1253 | }; |
| 1254 | |
Simon Glass | 509f32e | 2022-09-21 16:21:47 +0200 | [diff] [blame] | 1255 | scsi { |
| 1256 | compatible = "sandbox,scsi"; |
| 1257 | sandbox,filepath = "scsi.img"; |
| 1258 | }; |
| 1259 | |
Ramon Fried | 26ed32e | 2018-07-02 02:57:59 +0300 | [diff] [blame] | 1260 | smem@0 { |
| 1261 | compatible = "sandbox,smem"; |
| 1262 | }; |
| 1263 | |
Simon Glass | 76072ac | 2018-12-10 10:37:36 -0700 | [diff] [blame] | 1264 | sound { |
| 1265 | compatible = "sandbox,sound"; |
| 1266 | cpu { |
| 1267 | sound-dai = <&i2s 0>; |
| 1268 | }; |
| 1269 | |
| 1270 | codec { |
| 1271 | sound-dai = <&audio 0>; |
| 1272 | }; |
| 1273 | }; |
| 1274 | |
Simon Glass | 25348a4 | 2014-10-13 23:42:11 -0600 | [diff] [blame] | 1275 | spi@0 { |
| 1276 | #address-cells = <1>; |
| 1277 | #size-cells = <0>; |
Simon Glass | cf61f74 | 2015-07-06 12:54:36 -0600 | [diff] [blame] | 1278 | reg = <0 1>; |
Simon Glass | 25348a4 | 2014-10-13 23:42:11 -0600 | [diff] [blame] | 1279 | compatible = "sandbox,spi"; |
Ovidiu Panait | ae73473 | 2020-12-14 19:06:47 +0200 | [diff] [blame] | 1280 | cs-gpios = <0>, <0>, <&gpio_a 0>; |
Dario Binacchi | 20dd9e1 | 2021-04-11 09:39:50 +0200 | [diff] [blame] | 1281 | pinctrl-names = "default"; |
| 1282 | pinctrl-0 = <&pinmux_spi0_pins>; |
| 1283 | |
Simon Glass | 25348a4 | 2014-10-13 23:42:11 -0600 | [diff] [blame] | 1284 | spi.bin@0 { |
| 1285 | reg = <0>; |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 1286 | compatible = "spansion,m25p16", "jedec,spi-nor"; |
Simon Glass | 25348a4 | 2014-10-13 23:42:11 -0600 | [diff] [blame] | 1287 | spi-max-frequency = <40000000>; |
| 1288 | sandbox,filename = "spi.bin"; |
| 1289 | }; |
Ovidiu Panait | ae73473 | 2020-12-14 19:06:47 +0200 | [diff] [blame] | 1290 | spi.bin@1 { |
| 1291 | reg = <1>; |
| 1292 | compatible = "spansion,m25p16", "jedec,spi-nor"; |
| 1293 | spi-max-frequency = <50000000>; |
| 1294 | sandbox,filename = "spi.bin"; |
| 1295 | spi-cpol; |
| 1296 | spi-cpha; |
| 1297 | }; |
Simon Glass | 25348a4 | 2014-10-13 23:42:11 -0600 | [diff] [blame] | 1298 | }; |
| 1299 | |
Jean-Jacques Hiblot | dc44ea4 | 2018-11-29 10:57:37 +0100 | [diff] [blame] | 1300 | syscon0: syscon@0 { |
Simon Glass | cd55652 | 2015-07-06 12:54:35 -0600 | [diff] [blame] | 1301 | compatible = "sandbox,syscon0"; |
Mario Six | e3f59f4 | 2018-10-04 09:00:40 +0200 | [diff] [blame] | 1302 | reg = <0x10 16>; |
Simon Glass | cd55652 | 2015-07-06 12:54:35 -0600 | [diff] [blame] | 1303 | }; |
| 1304 | |
Jean-Jacques Hiblot | dc44ea4 | 2018-11-29 10:57:37 +0100 | [diff] [blame] | 1305 | another_system_controller: syscon@1 { |
Simon Glass | cd55652 | 2015-07-06 12:54:35 -0600 | [diff] [blame] | 1306 | compatible = "sandbox,syscon1"; |
Simon Glass | cf61f74 | 2015-07-06 12:54:36 -0600 | [diff] [blame] | 1307 | reg = <0x20 5 |
| 1308 | 0x28 6 |
| 1309 | 0x30 7 |
| 1310 | 0x38 8>; |
Simon Glass | cd55652 | 2015-07-06 12:54:35 -0600 | [diff] [blame] | 1311 | }; |
| 1312 | |
Patrick Delaunay | ee01043 | 2019-03-07 09:57:13 +0100 | [diff] [blame] | 1313 | syscon2: syscon@2 { |
Masahiro Yamada | 42ab107 | 2018-04-23 13:26:53 +0900 | [diff] [blame] | 1314 | compatible = "simple-mfd", "syscon"; |
| 1315 | reg = <0x40 5 |
| 1316 | 0x48 6 |
| 1317 | 0x50 7 |
| 1318 | 0x58 8>; |
| 1319 | }; |
| 1320 | |
Jean-Jacques Hiblot | a94b697 | 2020-10-16 16:16:34 +0530 | [diff] [blame] | 1321 | syscon3: syscon@3 { |
| 1322 | compatible = "simple-mfd", "syscon"; |
| 1323 | reg = <0x000100 0x10>; |
| 1324 | |
| 1325 | muxcontroller0: a-mux-controller { |
| 1326 | compatible = "mmio-mux"; |
| 1327 | #mux-control-cells = <1>; |
| 1328 | |
| 1329 | mux-reg-masks = <0x0 0x30>, /* 0: reg 0x0, bits 5:4 */ |
| 1330 | <0xc 0x1E>, /* 1: reg 0xc, bits 4:1 */ |
| 1331 | <0x4 0xFF>; /* 2: reg 0x4, bits 7:0 */ |
| 1332 | idle-states = <MUX_IDLE_AS_IS>, <0x02>, <0x73>; |
| 1333 | u-boot,mux-autoprobe; |
| 1334 | }; |
| 1335 | }; |
| 1336 | |
| 1337 | muxcontroller1: emul-mux-controller { |
| 1338 | compatible = "mux-emul"; |
| 1339 | #mux-control-cells = <0>; |
| 1340 | u-boot,mux-autoprobe; |
| 1341 | idle-state = <0xabcd>; |
| 1342 | }; |
| 1343 | |
Simon Glass | 791a17f | 2020-12-16 21:20:27 -0700 | [diff] [blame] | 1344 | testfdtm0 { |
| 1345 | compatible = "denx,u-boot-fdtm-test"; |
| 1346 | }; |
| 1347 | |
| 1348 | testfdtm1: testfdtm1 { |
| 1349 | compatible = "denx,u-boot-fdtm-test"; |
| 1350 | }; |
| 1351 | |
| 1352 | testfdtm2 { |
| 1353 | compatible = "denx,u-boot-fdtm-test"; |
| 1354 | }; |
| 1355 | |
Sean Anderson | 79d3bba | 2020-09-28 10:52:23 -0400 | [diff] [blame] | 1356 | timer@0 { |
Thomas Chou | 6f2cfbf | 2015-12-11 16:27:34 +0800 | [diff] [blame] | 1357 | compatible = "sandbox,timer"; |
| 1358 | clock-frequency = <1000000>; |
| 1359 | }; |
| 1360 | |
Sean Anderson | 79d3bba | 2020-09-28 10:52:23 -0400 | [diff] [blame] | 1361 | timer@1 { |
| 1362 | compatible = "sandbox,timer"; |
| 1363 | sandbox,timebase-frequency-fallback; |
| 1364 | }; |
| 1365 | |
Miquel Raynal | 80938c1 | 2018-05-15 11:57:27 +0200 | [diff] [blame] | 1366 | tpm2 { |
| 1367 | compatible = "sandbox,tpm2"; |
| 1368 | }; |
| 1369 | |
Simon Glass | 5b96863 | 2015-05-22 15:42:15 -0600 | [diff] [blame] | 1370 | uart0: serial { |
| 1371 | compatible = "sandbox,serial"; |
| 1372 | u-boot,dm-pre-reloc; |
Dario Binacchi | 20dd9e1 | 2021-04-11 09:39:50 +0200 | [diff] [blame] | 1373 | pinctrl-names = "default"; |
| 1374 | pinctrl-0 = <&pinmux_uart0_pins>; |
Joe Hershberger | 4c19724 | 2015-03-22 17:09:15 -0500 | [diff] [blame] | 1375 | }; |
| 1376 | |
Simon Glass | 3168048 | 2015-03-25 12:23:05 -0600 | [diff] [blame] | 1377 | usb_0: usb@0 { |
| 1378 | compatible = "sandbox,usb"; |
| 1379 | status = "disabled"; |
| 1380 | hub { |
| 1381 | compatible = "sandbox,usb-hub"; |
| 1382 | #address-cells = <1>; |
| 1383 | #size-cells = <0>; |
| 1384 | flash-stick { |
| 1385 | reg = <0>; |
| 1386 | compatible = "sandbox,usb-flash"; |
| 1387 | }; |
| 1388 | }; |
| 1389 | }; |
| 1390 | |
| 1391 | usb_1: usb@1 { |
| 1392 | compatible = "sandbox,usb"; |
Mark Kettenis | 67748ee | 2021-10-23 16:58:02 +0200 | [diff] [blame] | 1393 | iommus = <&iommu>; |
Simon Glass | 3168048 | 2015-03-25 12:23:05 -0600 | [diff] [blame] | 1394 | hub { |
| 1395 | compatible = "usb-hub"; |
| 1396 | usb,device-class = <9>; |
Michael Walle | 7c96132 | 2020-06-02 01:47:07 +0200 | [diff] [blame] | 1397 | #address-cells = <1>; |
| 1398 | #size-cells = <0>; |
Simon Glass | 3168048 | 2015-03-25 12:23:05 -0600 | [diff] [blame] | 1399 | hub-emul { |
| 1400 | compatible = "sandbox,usb-hub"; |
| 1401 | #address-cells = <1>; |
| 1402 | #size-cells = <0>; |
Simon Glass | 4700fe5 | 2015-11-08 23:48:01 -0700 | [diff] [blame] | 1403 | flash-stick@0 { |
Simon Glass | 3168048 | 2015-03-25 12:23:05 -0600 | [diff] [blame] | 1404 | reg = <0>; |
| 1405 | compatible = "sandbox,usb-flash"; |
| 1406 | sandbox,filepath = "testflash.bin"; |
| 1407 | }; |
| 1408 | |
Simon Glass | 4700fe5 | 2015-11-08 23:48:01 -0700 | [diff] [blame] | 1409 | flash-stick@1 { |
| 1410 | reg = <1>; |
| 1411 | compatible = "sandbox,usb-flash"; |
| 1412 | sandbox,filepath = "testflash1.bin"; |
| 1413 | }; |
| 1414 | |
| 1415 | flash-stick@2 { |
| 1416 | reg = <2>; |
| 1417 | compatible = "sandbox,usb-flash"; |
| 1418 | sandbox,filepath = "testflash2.bin"; |
| 1419 | }; |
| 1420 | |
Simon Glass | c0ccc72 | 2015-11-08 23:48:08 -0700 | [diff] [blame] | 1421 | keyb@3 { |
| 1422 | reg = <3>; |
| 1423 | compatible = "sandbox,usb-keyb"; |
| 1424 | }; |
| 1425 | |
Simon Glass | 3168048 | 2015-03-25 12:23:05 -0600 | [diff] [blame] | 1426 | }; |
Michael Walle | 7c96132 | 2020-06-02 01:47:07 +0200 | [diff] [blame] | 1427 | |
| 1428 | usbstor@1 { |
| 1429 | reg = <1>; |
| 1430 | }; |
| 1431 | usbstor@3 { |
| 1432 | reg = <3>; |
| 1433 | }; |
Simon Glass | 3168048 | 2015-03-25 12:23:05 -0600 | [diff] [blame] | 1434 | }; |
| 1435 | }; |
| 1436 | |
| 1437 | usb_2: usb@2 { |
| 1438 | compatible = "sandbox,usb"; |
| 1439 | status = "disabled"; |
| 1440 | }; |
| 1441 | |
Mateusz Kulikowski | c7e4fbb | 2016-03-31 23:12:28 +0200 | [diff] [blame] | 1442 | spmi: spmi@0 { |
| 1443 | compatible = "sandbox,spmi"; |
| 1444 | #address-cells = <0x1>; |
| 1445 | #size-cells = <0x1>; |
Simon Glass | 9513997 | 2019-09-25 08:55:59 -0600 | [diff] [blame] | 1446 | ranges; |
Mateusz Kulikowski | c7e4fbb | 2016-03-31 23:12:28 +0200 | [diff] [blame] | 1447 | pm8916@0 { |
| 1448 | compatible = "qcom,spmi-pmic"; |
| 1449 | reg = <0x0 0x1>; |
| 1450 | #address-cells = <0x1>; |
| 1451 | #size-cells = <0x1>; |
Simon Glass | 9513997 | 2019-09-25 08:55:59 -0600 | [diff] [blame] | 1452 | ranges; |
Mateusz Kulikowski | c7e4fbb | 2016-03-31 23:12:28 +0200 | [diff] [blame] | 1453 | |
| 1454 | spmi_gpios: gpios@c000 { |
| 1455 | compatible = "qcom,pm8916-gpio"; |
| 1456 | reg = <0xc000 0x400>; |
| 1457 | gpio-controller; |
| 1458 | gpio-count = <4>; |
| 1459 | #gpio-cells = <2>; |
| 1460 | gpio-bank-name="spmi"; |
| 1461 | }; |
| 1462 | }; |
| 1463 | }; |
maxims@google.com | daea6d4 | 2017-04-17 12:00:21 -0700 | [diff] [blame] | 1464 | |
| 1465 | wdt0: wdt@0 { |
| 1466 | compatible = "sandbox,wdt"; |
Rasmus Villemoes | f91ff5a | 2021-08-19 11:57:06 +0200 | [diff] [blame] | 1467 | hw_margin_ms = <200>; |
maxims@google.com | daea6d4 | 2017-04-17 12:00:21 -0700 | [diff] [blame] | 1468 | }; |
Rob Clark | a471b67 | 2018-01-10 11:33:30 +0100 | [diff] [blame] | 1469 | |
Mario Six | 9592215 | 2018-08-09 14:51:19 +0200 | [diff] [blame] | 1470 | axi: axi@0 { |
| 1471 | compatible = "sandbox,axi"; |
| 1472 | #address-cells = <0x1>; |
| 1473 | #size-cells = <0x1>; |
| 1474 | store@0 { |
| 1475 | compatible = "sandbox,sandbox_store"; |
| 1476 | reg = <0x0 0x400>; |
| 1477 | }; |
| 1478 | }; |
| 1479 | |
Rob Clark | a471b67 | 2018-01-10 11:33:30 +0100 | [diff] [blame] | 1480 | chosen { |
Simon Glass | 305ac9a | 2018-02-03 10:36:58 -0700 | [diff] [blame] | 1481 | #address-cells = <1>; |
| 1482 | #size-cells = <1>; |
Simon Glass | f345596 | 2020-01-27 08:49:43 -0700 | [diff] [blame] | 1483 | setting = "sunrise ohoka"; |
| 1484 | other-node = "/some-bus/c-test@5"; |
Simon Glass | e09223c | 2020-01-27 08:49:46 -0700 | [diff] [blame] | 1485 | int-values = <0x1937 72993>; |
Simon Glass | 3c601b1 | 2020-07-07 13:12:06 -0600 | [diff] [blame] | 1486 | u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>; |
Rob Clark | a471b67 | 2018-01-10 11:33:30 +0100 | [diff] [blame] | 1487 | chosen-test { |
| 1488 | compatible = "denx,u-boot-fdt-test"; |
| 1489 | reg = <9 1>; |
| 1490 | }; |
| 1491 | }; |
Mario Six | 35616ef | 2018-03-12 14:53:33 +0100 | [diff] [blame] | 1492 | |
| 1493 | translation-test@8000 { |
| 1494 | compatible = "simple-bus"; |
| 1495 | reg = <0x8000 0x4000>; |
| 1496 | |
| 1497 | #address-cells = <0x2>; |
| 1498 | #size-cells = <0x1>; |
| 1499 | |
| 1500 | ranges = <0 0x0 0x8000 0x1000 |
| 1501 | 1 0x100 0x9000 0x1000 |
| 1502 | 2 0x200 0xA000 0x1000 |
| 1503 | 3 0x300 0xB000 0x1000 |
| 1504 | >; |
| 1505 | |
Fabien Dessenne | 22236e0 | 2019-05-31 15:11:30 +0200 | [diff] [blame] | 1506 | dma-ranges = <0 0x000 0x10000000 0x1000 |
| 1507 | 1 0x100 0x20000000 0x1000 |
| 1508 | >; |
| 1509 | |
Mario Six | 35616ef | 2018-03-12 14:53:33 +0100 | [diff] [blame] | 1510 | dev@0,0 { |
| 1511 | compatible = "denx,u-boot-fdt-dummy"; |
| 1512 | reg = <0 0x0 0x1000>; |
Ălvaro FernĂĄndez Rojas | a318115 | 2018-12-03 19:37:09 +0100 | [diff] [blame] | 1513 | reg-names = "sandbox-dummy-0"; |
Mario Six | 35616ef | 2018-03-12 14:53:33 +0100 | [diff] [blame] | 1514 | }; |
| 1515 | |
| 1516 | dev@1,100 { |
| 1517 | compatible = "denx,u-boot-fdt-dummy"; |
| 1518 | reg = <1 0x100 0x1000>; |
| 1519 | |
| 1520 | }; |
| 1521 | |
| 1522 | dev@2,200 { |
| 1523 | compatible = "denx,u-boot-fdt-dummy"; |
| 1524 | reg = <2 0x200 0x1000>; |
| 1525 | }; |
| 1526 | |
| 1527 | |
| 1528 | noxlatebus@3,300 { |
| 1529 | compatible = "simple-bus"; |
| 1530 | reg = <3 0x300 0x1000>; |
| 1531 | |
| 1532 | #address-cells = <0x1>; |
| 1533 | #size-cells = <0x0>; |
| 1534 | |
| 1535 | dev@42 { |
| 1536 | compatible = "denx,u-boot-fdt-dummy"; |
| 1537 | reg = <0x42>; |
| 1538 | }; |
| 1539 | }; |
| 1540 | }; |
Mario Six | 02ad6fb | 2018-09-27 09:19:31 +0200 | [diff] [blame] | 1541 | |
Dzmitry Sankouski | 54f4c83 | 2023-01-22 18:21:23 +0300 | [diff] [blame] | 1542 | ofnode-foreach { |
| 1543 | compatible = "foreach"; |
| 1544 | |
| 1545 | first { |
| 1546 | prop1 = <1>; |
| 1547 | prop2 = <2>; |
| 1548 | }; |
| 1549 | |
| 1550 | second { |
| 1551 | prop1 = <1>; |
| 1552 | prop2 = <2>; |
| 1553 | }; |
| 1554 | }; |
| 1555 | |
Mario Six | 02ad6fb | 2018-09-27 09:19:31 +0200 | [diff] [blame] | 1556 | osd { |
| 1557 | compatible = "sandbox,sandbox_osd"; |
| 1558 | }; |
Tom Rini | b93eea7 | 2018-09-30 18:16:51 -0400 | [diff] [blame] | 1559 | |
Jens Wiklander | 86afaa6 | 2018-09-25 16:40:16 +0200 | [diff] [blame] | 1560 | sandbox_tee { |
| 1561 | compatible = "sandbox,tee"; |
| 1562 | }; |
Bin Meng | 1bb290d | 2018-10-15 02:21:26 -0700 | [diff] [blame] | 1563 | |
| 1564 | sandbox_virtio1 { |
| 1565 | compatible = "sandbox,virtio1"; |
Simon Glass | 8de5a54 | 2023-01-17 10:47:51 -0700 | [diff] [blame] | 1566 | virtio-type = <4>; /* rng */ |
Bin Meng | 1bb290d | 2018-10-15 02:21:26 -0700 | [diff] [blame] | 1567 | }; |
| 1568 | |
| 1569 | sandbox_virtio2 { |
| 1570 | compatible = "sandbox,virtio2"; |
| 1571 | }; |
Patrice Chotard | 0fc8afc | 2018-10-24 14:10:23 +0200 | [diff] [blame] | 1572 | |
Simon Glass | 8de5a54 | 2023-01-17 10:47:51 -0700 | [diff] [blame] | 1573 | sandbox-virtio-blk { |
| 1574 | compatible = "sandbox,virtio1"; |
| 1575 | virtio-type = <2>; /* block */ |
| 1576 | }; |
| 1577 | |
Etienne Carriere | 2d94c08fa | 2020-09-09 18:44:05 +0200 | [diff] [blame] | 1578 | sandbox_scmi { |
| 1579 | compatible = "sandbox,scmi-devices"; |
Etienne Carriere | bf1f132 | 2022-02-21 09:22:41 +0100 | [diff] [blame] | 1580 | clocks = <&clk_scmi 2>, <&clk_scmi 0>; |
Etienne Carriere | 09665cb | 2022-02-21 09:22:39 +0100 | [diff] [blame] | 1581 | resets = <&reset_scmi 3>; |
| 1582 | regul0-supply = <®ul0_scmi>; |
| 1583 | regul1-supply = <®ul1_scmi>; |
Etienne Carriere | 2d94c08fa | 2020-09-09 18:44:05 +0200 | [diff] [blame] | 1584 | }; |
| 1585 | |
Patrice Chotard | 0fc8afc | 2018-10-24 14:10:23 +0200 | [diff] [blame] | 1586 | pinctrl { |
| 1587 | compatible = "sandbox,pinctrl"; |
Patrick Delaunay | 939cbe9 | 2020-01-13 11:35:12 +0100 | [diff] [blame] | 1588 | |
Sean Anderson | 3438e3b | 2020-09-14 11:01:57 -0400 | [diff] [blame] | 1589 | pinctrl-names = "default", "alternate"; |
| 1590 | pinctrl-0 = <&pinctrl_gpios>, <&pinctrl_i2s>; |
| 1591 | pinctrl-1 = <&pinctrl_spi>, <&pinctrl_i2c>; |
Patrick Delaunay | 939cbe9 | 2020-01-13 11:35:12 +0100 | [diff] [blame] | 1592 | |
Sean Anderson | 3438e3b | 2020-09-14 11:01:57 -0400 | [diff] [blame] | 1593 | pinctrl_gpios: gpios { |
Patrick Delaunay | 939cbe9 | 2020-01-13 11:35:12 +0100 | [diff] [blame] | 1594 | gpio0 { |
Sean Anderson | 3438e3b | 2020-09-14 11:01:57 -0400 | [diff] [blame] | 1595 | pins = "P5"; |
| 1596 | function = "GPIO"; |
Patrick Delaunay | 939cbe9 | 2020-01-13 11:35:12 +0100 | [diff] [blame] | 1597 | bias-pull-up; |
| 1598 | input-disable; |
| 1599 | }; |
| 1600 | gpio1 { |
Sean Anderson | 3438e3b | 2020-09-14 11:01:57 -0400 | [diff] [blame] | 1601 | pins = "P6"; |
| 1602 | function = "GPIO"; |
Patrick Delaunay | 939cbe9 | 2020-01-13 11:35:12 +0100 | [diff] [blame] | 1603 | output-high; |
| 1604 | drive-open-drain; |
| 1605 | }; |
| 1606 | gpio2 { |
Sean Anderson | 3438e3b | 2020-09-14 11:01:57 -0400 | [diff] [blame] | 1607 | pinmux = <SANDBOX_PINMUX(7, SANDBOX_PINMUX_GPIO)>; |
Patrick Delaunay | 939cbe9 | 2020-01-13 11:35:12 +0100 | [diff] [blame] | 1608 | bias-pull-down; |
| 1609 | input-enable; |
| 1610 | }; |
| 1611 | gpio3 { |
Sean Anderson | 3438e3b | 2020-09-14 11:01:57 -0400 | [diff] [blame] | 1612 | pinmux = <SANDBOX_PINMUX(8, SANDBOX_PINMUX_GPIO)>; |
Patrick Delaunay | 939cbe9 | 2020-01-13 11:35:12 +0100 | [diff] [blame] | 1613 | bias-disable; |
| 1614 | }; |
| 1615 | }; |
Sean Anderson | 3438e3b | 2020-09-14 11:01:57 -0400 | [diff] [blame] | 1616 | |
| 1617 | pinctrl_i2c: i2c { |
| 1618 | groups { |
| 1619 | groups = "I2C_UART"; |
| 1620 | function = "I2C"; |
| 1621 | }; |
| 1622 | |
| 1623 | pins { |
| 1624 | pins = "P0", "P1"; |
| 1625 | drive-open-drain; |
| 1626 | }; |
| 1627 | }; |
| 1628 | |
| 1629 | pinctrl_i2s: i2s { |
| 1630 | groups = "SPI_I2S"; |
| 1631 | function = "I2S"; |
| 1632 | }; |
| 1633 | |
| 1634 | pinctrl_spi: spi { |
| 1635 | groups = "SPI_I2S"; |
| 1636 | function = "SPI"; |
| 1637 | |
| 1638 | cs { |
| 1639 | pinmux = <SANDBOX_PINMUX(5, SANDBOX_PINMUX_CS)>, |
| 1640 | <SANDBOX_PINMUX(6, SANDBOX_PINMUX_CS)>; |
| 1641 | }; |
| 1642 | }; |
Patrice Chotard | 0fc8afc | 2018-10-24 14:10:23 +0200 | [diff] [blame] | 1643 | }; |
Benjamin Gaignard | a550b54 | 2018-11-27 13:49:50 +0100 | [diff] [blame] | 1644 | |
Dario Binacchi | 20dd9e1 | 2021-04-11 09:39:50 +0200 | [diff] [blame] | 1645 | pinctrl-single-no-width { |
| 1646 | compatible = "pinctrl-single"; |
| 1647 | reg = <0x0000 0x238>; |
| 1648 | #pinctrl-cells = <1>; |
| 1649 | pinctrl-single,function-mask = <0x7f>; |
| 1650 | }; |
| 1651 | |
| 1652 | pinctrl-single-pins { |
| 1653 | compatible = "pinctrl-single"; |
| 1654 | reg = <0x0000 0x238>; |
| 1655 | #pinctrl-cells = <1>; |
| 1656 | pinctrl-single,register-width = <32>; |
| 1657 | pinctrl-single,function-mask = <0x7f>; |
| 1658 | |
| 1659 | pinmux_pwm_pins: pinmux_pwm_pins { |
| 1660 | pinctrl-single,pins = < 0x48 0x06 >; |
| 1661 | }; |
| 1662 | |
| 1663 | pinmux_spi0_pins: pinmux_spi0_pins { |
| 1664 | pinctrl-single,pins = < |
| 1665 | 0x190 0x0c |
| 1666 | 0x194 0x0c |
| 1667 | 0x198 0x23 |
| 1668 | 0x19c 0x0c |
| 1669 | >; |
| 1670 | }; |
| 1671 | |
| 1672 | pinmux_uart0_pins: pinmux_uart0_pins { |
| 1673 | pinctrl-single,pins = < |
| 1674 | 0x70 0x30 |
| 1675 | 0x74 0x00 |
| 1676 | >; |
| 1677 | }; |
| 1678 | }; |
| 1679 | |
| 1680 | pinctrl-single-bits { |
| 1681 | compatible = "pinctrl-single"; |
| 1682 | reg = <0x0000 0x50>; |
| 1683 | #pinctrl-cells = <2>; |
| 1684 | pinctrl-single,bit-per-mux; |
| 1685 | pinctrl-single,register-width = <32>; |
| 1686 | pinctrl-single,function-mask = <0xf>; |
| 1687 | |
| 1688 | pinmux_i2c0_pins: pinmux_i2c0_pins { |
| 1689 | pinctrl-single,bits = < |
| 1690 | 0x10 0x00002200 0x0000ff00 |
| 1691 | >; |
| 1692 | }; |
| 1693 | |
| 1694 | pinmux_lcd_pins: pinmux_lcd_pins { |
| 1695 | pinctrl-single,bits = < |
| 1696 | 0x40 0x22222200 0xffffff00 |
| 1697 | 0x44 0x22222222 0xffffffff |
| 1698 | 0x48 0x00000022 0x000000ff |
| 1699 | 0x48 0x02000000 0x0f000000 |
| 1700 | 0x4c 0x02000022 0x0f0000ff |
| 1701 | >; |
| 1702 | }; |
| 1703 | }; |
| 1704 | |
Benjamin Gaignard | a550b54 | 2018-11-27 13:49:50 +0100 | [diff] [blame] | 1705 | hwspinlock@0 { |
| 1706 | compatible = "sandbox,hwspinlock"; |
| 1707 | }; |
Grygorii Strashko | 19ebf0b | 2018-11-28 19:17:51 +0100 | [diff] [blame] | 1708 | |
| 1709 | dma: dma { |
| 1710 | compatible = "sandbox,dma"; |
| 1711 | #dma-cells = <1>; |
| 1712 | |
| 1713 | dmas = <&dma 0>, <&dma 1>, <&dma 2>; |
| 1714 | dma-names = "m2m", "tx0", "rx0"; |
| 1715 | }; |
Alex Marginean | 0daa53a | 2019-06-03 19:12:28 +0300 | [diff] [blame] | 1716 | |
Alex Marginean | 0649be5 | 2019-07-12 10:13:53 +0300 | [diff] [blame] | 1717 | /* |
| 1718 | * keep mdio-mux ahead of mdio so that the mux is removed first at the |
| 1719 | * end of the test. If parent mdio is removed first, clean-up of the |
| 1720 | * mux will trigger a 2nd probe of parent-mdio, leaving parent-mdio |
| 1721 | * active at the end of the test. That it turn doesn't allow the mdio |
| 1722 | * class to be destroyed, triggering an error. |
| 1723 | */ |
| 1724 | mdio-mux-test { |
| 1725 | compatible = "sandbox,mdio-mux"; |
| 1726 | #address-cells = <1>; |
| 1727 | #size-cells = <0>; |
| 1728 | mdio-parent-bus = <&mdio>; |
| 1729 | |
| 1730 | mdio-ch-test@0 { |
| 1731 | reg = <0>; |
| 1732 | }; |
| 1733 | mdio-ch-test@1 { |
| 1734 | reg = <1>; |
| 1735 | }; |
| 1736 | }; |
| 1737 | |
| 1738 | mdio: mdio-test { |
Alex Marginean | 0daa53a | 2019-06-03 19:12:28 +0300 | [diff] [blame] | 1739 | compatible = "sandbox,mdio"; |
Marek BehĂșn | f4f1ddc | 2022-04-07 00:32:57 +0200 | [diff] [blame] | 1740 | #address-cells = <1>; |
| 1741 | #size-cells = <0>; |
| 1742 | |
| 1743 | ethphy1: ethernet-phy@1 { |
| 1744 | reg = <1>; |
| 1745 | }; |
Alex Marginean | 0daa53a | 2019-06-03 19:12:28 +0300 | [diff] [blame] | 1746 | }; |
Sean Anderson | b786054 | 2020-06-24 06:41:12 -0400 | [diff] [blame] | 1747 | |
| 1748 | pm-bus-test { |
| 1749 | compatible = "simple-pm-bus"; |
| 1750 | clocks = <&clk_sandbox 4>; |
| 1751 | power-domains = <&pwrdom 1>; |
| 1752 | }; |
Sean Anderson | 0c1f6bf | 2020-06-24 06:41:14 -0400 | [diff] [blame] | 1753 | |
| 1754 | resetc2: syscon-reset { |
| 1755 | compatible = "syscon-reset"; |
| 1756 | #reset-cells = <1>; |
| 1757 | regmap = <&syscon0>; |
| 1758 | offset = <1>; |
| 1759 | mask = <0x27FFFFFF>; |
| 1760 | assert-high = <0>; |
| 1761 | }; |
| 1762 | |
| 1763 | syscon-reset-test { |
| 1764 | compatible = "sandbox,misc_sandbox"; |
| 1765 | resets = <&resetc2 15>, <&resetc2 30>, <&resetc2 60>; |
| 1766 | reset-names = "valid", "no_mask", "out_of_range"; |
| 1767 | }; |
Jean-Jacques Hiblot | 0b89fc5 | 2020-09-24 10:04:18 +0530 | [diff] [blame] | 1768 | |
Simon Glass | 458b66a | 2020-11-05 06:32:05 -0700 | [diff] [blame] | 1769 | sysinfo { |
| 1770 | compatible = "sandbox,sysinfo-sandbox"; |
| 1771 | }; |
| 1772 | |
Sean Anderson | 1c83067 | 2021-04-20 10:50:58 -0400 | [diff] [blame] | 1773 | sysinfo-gpio { |
| 1774 | compatible = "gpio-sysinfo"; |
| 1775 | gpios = <&gpio_a 15>, <&gpio_a 16>, <&gpio_a 17>; |
| 1776 | revisions = <19>, <5>; |
| 1777 | names = "rev_a", "foo"; |
| 1778 | }; |
| 1779 | |
Jean-Jacques Hiblot | 0b89fc5 | 2020-09-24 10:04:18 +0530 | [diff] [blame] | 1780 | some_regmapped-bus { |
| 1781 | #address-cells = <0x1>; |
| 1782 | #size-cells = <0x1>; |
| 1783 | |
| 1784 | ranges = <0x0 0x0 0x10>; |
| 1785 | compatible = "simple-bus"; |
| 1786 | |
| 1787 | regmap-test_0 { |
| 1788 | reg = <0 0x10>; |
| 1789 | compatible = "sandbox,regmap_test"; |
| 1790 | }; |
| 1791 | }; |
Robert Marko | 9cf8712 | 2022-09-06 13:30:35 +0200 | [diff] [blame] | 1792 | |
| 1793 | thermal { |
| 1794 | compatible = "sandbox,thermal"; |
| 1795 | }; |
Sughosh Ganu | 77079e7 | 2022-10-21 18:16:05 +0530 | [diff] [blame] | 1796 | |
| 1797 | fwu-mdata { |
| 1798 | compatible = "u-boot,fwu-mdata-gpt"; |
| 1799 | fwu-mdata-store = <&mmc0>; |
| 1800 | }; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 1801 | }; |
Przemyslaw Marczak | 77bee05 | 2015-05-13 13:38:35 +0200 | [diff] [blame] | 1802 | |
| 1803 | #include "sandbox_pmic.dtsi" |
Heinrich Schuchardt | e24fdef | 2021-02-18 13:01:35 +0100 | [diff] [blame] | 1804 | #include "cros-ec-keyboard.dtsi" |
Simon Glass | 5e135d3 | 2022-10-20 18:23:15 -0600 | [diff] [blame] | 1805 | |
| 1806 | #ifdef CONFIG_SANDBOX_VPL |
| 1807 | #include "sandbox_vpl.dtsi" |
| 1808 | #endif |