summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/socfpga_cyclone5_mcvevk.dts
blob: ceaec29770c6ee19b26b7aa002b346fdbe9bdb34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2015 Marek Vasut <marex@denx.de>
 */

#include "socfpga_cyclone5_mcv.dtsi"

/ {
	model = "Aries/DENX MCV EVK";
	compatible = "denx,mcvevk", "altr,socfpga-cyclone5", "altr,socfpga";

	aliases {
		ethernet0 = &gmac0;
		stmpe-i2c0 = &stmpe1;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};
};

&can0 {
	status = "okay";
};

&can1 {
	status = "okay";
};

&gmac0 {
	phy-mode = "rgmii";
	status = "okay";
};

&gpio0 {	/* GPIO  0 ... 28 */
	status = "okay";
};

&gpio1 {	/* GPIO 29 ... 57 */
	status = "okay";
};

&gpio2 {	/* GPIO 58..66 (HLGPI 0..13 at offset 13) */
	status = "okay";
};

&i2c0 {
	status = "okay";
	clock-frequency = <100000>;

	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 */

		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>;
		};
	};
};

&uart0 {
	status = "okay";
};

&usb1 {
	status = "okay";
};