• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/dts-v1/;
2
3#include <config.h>
4
5/ {
6	#address-cells = <1>;
7	#size-cells = <1>;
8	model = "sandbox";
9
10	aliases {
11		i2c0 = &i2c_0;
12		pci0 = &pci;
13		rtc0 = &rtc_0;
14		axi0 = &axi;
15		spi0 = &spi;
16	};
17
18	memory {
19		reg = <0 CONFIG_SYS_SDRAM_SIZE>;
20	};
21
22	cros_ec: cros-ec {
23		reg = <0 0>;
24		u-boot,dm-pre-reloc;
25		compatible = "google,cros-ec-sandbox";
26	};
27
28	dsi_host: dsi_host {
29		compatible = "sandbox,dsi-host";
30		status = "okay";
31	};
32
33	ethrawbus {
34		compatible = "sandbox,eth-raw-bus";
35		skip-localhost = <0>;
36	};
37
38	eth@10002000 {
39		compatible = "sandbox,eth";
40		reg = <0x10002000 0x1000>;
41		fake-host-hwaddr = [00 00 66 44 22 00];
42	};
43
44	i2c_0: i2c@0 {
45		#address-cells = <1>;
46		#size-cells = <0>;
47		reg = <0 0>;
48		compatible = "sandbox,i2c";
49		clock-frequency = <400000>;
50		pinctrl-names = "default";
51		pinctrl-0 = <&pinctrl_i2c0>;
52	};
53
54	pci: pci-controller {
55		compatible = "sandbox,pci";
56		device_type = "pci";
57		#address-cells = <3>;
58		#size-cells = <2>;
59		ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
60				0x01000000 0 0x20000000 0x20000000 0 0x2000>;
61	};
62
63	spi: spi@0 {
64		u-boot,dm-pre-reloc;
65		#address-cells = <1>;
66		#size-cells = <0>;
67		reg = <0 0>;
68		compatible = "sandbox,spi";
69		cs-gpios = <0>, <&gpio_a 0>;
70	};
71};
72
73#include "sandbox.dtsi"
74#include "cros-ec-keyboard.dtsi"
75#include "sandbox_pmic.dtsi"
76