0001 // SPDX-License-Identifier: GPL-2.0+
0002 /*
0003 * Copyright (C) 2015 Marek Vasut <marex@denx.de>
0004 */
0005
0006 #include "socfpga_cyclone5_mcv.dtsi"
0007
0008 / {
0009 model = "Aries/DENX MCV EVK";
0010 compatible = "denx,mcvevk", "altr,socfpga-cyclone5", "altr,socfpga";
0011
0012 aliases {
0013 ethernet0 = &gmac0;
0014 stmpe-i2c0 = &stmpe1;
0015 };
0016
0017 chosen {
0018 stdout-path = "serial0:115200n8";
0019 };
0020 };
0021
0022 &can0 {
0023 status = "okay";
0024 };
0025
0026 &can1 {
0027 status = "okay";
0028 };
0029
0030 &gmac0 {
0031 phy-mode = "rgmii";
0032 status = "okay";
0033 };
0034
0035 &gpio0 { /* GPIO 0 ... 28 */
0036 status = "okay";
0037 };
0038
0039 &gpio1 { /* GPIO 29 ... 57 */
0040 status = "okay";
0041 };
0042
0043 &gpio2 { /* GPIO 58..66 (HLGPI 0..13 at offset 13) */
0044 status = "okay";
0045 };
0046
0047 &i2c0 {
0048 status = "okay";
0049 clock-frequency = <100000>;
0050
0051 stmpe1: stmpe811@41 {
0052 compatible = "st,stmpe811";
0053 #address-cells = <1>;
0054 #size-cells = <0>;
0055 reg = <0x41>;
0056 id = <0>;
0057 blocks = <0x5>;
0058 irq-gpio = <&portb 28 0x4>; /* GPIO 57, trig. level HI */
0059
0060 stmpe_touchscreen {
0061 compatible = "st,stmpe-ts";
0062 ts,sample-time = <4>;
0063 ts,mod-12b = <1>;
0064 ts,ref-sel = <0>;
0065 ts,adc-freq = <1>;
0066 ts,ave-ctrl = <1>;
0067 ts,touch-det-delay = <3>;
0068 ts,settling = <4>;
0069 ts,fraction-z = <7>;
0070 ts,i-drive = <1>;
0071 };
0072 };
0073 };
0074
0075 &uart0 {
0076 status = "okay";
0077 };
0078
0079 &usb1 {
0080 status = "okay";
0081 };