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