aboutsummaryrefslogtreecommitdiff
path: root/arch/sandbox/dts/sandbox64.dts
blob: 5c95cee9d7a9fc5c79a269130525b430f795b029 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/dts-v1/;

#include <config.h>

/ {
	#address-cells = <2>;
	#size-cells = <2>;
	model = "sandbox";
	compatible = "sandbox";

	aliases {
		i2c0 = &i2c_0;
		pci0 = &pci;
		rtc0 = &rtc_0;
		axi0 = &axi;
		spi0 = &spi;
	};

	memory {
		reg = /bits/ 64 <0 CONFIG_SYS_SDRAM_SIZE>;
	};

	cros_ec: cros-ec {
		reg = <0 0 0 0>;
		u-boot,dm-pre-reloc;
		compatible = "google,cros-ec-sandbox";
	};

	ethrawbus {
		compatible = "sandbox,eth-raw-bus";
		skip-localhost = <1>;
	};

	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>;
	};

	spi: spi@0 {
		u-boot,dm-pre-reloc;
		#address-cells = <1>;
		#size-cells = <0>;
		reg = <0 0 0 0>;
		compatible = "sandbox,spi";
		cs-gpios = <0>, <&gpio_a 0>;
	};

};

#include "sandbox.dtsi"
#include "cros-ec-keyboard.dtsi"
#include "sandbox_pmic.dtsi"