diff options
author | Vladimir Barinov <vladimir.barinov@cogentembedded.com> | 2016-11-08 09:16:19 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2016-11-21 04:18:51 -0500 |
commit | 274dc8916d4b4b2f6a2636e670771c806a7e6a96 (patch) | |
tree | 99a35f980962edf5ff2a83e1c024b22d505974f4 | |
parent | fd51baee7abc388916b3e3b58dc062ef9c534150 (diff) |
arm64: dts: h3ulcb: enable SDHI2
This supports SDHI2 for H3ULCB onboard eMMC
Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts index f178fe1730de..8d0ac076d8e2 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts +++ b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts | |||
@@ -62,6 +62,24 @@ | |||
62 | clock-frequency = <24576000>; | 62 | clock-frequency = <24576000>; |
63 | }; | 63 | }; |
64 | 64 | ||
65 | reg_1p8v: regulator0 { | ||
66 | compatible = "regulator-fixed"; | ||
67 | regulator-name = "fixed-1.8V"; | ||
68 | regulator-min-microvolt = <1800000>; | ||
69 | regulator-max-microvolt = <1800000>; | ||
70 | regulator-boot-on; | ||
71 | regulator-always-on; | ||
72 | }; | ||
73 | |||
74 | reg_3p3v: regulator1 { | ||
75 | compatible = "regulator-fixed"; | ||
76 | regulator-name = "fixed-3.3V"; | ||
77 | regulator-min-microvolt = <3300000>; | ||
78 | regulator-max-microvolt = <3300000>; | ||
79 | regulator-boot-on; | ||
80 | regulator-always-on; | ||
81 | }; | ||
82 | |||
65 | vcc_sdhi0: regulator-vcc-sdhi0 { | 83 | vcc_sdhi0: regulator-vcc-sdhi0 { |
66 | compatible = "regulator-fixed"; | 84 | compatible = "regulator-fixed"; |
67 | 85 | ||
@@ -157,6 +175,18 @@ | |||
157 | power-source = <1800>; | 175 | power-source = <1800>; |
158 | }; | 176 | }; |
159 | 177 | ||
178 | sdhi2_pins: sd2 { | ||
179 | groups = "sdhi2_data8", "sdhi2_ctrl"; | ||
180 | function = "sdhi2"; | ||
181 | power-source = <3300>; | ||
182 | }; | ||
183 | |||
184 | sdhi2_pins_uhs: sd2_uhs { | ||
185 | groups = "sdhi2_data8", "sdhi2_ctrl"; | ||
186 | function = "sdhi2"; | ||
187 | power-source = <1800>; | ||
188 | }; | ||
189 | |||
160 | sound_pins: sound { | 190 | sound_pins: sound { |
161 | groups = "ssi01239_ctrl", "ssi0_data", "ssi1_data_a"; | 191 | groups = "ssi01239_ctrl", "ssi0_data", "ssi1_data_a"; |
162 | function = "ssi"; | 192 | function = "ssi"; |
@@ -273,6 +303,19 @@ | |||
273 | status = "okay"; | 303 | status = "okay"; |
274 | }; | 304 | }; |
275 | 305 | ||
306 | &sdhi2 { | ||
307 | /* used for on-board 8bit eMMC */ | ||
308 | pinctrl-0 = <&sdhi2_pins>; | ||
309 | pinctrl-1 = <&sdhi2_pins_uhs>; | ||
310 | pinctrl-names = "default", "state_uhs"; | ||
311 | |||
312 | vmmc-supply = <®_3p3v>; | ||
313 | vqmmc-supply = <®_1p8v>; | ||
314 | bus-width = <8>; | ||
315 | non-removable; | ||
316 | status = "okay"; | ||
317 | }; | ||
318 | |||
276 | &ssi1 { | 319 | &ssi1 { |
277 | shared-pin; | 320 | shared-pin; |
278 | }; | 321 | }; |