diff options
author | Ludovic Desroches <ludovic.desroches@atmel.com> | 2015-04-27 15:27:52 +0200 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2015-05-19 15:04:55 +0200 |
commit | 8d545f32bd77c10c2ab85fce4ddf1273d325d7d3 (patch) | |
tree | 984d6923cdebfad983f5756db736c7da7b88396a /arch/arm/boot/dts/at91-sama5d4_xplained.dts | |
parent | ARM: at91/dt: sama5d3 xplained: add fixed regulator for vmmc0 (diff) | |
download | linux-8d545f32bd77c10c2ab85fce4ddf1273d325d7d3.tar.xz linux-8d545f32bd77c10c2ab85fce4ddf1273d325d7d3.zip |
ARM: at91/dt: sama5d4 xplained: add regulators for v(q)mmc1 supplies
Add vcc_mmc1 fixed regulator to remove the 'no vmmc regulator found' warning
when probing the mmc1 device.
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/boot/dts/at91-sama5d4_xplained.dts')
-rw-r--r-- | arch/arm/boot/dts/at91-sama5d4_xplained.dts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts b/arch/arm/boot/dts/at91-sama5d4_xplained.dts index 5e32acc6082e..5dbc0fcfc5a8 100644 --- a/arch/arm/boot/dts/at91-sama5d4_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d4_xplained.dts @@ -106,6 +106,8 @@ mmc1: mmc@fc000000 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>; + vmmc-supply = <&vcc_mmc1_reg>; + vqmmc-supply = <&vcc_3v3_reg>; status = "okay"; slot@0 { reg = <0>; @@ -243,4 +245,22 @@ linux,default-trigger = "heartbeat"; }; }; + + vcc_3v3_reg: fixedregulator@0 { + compatible = "regulator-fixed"; + regulator-name = "VCC 3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + vcc_mmc1_reg: fixedregulator@1 { + compatible = "regulator-fixed"; + gpio = <&pioE 4 GPIO_ACTIVE_LOW>; + regulator-name = "VDD MCI1"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vcc_3v3_reg>; + }; }; |