Loading...
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2014-2015 Altera Corporation <www.altera.com>
4 */
5
6/dts-v1/;
7#include "socfpga_arria10_socdk.dtsi"
8
9&mmc {
10 status = "okay";
11 cap-sd-highspeed;
12 cap-mmc-highspeed;
13 broken-cd;
14 bus-width = <4>;
15};
16
17&eccmgr {
18 sdmmca-ecc@ff8c2c00 {
19 compatible = "altr,socfpga-sdmmc-ecc";
20 reg = <0xff8c2c00 0x400>;
21 altr,ecc-parent = <&mmc>;
22 interrupts = <15 IRQ_TYPE_LEVEL_HIGH>,
23 <47 IRQ_TYPE_LEVEL_HIGH>,
24 <16 IRQ_TYPE_LEVEL_HIGH>,
25 <48 IRQ_TYPE_LEVEL_HIGH>;
26 };
27};
1/*
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>;
24 broken-cd;
25 bus-width = <4>;
26};