2018-01-17 22:07:11 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2015-03-09 15:41:04 +07:00
|
|
|
/*
|
|
|
|
* dts file for Xilinx ZynqMP ep108 development board
|
|
|
|
*
|
|
|
|
* (C) Copyright 2014 - 2015, Xilinx, Inc.
|
|
|
|
*
|
|
|
|
* Michal Simek <michal.simek@xilinx.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of
|
|
|
|
* the License, or (at your option) any later version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
2016-02-26 00:30:03 +07:00
|
|
|
#include "zynqmp.dtsi"
|
|
|
|
#include "zynqmp-ep108-clk.dtsi"
|
2015-03-09 15:41:04 +07:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "ZynqMP EP108";
|
|
|
|
|
|
|
|
aliases {
|
2016-02-23 15:30:15 +07:00
|
|
|
mmc0 = &sdhci0;
|
|
|
|
mmc1 = &sdhci1;
|
2015-03-09 15:41:04 +07:00
|
|
|
serial0 = &uart0;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
2016-11-15 20:53:13 +07:00
|
|
|
memory@0 {
|
2015-03-09 15:41:04 +07:00
|
|
|
device_type = "memory";
|
2016-02-11 19:26:28 +07:00
|
|
|
reg = <0x0 0x0 0x0 0x40000000>;
|
2015-03-09 15:41:04 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-07-27 16:15:38 +07:00
|
|
|
&can0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2016-04-12 13:16:11 +07:00
|
|
|
&can1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2015-03-09 15:41:04 +07:00
|
|
|
&gem0 {
|
|
|
|
status = "okay";
|
|
|
|
phy-handle = <&phy0>;
|
|
|
|
phy-mode = "rgmii-id";
|
2018-01-17 22:02:26 +07:00
|
|
|
phy0: phy@0 {
|
2015-03-09 15:41:04 +07:00
|
|
|
reg = <0>;
|
|
|
|
max-speed = <100>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-07-27 16:09:30 +07:00
|
|
|
&gpio {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2015-07-27 16:38:46 +07:00
|
|
|
&i2c0 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
eeprom@54 {
|
2017-06-16 01:54:13 +07:00
|
|
|
compatible = "atmel,24c64";
|
2015-07-27 16:38:46 +07:00
|
|
|
reg = <0x54>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c1 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
eeprom@55 {
|
2017-06-16 01:54:13 +07:00
|
|
|
compatible = "atmel,24c64";
|
2015-07-27 16:38:46 +07:00
|
|
|
reg = <0x55>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-06-10 17:16:56 +07:00
|
|
|
&sata {
|
|
|
|
status = "okay";
|
|
|
|
ceva,broken-gen2;
|
2015-11-05 18:51:37 +07:00
|
|
|
/* SATA Phy OOB timing settings */
|
|
|
|
ceva,p0-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;
|
|
|
|
ceva,p0-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;
|
|
|
|
ceva,p0-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;
|
|
|
|
ceva,p0-retry-params = /bits/ 16 <0x0216 0x7F06>;
|
|
|
|
ceva,p1-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>;
|
|
|
|
ceva,p1-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>;
|
|
|
|
ceva,p1-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>;
|
|
|
|
ceva,p1-retry-params = /bits/ 16 <0x0216 0x7F06>;
|
2015-06-10 17:16:56 +07:00
|
|
|
};
|
|
|
|
|
2015-07-27 16:24:55 +07:00
|
|
|
&sdhci0 {
|
|
|
|
status = "okay";
|
2016-01-07 16:27:27 +07:00
|
|
|
bus-width = <8>;
|
2015-07-27 16:24:55 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
&sdhci1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2015-07-27 16:42:12 +07:00
|
|
|
&spi0 {
|
|
|
|
status = "okay";
|
|
|
|
num-cs = <1>;
|
|
|
|
spi0_flash0: spi0_flash0@0 {
|
|
|
|
compatible = "m25p80";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
spi-max-frequency = <50000000>;
|
|
|
|
reg = <0>;
|
|
|
|
|
2017-07-05 19:50:44 +07:00
|
|
|
spi0_flash0@0 {
|
2015-07-27 16:42:12 +07:00
|
|
|
label = "spi0_flash0";
|
|
|
|
reg = <0x0 0x100000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&spi1 {
|
|
|
|
status = "okay";
|
|
|
|
num-cs = <1>;
|
|
|
|
spi1_flash0: spi1_flash0@0 {
|
|
|
|
compatible = "m25p80";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
spi-max-frequency = <50000000>;
|
|
|
|
reg = <0>;
|
|
|
|
|
2017-07-05 19:50:44 +07:00
|
|
|
spi1_flash0@0 {
|
2015-07-27 16:42:12 +07:00
|
|
|
label = "spi1_flash0";
|
|
|
|
reg = <0x0 0x100000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-03-09 15:41:04 +07:00
|
|
|
&uart0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2015-07-27 16:21:20 +07:00
|
|
|
|
|
|
|
&usb0 {
|
|
|
|
status = "okay";
|
|
|
|
dr_mode = "peripheral";
|
|
|
|
maximum-speed = "high-speed";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb1 {
|
|
|
|
status = "okay";
|
|
|
|
dr_mode = "host";
|
|
|
|
maximum-speed = "high-speed";
|
|
|
|
};
|
2015-07-27 16:23:43 +07:00
|
|
|
|
|
|
|
&watchdog0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|