2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2017-07-06 11:41:53 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include <dt-bindings/gpio/x86-gpio.h>
|
|
|
|
#include <dt-bindings/interrupt-router/intel-irq.h>
|
|
|
|
|
|
|
|
/include/ "skeleton.dtsi"
|
|
|
|
/include/ "rtc.dtsi"
|
|
|
|
|
2021-07-28 04:00:23 +00:00
|
|
|
#include "tsc_timer.dtsi"
|
2020-11-05 13:32:17 +00:00
|
|
|
#include "smbios.dtsi"
|
|
|
|
|
2017-07-06 11:41:53 +00:00
|
|
|
/ {
|
|
|
|
model = "Intel Edison";
|
2020-12-02 10:35:32 +00:00
|
|
|
compatible = "intel,edison", "intel,tangier";
|
2017-07-06 11:41:53 +00:00
|
|
|
|
|
|
|
aliases {
|
2019-02-28 08:10:07 +00:00
|
|
|
serial0 = &serial0;
|
|
|
|
serial1 = &serial1;
|
2019-02-28 08:10:06 +00:00
|
|
|
serial2 = &serial2;
|
2017-07-06 11:41:53 +00:00
|
|
|
};
|
|
|
|
|
2020-09-06 16:35:34 +00:00
|
|
|
binman: binman {
|
|
|
|
multiple-images;
|
|
|
|
};
|
|
|
|
|
2017-07-06 11:41:53 +00:00
|
|
|
chosen {
|
2019-02-28 08:10:06 +00:00
|
|
|
stdout-path = &serial2;
|
2017-07-06 11:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "cpu-x86";
|
|
|
|
reg = <0>;
|
|
|
|
intel,apic-id = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu@1 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "cpu-x86";
|
|
|
|
reg = <1>;
|
|
|
|
intel,apic-id = <2>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pci {
|
|
|
|
compatible = "pci-x86";
|
|
|
|
#address-cells = <3>;
|
|
|
|
#size-cells = <2>;
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2017-07-06 11:41:53 +00:00
|
|
|
ranges = <0x02000000 0x0 0x80000000 0x80000000 0 0x40000000
|
|
|
|
0x42000000 0x0 0xc0000000 0xc0000000 0 0x20000000
|
|
|
|
0x01000000 0x0 0x2000 0x2000 0 0xe000>;
|
|
|
|
};
|
|
|
|
|
2019-02-28 08:10:07 +00:00
|
|
|
serial0: serial@ff010080 {
|
|
|
|
compatible = "intel,mid-uart";
|
|
|
|
reg = <0xff010080 0x100>;
|
|
|
|
reg-shift = <0>;
|
|
|
|
clock-frequency = <29491200>;
|
|
|
|
current-speed = <115200>;
|
|
|
|
};
|
|
|
|
|
|
|
|
serial1: serial@ff010100 {
|
|
|
|
compatible = "intel,mid-uart";
|
|
|
|
reg = <0xff010100 0x100>;
|
|
|
|
reg-shift = <0>;
|
|
|
|
clock-frequency = <29491200>;
|
|
|
|
current-speed = <115200>;
|
|
|
|
};
|
|
|
|
|
2019-02-28 08:10:06 +00:00
|
|
|
serial2: serial@ff010180 {
|
2017-07-06 11:41:53 +00:00
|
|
|
compatible = "intel,mid-uart";
|
|
|
|
reg = <0xff010180 0x100>;
|
|
|
|
reg-shift = <0>;
|
|
|
|
clock-frequency = <29491200>;
|
|
|
|
current-speed = <115200>;
|
|
|
|
};
|
|
|
|
|
|
|
|
emmc: mmc@ff3fc000 {
|
|
|
|
compatible = "intel,sdhci-tangier";
|
|
|
|
reg = <0xff3fc000 0x1000>;
|
2021-09-10 07:59:27 +00:00
|
|
|
non-removable;
|
2017-07-06 11:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdcard: mmc@ff3fa000 {
|
|
|
|
compatible = "intel,sdhci-tangier";
|
|
|
|
reg = <0xff3fa000 0x1000>;
|
2021-10-27 11:28:10 +00:00
|
|
|
/*
|
|
|
|
* In the disconnected state of the SD Card Detection pin
|
|
|
|
* the read value is always the same and inverted to what
|
|
|
|
* we are expecting in the code.
|
|
|
|
*/
|
|
|
|
cd-inverted;
|
2017-07-06 11:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
pmu: power@ff00b000 {
|
|
|
|
compatible = "intel,pmu-mid";
|
|
|
|
reg = <0xff00b000 0x1000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
scu: ipc@ff009000 {
|
|
|
|
compatible = "intel,scu-ipc";
|
|
|
|
reg = <0xff009000 0x1000>;
|
|
|
|
};
|
2018-07-19 10:07:33 +00:00
|
|
|
|
2020-12-03 17:45:01 +00:00
|
|
|
usb: usb@f9100000 {
|
|
|
|
compatible = "intel,tangier-dwc3";
|
2020-12-03 17:45:02 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
dwc3: dwc3 {
|
|
|
|
reg = <0xf9100000 0x100000>;
|
|
|
|
maximum-speed = "high-speed";
|
|
|
|
dr_mode = "peripheral";
|
|
|
|
};
|
2020-12-03 17:45:01 +00:00
|
|
|
};
|
|
|
|
|
2019-06-21 10:28:08 +00:00
|
|
|
watchdog: wdt@0 {
|
|
|
|
compatible = "intel,tangier-wdt";
|
|
|
|
};
|
|
|
|
|
2018-07-19 10:07:33 +00:00
|
|
|
reset {
|
|
|
|
compatible = "intel,reset-tangier";
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2018-07-19 10:07:33 +00:00
|
|
|
};
|
2018-09-11 10:31:08 +00:00
|
|
|
|
|
|
|
pinctrl {
|
|
|
|
compatible = "intel,pinctrl-tangier";
|
|
|
|
reg = <0xff0c0000 0x8000>;
|
|
|
|
|
2021-10-27 11:28:10 +00:00
|
|
|
/*
|
|
|
|
* Disconnect SD card detection pin, so it won't affect
|
|
|
|
* the reality on two different PCB designs where it's
|
|
|
|
* using the opposite signaling: Edison/Arduino uses
|
|
|
|
* Active Low, while SparkFun went with Active High.
|
|
|
|
*/
|
|
|
|
sd_cd@0 {
|
|
|
|
pad-offset = <37>;
|
|
|
|
mode-func = <3>;
|
|
|
|
};
|
|
|
|
|
2018-09-11 10:31:08 +00:00
|
|
|
/*
|
|
|
|
* Initial configuration came from the firmware.
|
|
|
|
* Which quite likely has been used in the phones, where I2C #8,
|
|
|
|
* that is not part of Atom peripheral, is in use.
|
|
|
|
* Thus we need to override the leftover.
|
|
|
|
*/
|
|
|
|
i2c6_scl@0 {
|
|
|
|
pad-offset = <111>;
|
|
|
|
mode-func = <1>;
|
|
|
|
protected;
|
|
|
|
};
|
|
|
|
i2c6_sda@0 {
|
|
|
|
pad-offset = <112>;
|
|
|
|
mode-func = <1>;
|
|
|
|
protected;
|
|
|
|
};
|
|
|
|
};
|
2017-07-06 11:41:53 +00:00
|
|
|
};
|
2020-09-06 16:35:34 +00:00
|
|
|
|
|
|
|
&binman {
|
|
|
|
u-boot-edison {
|
|
|
|
filename = "u-boot-edison.img";
|
|
|
|
|
|
|
|
/* This is the OSIP */
|
|
|
|
blob {
|
|
|
|
filename = "edison-osip.dat";
|
|
|
|
};
|
|
|
|
|
|
|
|
u-boot {
|
|
|
|
offset = <0x200>;
|
|
|
|
};
|
|
|
|
|
|
|
|
u-boot-env {
|
|
|
|
offset = <0x200200>;
|
|
|
|
filename = "edison-environment.txt";
|
|
|
|
size = <0x10000>;
|
|
|
|
fill-byte = [ff];
|
|
|
|
};
|
|
|
|
|
|
|
|
u-boot-env2 {
|
|
|
|
type = "u-boot-env";
|
|
|
|
offset = <0x500200>;
|
|
|
|
filename = "edison-environment.txt";
|
|
|
|
size = <0x10000>;
|
|
|
|
fill-byte = [ff];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|