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# 6 7title: Allwinner A10 MMC Controller Device Tree Bindings 8 9allOf: 10 - $ref: "mmc-controller.yaml" 11 12maintainers: 13 - Chen-Yu Tsai <wens@csie.org> 14 - Maxime Ripard <maxime.ripard@bootlin.com> 15 16properties: 17 "#address-cells": true 18 "#size-cells": true 19 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 50 51 reg: 52 maxItems: 1 53 54 interrupts: 55 maxItems: 1 56 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 65 66 clock-names: 67 minItems: 2 68 maxItems: 4 69 items: 70 - const: ahb 71 - const: mmc 72 - const: output 73 - const: sample 74 75 resets: 76 maxItems: 1 77 78 reset-names: 79 const: ahb 80 81required: 82 - compatible 83 - reg 84 - interrupts 85 - clocks 86 - clock-names 87 88examples: 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 }; 99 100# FIXME: We should set it, but it would report all the generic 101# properties as additional properties. 102# additionalProperties: false 103 104... 105