Debian Codegraph @

Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml

raw symbols SCIP
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/mmc/amlogic,meson-gx-mmc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Amlogic SD / eMMC controller for S905/GXBB family SoCs
8
9 description:
10 The MMC 5.1 compliant host controller on Amlogic provides the
11 interface for SD, eMMC and SDIO devices
12
13 maintainers:
14 - Neil Armstrong <[email protected]>
15
16 allOf:
17 - $ref: mmc-controller.yaml#
18
19 properties:
20 compatible:
21 oneOf:
22 - items:
23 - enum:
24 - amlogic,t7-mmc
25 - const: amlogic,meson-axg-mmc
26 - const: amlogic,meson-axg-mmc
27 - items:
28 - const: amlogic,meson-gx-mmc
29 - const: amlogic,meson-gxbb-mmc
30
31 reg:
32 maxItems: 1
33
34 interrupts:
35 minItems: 1
36 items:
37 - description: mmc controller instance
38 - description: card detect
39
40 clocks:
41 maxItems: 3
42
43 clock-names:
44 items:
45 - const: core
46 - const: clkin0
47 - const: clkin1
48
49 resets:
50 maxItems: 1
51
52 amlogic,dram-access-quirk:
53 type: boolean
54 description:
55 set when controller's internal DMA engine cannot access the DRAM memory,
56 like on the G12A dedicated SDIO controller.
57
58 power-domains:
59 maxItems: 1
60
61 required:
62 - compatible
63 - reg
64 - interrupts
65 - clocks
66 - clock-names
67 - resets
68
69 unevaluatedProperties: false
70
71 examples:
72 - |
73 #include <dt-bindings/interrupt-controller/irq.h>
74 #include <dt-bindings/interrupt-controller/arm-gic.h>
75 mmc@70000 {
76 compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
77 reg = <0x70000 0x2000>;
78 interrupts = <GIC_SPI 216 IRQ_TYPE_EDGE_RISING>;
79 clocks = <&clk_mmc>, <&xtal>, <&clk_div>;
80 clock-names = "core", "clkin0", "clkin1";
81 pinctrl-0 = <&emm_pins>;
82 resets = <&reset_mmc>;
83 };