xref: /freebsd-src/sys/contrib/device-tree/src/arm/intel/socfpga/socfpga_cyclone5_mcvevk.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (C) 2015 Marek Vasut <marex@denx.de>
4*f126890aSEmmanuel Vadot */
5*f126890aSEmmanuel Vadot
6*f126890aSEmmanuel Vadot#include "socfpga_cyclone5_mcv.dtsi"
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/ {
9*f126890aSEmmanuel Vadot	model = "Aries/DENX MCV EVK";
10*f126890aSEmmanuel Vadot	compatible = "denx,mcvevk", "altr,socfpga-cyclone5", "altr,socfpga";
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel Vadot	aliases {
13*f126890aSEmmanuel Vadot		ethernet0 = &gmac0;
14*f126890aSEmmanuel Vadot		stmpe-i2c0 = &stmpe1;
15*f126890aSEmmanuel Vadot	};
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot	chosen {
18*f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
19*f126890aSEmmanuel Vadot	};
20*f126890aSEmmanuel Vadot};
21*f126890aSEmmanuel Vadot
22*f126890aSEmmanuel Vadot&can0 {
23*f126890aSEmmanuel Vadot	status = "okay";
24*f126890aSEmmanuel Vadot};
25*f126890aSEmmanuel Vadot
26*f126890aSEmmanuel Vadot&can1 {
27*f126890aSEmmanuel Vadot	status = "okay";
28*f126890aSEmmanuel Vadot};
29*f126890aSEmmanuel Vadot
30*f126890aSEmmanuel Vadot&gmac0 {
31*f126890aSEmmanuel Vadot	phy-mode = "rgmii";
32*f126890aSEmmanuel Vadot	status = "okay";
33*f126890aSEmmanuel Vadot};
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadot&gpio0 {	/* GPIO  0 ... 28 */
36*f126890aSEmmanuel Vadot	status = "okay";
37*f126890aSEmmanuel Vadot};
38*f126890aSEmmanuel Vadot
39*f126890aSEmmanuel Vadot&gpio1 {	/* GPIO 29 ... 57 */
40*f126890aSEmmanuel Vadot	status = "okay";
41*f126890aSEmmanuel Vadot};
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot&gpio2 {	/* GPIO 58..66 (HLGPI 0..13 at offset 13) */
44*f126890aSEmmanuel Vadot	status = "okay";
45*f126890aSEmmanuel Vadot};
46*f126890aSEmmanuel Vadot
47*f126890aSEmmanuel Vadot&i2c0 {
48*f126890aSEmmanuel Vadot	status = "okay";
49*f126890aSEmmanuel Vadot	clock-frequency = <100000>;
50*f126890aSEmmanuel Vadot
51*f126890aSEmmanuel Vadot	stmpe1: stmpe811@41 {
52*f126890aSEmmanuel Vadot		compatible = "st,stmpe811";
53*f126890aSEmmanuel Vadot		#address-cells = <1>;
54*f126890aSEmmanuel Vadot		#size-cells = <0>;
55*f126890aSEmmanuel Vadot		reg = <0x41>;
56*f126890aSEmmanuel Vadot		id = <0>;
57*f126890aSEmmanuel Vadot		blocks = <0x5>;
58*f126890aSEmmanuel Vadot		irq-gpio = <&portb 28 0x4>;     /* GPIO 57, trig. level HI */
59*f126890aSEmmanuel Vadot
60*f126890aSEmmanuel Vadot		stmpe_touchscreen {
61*f126890aSEmmanuel Vadot			compatible = "st,stmpe-ts";
62*f126890aSEmmanuel Vadot			ts,sample-time = <4>;
63*f126890aSEmmanuel Vadot			ts,mod-12b = <1>;
64*f126890aSEmmanuel Vadot			ts,ref-sel = <0>;
65*f126890aSEmmanuel Vadot			ts,adc-freq = <1>;
66*f126890aSEmmanuel Vadot			ts,ave-ctrl = <1>;
67*f126890aSEmmanuel Vadot			ts,touch-det-delay = <3>;
68*f126890aSEmmanuel Vadot			ts,settling = <4>;
69*f126890aSEmmanuel Vadot			ts,fraction-z = <7>;
70*f126890aSEmmanuel Vadot			ts,i-drive = <1>;
71*f126890aSEmmanuel Vadot		};
72*f126890aSEmmanuel Vadot	};
73*f126890aSEmmanuel Vadot};
74*f126890aSEmmanuel Vadot
75*f126890aSEmmanuel Vadot&uart0 {
76*f126890aSEmmanuel Vadot	status = "okay";
77*f126890aSEmmanuel Vadot};
78*f126890aSEmmanuel Vadot
79*f126890aSEmmanuel Vadot&usb1 {
80*f126890aSEmmanuel Vadot	status = "okay";
81*f126890aSEmmanuel Vadot};
82