]>
Commit | Line | Data |
---|---|---|
6bd041f0 DW |
1 | /* |
2 | * Copyright (C) 2017, Intel Corporation | |
3 | * | |
4 | * based on socfpga_cyclone5_de0_nano_soc.dts | |
5 | * | |
6 | * SPDX-License-Identifier: GPL-2.0+ | |
7 | */ | |
8 | ||
9 | #include "socfpga_cyclone5.dtsi" | |
10 | ||
11 | / { | |
12 | model = "Terasic DE10-Nano"; | |
13 | compatible = "altr,socfpga-cyclone5", "altr,socfpga"; | |
14 | ||
15 | chosen { | |
16 | bootargs = "console=ttyS0,115200"; | |
17 | }; | |
18 | ||
19 | aliases { | |
20 | ethernet0 = &gmac1; | |
21 | udc0 = &usb1; | |
22 | }; | |
23 | ||
24 | memory { | |
25 | name = "memory"; | |
26 | device_type = "memory"; | |
27 | reg = <0x0 0x40000000>; /* 1GB */ | |
28 | }; | |
29 | ||
30 | soc { | |
31 | u-boot,dm-pre-reloc; | |
32 | }; | |
33 | }; | |
34 | ||
35 | &gmac1 { | |
36 | status = "okay"; | |
37 | phy-mode = "rgmii"; | |
38 | ||
39 | rxd0-skew-ps = <420>; | |
40 | rxd1-skew-ps = <420>; | |
41 | rxd2-skew-ps = <420>; | |
42 | rxd3-skew-ps = <420>; | |
43 | txen-skew-ps = <0>; | |
44 | txc-skew-ps = <1860>; | |
45 | rxdv-skew-ps = <420>; | |
46 | rxc-skew-ps = <1680>; | |
47 | }; | |
48 | ||
49 | &gpio0 { | |
50 | status = "okay"; | |
51 | }; | |
52 | ||
53 | &gpio1 { | |
54 | status = "okay"; | |
55 | }; | |
56 | ||
57 | &gpio2 { | |
58 | status = "okay"; | |
59 | }; | |
60 | ||
61 | &mmc0 { | |
62 | status = "okay"; | |
63 | u-boot,dm-pre-reloc; | |
64 | }; | |
65 | ||
66 | &usb1 { | |
67 | status = "okay"; | |
68 | }; |