2021-08-19 03:40:25 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/*
|
|
|
|
* Main sandbox devicetree
|
|
|
|
*/
|
|
|
|
|
2014-02-26 22:59:14 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2019-05-18 17:59:48 +00:00
|
|
|
#include <config.h>
|
|
|
|
|
2014-02-26 22:59:14 +00:00
|
|
|
/ {
|
2014-10-14 05:41:48 +00:00
|
|
|
#address-cells = <1>;
|
2015-03-05 19:25:13 +00:00
|
|
|
#size-cells = <1>;
|
2017-06-16 03:37:53 +00:00
|
|
|
model = "sandbox";
|
2019-11-09 08:39:01 +00:00
|
|
|
compatible = "sandbox";
|
2014-10-14 05:41:48 +00:00
|
|
|
|
2015-03-05 19:25:26 +00:00
|
|
|
aliases {
|
2015-04-20 18:37:28 +00:00
|
|
|
i2c0 = &i2c_0;
|
2020-02-11 17:41:23 +00:00
|
|
|
pci0 = &pcic;
|
2015-04-20 18:37:28 +00:00
|
|
|
rtc0 = &rtc_0;
|
2018-08-09 12:51:19 +00:00
|
|
|
axi0 = &axi;
|
2019-05-18 17:59:42 +00:00
|
|
|
spi0 = &spi;
|
2015-03-05 19:25:26 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 00:23:15 +00:00
|
|
|
binman: binman {
|
|
|
|
};
|
|
|
|
|
2019-05-18 17:59:48 +00:00
|
|
|
memory {
|
|
|
|
reg = <0 CONFIG_SYS_SDRAM_SIZE>;
|
|
|
|
};
|
|
|
|
|
2020-03-14 11:13:39 +00:00
|
|
|
reserved-memory {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
reservation_test0 {
|
|
|
|
size = <0x4000>;
|
|
|
|
alignment = <0x2000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
reservation_test1: restest@a000 {
|
|
|
|
reg = <0x00d0a000 0x2000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
reservation_test2: restest@7000 {
|
|
|
|
reg = <0x00d07000 0x1000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-10-01 18:22:08 +00:00
|
|
|
cros_ec: cros-ec {
|
2015-03-26 15:29:39 +00:00
|
|
|
reg = <0 0>;
|
2020-12-19 17:39:56 +00:00
|
|
|
u-boot,dm-pre-proper;
|
2015-03-26 15:29:39 +00:00
|
|
|
compatible = "google,cros-ec-sandbox";
|
2014-02-27 20:25:59 +00:00
|
|
|
};
|
|
|
|
|
2019-10-07 13:29:05 +00:00
|
|
|
dsi_host: dsi_host {
|
|
|
|
compatible = "sandbox,dsi-host";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-07-02 19:47:54 +00:00
|
|
|
ethrawbus {
|
|
|
|
compatible = "sandbox,eth-raw-bus";
|
|
|
|
skip-localhost = <0>;
|
|
|
|
};
|
|
|
|
|
2015-05-22 21:42:16 +00:00
|
|
|
eth@10002000 {
|
|
|
|
compatible = "sandbox,eth";
|
|
|
|
reg = <0x10002000 0x1000>;
|
|
|
|
};
|
|
|
|
|
2015-04-20 18:37:28 +00:00
|
|
|
i2c_0: i2c@0 {
|
2014-12-10 15:55:53 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2015-03-05 19:25:13 +00:00
|
|
|
reg = <0 0>;
|
2014-12-10 15:55:53 +00:00
|
|
|
compatible = "sandbox,i2c";
|
|
|
|
clock-frequency = <400000>;
|
2015-08-27 03:44:30 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_i2c0>;
|
2020-10-03 17:31:36 +00:00
|
|
|
u-boot,dm-pre-reloc;
|
2017-04-10 17:34:51 +00:00
|
|
|
};
|
|
|
|
|
2020-02-11 17:41:23 +00:00
|
|
|
pcic: pci@0 {
|
2015-03-05 19:25:26 +00:00
|
|
|
compatible = "sandbox,pci";
|
|
|
|
device_type = "pci";
|
2020-02-11 17:41:23 +00:00
|
|
|
bus-range = <0x00 0xff>;
|
2015-03-05 19:25:26 +00:00
|
|
|
#address-cells = <3>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
|
|
|
|
0x01000000 0 0x20000000 0x20000000 0 0x2000>;
|
2018-12-10 17:37:45 +00:00
|
|
|
};
|
|
|
|
|
2019-05-18 17:59:42 +00:00
|
|
|
spi: spi@0 {
|
2020-12-19 17:39:56 +00:00
|
|
|
u-boot,dm-pre-proper;
|
2015-05-22 21:42:16 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0 0>;
|
|
|
|
compatible = "sandbox,spi";
|
|
|
|
cs-gpios = <0>, <&gpio_a 0>;
|
2015-03-22 22:09:13 +00:00
|
|
|
};
|
2014-02-26 22:59:14 +00:00
|
|
|
};
|
2015-03-26 15:29:39 +00:00
|
|
|
|
2019-05-18 17:59:41 +00:00
|
|
|
#include "sandbox.dtsi"
|
2015-03-26 15:29:39 +00:00
|
|
|
#include "cros-ec-keyboard.dtsi"
|
2015-05-13 11:38:35 +00:00
|
|
|
#include "sandbox_pmic.dtsi"
|
2022-10-21 00:23:15 +00:00
|
|
|
|
|
|
|
#ifdef CONFIG_SANDBOX_VPL
|
|
|
|
#include "sandbox_vpl.dtsi"
|
|
|
|
#endif
|