xref: /openbmc/u-boot/arch/x86/dts/edison.dts (revision 41d7535c)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (c) 2017 Intel Corporation
4 */
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 {
20		serial0 = &serial0;
21	};
22
23	chosen {
24		stdout-path = &serial0;
25	};
26
27	cpus {
28		#address-cells = <1>;
29		#size-cells = <0>;
30
31		cpu@0 {
32			device_type = "cpu";
33			compatible = "cpu-x86";
34			reg = <0>;
35			intel,apic-id = <0>;
36		};
37
38		cpu@1 {
39			device_type = "cpu";
40			compatible = "cpu-x86";
41			reg = <1>;
42			intel,apic-id = <2>;
43		};
44	};
45
46	pci {
47		compatible = "pci-x86";
48		#address-cells = <3>;
49		#size-cells = <2>;
50		u-boot,dm-pre-reloc;
51		ranges = <0x02000000 0x0 0x80000000 0x80000000 0 0x40000000
52			  0x42000000 0x0 0xc0000000 0xc0000000 0 0x20000000
53			  0x01000000 0x0 0x2000 0x2000 0 0xe000>;
54	};
55
56	serial0: serial@ff010180 {
57		compatible = "intel,mid-uart";
58		reg = <0xff010180 0x100>;
59		reg-shift = <0>;
60		clock-frequency = <29491200>;
61		current-speed = <115200>;
62	};
63
64	emmc: mmc@ff3fc000 {
65		compatible = "intel,sdhci-tangier";
66		reg = <0xff3fc000 0x1000>;
67	};
68
69/*
70 * FIXME: For now U-Boot DM model doesn't allow to power up this controller.
71 * Enabling it will make U-Boot hang.
72 *
73	sdcard: mmc@ff3fa000 {
74		compatible = "intel,sdhci-tangier";
75		reg = <0xff3fa000 0x1000>;
76	};
77 */
78
79	pmu: power@ff00b000 {
80		compatible = "intel,pmu-mid";
81		reg = <0xff00b000 0x1000>;
82	};
83
84	scu: ipc@ff009000 {
85		compatible = "intel,scu-ipc";
86		reg = <0xff009000 0x1000>;
87	};
88
89	reset {
90		compatible = "intel,reset-tangier";
91		u-boot,dm-pre-reloc;
92	};
93};
94