Dinh Nguyen | c2ad284 | 2013-02-11 17:30:30 -0600 | [diff] [blame] | 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/; |
Steffen Trumtrar | 7da9b43 | 2014-04-02 21:31:31 -0500 | [diff] [blame] | 19 | #include "socfpga.dtsi" |
Dinh Nguyen | c2ad284 | 2013-02-11 17:30:30 -0600 | [diff] [blame] | 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 { |
Dinh Nguyen | 042000b | 2013-04-11 10:55:25 -0500 | [diff] [blame] | 36 | clkmgr@ffd04000 { |
| 37 | clocks { |
| 38 | osc1 { |
| 39 | clock-frequency = <10000000>; |
| 40 | }; |
| 41 | }; |
| 42 | }; |
| 43 | |
Dinh Nguyen | 9b93136 | 2014-02-17 20:31:02 -0600 | [diff] [blame] | 44 | dwmmc0@ff704000 { |
| 45 | num-slots = <1>; |
Dinh Nguyen | 9b93136 | 2014-02-17 20:31:02 -0600 | [diff] [blame] | 46 | broken-cd; |
Jaehoon Chung | f5bbe55 | 2014-08-11 15:57:50 -0500 | [diff] [blame] | 47 | bus-width = <4>; |
| 48 | cap-mmc-highspeed; |
| 49 | cap-sd-highspeed; |
Dinh Nguyen | 9b93136 | 2014-02-17 20:31:02 -0600 | [diff] [blame] | 50 | }; |
| 51 | |
Dinh Nguyen | 3d954cf | 2013-06-05 10:02:53 -0500 | [diff] [blame] | 52 | ethernet@ff700000 { |
| 53 | phy-mode = "gmii"; |
| 54 | status = "okay"; |
| 55 | }; |
| 56 | |
Dinh Nguyen | c2ad284 | 2013-02-11 17:30:30 -0600 | [diff] [blame] | 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 | }; |
Dinh Nguyen | d6dd735 | 2013-02-11 17:30:33 -0600 | [diff] [blame] | 80 | |
| 81 | sysmgr@ffd08000 { |
| 82 | cpu1-start-addr = <0xffd08010>; |
| 83 | }; |
Dinh Nguyen | c2ad284 | 2013-02-11 17:30:30 -0600 | [diff] [blame] | 84 | }; |
| 85 | }; |
Dinh Nguyen | 2755e18 | 2014-03-26 22:45:11 -0500 | [diff] [blame] | 86 | |
| 87 | &gmac0 { |
| 88 | status = "okay"; |
| 89 | phy-mode = "gmii"; |
| 90 | }; |