blob: cc761967c777e3cdfc2601c5cc73272499821d34 [file] [log] [blame]
Ley Foon Tan2f721202017-04-26 02:44:44 +08001/*
Marek Vasut03f80b12018-04-23 01:37:57 +02002 * Copyright (C) 2014-2015 Altera Corporation <www.altera.com>
Ley Foon Tan2f721202017-04-26 02:44:44 +08003 *
4 * This program is free software; you can redistribute it and/or modify
Marek Vasut03f80b12018-04-23 01:37:57 +02005 * 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.
Ley Foon Tan2f721202017-04-26 02:44:44 +08008 *
Marek Vasut03f80b12018-04-23 01:37:57 +02009 * 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.
Ley Foon Tan2f721202017-04-26 02:44:44 +080013 *
Marek Vasut03f80b12018-04-23 01:37:57 +020014 * 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/>.
Ley Foon Tan2f721202017-04-26 02:44:44 +080016 */
17
18/dts-v1/;
Marek Vasut03f80b12018-04-23 01:37:57 +020019#include "socfpga_arria10_socdk.dtsi"
Ley Foon Tan2f721202017-04-26 02:44:44 +080020
Tien Fong Cheeca99a8a2019-05-07 17:42:28 +080021/ {
22 chosen {
23 firmware-loader = <&fs_loader0>;
24 };
25
26 fs_loader0: fs-loader {
27 u-boot,dm-pre-reloc;
28 compatible = "u-boot,fs-loader";
29 phandlepart = <&mmc 1>;
30 };
31};
32
33&fpga_mgr {
34 u-boot,dm-pre-reloc;
35 altr,bitstream = "fit_spl_fpga.itb";
36};
37
Ley Foon Tan2f721202017-04-26 02:44:44 +080038&mmc {
39 u-boot,dm-pre-reloc;
40 status = "okay";
41 num-slots = <1>;
42 cap-sd-highspeed;
43 broken-cd;
44 bus-width = <4>;
45};
Marek Vasut03f80b12018-04-23 01:37:57 +020046
47&eccmgr {
48 sdmmca-ecc@ff8c2c00 {
49 compatible = "altr,socfpga-sdmmc-ecc";
50 reg = <0xff8c2c00 0x400>;
51 altr,ecc-parent = <&mmc>;
52 interrupts = <15 IRQ_TYPE_LEVEL_HIGH>,
53 <47 IRQ_TYPE_LEVEL_HIGH>,
54 <16 IRQ_TYPE_LEVEL_HIGH>,
55 <48 IRQ_TYPE_LEVEL_HIGH>;
56 };
57};
Marek Vasutc2b21442018-08-06 22:07:40 +020058
59/* Clock available early */
60&main_sdmmc_clk {
61 u-boot,dm-pre-reloc;
62};
63
64&peri_sdmmc_clk {
65 u-boot,dm-pre-reloc;
66};
67
68&sdmmc_free_clk {
69 u-boot,dm-pre-reloc;
70};
71
72&sdmmc_clk {
73 u-boot,dm-pre-reloc;
74};