]> git.ipfire.org Git - thirdparty/u-boot.git/blob - arch/sandbox/dts/sandbox.dts
bootstd: sandbox: Add a hostfs bootdev
[thirdparty/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 host-fs {
70 compatible = "sandbox,bootdev-host";
71 };
72
73 i2c_0: i2c@0 {
74 #address-cells = <1>;
75 #size-cells = <0>;
76 reg = <0 0>;
77 compatible = "sandbox,i2c";
78 clock-frequency = <400000>;
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_i2c0>;
81 u-boot,dm-pre-reloc;
82 };
83
84 pcic: pci@0 {
85 compatible = "sandbox,pci";
86 device_type = "pci";
87 bus-range = <0x00 0xff>;
88 #address-cells = <3>;
89 #size-cells = <2>;
90 ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
91 0x01000000 0 0x20000000 0x20000000 0 0x2000>;
92 };
93
94 spi: spi@0 {
95 u-boot,dm-pre-proper;
96 #address-cells = <1>;
97 #size-cells = <0>;
98 reg = <0 0>;
99 compatible = "sandbox,spi";
100 cs-gpios = <0>, <&gpio_a 0>;
101 };
102 };
103
104 #include "sandbox.dtsi"
105 #include "cros-ec-keyboard.dtsi"
106 #include "sandbox_pmic.dtsi"