Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Allwinner A10 MMC Controller |
| 8 | |
| 9 | allOf: |
| 10 | - $ref: mmc-controller.yaml |
| 11 | |
| 12 | maintainers: |
| 13 | - Chen-Yu Tsai <wens@csie.org> |
| 14 | - Maxime Ripard <mripard@kernel.org> |
| 15 | |
| 16 | properties: |
| 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,sun20i-d1-mmc |
| 28 | - const: allwinner,sun50i-a64-emmc |
| 29 | - const: allwinner,sun50i-a64-mmc |
| 30 | - const: allwinner,sun50i-a100-emmc |
| 31 | - const: allwinner,sun50i-a100-mmc |
| 32 | - items: |
| 33 | - const: allwinner,sun8i-a83t-mmc |
| 34 | - const: allwinner,sun7i-a20-mmc |
| 35 | - items: |
| 36 | - const: allwinner,sun8i-r40-emmc |
| 37 | - const: allwinner,sun50i-a64-emmc |
| 38 | - items: |
| 39 | - const: allwinner,sun8i-r40-mmc |
| 40 | - const: allwinner,sun50i-a64-mmc |
| 41 | - items: |
| 42 | - const: allwinner,sun50i-h5-emmc |
| 43 | - const: allwinner,sun50i-a64-emmc |
| 44 | - items: |
| 45 | - const: allwinner,sun50i-h5-mmc |
| 46 | - const: allwinner,sun50i-a64-mmc |
| 47 | - items: |
| 48 | - const: allwinner,sun50i-h6-emmc |
| 49 | - const: allwinner,sun50i-a64-emmc |
| 50 | - items: |
| 51 | - const: allwinner,sun50i-h6-mmc |
| 52 | - const: allwinner,sun50i-a64-mmc |
| 53 | - items: |
| 54 | - const: allwinner,sun20i-d1-emmc |
| 55 | - const: allwinner,sun50i-a100-emmc |
| 56 | - items: |
| 57 | - const: allwinner,sun50i-h616-emmc |
| 58 | - const: allwinner,sun50i-a100-emmc |
| 59 | - items: |
| 60 | - const: allwinner,sun50i-h616-mmc |
| 61 | - const: allwinner,sun50i-a100-mmc |
| 62 | - items: |
| 63 | - const: allwinner,suniv-f1c100s-mmc |
| 64 | - const: allwinner,sun7i-a20-mmc |
| 65 | |
| 66 | reg: |
| 67 | maxItems: 1 |
| 68 | |
| 69 | interrupts: |
| 70 | maxItems: 1 |
| 71 | |
| 72 | clocks: |
| 73 | minItems: 2 |
| 74 | items: |
| 75 | - description: Bus Clock |
| 76 | - description: Module Clock |
| 77 | - description: Output Clock |
| 78 | - description: Sample Clock |
| 79 | |
| 80 | clock-names: |
| 81 | minItems: 2 |
| 82 | items: |
| 83 | - const: ahb |
| 84 | - const: mmc |
| 85 | - const: output |
| 86 | - const: sample |
| 87 | |
| 88 | resets: |
| 89 | maxItems: 1 |
| 90 | |
| 91 | reset-names: |
| 92 | const: ahb |
| 93 | |
| 94 | required: |
| 95 | - compatible |
| 96 | - reg |
| 97 | - interrupts |
| 98 | - clocks |
| 99 | - clock-names |
| 100 | |
| 101 | unevaluatedProperties: false |
| 102 | |
| 103 | examples: |
| 104 | - | |
| 105 | mmc0: mmc@1c0f000 { |
| 106 | compatible = "allwinner,sun5i-a13-mmc"; |
| 107 | reg = <0x01c0f000 0x1000>; |
| 108 | clocks = <&ahb_gates 8>, <&mmc0_clk>; |
| 109 | clock-names = "ahb", "mmc"; |
| 110 | interrupts = <32>; |
| 111 | bus-width = <4>; |
| 112 | cd-gpios = <&pio 7 1 0>; |
| 113 | }; |
| 114 | |
| 115 | ... |