Merge tag 'u-boot-atmel-2021.04-a' of https://gitlab.denx.de/u-boot/custodians/u...
[platform/kernel/u-boot.git] / arch / sandbox / dts / sandbox.dts
1 /dts-v1/;
2
3 #include <config.h>
4
5 / {
6         #address-cells = <1>;
7         #size-cells = <1>;
8         model = "sandbox";
9         compatible = "sandbox";
10
11         aliases {
12                 i2c0 = &i2c_0;
13                 pci0 = &pcic;
14                 rtc0 = &rtc_0;
15                 axi0 = &axi;
16                 spi0 = &spi;
17         };
18
19         memory {
20                 reg = <0 CONFIG_SYS_SDRAM_SIZE>;
21         };
22
23         reserved-memory {
24                 #address-cells = <1>;
25                 #size-cells = <1>;
26                 ranges;
27
28                 reservation_test0 {
29                         size = <0x4000>;
30                         alignment = <0x2000>;
31                 };
32
33                 reservation_test1: restest@a000 {
34                         reg = <0x00d0a000 0x2000>;
35                 };
36
37                 reservation_test2: restest@7000 {
38                         reg = <0x00d07000 0x1000>;
39                 };
40         };
41
42         cros_ec: cros-ec {
43                 reg = <0 0>;
44                 u-boot,dm-pre-proper;
45                 compatible = "google,cros-ec-sandbox";
46         };
47
48         dsi_host: dsi_host {
49                 compatible = "sandbox,dsi-host";
50                 status = "okay";
51         };
52
53         ethrawbus {
54                 compatible = "sandbox,eth-raw-bus";
55                 skip-localhost = <0>;
56         };
57
58         eth@10002000 {
59                 compatible = "sandbox,eth";
60                 reg = <0x10002000 0x1000>;
61                 fake-host-hwaddr = [00 00 66 44 22 00];
62         };
63
64         i2c_0: i2c@0 {
65                 #address-cells = <1>;
66                 #size-cells = <0>;
67                 reg = <0 0>;
68                 compatible = "sandbox,i2c";
69                 clock-frequency = <400000>;
70                 pinctrl-names = "default";
71                 pinctrl-0 = <&pinctrl_i2c0>;
72                 u-boot,dm-pre-reloc;
73         };
74
75         pcic: pci@0 {
76                 compatible = "sandbox,pci";
77                 device_type = "pci";
78                 bus-range = <0x00 0xff>;
79                 #address-cells = <3>;
80                 #size-cells = <2>;
81                 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
82                                 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
83         };
84
85         spi: spi@0 {
86                 u-boot,dm-pre-proper;
87                 #address-cells = <1>;
88                 #size-cells = <0>;
89                 reg = <0 0>;
90                 compatible = "sandbox,spi";
91                 cs-gpios = <0>, <&gpio_a 0>;
92         };
93 };
94
95 #include "sandbox.dtsi"
96 #include "cros-ec-keyboard.dtsi"
97 #include "sandbox_pmic.dtsi"