GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / socfpga_vt.dts
1 /*
2  *  Copyright (C) 2013 Altera Corporation <www.altera.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16  */
17
18 /dts-v1/;
19 #include "socfpga.dtsi"
20
21 / {
22         model = "Altera SOCFPGA VT";
23         compatible = "altr,socfpga-vt", "altr,socfpga";
24
25         chosen {
26                 bootargs = "console=ttyS0,57600";
27         };
28
29         memory@0 {
30                 name = "memory";
31                 device_type = "memory";
32                 reg = <0x0 0x40000000>; /* 1 GB */
33         };
34
35         soc {
36                 clkmgr@ffd04000 {
37                         clocks {
38                                 osc1 {
39                                         clock-frequency = <10000000>;
40                                 };
41                         };
42                 };
43
44                 dwmmc0@ff704000 {
45                         broken-cd;
46                         bus-width = <4>;
47                         cap-mmc-highspeed;
48                         cap-sd-highspeed;
49                 };
50
51                 ethernet@ff700000 {
52                         phy-mode = "gmii";
53                         status = "okay";
54                 };
55
56                 timer0@ffc08000 {
57                         clock-frequency = <7000000>;
58                 };
59
60                 timer1@ffc09000 {
61                         clock-frequency = <7000000>;
62                 };
63
64                 timer2@ffd00000 {
65                         clock-frequency = <7000000>;
66                 };
67
68                 timer3@ffd01000 {
69                         clock-frequency = <7000000>;
70                 };
71
72                 serial0@ffc02000 {
73                         clock-frequency = <7372800>;
74                 };
75
76                 serial1@ffc03000 {
77                         clock-frequency = <7372800>;
78                 };
79
80                 sysmgr@ffd08000 {
81                         cpu1-start-addr = <0xffd08010>;
82                 };
83         };
84 };
85
86 &gmac0 {
87         status = "okay";
88         phy-mode = "gmii";
89 };