2018-02-12 07:05:57 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2019-05-18 17:59:48 +00:00
|
|
|
#include <config.h>
|
|
|
|
|
2018-02-12 07:05:57 +00:00
|
|
|
/ {
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
model = "sandbox";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
i2c0 = &i2c_0;
|
|
|
|
pci0 = &pci;
|
|
|
|
rtc0 = &rtc_0;
|
2019-05-18 17:59:40 +00:00
|
|
|
axi0 = &axi;
|
2019-05-18 17:59:42 +00:00
|
|
|
spi0 = &spi;
|
2018-02-12 07:05:57 +00:00
|
|
|
};
|
|
|
|
|
2019-05-18 17:59:48 +00:00
|
|
|
memory {
|
|
|
|
reg = /bits/ 64 <0 CONFIG_SYS_SDRAM_SIZE>;
|
|
|
|
};
|
|
|
|
|
2018-10-01 18:22:08 +00:00
|
|
|
cros_ec: cros-ec {
|
2018-02-12 07:05:57 +00:00
|
|
|
reg = <0 0 0 0>;
|
2019-05-18 17:59:40 +00:00
|
|
|
u-boot,dm-pre-reloc;
|
2018-02-12 07:05:57 +00:00
|
|
|
compatible = "google,cros-ec-sandbox";
|
|
|
|
};
|
|
|
|
|
2018-07-02 19:47:54 +00:00
|
|
|
ethrawbus {
|
|
|
|
compatible = "sandbox,eth-raw-bus";
|
|
|
|
skip-localhost = <1>;
|
|
|
|
};
|
|
|
|
|
2018-02-12 07:05:57 +00:00
|
|
|
eth@10002000 {
|
|
|
|
compatible = "sandbox,eth";
|
|
|
|
reg = <0x0 0x10002000 0x0 0x1000>;
|
|
|
|
fake-host-hwaddr = [00 00 66 44 22 00];
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c_0: i2c@0 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0 0 0 0>;
|
|
|
|
compatible = "sandbox,i2c";
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_i2c0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pci: pci-controller {
|
|
|
|
compatible = "sandbox,pci";
|
|
|
|
device_type = "pci";
|
|
|
|
#address-cells = <3>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
ranges = <0x02000000 0 0x10000000 0 0x10000000 0 0x2000
|
|
|
|
0x01000000 0 0x20000000 0 0x20000000 0 0x2000>;
|
2019-05-18 17:59:40 +00:00
|
|
|
};
|
|
|
|
|
2019-05-18 17:59:42 +00:00
|
|
|
spi: spi@0 {
|
2019-05-18 17:59:40 +00:00
|
|
|
u-boot,dm-pre-reloc;
|
2018-02-12 07:05:57 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0 0 0 0>;
|
|
|
|
compatible = "sandbox,spi";
|
|
|
|
cs-gpios = <0>, <&gpio_a 0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2019-05-18 17:59:41 +00:00
|
|
|
#include "sandbox.dtsi"
|
2018-02-12 07:05:57 +00:00
|
|
|
#include "cros-ec-keyboard.dtsi"
|
|
|
|
#include "sandbox_pmic.dtsi"
|