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