1e5f31378SMartin Blumenstingl# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2e5f31378SMartin Blumenstingl%YAML 1.2 3e5f31378SMartin Blumenstingl--- 4e5f31378SMartin Blumenstingl$id: http://devicetree.org/schemas/mmc/amlogic,meson-mx-sdhc.yaml# 5e5f31378SMartin Blumenstingl$schema: http://devicetree.org/meta-schemas/core.yaml# 6e5f31378SMartin Blumenstingl 7e5f31378SMartin Blumenstingltitle: Amlogic Meson SDHC controller Device Tree Bindings 8e5f31378SMartin Blumenstingl 9e5f31378SMartin BlumenstinglallOf: 10e5f31378SMartin Blumenstingl - $ref: "mmc-controller.yaml" 11e5f31378SMartin Blumenstingl 12e5f31378SMartin Blumenstinglmaintainers: 13e5f31378SMartin Blumenstingl - Martin Blumenstingl <martin.blumenstingl@googlemail.com> 14e5f31378SMartin Blumenstingl 15e5f31378SMartin Blumenstingldescription: | 16e5f31378SMartin Blumenstingl The SDHC MMC host controller on Amlogic SoCs provides an eMMC and MMC 17e5f31378SMartin Blumenstingl card interface with 1/4/8-bit bus width. 18e5f31378SMartin Blumenstingl It supports eMMC spec 4.4x/4.5x including HS200 (up to 100MHz clock). 19e5f31378SMartin Blumenstingl 20e5f31378SMartin Blumenstinglproperties: 21e5f31378SMartin Blumenstingl compatible: 22e5f31378SMartin Blumenstingl items: 23e5f31378SMartin Blumenstingl - enum: 24e5f31378SMartin Blumenstingl - amlogic,meson8-sdhc 25e5f31378SMartin Blumenstingl - amlogic,meson8b-sdhc 26e5f31378SMartin Blumenstingl - amlogic,meson8m2-sdhc 27e5f31378SMartin Blumenstingl - const: amlogic,meson-mx-sdhc 28e5f31378SMartin Blumenstingl 29e5f31378SMartin Blumenstingl reg: 30e5f31378SMartin Blumenstingl minItems: 1 31e5f31378SMartin Blumenstingl 32e5f31378SMartin Blumenstingl interrupts: 33e5f31378SMartin Blumenstingl minItems: 1 34e5f31378SMartin Blumenstingl 35e5f31378SMartin Blumenstingl clocks: 36e5f31378SMartin Blumenstingl minItems: 5 37e5f31378SMartin Blumenstingl 38e5f31378SMartin Blumenstingl clock-names: 39e5f31378SMartin Blumenstingl items: 40e5f31378SMartin Blumenstingl - const: clkin0 41e5f31378SMartin Blumenstingl - const: clkin1 42e5f31378SMartin Blumenstingl - const: clkin2 43e5f31378SMartin Blumenstingl - const: clkin3 44e5f31378SMartin Blumenstingl - const: pclk 45e5f31378SMartin Blumenstingl 46e5f31378SMartin Blumenstinglrequired: 47e5f31378SMartin Blumenstingl - compatible 48e5f31378SMartin Blumenstingl - reg 49e5f31378SMartin Blumenstingl - interrupts 50e5f31378SMartin Blumenstingl - clocks 51e5f31378SMartin Blumenstingl - clock-names 52e5f31378SMartin Blumenstingl 536fdc6e23SRob HerringunevaluatedProperties: false 546fdc6e23SRob Herring 55e5f31378SMartin Blumenstinglexamples: 56e5f31378SMartin Blumenstingl - | 57e5f31378SMartin Blumenstingl #include <dt-bindings/interrupt-controller/irq.h> 58e5f31378SMartin Blumenstingl #include <dt-bindings/interrupt-controller/arm-gic.h> 59e5f31378SMartin Blumenstingl 60e5f31378SMartin Blumenstingl sdhc: mmc@8e00 { 61e5f31378SMartin Blumenstingl compatible = "amlogic,meson8-sdhc", "amlogic,meson-mx-sdhc"; 62e5f31378SMartin Blumenstingl reg = <0x8e00 0x42>; 63e5f31378SMartin Blumenstingl interrupts = <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>; 64e5f31378SMartin Blumenstingl clocks = <&xtal>, 65e5f31378SMartin Blumenstingl <&fclk_div4>, 66e5f31378SMartin Blumenstingl <&fclk_div3>, 67e5f31378SMartin Blumenstingl <&fclk_div5>, 68e5f31378SMartin Blumenstingl <&sdhc_pclk>; 69e5f31378SMartin Blumenstingl clock-names = "clkin0", "clkin1", "clkin2", "clkin3", "pclk"; 70e5f31378SMartin Blumenstingl }; 71