Ley Foon Tan | 32cc198 | 2020-04-07 15:43:13 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Ley Foon Tan | 2f72120 | 2017-04-26 02:44:44 +0800 | [diff] [blame] | 2 | /* |
Marek Vasut | 03f80b1 | 2018-04-23 01:37:57 +0200 | [diff] [blame] | 3 | * Copyright (C) 2014-2015 Altera Corporation <www.altera.com> |
Ley Foon Tan | 2f72120 | 2017-04-26 02:44:44 +0800 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
Marek Vasut | 03f80b1 | 2018-04-23 01:37:57 +0200 | [diff] [blame] | 7 | #include "socfpga_arria10_socdk.dtsi" |
Tien Fong Chee | ca99a8a | 2019-05-07 17:42:28 +0800 | [diff] [blame] | 8 | |
Ley Foon Tan | 2f72120 | 2017-04-26 02:44:44 +0800 | [diff] [blame] | 9 | &mmc { |
Ley Foon Tan | 2f72120 | 2017-04-26 02:44:44 +0800 | [diff] [blame] | 10 | status = "okay"; |
Ley Foon Tan | 2f72120 | 2017-04-26 02:44:44 +0800 | [diff] [blame] | 11 | cap-sd-highspeed; |
Ley Foon Tan | 32cc198 | 2020-04-07 15:43:13 +0800 | [diff] [blame] | 12 | cap-mmc-highspeed; |
Ley Foon Tan | 2f72120 | 2017-04-26 02:44:44 +0800 | [diff] [blame] | 13 | broken-cd; |
| 14 | bus-width = <4>; |
| 15 | }; |
Marek Vasut | 03f80b1 | 2018-04-23 01:37:57 +0200 | [diff] [blame] | 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 | }; |