2018-11-06 03:27:27 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2015-11-19 23:15:05 +07:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2015 Marek Vasut <marex@denx.de>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "socfpga_cyclone5_mcv.dtsi"
|
|
|
|
|
|
|
|
/ {
|
2016-09-20 04:40:43 +07:00
|
|
|
model = "Aries/DENX MCV EVK";
|
2016-11-01 21:57:06 +07:00
|
|
|
compatible = "denx,mcvevk", "altr,socfpga-cyclone5", "altr,socfpga";
|
2015-11-19 23:15:05 +07:00
|
|
|
|
2015-12-18 06:38:18 +07:00
|
|
|
aliases {
|
|
|
|
ethernet0 = &gmac0;
|
|
|
|
stmpe-i2c0 = &stmpe1;
|
|
|
|
};
|
2015-11-19 23:15:05 +07:00
|
|
|
|
2015-12-18 06:38:18 +07:00
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
2015-11-19 23:15:05 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
&can0 {
|
2015-12-18 06:38:18 +07:00
|
|
|
status = "okay";
|
2015-11-19 23:15:05 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
&can1 {
|
2015-12-18 06:38:18 +07:00
|
|
|
status = "okay";
|
2015-11-19 23:15:05 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
&gmac0 {
|
2015-12-18 06:38:18 +07:00
|
|
|
phy-mode = "rgmii";
|
|
|
|
status = "okay";
|
2015-11-19 23:15:05 +07:00
|
|
|
};
|
|
|
|
|
2015-12-18 06:38:18 +07:00
|
|
|
&gpio0 { /* GPIO 0 ... 28 */
|
|
|
|
status = "okay";
|
2015-11-19 23:15:05 +07:00
|
|
|
};
|
|
|
|
|
2015-12-18 06:38:18 +07:00
|
|
|
&gpio1 { /* GPIO 29 ... 57 */
|
|
|
|
status = "okay";
|
2015-11-19 23:15:05 +07:00
|
|
|
};
|
|
|
|
|
2015-12-18 06:38:18 +07:00
|
|
|
&gpio2 { /* GPIO 58..66 (HLGPI 0..13 at offset 13) */
|
|
|
|
status = "okay";
|
2015-11-19 23:15:05 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
&i2c0 {
|
2015-12-18 06:38:18 +07:00
|
|
|
status = "okay";
|
2017-05-09 21:21:08 +07:00
|
|
|
clock-frequency = <100000>;
|
2015-11-19 23:15:05 +07:00
|
|
|
|
2015-12-18 06:38:18 +07:00
|
|
|
stmpe1: stmpe811@41 {
|
|
|
|
compatible = "st,stmpe811";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x41>;
|
|
|
|
id = <0>;
|
|
|
|
blocks = <0x5>;
|
|
|
|
irq-gpio = <&portb 28 0x4>; /* GPIO 57, trig. level HI */
|
2015-11-19 23:15:05 +07:00
|
|
|
|
2015-12-18 06:38:18 +07:00
|
|
|
stmpe_touchscreen {
|
|
|
|
compatible = "st,stmpe-ts";
|
|
|
|
ts,sample-time = <4>;
|
|
|
|
ts,mod-12b = <1>;
|
|
|
|
ts,ref-sel = <0>;
|
|
|
|
ts,adc-freq = <1>;
|
|
|
|
ts,ave-ctrl = <1>;
|
|
|
|
ts,touch-det-delay = <3>;
|
|
|
|
ts,settling = <4>;
|
|
|
|
ts,fraction-z = <7>;
|
|
|
|
ts,i-drive = <1>;
|
|
|
|
};
|
|
|
|
};
|
2015-11-19 23:15:05 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 {
|
2015-12-18 06:38:18 +07:00
|
|
|
status = "okay";
|
2015-11-19 23:15:05 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
&usb1 {
|
2015-12-18 06:38:18 +07:00
|
|
|
status = "okay";
|
2015-11-19 23:15:05 +07:00
|
|
|
};
|