Simon Glass | 66c164b | 2014-02-26 15:59:14 -0700 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Simon Glass | ce3ca2e | 2015-03-25 12:22:42 -0600 | [diff] [blame] | 3 | #define USB_CLASS_HUB 9 |
| 4 | |
Simon Glass | 66c164b | 2014-02-26 15:59:14 -0700 | [diff] [blame] | 5 | / { |
Simon Glass | fd91fc9 | 2014-10-13 23:41:48 -0600 | [diff] [blame] | 6 | #address-cells = <1>; |
Simon Glass | f905be8 | 2015-03-05 12:25:13 -0700 | [diff] [blame] | 7 | #size-cells = <1>; |
Simon Glass | 00c34d5b | 2017-06-15 21:37:53 -0600 | [diff] [blame] | 8 | model = "sandbox"; |
Simon Glass | fd91fc9 | 2014-10-13 23:41:48 -0600 | [diff] [blame] | 9 | |
Simon Glass | 70778bc | 2015-03-05 12:25:26 -0700 | [diff] [blame] | 10 | aliases { |
Simon Glass | 72138b9 | 2015-04-20 12:37:28 -0600 | [diff] [blame] | 11 | i2c0 = &i2c_0; |
Simon Glass | 70778bc | 2015-03-05 12:25:26 -0700 | [diff] [blame] | 12 | pci0 = &pci; |
Simon Glass | 72138b9 | 2015-04-20 12:37:28 -0600 | [diff] [blame] | 13 | rtc0 = &rtc_0; |
Mario Six | 9592215 | 2018-08-09 14:51:19 +0200 | [diff] [blame] | 14 | axi0 = &axi; |
Simon Glass | 70778bc | 2015-03-05 12:25:26 -0700 | [diff] [blame] | 15 | }; |
| 16 | |
Simon Glass | cdbbfe3 | 2014-09-04 16:27:29 -0600 | [diff] [blame] | 17 | chosen { |
| 18 | stdout-path = "/serial"; |
| 19 | }; |
| 20 | |
Simon Glass | 3e61017 | 2018-12-10 10:37:45 -0700 | [diff] [blame] | 21 | audio: audio-codec { |
| 22 | compatible = "sandbox,audio-codec"; |
| 23 | #sound-dai-cells = <1>; |
| 24 | }; |
| 25 | |
Simon Glass | 699c9ca | 2018-10-01 12:22:08 -0600 | [diff] [blame] | 26 | cros_ec: cros-ec { |
Simon Glass | 73f220c | 2015-03-26 09:29:39 -0600 | [diff] [blame] | 27 | reg = <0 0>; |
Simon Glass | e550155 | 2018-11-06 15:21:27 -0700 | [diff] [blame] | 28 | u-boot,dm-pre-reloc; |
Simon Glass | 73f220c | 2015-03-26 09:29:39 -0600 | [diff] [blame] | 29 | compatible = "google,cros-ec-sandbox"; |
Simon Glass | 1f6acb5 | 2014-02-27 13:25:59 -0700 | [diff] [blame] | 30 | |
Simon Glass | 73f220c | 2015-03-26 09:29:39 -0600 | [diff] [blame] | 31 | /* |
| 32 | * This describes the flash memory within the EC. Note |
| 33 | * that the STM32L flash erases to 0, not 0xff. |
| 34 | */ |
Simon Glass | 699c9ca | 2018-10-01 12:22:08 -0600 | [diff] [blame] | 35 | flash { |
Simon Glass | e550155 | 2018-11-06 15:21:27 -0700 | [diff] [blame] | 36 | u-boot,dm-pre-reloc; |
Simon Glass | 699c9ca | 2018-10-01 12:22:08 -0600 | [diff] [blame] | 37 | image-pos = <0x08000000>; |
| 38 | size = <0x20000>; |
Simon Glass | 73f220c | 2015-03-26 09:29:39 -0600 | [diff] [blame] | 39 | erase-value = <0>; |
Simon Glass | 1f6acb5 | 2014-02-27 13:25:59 -0700 | [diff] [blame] | 40 | |
Simon Glass | 73f220c | 2015-03-26 09:29:39 -0600 | [diff] [blame] | 41 | /* Information for sandbox */ |
| 42 | ro { |
Simon Glass | 699c9ca | 2018-10-01 12:22:08 -0600 | [diff] [blame] | 43 | image-pos = <0>; |
| 44 | size = <0xf000>; |
Simon Glass | 73f220c | 2015-03-26 09:29:39 -0600 | [diff] [blame] | 45 | }; |
| 46 | wp-ro { |
Simon Glass | 699c9ca | 2018-10-01 12:22:08 -0600 | [diff] [blame] | 47 | image-pos = <0xf000>; |
| 48 | size = <0x1000>; |
Simon Glass | 73f220c | 2015-03-26 09:29:39 -0600 | [diff] [blame] | 49 | }; |
| 50 | rw { |
Simon Glass | 699c9ca | 2018-10-01 12:22:08 -0600 | [diff] [blame] | 51 | image-pos = <0x10000>; |
| 52 | size = <0x10000>; |
Simon Glass | 1f6acb5 | 2014-02-27 13:25:59 -0700 | [diff] [blame] | 53 | }; |
| 54 | }; |
| 55 | }; |
| 56 | |
Joe Hershberger | 89590c8 | 2018-07-02 14:47:54 -0500 | [diff] [blame] | 57 | ethrawbus { |
| 58 | compatible = "sandbox,eth-raw-bus"; |
| 59 | skip-localhost = <0>; |
| 60 | }; |
| 61 | |
Simon Glass | 45ab008 | 2015-05-22 15:42:16 -0600 | [diff] [blame] | 62 | eth@10002000 { |
| 63 | compatible = "sandbox,eth"; |
| 64 | reg = <0x10002000 0x1000>; |
| 65 | fake-host-hwaddr = [00 00 66 44 22 00]; |
| 66 | }; |
| 67 | |
Simon Glass | 120834d | 2015-01-05 20:05:31 -0700 | [diff] [blame] | 68 | gpio_a: gpios@0 { |
Simon Glass | e550155 | 2018-11-06 15:21:27 -0700 | [diff] [blame] | 69 | u-boot,dm-pre-reloc; |
Simon Glass | 093f3a7 | 2014-08-11 09:24:03 -0600 | [diff] [blame] | 70 | gpio-controller; |
| 71 | compatible = "sandbox,gpio"; |
| 72 | #gpio-cells = <1>; |
| 73 | gpio-bank-name = "a"; |
Simon Glass | 9e7ab23 | 2018-02-03 10:36:59 -0700 | [diff] [blame] | 74 | sandbox,gpio-count = <20>; |
Simon Glass | 093f3a7 | 2014-08-11 09:24:03 -0600 | [diff] [blame] | 75 | }; |
| 76 | |
Simon Glass | 120834d | 2015-01-05 20:05:31 -0700 | [diff] [blame] | 77 | gpio_b: gpios@1 { |
Simon Glass | e550155 | 2018-11-06 15:21:27 -0700 | [diff] [blame] | 78 | u-boot,dm-pre-reloc; |
Simon Glass | 120834d | 2015-01-05 20:05:31 -0700 | [diff] [blame] | 79 | gpio-controller; |
| 80 | compatible = "sandbox,gpio"; |
| 81 | #gpio-cells = <2>; |
| 82 | gpio-bank-name = "b"; |
Simon Glass | 9e7ab23 | 2018-02-03 10:36:59 -0700 | [diff] [blame] | 83 | sandbox,gpio-count = <10>; |
Simon Glass | 120834d | 2015-01-05 20:05:31 -0700 | [diff] [blame] | 84 | }; |
| 85 | |
Simon Glass | 45ab008 | 2015-05-22 15:42:16 -0600 | [diff] [blame] | 86 | hexagon { |
| 87 | compatible = "demo-simple"; |
| 88 | colour = "white"; |
| 89 | sides = <6>; |
| 90 | }; |
| 91 | |
Simon Glass | 72138b9 | 2015-04-20 12:37:28 -0600 | [diff] [blame] | 92 | i2c_0: i2c@0 { |
Simon Glass | 4f46a59 | 2014-12-10 08:55:53 -0700 | [diff] [blame] | 93 | #address-cells = <1>; |
| 94 | #size-cells = <0>; |
Simon Glass | f905be8 | 2015-03-05 12:25:13 -0700 | [diff] [blame] | 95 | reg = <0 0>; |
Simon Glass | 4f46a59 | 2014-12-10 08:55:53 -0700 | [diff] [blame] | 96 | compatible = "sandbox,i2c"; |
| 97 | clock-frequency = <400000>; |
Masahiro Yamada | 0b53a75 | 2015-08-27 12:44:30 +0900 | [diff] [blame] | 98 | pinctrl-names = "default"; |
| 99 | pinctrl-0 = <&pinctrl_i2c0>; |
Simon Glass | 4f46a59 | 2014-12-10 08:55:53 -0700 | [diff] [blame] | 100 | eeprom@2c { |
| 101 | reg = <0x2c>; |
| 102 | compatible = "i2c-eeprom"; |
Heinrich Schuchardt | 1b99536 | 2019-01-05 22:30:07 +0100 | [diff] [blame] | 103 | sandbox,emul = <&emul_eeprom>; |
Simon Glass | 4f46a59 | 2014-12-10 08:55:53 -0700 | [diff] [blame] | 104 | }; |
Simon Glass | 72138b9 | 2015-04-20 12:37:28 -0600 | [diff] [blame] | 105 | |
| 106 | rtc_0: rtc@43 { |
| 107 | reg = <0x43>; |
| 108 | compatible = "sandbox-rtc"; |
Heinrich Schuchardt | 1b99536 | 2019-01-05 22:30:07 +0100 | [diff] [blame] | 109 | sandbox,emul = <&emul0>; |
Simon Glass | 72138b9 | 2015-04-20 12:37:28 -0600 | [diff] [blame] | 110 | }; |
Przemyslaw Marczak | 77bee05 | 2015-05-13 13:38:35 +0200 | [diff] [blame] | 111 | sandbox_pmic: sandbox_pmic { |
| 112 | reg = <0x40>; |
| 113 | }; |
Lukasz Majewski | a4d8297 | 2018-05-15 16:26:40 +0200 | [diff] [blame] | 114 | |
| 115 | mc34708: pmic@41 { |
| 116 | reg = <0x41>; |
| 117 | }; |
Simon Glass | 17b56f6 | 2018-11-18 08:14:34 -0700 | [diff] [blame] | 118 | |
| 119 | i2c_emul: emul { |
Simon Glass | 17b56f6 | 2018-11-18 08:14:34 -0700 | [diff] [blame] | 120 | reg = <0xff>; |
| 121 | compatible = "sandbox,i2c-emul-parent"; |
Heinrich Schuchardt | 1b99536 | 2019-01-05 22:30:07 +0100 | [diff] [blame] | 122 | emul_eeprom: emul-eeprom { |
Simon Glass | 17b56f6 | 2018-11-18 08:14:34 -0700 | [diff] [blame] | 123 | compatible = "sandbox,i2c-eeprom"; |
| 124 | sandbox,filename = "i2c.bin"; |
| 125 | sandbox,size = <256>; |
| 126 | }; |
Heinrich Schuchardt | 1b99536 | 2019-01-05 22:30:07 +0100 | [diff] [blame] | 127 | emul0: emul0 { |
Simon Glass | 17b56f6 | 2018-11-18 08:14:34 -0700 | [diff] [blame] | 128 | compatible = "sandbox,i2c-rtc"; |
| 129 | }; |
| 130 | }; |
Simon Glass | 4f46a59 | 2014-12-10 08:55:53 -0700 | [diff] [blame] | 131 | }; |
| 132 | |
Simon Glass | 3e61017 | 2018-12-10 10:37:45 -0700 | [diff] [blame] | 133 | i2s: i2s { |
| 134 | compatible = "sandbox,i2s"; |
| 135 | #sound-dai-cells = <1>; |
| 136 | }; |
| 137 | |
Simon Glass | 45ab008 | 2015-05-22 15:42:16 -0600 | [diff] [blame] | 138 | lcd { |
Simon Glass | 38a2ae2 | 2016-01-18 19:52:25 -0700 | [diff] [blame] | 139 | u-boot,dm-pre-reloc; |
Simon Glass | 45ab008 | 2015-05-22 15:42:16 -0600 | [diff] [blame] | 140 | compatible = "sandbox,lcd-sdl"; |
| 141 | xres = <1366>; |
| 142 | yres = <768>; |
Simon Glass | fd91fc9 | 2014-10-13 23:41:48 -0600 | [diff] [blame] | 143 | }; |
| 144 | |
Simon Glass | fefc7ba | 2017-04-10 11:34:51 -0600 | [diff] [blame] | 145 | leds { |
| 146 | compatible = "gpio-leds"; |
| 147 | |
| 148 | iracibble { |
| 149 | gpios = <&gpio_a 1 0>; |
| 150 | label = "sandbox:red"; |
| 151 | }; |
| 152 | |
| 153 | martinet { |
| 154 | gpios = <&gpio_a 2 0>; |
| 155 | label = "sandbox:green"; |
| 156 | }; |
| 157 | }; |
| 158 | |
Simon Glass | 70778bc | 2015-03-05 12:25:26 -0700 | [diff] [blame] | 159 | pci: pci-controller { |
| 160 | compatible = "sandbox,pci"; |
| 161 | device_type = "pci"; |
| 162 | #address-cells = <3>; |
| 163 | #size-cells = <2>; |
| 164 | ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000 |
| 165 | 0x01000000 0 0x20000000 0x20000000 0 0x2000>; |
| 166 | pci@1f,0 { |
| 167 | compatible = "pci-generic"; |
| 168 | reg = <0xf800 0 0 0 0>; |
| 169 | emul@1f,0 { |
| 170 | compatible = "sandbox,swap-case"; |
| 171 | }; |
| 172 | }; |
| 173 | }; |
| 174 | |
Masahiro Yamada | 0b53a75 | 2015-08-27 12:44:30 +0900 | [diff] [blame] | 175 | pinctrl { |
| 176 | compatible = "sandbox,pinctrl"; |
Eugen Hristev | fc50a80 | 2018-09-18 10:35:35 +0300 | [diff] [blame] | 177 | status = "okay"; |
Masahiro Yamada | 0b53a75 | 2015-08-27 12:44:30 +0900 | [diff] [blame] | 178 | |
| 179 | pinctrl_i2c0: i2c0 { |
| 180 | groups = "i2c"; |
| 181 | function = "i2c"; |
| 182 | bias-pull-up; |
| 183 | }; |
| 184 | |
| 185 | pinctrl_serial0: uart0 { |
| 186 | groups = "serial_a"; |
| 187 | function = "serial"; |
| 188 | }; |
Eugen Hristev | fc50a80 | 2018-09-18 10:35:35 +0300 | [diff] [blame] | 189 | |
| 190 | pinctrl_onewire0: onewire0 { |
| 191 | groups = "w1"; |
| 192 | function = "w1"; |
| 193 | bias-pull-up; |
| 194 | }; |
Masahiro Yamada | 0b53a75 | 2015-08-27 12:44:30 +0900 | [diff] [blame] | 195 | }; |
| 196 | |
Simon Glass | 68a3d49 | 2015-10-03 11:21:16 -0600 | [diff] [blame] | 197 | reset@1 { |
| 198 | compatible = "sandbox,reset"; |
| 199 | }; |
| 200 | |
Simon Glass | 3e61017 | 2018-12-10 10:37:45 -0700 | [diff] [blame] | 201 | sound { |
| 202 | compatible = "sandbox,sound"; |
| 203 | cpu { |
| 204 | sound-dai = <&i2s 0>; |
| 205 | }; |
| 206 | |
| 207 | codec { |
| 208 | sound-dai = <&audio 0>; |
| 209 | }; |
| 210 | }; |
| 211 | |
Simon Glass | 45ab008 | 2015-05-22 15:42:16 -0600 | [diff] [blame] | 212 | spi@0 { |
Simon Glass | e550155 | 2018-11-06 15:21:27 -0700 | [diff] [blame] | 213 | u-boot,dm-pre-reloc; |
Simon Glass | 45ab008 | 2015-05-22 15:42:16 -0600 | [diff] [blame] | 214 | #address-cells = <1>; |
| 215 | #size-cells = <0>; |
| 216 | reg = <0 0>; |
| 217 | compatible = "sandbox,spi"; |
| 218 | cs-gpios = <0>, <&gpio_a 0>; |
| 219 | firmware_storage_spi: flash@0 { |
Simon Glass | e550155 | 2018-11-06 15:21:27 -0700 | [diff] [blame] | 220 | u-boot,dm-pre-reloc; |
Simon Glass | 45ab008 | 2015-05-22 15:42:16 -0600 | [diff] [blame] | 221 | reg = <0>; |
| 222 | compatible = "spansion,m25p16", "sandbox,spi-flash"; |
| 223 | spi-max-frequency = <40000000>; |
| 224 | sandbox,filename = "spi.bin"; |
| 225 | }; |
Joe Hershberger | 6ab7699 | 2015-03-22 17:09:13 -0500 | [diff] [blame] | 226 | }; |
Joe Hershberger | 586cbd1 | 2015-03-22 17:09:21 -0500 | [diff] [blame] | 227 | |
Simon Glass | 4e9c131 | 2016-07-04 11:57:55 -0600 | [diff] [blame] | 228 | spl-test { |
| 229 | u-boot,dm-pre-reloc; |
| 230 | compatible = "sandbox,spl-test"; |
| 231 | boolval; |
| 232 | intval = <1>; |
| 233 | intarray = <2 3 4>; |
| 234 | byteval = [05]; |
| 235 | bytearray = [06]; |
| 236 | longbytearray = [09 0a 0b 0c 0d 0e 0f 10 11]; |
| 237 | stringval = "message"; |
| 238 | stringarray = "multi-word", "message"; |
| 239 | }; |
| 240 | |
| 241 | spl-test2 { |
| 242 | u-boot,dm-pre-reloc; |
| 243 | compatible = "sandbox,spl-test"; |
| 244 | intval = <3>; |
| 245 | intarray = <5>; |
| 246 | byteval = [08]; |
| 247 | bytearray = [01 23 34]; |
| 248 | longbytearray = [09 0a 0b 0c]; |
| 249 | stringval = "message2"; |
| 250 | stringarray = "another", "multi-word", "message"; |
| 251 | }; |
| 252 | |
| 253 | spl-test3 { |
| 254 | u-boot,dm-pre-reloc; |
| 255 | compatible = "sandbox,spl-test"; |
| 256 | stringarray = "one"; |
| 257 | }; |
| 258 | |
Simon Glass | b17ab15 | 2017-01-15 21:09:08 -0700 | [diff] [blame] | 259 | spl-test4 { |
| 260 | u-boot,dm-pre-reloc; |
| 261 | compatible = "sandbox,spl-test.2"; |
| 262 | }; |
| 263 | |
Simon Glass | 45ab008 | 2015-05-22 15:42:16 -0600 | [diff] [blame] | 264 | square { |
| 265 | compatible = "demo-shape"; |
| 266 | colour = "blue"; |
| 267 | sides = <4>; |
Joe Hershberger | 586cbd1 | 2015-03-22 17:09:21 -0500 | [diff] [blame] | 268 | }; |
Joe Hershberger | a892192 | 2015-03-22 17:09:23 -0500 | [diff] [blame] | 269 | |
Thomas Chou | 7b059dc | 2015-10-30 15:35:52 +0800 | [diff] [blame] | 270 | timer { |
| 271 | compatible = "sandbox,timer"; |
Bin Meng | d041c42 | 2015-11-13 00:11:17 -0800 | [diff] [blame] | 272 | clock-frequency = <1000000>; |
Thomas Chou | 7b059dc | 2015-10-30 15:35:52 +0800 | [diff] [blame] | 273 | }; |
| 274 | |
Simon Glass | a425f76 | 2015-08-22 18:31:35 -0600 | [diff] [blame] | 275 | tpm { |
Simon Glass | e550155 | 2018-11-06 15:21:27 -0700 | [diff] [blame] | 276 | u-boot,dm-pre-reloc; |
Simon Glass | a425f76 | 2015-08-22 18:31:35 -0600 | [diff] [blame] | 277 | compatible = "google,sandbox-tpm"; |
| 278 | }; |
| 279 | |
Miquel Raynal | 80938c1 | 2018-05-15 11:57:27 +0200 | [diff] [blame] | 280 | tpm2 { |
| 281 | compatible = "sandbox,tpm2"; |
| 282 | }; |
| 283 | |
Simon Glass | 45ab008 | 2015-05-22 15:42:16 -0600 | [diff] [blame] | 284 | triangle { |
| 285 | compatible = "demo-shape"; |
| 286 | colour = "cyan"; |
| 287 | sides = <3>; |
| 288 | character = <83>; |
| 289 | light-gpios = <&gpio_a 2>, <&gpio_b 6 0>; |
| 290 | }; |
| 291 | |
| 292 | /* Needs to be available prior to relocation */ |
| 293 | uart0: serial { |
Simon Glass | e550155 | 2018-11-06 15:21:27 -0700 | [diff] [blame] | 294 | u-boot,dm-spl; |
Simon Glass | 45ab008 | 2015-05-22 15:42:16 -0600 | [diff] [blame] | 295 | compatible = "sandbox,serial"; |
| 296 | sandbox,text-colour = "cyan"; |
Masahiro Yamada | 0b53a75 | 2015-08-27 12:44:30 +0900 | [diff] [blame] | 297 | pinctrl-names = "default"; |
| 298 | pinctrl-0 = <&pinctrl_serial0>; |
Joe Hershberger | a892192 | 2015-03-22 17:09:23 -0500 | [diff] [blame] | 299 | }; |
Simon Glass | ce3ca2e | 2015-03-25 12:22:42 -0600 | [diff] [blame] | 300 | |
| 301 | usb@0 { |
| 302 | compatible = "sandbox,usb"; |
| 303 | status = "disabled"; |
| 304 | hub { |
| 305 | compatible = "sandbox,usb-hub"; |
| 306 | #address-cells = <1>; |
| 307 | #size-cells = <0>; |
| 308 | flash-stick { |
| 309 | reg = <0>; |
| 310 | compatible = "sandbox,usb-flash"; |
| 311 | }; |
| 312 | }; |
| 313 | }; |
| 314 | |
| 315 | usb@1 { |
| 316 | compatible = "sandbox,usb"; |
| 317 | hub { |
| 318 | compatible = "usb-hub"; |
| 319 | usb,device-class = <USB_CLASS_HUB>; |
| 320 | hub-emul { |
| 321 | compatible = "sandbox,usb-hub"; |
| 322 | #address-cells = <1>; |
| 323 | #size-cells = <0>; |
| 324 | flash-stick { |
| 325 | reg = <0>; |
| 326 | compatible = "sandbox,usb-flash"; |
| 327 | sandbox,filepath = "flash.bin"; |
| 328 | }; |
| 329 | }; |
| 330 | }; |
| 331 | }; |
| 332 | |
| 333 | usb@2 { |
| 334 | compatible = "sandbox,usb"; |
| 335 | status = "disabled"; |
| 336 | }; |
| 337 | |
Mateusz Kulikowski | c7e4fbb | 2016-03-31 23:12:28 +0200 | [diff] [blame] | 338 | spmi: spmi@0 { |
| 339 | compatible = "sandbox,spmi"; |
| 340 | #address-cells = <0x1>; |
| 341 | #size-cells = <0x1>; |
| 342 | pm8916@0 { |
| 343 | compatible = "qcom,spmi-pmic"; |
| 344 | reg = <0x0 0x1>; |
| 345 | #address-cells = <0x1>; |
| 346 | #size-cells = <0x1>; |
| 347 | |
| 348 | spmi_gpios: gpios@c000 { |
| 349 | compatible = "qcom,pm8916-gpio"; |
| 350 | reg = <0xc000 0x400>; |
| 351 | gpio-controller; |
| 352 | gpio-count = <4>; |
| 353 | #gpio-cells = <2>; |
| 354 | gpio-bank-name="spmi"; |
| 355 | }; |
| 356 | }; |
| 357 | }; |
Mario Six | 9592215 | 2018-08-09 14:51:19 +0200 | [diff] [blame] | 358 | |
| 359 | axi: axi@0 { |
| 360 | compatible = "sandbox,axi"; |
| 361 | #address-cells = <0x1>; |
| 362 | #size-cells = <0x1>; |
| 363 | store@0 { |
| 364 | compatible = "sandbox,sandbox_store"; |
| 365 | reg = <0x0 0x400>; |
| 366 | }; |
| 367 | }; |
Eugen Hristev | fc50a80 | 2018-09-18 10:35:35 +0300 | [diff] [blame] | 368 | |
| 369 | onewire0: onewire { |
| 370 | compatible = "w1-gpio"; |
| 371 | gpios = <&gpio_a 8>; |
| 372 | pinctrl-names = "default"; |
| 373 | pinctrl-0 = <&pinctrl_onewire0>; |
| 374 | status = "okay"; |
| 375 | |
| 376 | sandbox_eeprom0: sandbox_eeprom@0 { |
| 377 | compatible = "sandbox,w1-eeprom"; |
| 378 | status = "okay"; |
| 379 | }; |
| 380 | }; |
Jens Wiklander | 86afaa6 | 2018-09-25 16:40:16 +0200 | [diff] [blame] | 381 | |
| 382 | sandbox_tee { |
| 383 | compatible = "sandbox,tee"; |
| 384 | }; |
Simon Glass | 66c164b | 2014-02-26 15:59:14 -0700 | [diff] [blame] | 385 | }; |
Simon Glass | 73f220c | 2015-03-26 09:29:39 -0600 | [diff] [blame] | 386 | |
| 387 | #include "cros-ec-keyboard.dtsi" |
Przemyslaw Marczak | 77bee05 | 2015-05-13 13:38:35 +0200 | [diff] [blame] | 388 | #include "sandbox_pmic.dtsi" |
Simon Glass | e550155 | 2018-11-06 15:21:27 -0700 | [diff] [blame] | 389 | |
| 390 | &cros_ec { |
| 391 | u-boot,dm-pre-reloc; |
| 392 | keyboard-controller { |
| 393 | u-boot,dm-pre-reloc; |
| 394 | }; |
| 395 | }; |