]>
Commit | Line | Data |
---|---|---|
51c580c6 SR |
1 | /* |
2 | * Copyright (C) 2014 Steffen Trumtrar <s.trumtrar@pengutronix.de> | |
3 | * | |
5bf1f1ed | 4 | * SPDX-License-Identifier: GPL-2.0+ |
51c580c6 SR |
5 | */ |
6 | ||
7 | #include "socfpga_cyclone5.dtsi" | |
8 | ||
9 | / { | |
10 | model = "EBV SOCrates"; | |
11 | compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga"; | |
12 | ||
13 | chosen { | |
14 | bootargs = "console=ttyS0,115200"; | |
15 | }; | |
16 | ||
b5a5d2bd | 17 | aliases { |
43809cfa SR |
18 | /* |
19 | * This allows the ethaddr uboot environment variable | |
20 | * contents to be added to the gmac1 device tree blob. | |
21 | */ | |
22 | ethernet0 = &gmac1; | |
b5a5d2bd MV |
23 | udc0 = &usb1; |
24 | }; | |
25 | ||
51c580c6 SR |
26 | memory { |
27 | name = "memory"; | |
28 | device_type = "memory"; | |
29 | reg = <0x0 0x40000000>; /* 1GB */ | |
30 | }; | |
856b30da MV |
31 | |
32 | soc { | |
33 | u-boot,dm-pre-reloc; | |
34 | }; | |
51c580c6 SR |
35 | }; |
36 | ||
37 | &gmac1 { | |
38 | status = "okay"; | |
c2624240 | 39 | phy-mode = "rgmii"; |
5d8546ef MV |
40 | |
41 | rxd0-skew-ps = <0>; | |
42 | rxd1-skew-ps = <0>; | |
43 | rxd2-skew-ps = <0>; | |
44 | rxd3-skew-ps = <0>; | |
45 | txen-skew-ps = <0>; | |
46 | txc-skew-ps = <2600>; | |
47 | rxdv-skew-ps = <0>; | |
48 | rxc-skew-ps = <2000>; | |
51c580c6 SR |
49 | }; |
50 | ||
51 | &i2c0 { | |
52 | status = "okay"; | |
53 | ||
54 | rtc: rtc@68 { | |
55 | compatible = "stm,m41t82"; | |
56 | reg = <0x68>; | |
57 | }; | |
58 | }; | |
59 | ||
afe13993 | 60 | &mmc0 { |
51c580c6 | 61 | status = "okay"; |
856b30da | 62 | u-boot,dm-pre-reloc; |
51c580c6 | 63 | }; |
881f6a44 SR |
64 | |
65 | &qspi { | |
66 | status = "okay"; | |
67 | ||
68 | flash0: n25q00@0 { | |
69 | #address-cells = <1>; | |
70 | #size-cells = <1>; | |
a6fbf945 | 71 | compatible = "n25q00", "spi-flash"; |
881f6a44 SR |
72 | reg = <0>; /* chip select */ |
73 | spi-max-frequency = <50000000>; | |
74 | m25p,fast-read; | |
75 | page-size = <256>; | |
76 | block-size = <16>; /* 2^16, 64KB */ | |
6e62b178 JR |
77 | cdns,tshsl-ns = <50>; |
78 | cdns,tsd2d-ns = <50>; | |
79 | cdns,tchsh-ns = <4>; | |
80 | cdns,tslch-ns = <4>; | |
881f6a44 SR |
81 | }; |
82 | }; | |
b5a5d2bd MV |
83 | |
84 | &usb1 { | |
268da813 | 85 | disable-over-current; |
b5a5d2bd MV |
86 | status = "okay"; |
87 | }; |