blob: df24aa0d26aa5c65959dc052bda45569a29b2cef [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Andy Shevchenkod31315d2017-07-06 14:41:53 +03002/*
3 * Copyright (c) 2017 Intel Corporation
Andy Shevchenkod31315d2017-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 Shevchenko9b9ca5b2019-02-28 10:10:07 +020020 serial0 = &serial0;
21 serial1 = &serial1;
Andy Shevchenko8e9ce292019-02-28 10:10:06 +020022 serial2 = &serial2;
Andy Shevchenkod31315d2017-07-06 14:41:53 +030023 };
24
25 chosen {
Andy Shevchenko8e9ce292019-02-28 10:10:06 +020026 stdout-path = &serial2;
Andy Shevchenkod31315d2017-07-06 14:41:53 +030027 };
28
29 cpus {
30 #address-cells = <1>;
31 #size-cells = <0>;
32
33 cpu@0 {
34 device_type = "cpu";
35 compatible = "cpu-x86";
36 reg = <0>;
37 intel,apic-id = <0>;
38 };
39
40 cpu@1 {
41 device_type = "cpu";
42 compatible = "cpu-x86";
43 reg = <1>;
44 intel,apic-id = <2>;
45 };
46 };
47
48 pci {
49 compatible = "pci-x86";
50 #address-cells = <3>;
51 #size-cells = <2>;
52 u-boot,dm-pre-reloc;
53 ranges = <0x02000000 0x0 0x80000000 0x80000000 0 0x40000000
54 0x42000000 0x0 0xc0000000 0xc0000000 0 0x20000000
55 0x01000000 0x0 0x2000 0x2000 0 0xe000>;
56 };
57
Andy Shevchenko9b9ca5b2019-02-28 10:10:07 +020058 serial0: serial@ff010080 {
59 compatible = "intel,mid-uart";
60 reg = <0xff010080 0x100>;
61 reg-shift = <0>;
62 clock-frequency = <29491200>;
63 current-speed = <115200>;
64 };
65
66 serial1: serial@ff010100 {
67 compatible = "intel,mid-uart";
68 reg = <0xff010100 0x100>;
69 reg-shift = <0>;
70 clock-frequency = <29491200>;
71 current-speed = <115200>;
72 };
73
Andy Shevchenko8e9ce292019-02-28 10:10:06 +020074 serial2: serial@ff010180 {
Andy Shevchenkod31315d2017-07-06 14:41:53 +030075 compatible = "intel,mid-uart";
76 reg = <0xff010180 0x100>;
77 reg-shift = <0>;
78 clock-frequency = <29491200>;
79 current-speed = <115200>;
80 };
81
82 emmc: mmc@ff3fc000 {
83 compatible = "intel,sdhci-tangier";
84 reg = <0xff3fc000 0x1000>;
85 };
86
Andy Shevchenkod31315d2017-07-06 14:41:53 +030087 sdcard: mmc@ff3fa000 {
88 compatible = "intel,sdhci-tangier";
89 reg = <0xff3fa000 0x1000>;
90 };
Andy Shevchenkod31315d2017-07-06 14:41:53 +030091
92 pmu: power@ff00b000 {
93 compatible = "intel,pmu-mid";
94 reg = <0xff00b000 0x1000>;
95 };
96
97 scu: ipc@ff009000 {
98 compatible = "intel,scu-ipc";
99 reg = <0xff009000 0x1000>;
100 };
Bin Mengaf5b8d22018-07-19 03:07:33 -0700101
Andy Shevchenkod13a8a32019-06-21 13:28:08 +0300102 watchdog: wdt@0 {
103 compatible = "intel,tangier-wdt";
104 };
105
Bin Mengaf5b8d22018-07-19 03:07:33 -0700106 reset {
107 compatible = "intel,reset-tangier";
108 u-boot,dm-pre-reloc;
109 };
Georgii Staroselskiid9c72772018-09-11 13:31:08 +0300110
111 pinctrl {
112 compatible = "intel,pinctrl-tangier";
113 reg = <0xff0c0000 0x8000>;
114
115 /*
116 * Initial configuration came from the firmware.
117 * Which quite likely has been used in the phones, where I2C #8,
118 * that is not part of Atom peripheral, is in use.
119 * Thus we need to override the leftover.
120 */
121 i2c6_scl@0 {
122 pad-offset = <111>;
123 mode-func = <1>;
124 protected;
125 };
126 i2c6_sda@0 {
127 pad-offset = <112>;
128 mode-func = <1>;
129 protected;
130 };
131 };
Andy Shevchenkod31315d2017-07-06 14:41:53 +0300132};