Loading...
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2013 Altera Corporation <www.altera.com>
4 */
5
6/dts-v1/;
7#include "socfpga.dtsi"
8
9/ {
10 model = "Altera SOCFPGA VT";
11 compatible = "altr,socfpga-vt", "altr,socfpga";
12
13 chosen {
14 bootargs = "console=ttyS0,57600";
15 };
16
17 memory@0 {
18 name = "memory";
19 device_type = "memory";
20 reg = <0x0 0x40000000>; /* 1 GB */
21 };
22
23 soc {
24 clkmgr@ffd04000 {
25 clocks {
26 osc1 {
27 clock-frequency = <10000000>;
28 };
29 };
30 };
31
32 mmc@ff704000 {
33 broken-cd;
34 bus-width = <4>;
35 cap-mmc-highspeed;
36 cap-sd-highspeed;
37 };
38
39 ethernet@ff700000 {
40 phy-mode = "gmii";
41 status = "okay";
42 };
43
44 timer0@ffc08000 {
45 clock-frequency = <7000000>;
46 };
47
48 timer1@ffc09000 {
49 clock-frequency = <7000000>;
50 };
51
52 timer2@ffd00000 {
53 clock-frequency = <7000000>;
54 };
55
56 timer3@ffd01000 {
57 clock-frequency = <7000000>;
58 };
59
60 serial0@ffc02000 {
61 clock-frequency = <7372800>;
62 };
63
64 serial1@ffc03000 {
65 clock-frequency = <7372800>;
66 };
67
68 sysmgr@ffd08000 {
69 cpu1-start-addr = <0xffd08010>;
70 };
71 };
72};
73
74&gmac0 {
75 status = "okay";
76 phy-mode = "gmii";
77};
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 {
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 num-slots = <1>;
46 supports-highspeed;
47 broken-cd;
48
49 slot@0 {
50 reg = <0>;
51 bus-width = <4>;
52 };
53 };
54
55 ethernet@ff700000 {
56 phy-mode = "gmii";
57 status = "okay";
58 };
59
60 timer0@ffc08000 {
61 clock-frequency = <7000000>;
62 };
63
64 timer1@ffc09000 {
65 clock-frequency = <7000000>;
66 };
67
68 timer2@ffd00000 {
69 clock-frequency = <7000000>;
70 };
71
72 timer3@ffd01000 {
73 clock-frequency = <7000000>;
74 };
75
76 serial0@ffc02000 {
77 clock-frequency = <7372800>;
78 };
79
80 serial1@ffc03000 {
81 clock-frequency = <7372800>;
82 };
83
84 sysmgr@ffd08000 {
85 cpu1-start-addr = <0xffd08010>;
86 };
87 };
88};
89
90&gmac0 {
91 status = "okay";
92 phy-mode = "gmii";
93};