blob: 040a164ba148101594a83f0f61d3ac926f1783c1 [file] [log] [blame]
Dinh Nguyen88c8e4c2015-03-09 22:57:04 -05001/*
2 * Copyright (C) 2014-2015 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_arria10_socdk.dtsi"
20
21&mmc {
22 status = "okay";
23 num-slots = <1>;
Dinh Nguyend07e1872016-01-05 14:18:16 -060024 cap-sd-highspeed;
Dinh Nguyen88c8e4c2015-03-09 22:57:04 -050025 broken-cd;
26 bus-width = <4>;
27};
Thor Thayer03fc6ea2016-08-09 09:40:53 -050028
29&eccmgr {
30 sdmmca-ecc@ff8c2c00 {
31 compatible = "altr,socfpga-sdmmc-ecc";
32 reg = <0xff8c2c00 0x400>;
33 altr,ecc-parent = <&mmc>;
34 interrupts = <15 IRQ_TYPE_LEVEL_HIGH>,
35 <47 IRQ_TYPE_LEVEL_HIGH>,
36 <16 IRQ_TYPE_LEVEL_HIGH>,
37 <48 IRQ_TYPE_LEVEL_HIGH>;
38 };
39};