Mario Six | c6b89f3 | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Simon Glass | e676f43 | 2019-05-18 11:59:48 -0600 | [diff] [blame] | 3 | #include <config.h> |
| 4 | |
Mario Six | c6b89f3 | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 5 | / { |
| 6 | #address-cells = <2>; |
| 7 | #size-cells = <2>; |
| 8 | model = "sandbox"; |
| 9 | |
| 10 | aliases { |
Mario Six | c6b89f3 | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 11 | i2c0 = &i2c_0; |
| 12 | pci0 = &pci; |
| 13 | rtc0 = &rtc_0; |
Simon Glass | e8726da | 2019-05-18 11:59:40 -0600 | [diff] [blame] | 14 | axi0 = &axi; |
Simon Glass | 87dac6b | 2019-05-18 11:59:42 -0600 | [diff] [blame] | 15 | spi0 = &spi; |
Mario Six | c6b89f3 | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 16 | }; |
| 17 | |
Simon Glass | e676f43 | 2019-05-18 11:59:48 -0600 | [diff] [blame] | 18 | memory { |
| 19 | reg = /bits/ 64 <0 CONFIG_SYS_SDRAM_SIZE>; |
| 20 | }; |
| 21 | |
Simon Glass | e6c5c94 | 2018-10-01 12:22:08 -0600 | [diff] [blame] | 22 | cros_ec: cros-ec { |
Mario Six | c6b89f3 | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 23 | reg = <0 0 0 0>; |
Simon Glass | e8726da | 2019-05-18 11:59:40 -0600 | [diff] [blame] | 24 | u-boot,dm-pre-reloc; |
Mario Six | c6b89f3 | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 25 | compatible = "google,cros-ec-sandbox"; |
Mario Six | c6b89f3 | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 26 | }; |
| 27 | |
Joe Hershberger | f40a31e | 2018-07-02 14:47:54 -0500 | [diff] [blame] | 28 | ethrawbus { |
| 29 | compatible = "sandbox,eth-raw-bus"; |
| 30 | skip-localhost = <1>; |
| 31 | }; |
| 32 | |
Mario Six | c6b89f3 | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 33 | eth@10002000 { |
| 34 | compatible = "sandbox,eth"; |
| 35 | reg = <0x0 0x10002000 0x0 0x1000>; |
| 36 | fake-host-hwaddr = [00 00 66 44 22 00]; |
| 37 | }; |
| 38 | |
Mario Six | c6b89f3 | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 39 | i2c_0: i2c@0 { |
| 40 | #address-cells = <1>; |
| 41 | #size-cells = <0>; |
| 42 | reg = <0 0 0 0>; |
| 43 | compatible = "sandbox,i2c"; |
| 44 | clock-frequency = <400000>; |
| 45 | pinctrl-names = "default"; |
| 46 | pinctrl-0 = <&pinctrl_i2c0>; |
Mario Six | c6b89f3 | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 47 | }; |
| 48 | |
| 49 | pci: pci-controller { |
| 50 | compatible = "sandbox,pci"; |
| 51 | device_type = "pci"; |
| 52 | #address-cells = <3>; |
| 53 | #size-cells = <2>; |
| 54 | ranges = <0x02000000 0 0x10000000 0 0x10000000 0 0x2000 |
| 55 | 0x01000000 0 0x20000000 0 0x20000000 0 0x2000>; |
Simon Glass | e8726da | 2019-05-18 11:59:40 -0600 | [diff] [blame] | 56 | }; |
| 57 | |
Simon Glass | 87dac6b | 2019-05-18 11:59:42 -0600 | [diff] [blame] | 58 | spi: spi@0 { |
Simon Glass | e8726da | 2019-05-18 11:59:40 -0600 | [diff] [blame] | 59 | u-boot,dm-pre-reloc; |
Mario Six | c6b89f3 | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 60 | #address-cells = <1>; |
| 61 | #size-cells = <0>; |
| 62 | reg = <0 0 0 0>; |
| 63 | compatible = "sandbox,spi"; |
| 64 | cs-gpios = <0>, <&gpio_a 0>; |
Mario Six | c6b89f3 | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 65 | }; |
| 66 | |
Mario Six | c6b89f3 | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 67 | }; |
| 68 | |
Simon Glass | dc8c91a | 2019-05-18 11:59:41 -0600 | [diff] [blame] | 69 | #include "sandbox.dtsi" |
Mario Six | c6b89f3 | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 70 | #include "cros-ec-keyboard.dtsi" |
| 71 | #include "sandbox_pmic.dtsi" |