79 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/mmc/litex,mmc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: LiteX LiteSDCard device8 9maintainers:10 - Gabriel Somlo <gsomlo@gmail.com>11 12description: |13 LiteSDCard is a small footprint, configurable SDCard core for FPGA based14 system on chips.15 16 The hardware source is Open Source and can be found on at17 https://github.com/enjoy-digital/litesdcard/.18 19allOf:20 - $ref: mmc-controller.yaml#21 22properties:23 compatible:24 const: litex,mmc25 26 reg:27 items:28 - description: PHY registers29 - description: CORE registers30 - description: DMA Reader buffer31 - description: DMA Writer buffer32 - description: IRQ registers33 minItems: 434 35 reg-names:36 items:37 - const: phy38 - const: core39 - const: reader40 - const: writer41 - const: irq42 minItems: 443 44 clocks:45 maxItems: 146 description:47 Handle to reference clock.48 49 vmmc-supply:50 description:51 Handle to fixed-voltage supply for the card power.52 53 interrupts:54 maxItems: 155 56required:57 - compatible58 - reg59 - reg-names60 - clocks61 - vmmc-supply62 63additionalProperties: false64 65examples:66 - |67 mmc: mmc@12005000 {68 compatible = "litex,mmc";69 reg = <0x12005000 0x100>,70 <0x12003800 0x100>,71 <0x12003000 0x100>,72 <0x12004800 0x100>,73 <0x12004000 0x100>;74 reg-names = "phy", "core", "reader", "writer", "irq";75 clocks = <&reference_clk>;76 vmmc-supply = <&vreg_mmc>;77 interrupts = <4>;78 };79