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