diff options
author | Magnus Damm <damm+renesas@opensource.se> | 2018-02-19 07:37:58 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2018-03-16 12:24:17 -0400 |
commit | 56bac953b15087dbced6951248ca05a6f0888831 (patch) | |
tree | 1c80c2777767bca238a314c01cdda4885bd2473f | |
parent | 92bcfdb334ca7fc4c029927d25a89adcf34d0529 (diff) |
ARM: dts: marzen: Add SDHI0 VCCQ Regulator
Add support for the on-board voltage regulator hooked up to GPIO3_20
on r8a7779 Marzen. The board schematics describes the regulator as U4
TPS2110A. Input wise, U4 has D0 fixed to ground, D1 tied to GPIO3_20
while IN1 is fixed to 3.3V and IN2 is fixed to 1.8V. OUT goes to the
pull-ups for the data pins of SDHI0.
Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm/boot/dts/r8a7779-marzen.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7779-marzen.dts b/arch/arm/boot/dts/r8a7779-marzen.dts index 9412a86f9b30..4b9006bac3cb 100644 --- a/arch/arm/boot/dts/r8a7779-marzen.dts +++ b/arch/arm/boot/dts/r8a7779-marzen.dts | |||
@@ -42,6 +42,19 @@ | |||
42 | regulator-always-on; | 42 | regulator-always-on; |
43 | }; | 43 | }; |
44 | 44 | ||
45 | vccq_sdhi0: regulator-vccq-sdhi0 { | ||
46 | compatible = "regulator-gpio"; | ||
47 | |||
48 | regulator-name = "SDHI0 VccQ"; | ||
49 | regulator-min-microvolt = <1800000>; | ||
50 | regulator-max-microvolt = <3300000>; | ||
51 | |||
52 | gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>; | ||
53 | gpios-states = <1>; | ||
54 | states = <3300000 1 | ||
55 | 1800000 0>; | ||
56 | }; | ||
57 | |||
45 | ethernet@18000000 { | 58 | ethernet@18000000 { |
46 | compatible = "smsc,lan9220", "smsc,lan9115"; | 59 | compatible = "smsc,lan9220", "smsc,lan9115"; |
47 | reg = <0x18000000 0x100>; | 60 | reg = <0x18000000 0x100>; |
@@ -243,6 +256,7 @@ | |||
243 | pinctrl-names = "default"; | 256 | pinctrl-names = "default"; |
244 | 257 | ||
245 | vmmc-supply = <&fixedregulator3v3>; | 258 | vmmc-supply = <&fixedregulator3v3>; |
259 | vqmmc-supply = <&vccq_sdhi0>; | ||
246 | bus-width = <4>; | 260 | bus-width = <4>; |
247 | status = "okay"; | 261 | status = "okay"; |
248 | }; | 262 | }; |