blob: c0bdba94a7310174a4ed8efd0ec6a774c76d5f38 [file] [log] [blame]
Simon Glass66c164b2014-02-26 15:59:14 -07001/dts-v1/;
2
3/ {
Simon Glassfd91fc92014-10-13 23:41:48 -06004 #address-cells = <1>;
Simon Glassf905be82015-03-05 12:25:13 -07005 #size-cells = <1>;
Simon Glass00c34d5b2017-06-15 21:37:53 -06006 model = "sandbox";
Simon Glassfd91fc92014-10-13 23:41:48 -06007
Simon Glass70778bc2015-03-05 12:25:26 -07008 aliases {
Simon Glass72138b92015-04-20 12:37:28 -06009 i2c0 = &i2c_0;
Simon Glass70778bc2015-03-05 12:25:26 -070010 pci0 = &pci;
Simon Glass72138b92015-04-20 12:37:28 -060011 rtc0 = &rtc_0;
Mario Six95922152018-08-09 14:51:19 +020012 axi0 = &axi;
Simon Glass70778bc2015-03-05 12:25:26 -070013 };
14
Simon Glass699c9ca2018-10-01 12:22:08 -060015 cros_ec: cros-ec {
Simon Glass73f220c2015-03-26 09:29:39 -060016 reg = <0 0>;
Simon Glasse5501552018-11-06 15:21:27 -070017 u-boot,dm-pre-reloc;
Simon Glass73f220c2015-03-26 09:29:39 -060018 compatible = "google,cros-ec-sandbox";
Simon Glass1f6acb52014-02-27 13:25:59 -070019 };
20
Joe Hershberger89590c82018-07-02 14:47:54 -050021 ethrawbus {
22 compatible = "sandbox,eth-raw-bus";
23 skip-localhost = <0>;
24 };
25
Simon Glass45ab0082015-05-22 15:42:16 -060026 eth@10002000 {
27 compatible = "sandbox,eth";
28 reg = <0x10002000 0x1000>;
29 fake-host-hwaddr = [00 00 66 44 22 00];
30 };
31
Simon Glass72138b92015-04-20 12:37:28 -060032 i2c_0: i2c@0 {
Simon Glass4f46a592014-12-10 08:55:53 -070033 #address-cells = <1>;
34 #size-cells = <0>;
Simon Glassf905be82015-03-05 12:25:13 -070035 reg = <0 0>;
Simon Glass4f46a592014-12-10 08:55:53 -070036 compatible = "sandbox,i2c";
37 clock-frequency = <400000>;
Masahiro Yamada0b53a752015-08-27 12:44:30 +090038 pinctrl-names = "default";
39 pinctrl-0 = <&pinctrl_i2c0>;
Simon Glassfefc7ba2017-04-10 11:34:51 -060040 };
41
Simon Glass70778bc2015-03-05 12:25:26 -070042 pci: pci-controller {
43 compatible = "sandbox,pci";
44 device_type = "pci";
45 #address-cells = <3>;
46 #size-cells = <2>;
47 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
48 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
Simon Glass70778bc2015-03-05 12:25:26 -070049 };
50
Simon Glass45ab0082015-05-22 15:42:16 -060051 spi@0 {
Simon Glasse5501552018-11-06 15:21:27 -070052 u-boot,dm-pre-reloc;
Simon Glass45ab0082015-05-22 15:42:16 -060053 #address-cells = <1>;
54 #size-cells = <0>;
55 reg = <0 0>;
56 compatible = "sandbox,spi";
57 cs-gpios = <0>, <&gpio_a 0>;
Joe Hershberger6ab76992015-03-22 17:09:13 -050058 };
Joe Hershberger586cbd12015-03-22 17:09:21 -050059
Simon Glass66c164b2014-02-26 15:59:14 -070060};
Simon Glass73f220c2015-03-26 09:29:39 -060061
Simon Glass28db4692019-05-18 11:59:41 -060062#include "sandbox.dtsi"
Simon Glass73f220c2015-03-26 09:29:39 -060063#include "cros-ec-keyboard.dtsi"
Przemyslaw Marczak77bee052015-05-13 13:38:35 +020064#include "sandbox_pmic.dtsi"