18bab661aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 28bab661aSEmmanuel Vadot# Copyright (C) Sunplus Ltd. Co. 2021 38bab661aSEmmanuel Vadot%YAML 1.2 48bab661aSEmmanuel Vadot--- 58bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/mmc/sunplus,mmc.yaml# 68bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 78bab661aSEmmanuel Vadot 88bab661aSEmmanuel Vadottitle: Sunplus MMC Controller 98bab661aSEmmanuel Vadot 108bab661aSEmmanuel Vadotmaintainers: 118bab661aSEmmanuel Vadot - Tony Huang <tonyhuang.sunplus@gmail.com> 128bab661aSEmmanuel Vadot - Li-hao Kuo <lhjeff911@gmail.com> 138bab661aSEmmanuel Vadot 148bab661aSEmmanuel VadotallOf: 15*cb7aa33aSEmmanuel Vadot - $ref: mmc-controller.yaml 168bab661aSEmmanuel Vadot 178bab661aSEmmanuel Vadotproperties: 188bab661aSEmmanuel Vadot compatible: 198bab661aSEmmanuel Vadot enum: 208bab661aSEmmanuel Vadot - sunplus,sp7021-mmc 218bab661aSEmmanuel Vadot 228bab661aSEmmanuel Vadot reg: 238bab661aSEmmanuel Vadot maxItems: 1 248bab661aSEmmanuel Vadot 258bab661aSEmmanuel Vadot interrupts: 268bab661aSEmmanuel Vadot maxItems: 1 278bab661aSEmmanuel Vadot 288bab661aSEmmanuel Vadot clocks: 298bab661aSEmmanuel Vadot maxItems: 1 308bab661aSEmmanuel Vadot 318bab661aSEmmanuel Vadot resets: 328bab661aSEmmanuel Vadot maxItems: 1 338bab661aSEmmanuel Vadot 348bab661aSEmmanuel Vadotrequired: 358bab661aSEmmanuel Vadot - compatible 368bab661aSEmmanuel Vadot - reg 378bab661aSEmmanuel Vadot - interrupts 388bab661aSEmmanuel Vadot - clocks 398bab661aSEmmanuel Vadot - resets 408bab661aSEmmanuel Vadot 418bab661aSEmmanuel VadotunevaluatedProperties: false 428bab661aSEmmanuel Vadot 438bab661aSEmmanuel Vadotexamples: 448bab661aSEmmanuel Vadot - | 458bab661aSEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 468bab661aSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 478bab661aSEmmanuel Vadot mmc0: mmc@9c003b00 { 488bab661aSEmmanuel Vadot compatible = "sunplus,sp7021-mmc"; 498bab661aSEmmanuel Vadot reg = <0x9c003b00 0x180>; 508bab661aSEmmanuel Vadot interrupts = <20 IRQ_TYPE_LEVEL_HIGH>; 518bab661aSEmmanuel Vadot clocks = <&clkc 0x4e>; 528bab661aSEmmanuel Vadot resets = <&rstc 0x3e>; 538bab661aSEmmanuel Vadot bus-width = <8>; 548bab661aSEmmanuel Vadot max-frequency = <52000000>; 558bab661aSEmmanuel Vadot non-removable; 568bab661aSEmmanuel Vadot disable-wp; 578bab661aSEmmanuel Vadot cap-mmc-highspeed; 588bab661aSEmmanuel Vadot mmc-ddr-3_3v; 598bab661aSEmmanuel Vadot no-sdio; 608bab661aSEmmanuel Vadot no-sd; 618bab661aSEmmanuel Vadot }; 62