blob: 64dc0799f3d763f7bee548b644b841acc7ca2aa0 [file] [log] [blame]
Ley Foon Tan32cc1982020-04-07 15:43:13 +08001// SPDX-License-Identifier: GPL-2.0+
Ley Foon Tan2f721202017-04-26 02:44:44 +08002/*
Marek Vasut03f80b12018-04-23 01:37:57 +02003 * Copyright (C) 2014-2015 Altera Corporation <www.altera.com>
Ley Foon Tan2f721202017-04-26 02:44:44 +08004 */
5
6/dts-v1/;
Marek Vasut03f80b12018-04-23 01:37:57 +02007#include "socfpga_arria10_socdk.dtsi"
Tien Fong Cheeca99a8a2019-05-07 17:42:28 +08008
Ley Foon Tan2f721202017-04-26 02:44:44 +08009&mmc {
Ley Foon Tan2f721202017-04-26 02:44:44 +080010 status = "okay";
Ley Foon Tan2f721202017-04-26 02:44:44 +080011 cap-sd-highspeed;
Ley Foon Tan32cc1982020-04-07 15:43:13 +080012 cap-mmc-highspeed;
Ley Foon Tan2f721202017-04-26 02:44:44 +080013 broken-cd;
14 bus-width = <4>;
15};
Marek Vasut03f80b12018-04-23 01:37:57 +020016
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};