Simon Glass | 714a562 | 2014-02-26 15:59:14 -0700 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Simon Glass | e676f43 | 2019-05-18 11:59:48 -0600 | [diff] [blame] | 3 | #include <config.h> |
| 4 | |
Simon Glass | 714a562 | 2014-02-26 15:59:14 -0700 | [diff] [blame] | 5 | / { |
Simon Glass | 0b304a2 | 2014-10-13 23:41:48 -0600 | [diff] [blame] | 6 | #address-cells = <1>; |
Simon Glass | 20806e7 | 2015-03-05 12:25:13 -0700 | [diff] [blame] | 7 | #size-cells = <1>; |
Simon Glass | d63b5b4 | 2017-06-15 21:37:53 -0600 | [diff] [blame] | 8 | model = "sandbox"; |
Heinrich Schuchardt | 15ab77c | 2019-11-09 09:39:01 +0100 | [diff] [blame] | 9 | compatible = "sandbox"; |
Simon Glass | 0b304a2 | 2014-10-13 23:41:48 -0600 | [diff] [blame] | 10 | |
Simon Glass | 9569c40 | 2015-03-05 12:25:26 -0700 | [diff] [blame] | 11 | aliases { |
Simon Glass | 46af360 | 2015-04-20 12:37:28 -0600 | [diff] [blame] | 12 | i2c0 = &i2c_0; |
Tom Rini | 42c64d1 | 2020-02-11 12:41:23 -0500 | [diff] [blame] | 13 | pci0 = &pcic; |
Simon Glass | 46af360 | 2015-04-20 12:37:28 -0600 | [diff] [blame] | 14 | rtc0 = &rtc_0; |
Mario Six | 957983e | 2018-08-09 14:51:19 +0200 | [diff] [blame] | 15 | axi0 = &axi; |
Simon Glass | 87dac6b | 2019-05-18 11:59:42 -0600 | [diff] [blame] | 16 | spi0 = &spi; |
Simon Glass | 9569c40 | 2015-03-05 12:25:26 -0700 | [diff] [blame] | 17 | }; |
| 18 | |
Simon Glass | e676f43 | 2019-05-18 11:59:48 -0600 | [diff] [blame] | 19 | memory { |
| 20 | reg = <0 CONFIG_SYS_SDRAM_SIZE>; |
| 21 | }; |
| 22 | |
Heinrich Schuchardt | 1ecea74 | 2020-03-14 12:13:39 +0100 | [diff] [blame] | 23 | reserved-memory { |
| 24 | #address-cells = <1>; |
| 25 | #size-cells = <1>; |
| 26 | ranges; |
| 27 | |
| 28 | reservation_test0 { |
| 29 | size = <0x4000>; |
| 30 | alignment = <0x2000>; |
| 31 | }; |
| 32 | |
| 33 | reservation_test1: restest@a000 { |
| 34 | reg = <0x00d0a000 0x2000>; |
| 35 | }; |
| 36 | |
| 37 | reservation_test2: restest@7000 { |
| 38 | reg = <0x00d07000 0x1000>; |
| 39 | }; |
| 40 | }; |
| 41 | |
Simon Glass | e6c5c94 | 2018-10-01 12:22:08 -0600 | [diff] [blame] | 42 | cros_ec: cros-ec { |
Simon Glass | 3fbb787 | 2015-03-26 09:29:39 -0600 | [diff] [blame] | 43 | reg = <0 0>; |
Simon Glass | 370746a | 2020-12-19 10:39:56 -0700 | [diff] [blame] | 44 | u-boot,dm-pre-proper; |
Simon Glass | 3fbb787 | 2015-03-26 09:29:39 -0600 | [diff] [blame] | 45 | compatible = "google,cros-ec-sandbox"; |
Simon Glass | 39741c0 | 2014-02-27 13:25:59 -0700 | [diff] [blame] | 46 | }; |
| 47 | |
Yannick Fertré | 23f965a | 2019-10-07 15:29:05 +0200 | [diff] [blame] | 48 | dsi_host: dsi_host { |
| 49 | compatible = "sandbox,dsi-host"; |
| 50 | status = "okay"; |
| 51 | }; |
| 52 | |
Joe Hershberger | f40a31e | 2018-07-02 14:47:54 -0500 | [diff] [blame] | 53 | ethrawbus { |
| 54 | compatible = "sandbox,eth-raw-bus"; |
| 55 | skip-localhost = <0>; |
| 56 | }; |
| 57 | |
Simon Glass | f4d8457 | 2015-05-22 15:42:16 -0600 | [diff] [blame] | 58 | eth@10002000 { |
| 59 | compatible = "sandbox,eth"; |
| 60 | reg = <0x10002000 0x1000>; |
| 61 | fake-host-hwaddr = [00 00 66 44 22 00]; |
| 62 | }; |
| 63 | |
Simon Glass | 46af360 | 2015-04-20 12:37:28 -0600 | [diff] [blame] | 64 | i2c_0: i2c@0 { |
Simon Glass | 776f96f | 2014-12-10 08:55:53 -0700 | [diff] [blame] | 65 | #address-cells = <1>; |
| 66 | #size-cells = <0>; |
Simon Glass | 20806e7 | 2015-03-05 12:25:13 -0700 | [diff] [blame] | 67 | reg = <0 0>; |
Simon Glass | 776f96f | 2014-12-10 08:55:53 -0700 | [diff] [blame] | 68 | compatible = "sandbox,i2c"; |
| 69 | clock-frequency = <400000>; |
Masahiro Yamada | 9c6a3c6 | 2015-08-27 12:44:30 +0900 | [diff] [blame] | 70 | pinctrl-names = "default"; |
| 71 | pinctrl-0 = <&pinctrl_i2c0>; |
Simon Glass | fbe27a5 | 2020-10-03 11:31:36 -0600 | [diff] [blame] | 72 | u-boot,dm-pre-reloc; |
Simon Glass | a89c3a0 | 2017-04-10 11:34:51 -0600 | [diff] [blame] | 73 | }; |
| 74 | |
Tom Rini | 42c64d1 | 2020-02-11 12:41:23 -0500 | [diff] [blame] | 75 | pcic: pci@0 { |
Simon Glass | 9569c40 | 2015-03-05 12:25:26 -0700 | [diff] [blame] | 76 | compatible = "sandbox,pci"; |
| 77 | device_type = "pci"; |
Tom Rini | 42c64d1 | 2020-02-11 12:41:23 -0500 | [diff] [blame] | 78 | bus-range = <0x00 0xff>; |
Simon Glass | 9569c40 | 2015-03-05 12:25:26 -0700 | [diff] [blame] | 79 | #address-cells = <3>; |
| 80 | #size-cells = <2>; |
| 81 | ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000 |
| 82 | 0x01000000 0 0x20000000 0x20000000 0 0x2000>; |
Simon Glass | 282e29e | 2018-12-10 10:37:45 -0700 | [diff] [blame] | 83 | }; |
| 84 | |
Simon Glass | 87dac6b | 2019-05-18 11:59:42 -0600 | [diff] [blame] | 85 | spi: spi@0 { |
Simon Glass | 370746a | 2020-12-19 10:39:56 -0700 | [diff] [blame] | 86 | u-boot,dm-pre-proper; |
Simon Glass | f4d8457 | 2015-05-22 15:42:16 -0600 | [diff] [blame] | 87 | #address-cells = <1>; |
| 88 | #size-cells = <0>; |
| 89 | reg = <0 0>; |
| 90 | compatible = "sandbox,spi"; |
| 91 | cs-gpios = <0>, <&gpio_a 0>; |
Joe Hershberger | 3ea143a | 2015-03-22 17:09:13 -0500 | [diff] [blame] | 92 | }; |
Simon Glass | 714a562 | 2014-02-26 15:59:14 -0700 | [diff] [blame] | 93 | }; |
Simon Glass | 3fbb787 | 2015-03-26 09:29:39 -0600 | [diff] [blame] | 94 | |
Simon Glass | dc8c91a | 2019-05-18 11:59:41 -0600 | [diff] [blame] | 95 | #include "sandbox.dtsi" |
Simon Glass | 3fbb787 | 2015-03-26 09:29:39 -0600 | [diff] [blame] | 96 | #include "cros-ec-keyboard.dtsi" |
Przemyslaw Marczak | 9038cd5 | 2015-05-13 13:38:35 +0200 | [diff] [blame] | 97 | #include "sandbox_pmic.dtsi" |