blob: e2f9469de32295fccb5ef632ef4c41935396bbbf [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Andy Shevchenko495f3772017-07-06 14:41:53 +03002/*
3 * Copyright (c) 2017 Intel Corporation
Andy Shevchenko495f3772017-07-06 14:41:53 +03004 */
5
6/dts-v1/;
7
8#include <dt-bindings/gpio/x86-gpio.h>
9#include <dt-bindings/interrupt-router/intel-irq.h>
10
11/include/ "skeleton.dtsi"
12/include/ "rtc.dtsi"
13/include/ "tsc_timer.dtsi"
14
15/ {
16 model = "Intel Edison";
17 compatible = "intel,edison";
18
19 aliases {
Andy Shevchenkod9b59fc2019-02-28 10:10:07 +020020 serial0 = &serial0;
21 serial1 = &serial1;
Andy Shevchenkoab83e5c2019-02-28 10:10:06 +020022 serial2 = &serial2;
Andy Shevchenko495f3772017-07-06 14:41:53 +030023 };
24
Simon Glass2e3b8832020-09-06 10:35:34 -060025 binman: binman {
26 multiple-images;
27 };
28
Andy Shevchenko495f3772017-07-06 14:41:53 +030029 chosen {
Andy Shevchenkoab83e5c2019-02-28 10:10:06 +020030 stdout-path = &serial2;
Andy Shevchenko495f3772017-07-06 14:41:53 +030031 };
32
33 cpus {
34 #address-cells = <1>;
35 #size-cells = <0>;
36
37 cpu@0 {
38 device_type = "cpu";
39 compatible = "cpu-x86";
40 reg = <0>;
41 intel,apic-id = <0>;
42 };
43
44 cpu@1 {
45 device_type = "cpu";
46 compatible = "cpu-x86";
47 reg = <1>;
48 intel,apic-id = <2>;
49 };
50 };
51
52 pci {
53 compatible = "pci-x86";
54 #address-cells = <3>;
55 #size-cells = <2>;
56 u-boot,dm-pre-reloc;
57 ranges = <0x02000000 0x0 0x80000000 0x80000000 0 0x40000000
58 0x42000000 0x0 0xc0000000 0xc0000000 0 0x20000000
59 0x01000000 0x0 0x2000 0x2000 0 0xe000>;
60 };
61
Andy Shevchenkod9b59fc2019-02-28 10:10:07 +020062 serial0: serial@ff010080 {
63 compatible = "intel,mid-uart";
64 reg = <0xff010080 0x100>;
65 reg-shift = <0>;
66 clock-frequency = <29491200>;
67 current-speed = <115200>;
68 };
69
70 serial1: serial@ff010100 {
71 compatible = "intel,mid-uart";
72 reg = <0xff010100 0x100>;
73 reg-shift = <0>;
74 clock-frequency = <29491200>;
75 current-speed = <115200>;
76 };
77
Andy Shevchenkoab83e5c2019-02-28 10:10:06 +020078 serial2: serial@ff010180 {
Andy Shevchenko495f3772017-07-06 14:41:53 +030079 compatible = "intel,mid-uart";
80 reg = <0xff010180 0x100>;
81 reg-shift = <0>;
82 clock-frequency = <29491200>;
83 current-speed = <115200>;
84 };
85
86 emmc: mmc@ff3fc000 {
87 compatible = "intel,sdhci-tangier";
88 reg = <0xff3fc000 0x1000>;
89 };
90
Andy Shevchenko495f3772017-07-06 14:41:53 +030091 sdcard: mmc@ff3fa000 {
92 compatible = "intel,sdhci-tangier";
93 reg = <0xff3fa000 0x1000>;
94 };
Andy Shevchenko495f3772017-07-06 14:41:53 +030095
96 pmu: power@ff00b000 {
97 compatible = "intel,pmu-mid";
98 reg = <0xff00b000 0x1000>;
99 };
100
101 scu: ipc@ff009000 {
102 compatible = "intel,scu-ipc";
103 reg = <0xff009000 0x1000>;
104 };
Bin Mengb37b7b22018-07-19 03:07:33 -0700105
Andy Shevchenkoc974a3d2019-06-21 13:28:08 +0300106 watchdog: wdt@0 {
107 compatible = "intel,tangier-wdt";
108 };
109
Bin Mengb37b7b22018-07-19 03:07:33 -0700110 reset {
111 compatible = "intel,reset-tangier";
112 u-boot,dm-pre-reloc;
113 };
Georgii Staroselskiif26b2602018-09-11 13:31:08 +0300114
115 pinctrl {
116 compatible = "intel,pinctrl-tangier";
117 reg = <0xff0c0000 0x8000>;
118
119 /*
120 * Initial configuration came from the firmware.
121 * Which quite likely has been used in the phones, where I2C #8,
122 * that is not part of Atom peripheral, is in use.
123 * Thus we need to override the leftover.
124 */
125 i2c6_scl@0 {
126 pad-offset = <111>;
127 mode-func = <1>;
128 protected;
129 };
130 i2c6_sda@0 {
131 pad-offset = <112>;
132 mode-func = <1>;
133 protected;
134 };
135 };
Andy Shevchenko495f3772017-07-06 14:41:53 +0300136};
Simon Glass2e3b8832020-09-06 10:35:34 -0600137
138&binman {
139 u-boot-edison {
140 filename = "u-boot-edison.img";
141
142 /* This is the OSIP */
143 blob {
144 filename = "edison-osip.dat";
145 };
146
147 u-boot {
148 offset = <0x200>;
149 };
150
151 u-boot-env {
152 offset = <0x200200>;
153 filename = "edison-environment.txt";
154 size = <0x10000>;
155 fill-byte = [ff];
156 };
157
158 u-boot-env2 {
159 type = "u-boot-env";
160 offset = <0x500200>;
161 filename = "edison-environment.txt";
162 size = <0x10000>;
163 fill-byte = [ff];
164 };
165 };
166};