12ebeea2bSPaul Cercueil# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 22ebeea2bSPaul Cercueil%YAML 1.2 32ebeea2bSPaul Cercueil--- 42ebeea2bSPaul Cercueil$id: http://devicetree.org/schemas/mmc/ingenic,mmc.yaml# 52ebeea2bSPaul Cercueil$schema: http://devicetree.org/meta-schemas/core.yaml# 62ebeea2bSPaul Cercueil 72ebeea2bSPaul Cercueiltitle: Ingenic SoCs MMC Controller DT bindings 82ebeea2bSPaul Cercueil 92ebeea2bSPaul Cercueilmaintainers: 102ebeea2bSPaul Cercueil - Paul Cercueil <paul@crapouillou.net> 112ebeea2bSPaul Cercueil 122ebeea2bSPaul CercueilallOf: 132ebeea2bSPaul Cercueil - $ref: mmc-controller.yaml# 142ebeea2bSPaul Cercueil 152ebeea2bSPaul Cercueilproperties: 162ebeea2bSPaul Cercueil compatible: 172ebeea2bSPaul Cercueil oneOf: 182ebeea2bSPaul Cercueil - enum: 192ebeea2bSPaul Cercueil - ingenic,jz4740-mmc 202ebeea2bSPaul Cercueil - ingenic,jz4725b-mmc 212ebeea2bSPaul Cercueil - ingenic,jz4760-mmc 223160e025S周琰杰 (Zhou Yanjie) - ingenic,jz4775-mmc 232ebeea2bSPaul Cercueil - ingenic,jz4780-mmc 242ebeea2bSPaul Cercueil - ingenic,x1000-mmc 252ebeea2bSPaul Cercueil - items: 262ebeea2bSPaul Cercueil - const: ingenic,jz4770-mmc 272ebeea2bSPaul Cercueil - const: ingenic,jz4760-mmc 282ebeea2bSPaul Cercueil 292ebeea2bSPaul Cercueil reg: 302ebeea2bSPaul Cercueil maxItems: 1 312ebeea2bSPaul Cercueil 322ebeea2bSPaul Cercueil interrupts: 332ebeea2bSPaul Cercueil maxItems: 1 342ebeea2bSPaul Cercueil 352ebeea2bSPaul Cercueil clocks: 362ebeea2bSPaul Cercueil maxItems: 1 372ebeea2bSPaul Cercueil 382ebeea2bSPaul Cercueil clock-names: 392ebeea2bSPaul Cercueil const: mmc 402ebeea2bSPaul Cercueil 412ebeea2bSPaul Cercueil dmas: 422ebeea2bSPaul Cercueil items: 432ebeea2bSPaul Cercueil - description: DMA controller phandle and request line for RX 442ebeea2bSPaul Cercueil - description: DMA controller phandle and request line for TX 452ebeea2bSPaul Cercueil 462ebeea2bSPaul Cercueil dma-names: 472ebeea2bSPaul Cercueil items: 482ebeea2bSPaul Cercueil - const: rx 492ebeea2bSPaul Cercueil - const: tx 502ebeea2bSPaul Cercueil 512ebeea2bSPaul Cercueilrequired: 522ebeea2bSPaul Cercueil - compatible 532ebeea2bSPaul Cercueil - reg 542ebeea2bSPaul Cercueil - interrupts 552ebeea2bSPaul Cercueil - clocks 562ebeea2bSPaul Cercueil - clock-names 572ebeea2bSPaul Cercueil - dmas 582ebeea2bSPaul Cercueil - dma-names 592ebeea2bSPaul Cercueil 606fdc6e23SRob HerringunevaluatedProperties: false 616fdc6e23SRob Herring 622ebeea2bSPaul Cercueilexamples: 632ebeea2bSPaul Cercueil - | 64*c4a11bf4SPaul Cercueil #include <dt-bindings/clock/ingenic,jz4780-cgu.h> 652ebeea2bSPaul Cercueil #include <dt-bindings/dma/jz4780-dma.h> 662ebeea2bSPaul Cercueil mmc0: mmc@13450000 { 672ebeea2bSPaul Cercueil compatible = "ingenic,jz4780-mmc"; 682ebeea2bSPaul Cercueil reg = <0x13450000 0x1000>; 692ebeea2bSPaul Cercueil 702ebeea2bSPaul Cercueil interrupt-parent = <&intc>; 712ebeea2bSPaul Cercueil interrupts = <37>; 722ebeea2bSPaul Cercueil 732ebeea2bSPaul Cercueil clocks = <&cgu JZ4780_CLK_MSC0>; 742ebeea2bSPaul Cercueil clock-names = "mmc"; 752ebeea2bSPaul Cercueil 762ebeea2bSPaul Cercueil cap-sd-highspeed; 772ebeea2bSPaul Cercueil cap-mmc-highspeed; 782ebeea2bSPaul Cercueil cap-sdio-irq; 792ebeea2bSPaul Cercueil dmas = <&dma JZ4780_DMA_MSC0_RX 0xffffffff>, 802ebeea2bSPaul Cercueil <&dma JZ4780_DMA_MSC0_TX 0xffffffff>; 812ebeea2bSPaul Cercueil dma-names = "rx", "tx"; 822ebeea2bSPaul Cercueil }; 83