1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/mmc/amlogic,meson-gx-mmc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Amlogic SD / eMMC controller for S905/GXBB family SoCs
10 The MMC 5.1 compliant host controller on Amlogic provides the
11 interface for SD, eMMC and SDIO devices
14 - Neil Armstrong <neil.armstrong@linaro.org>
17 - $ref: mmc-controller.yaml#
22 - const: amlogic,meson-axg-mmc
24 - const: amlogic,meson-gx-mmc
25 - const: amlogic,meson-gxbb-mmc
33 - description: mmc controller instance
34 - description: card detect
48 amlogic,dram-access-quirk:
51 set when controller's internal DMA engine cannot access the DRAM memory,
52 like on the G12A dedicated SDIO controller.
62 unevaluatedProperties: false
66 #include <dt-bindings/interrupt-controller/irq.h>
67 #include <dt-bindings/interrupt-controller/arm-gic.h>
69 compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
70 reg = <0x70000 0x2000>;
71 interrupts = <GIC_SPI 216 IRQ_TYPE_EDGE_RISING>;
72 clocks = <&clk_mmc>, <&xtal>, <&clk_div>;
73 clock-names = "core", "clkin0", "clkin1";
74 pinctrl-0 = <&emm_pins>;
75 resets = <&reset_mmc>;