xref: /freebsd/sys/contrib/device-tree/src/arm/intel/socfpga/socfpga_arria10_socdk_sdmmc.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
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	clk-phase-sd-hs = <0>, <135>;
16};
17
18&eccmgr {
19	sdmmca-ecc@ff8c2c00 {
20		compatible = "altr,socfpga-sdmmc-ecc";
21		reg = <0xff8c2c00 0x400>;
22		altr,ecc-parent = <&mmc>;
23		interrupts = <15 IRQ_TYPE_LEVEL_HIGH>,
24			     <47 IRQ_TYPE_LEVEL_HIGH>,
25			     <16 IRQ_TYPE_LEVEL_HIGH>,
26			     <48 IRQ_TYPE_LEVEL_HIGH>;
27	};
28};
29