FILE
ti,omap2430-sdhci.yaml
File preview with syntax highlighting.
linux-6.19.14/Documentation/devicetree/bindings/mmc/ti,omap2430-sdhci.yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/mmc/ti,omap2430-sdhci.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: TI OMAP SDHCI Controller 8 9maintainers: 10 - Kishon Vijay Abraham I <kishon@ti.com> 11 12description: 13 For UHS devices which require tuning, the device tree should have a 14 cpu_thermal node which maps to the appropriate thermal zone. This 15 is used to get the temperature of the zone during tuning. 16 17properties: 18 compatible: 19 enum: 20 - ti,omap2430-sdhci 21 - ti,omap3-sdhci 22 - ti,omap4-sdhci 23 - ti,omap5-sdhci 24 - ti,dra7-sdhci 25 - ti,k2g-sdhci 26 - ti,am335-sdhci 27 - ti,am437-sdhci 28 29 reg: 30 maxItems: 1 31 32 interrupts: 33 maxItems: 1 34 35 clocks: 36 maxItems: 2 37 38 clock-names: 39 items: 40 - const: fck 41 - const: mmchsdb_fck 42 43 dmas: 44 maxItems: 2 45 46 dma-names: 47 items: 48 - const: tx 49 - const: rx 50 51 pinctrl-names: 52 minItems: 1 53 maxItems: 14 54 items: 55 enum: 56 - default 57 - default-rev11 58 - hs 59 - sdr12 60 - sdr12-rev11 61 - sdr25 62 - sdr25-rev11 63 - sdr50 64 - ddr50-rev11 65 - sdr104-rev11 66 - ddr50 67 - sdr104 68 - ddr_1_8v-rev11 69 - ddr_1_8v 70 - ddr_3_3v 71 - hs-rev11 72 - hs200_1_8v-rev11 73 - hs200_1_8v 74 - sleep 75 76 pinctrl-0: 77 maxItems: 1 78 79 pinctrl-1: 80 maxItems: 1 81 82 pinctrl-2: 83 maxItems: 1 84 85 pinctrl-3: 86 maxItems: 1 87 88 pinctrl-4: 89 maxItems: 1 90 91 pinctrl-5: 92 maxItems: 1 93 94 pinctrl-6: 95 maxItems: 1 96 97 pinctrl-7: 98 maxItems: 1 99 100 pinctrl-8: 101 maxItems: 1 102 103 power-domains: 104 maxItems: 1 105 106 pbias-supply: 107 description: 108 It is used to specify the voltage regulator that provides the bias 109 voltage for certain analog or I/O pads. 110 111 ti,non-removable: 112 description: 113 It indicates that a component is not meant to be easily removed or 114 replaced by the user, such as an embedded battery or a non-removable 115 storage slot like eMMC. 116 type: boolean 117 deprecated: true 118 119 clock-frequency: 120 $ref: /schemas/types.yaml#/definitions/uint32 121 description: 122 It represents the speed at which a clock signal associated with a device 123 or bus operates, measured in Hertz (Hz). This value is crucial for configuring 124 hardware components that require a specific clock speed. 125 126required: 127 - compatible 128 - reg 129 - interrupts 130 131allOf: 132 - $ref: sdhci-common.yaml# 133 - if: 134 properties: 135 compatible: 136 contains: 137 enum: 138 - ti,dra7-sdhci 139 - ti,k2g-sdhci 140 then: 141 required: 142 - max-frequency 143 - if: 144 properties: 145 compatible: 146 contains: 147 const: ti,k2g-sdhci 148 then: 149 required: 150 - clocks 151 - clock-names 152 153unevaluatedProperties: false 154 155examples: 156 - | 157 #include <dt-bindings/interrupt-controller/arm-gic.h> 158 mmc@4809c000 { 159 compatible = "ti,dra7-sdhci"; 160 reg = <0x4809c000 0x400>; 161 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>; 162 max-frequency = <192000000>; 163 sdhci-caps-mask = <0x0 0x400000>; 164 bus-width = <4>; 165 vmmc-supply = <&vmmc>; /* phandle to regulator node */ 166 dmas = <&sdma 61>, <&sdma 62>; 167 dma-names = "tx", "rx"; 168 }; 169...
~/
Read-only file preview.