1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/mmc/samsung 5 $schema: http://devicetree.org/meta-schemas/co 6 7 title: 8 Samsung Exynos SoC specific extensions to th 9 Storage Host Controller 10 11 maintainers: 12 - Jaehoon Chung <jh80.chung@samsung.com> 13 - Krzysztof Kozlowski <krzk@kernel.org> 14 15 properties: 16 compatible: 17 oneOf: 18 - enum: 19 - axis,artpec8-dw-mshc 20 - samsung,exynos4210-dw-mshc 21 - samsung,exynos4412-dw-mshc 22 - samsung,exynos5250-dw-mshc 23 - samsung,exynos5420-dw-mshc 24 - samsung,exynos5420-dw-mshc-smu 25 - samsung,exynos7-dw-mshc 26 - samsung,exynos7-dw-mshc-smu 27 - items: 28 - enum: 29 - samsung,exynos5433-dw-mshc-smu 30 - samsung,exynos7885-dw-mshc-smu 31 - samsung,exynos850-dw-mshc-smu 32 - const: samsung,exynos7-dw-mshc-smu 33 34 reg: 35 maxItems: 1 36 37 interrupts: 38 maxItems: 1 39 40 clocks: 41 maxItems: 2 42 description: 43 Handle to "biu" and "ciu" clocks for the 44 bus interface unit clock and the card in 45 46 clock-names: 47 items: 48 - const: biu 49 - const: ciu 50 51 samsung,dw-mshc-ciu-div: 52 $ref: /schemas/types.yaml#/definitions/uin 53 minimum: 0 54 maximum: 7 55 description: 56 The divider value for the card interface 57 58 samsung,dw-mshc-ddr-timing: 59 $ref: /schemas/types.yaml#/definitions/uin 60 items: 61 - description: CIU clock phase shift val 62 minimum: 0 63 maximum: 7 64 - description: CIU clock phase shift val 65 minimum: 0 66 maximum: 7 67 description: 68 The value of CUI clock phase shift value 69 phase shift value in receive mode for do 70 See also samsung,dw-mshc-hs400-timing pr 71 72 samsung,dw-mshc-hs400-timing: 73 $ref: /schemas/types.yaml#/definitions/uin 74 items: 75 - description: CIU clock phase shift val 76 minimum: 0 77 maximum: 7 78 - description: CIU clock phase shift val 79 minimum: 0 80 maximum: 7 81 description: | 82 The value of CIU TX and RX clock phase s 83 operation. 84 Valid values for SDR and DDR CIU clock t 85 - valid value for tx phase shift and r 86 - when CIU clock divider value is set 87 values can be used. 88 - if CIU clock divider value is 0 (tha 89 phase shift clocks should be 0. 90 If missing, values from samsung,dw-mshc- 91 92 samsung,dw-mshc-sdr-timing: 93 $ref: /schemas/types.yaml#/definitions/uin 94 items: 95 - description: CIU clock phase shift val 96 minimum: 0 97 maximum: 7 98 - description: CIU clock phase shift val 99 minimum: 0 100 maximum: 7 101 description: 102 The value of CIU clock phase shift value 103 phase shift value in receive mode for si 104 See also samsung,dw-mshc-hs400-timing pr 105 106 samsung,read-strobe-delay: 107 $ref: /schemas/types.yaml#/definitions/uin 108 description: 109 RCLK (Data strobe) delay to control HS40 110 line in Read path). If missing, default 111 112 required: 113 - compatible 114 - reg 115 - interrupts 116 - clocks 117 - clock-names 118 - samsung,dw-mshc-ddr-timing 119 - samsung,dw-mshc-sdr-timing 120 121 allOf: 122 - $ref: synopsys-dw-mshc-common.yaml# 123 - if: 124 properties: 125 compatible: 126 contains: 127 enum: 128 - samsung,exynos5250-dw-mshc 129 - samsung,exynos5420-dw-mshc 130 - samsung,exynos7-dw-mshc 131 - samsung,exynos7-dw-mshc-smu 132 - axis,artpec8-dw-mshc 133 then: 134 required: 135 - samsung,dw-mshc-ciu-div 136 137 unevaluatedProperties: false 138 139 examples: 140 - | 141 #include <dt-bindings/clock/exynos5420.h> 142 #include <dt-bindings/interrupt-controller 143 144 mmc@12220000 { 145 compatible = "samsung,exynos5420-dw-ms 146 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVE 147 #address-cells = <1>; 148 #size-cells = <0>; 149 reg = <0x12220000 0x1000>; 150 clocks = <&clock CLK_MMC2>, <&clock CL 151 clock-names = "biu", "ciu"; 152 fifo-depth = <0x40>; 153 card-detect-delay = <200>; 154 samsung,dw-mshc-ciu-div = <3>; 155 samsung,dw-mshc-sdr-timing = <0 4>; 156 samsung,dw-mshc-ddr-timing = <0 2>; 157 pinctrl-names = "default"; 158 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd 159 bus-width = <4>; 160 cap-sd-highspeed; 161 max-frequency = <200000000>; 162 vmmc-supply = <&ldo19_reg>; 163 vqmmc-supply = <&ldo13_reg>; 164 sd-uhs-sdr50; 165 sd-uhs-sdr104; 166 sd-uhs-ddr50; 167 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.