Linux Audio

Check our new training course

Loading...
v6.2
 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};
v4.10.11
 
 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			broken-cd;
47			bus-width = <4>;
48			cap-mmc-highspeed;
49			cap-sd-highspeed;
50		};
51
52		ethernet@ff700000 {
53			phy-mode = "gmii";
54			status = "okay";
55		};
56
57		timer0@ffc08000 {
58			clock-frequency = <7000000>;
59		};
60
61		timer1@ffc09000 {
62			clock-frequency = <7000000>;
63		};
64
65		timer2@ffd00000 {
66			clock-frequency = <7000000>;
67		};
68
69		timer3@ffd01000 {
70			clock-frequency = <7000000>;
71		};
72
73		serial0@ffc02000 {
74			clock-frequency = <7372800>;
75		};
76
77		serial1@ffc03000 {
78			clock-frequency = <7372800>;
79		};
80
81		sysmgr@ffd08000 {
82			cpu1-start-addr = <0xffd08010>;
83		};
84	};
85};
86
87&gmac0 {
88	status = "okay";
89	phy-mode = "gmii";
90};