ACPI: EC: Rework flushing of pending work
[linux/fpc-iii.git] / Documentation / devicetree / bindings / mmc / allwinner,sun4i-a10-mmc.yaml
blobd2d4308596b86899515dae8497639f21e50b3d93
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/mmc/allwinner,sun4i-a10-mmc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 MMC Controller Device Tree Bindings
9 allOf:
10   - $ref: "mmc-controller.yaml"
12 maintainers:
13   - Chen-Yu Tsai <wens@csie.org>
14   - Maxime Ripard <maxime.ripard@bootlin.com>
16 properties:
17   "#address-cells": true
18   "#size-cells": true
20   compatible:
21     oneOf:
22       - const: allwinner,sun4i-a10-mmc
23       - const: allwinner,sun5i-a13-mmc
24       - const: allwinner,sun7i-a20-mmc
25       - const: allwinner,sun8i-a83t-emmc
26       - const: allwinner,sun9i-a80-mmc
27       - const: allwinner,sun50i-a64-emmc
28       - const: allwinner,sun50i-a64-mmc
29       - items:
30           - const: allwinner,sun8i-a83t-mmc
31           - const: allwinner,sun7i-a20-mmc
32       - items:
33           - const: allwinner,sun8i-r40-emmc
34           - const: allwinner,sun50i-a64-emmc
35       - items:
36           - const: allwinner,sun8i-r40-mmc
37           - const: allwinner,sun50i-a64-mmc
38       - items:
39           - const: allwinner,sun50i-h5-emmc
40           - const: allwinner,sun50i-a64-emmc
41       - items:
42           - const: allwinner,sun50i-h5-mmc
43           - const: allwinner,sun50i-a64-mmc
44       - items:
45           - const: allwinner,sun50i-h6-emmc
46           - const: allwinner,sun50i-a64-emmc
47       - items:
48           - const: allwinner,sun50i-h6-mmc
49           - const: allwinner,sun50i-a64-mmc
51   reg:
52     maxItems: 1
54   interrupts:
55     maxItems: 1
57   clocks:
58     minItems: 2
59     maxItems: 4
60     items:
61       - description: Bus Clock
62       - description: Module Clock
63       - description: Output Clock
64       - description: Sample Clock
66   clock-names:
67     minItems: 2
68     maxItems: 4
69     items:
70       - const: ahb
71       - const: mmc
72       - const: output
73       - const: sample
75   resets:
76     maxItems: 1
78   reset-names:
79     const: ahb
81 required:
82   - compatible
83   - reg
84   - interrupts
85   - clocks
86   - clock-names
88 examples:
89   - |
90     mmc0: mmc@1c0f000 {
91         compatible = "allwinner,sun5i-a13-mmc";
92         reg = <0x01c0f000 0x1000>;
93         clocks = <&ahb_gates 8>, <&mmc0_clk>;
94         clock-names = "ahb", "mmc";
95         interrupts = <32>;
96         bus-width = <4>;
97         cd-gpios = <&pio 7 1 0>;
98     };
100 # FIXME: We should set it, but it would report all the generic
101 # properties as additional properties.
102 # additionalProperties: false