summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/at91-sama5d3_xplained.dts
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2015-04-27 15:19:12 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2015-05-19 15:04:54 +0200
commit1b53e3416dd05dd515d90ef8e587119da57328fe (patch)
tree5f85bc74d708afe86c53259dfe7bf32773003710 /arch/arm/boot/dts/at91-sama5d3_xplained.dts
parented8d177b3f6f7ec86f599d2f19d0b3ca321f11cb (diff)
downloadblackbird-op-linux-1b53e3416dd05dd515d90ef8e587119da57328fe.tar.gz
blackbird-op-linux-1b53e3416dd05dd515d90ef8e587119da57328fe.zip
ARM: at91/dt: sama5d3 xplained: add fixed regulator for vmmc0
Add fixed regulator for vmmc0 and attach the vmmc for it to the mmc0 node on the SAM5D3 Xplained board. This will remove the following warning from the kernel: atmel_mci f0000000.mmc: No vmmc regulator found Note, atmel_defconfig will need fixed regulator support enabled if this is to be used properly. Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> [use a fixed regulator instead of gpio one] 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-sama5d3_xplained.dts')
-rw-r--r--arch/arm/boot/dts/at91-sama5d3_xplained.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
index 3596b4c31ad7..4799e88cdf5e 100644
--- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
@@ -35,6 +35,7 @@
apb {
mmc0: mmc@f0000000 {
pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_dat4_7 &pinctrl_mmc0_cd>;
+ vmmc-supply = <&vcc_mmc0_reg>;
vqmmc-supply = <&vcc_3v3_reg>;
status = "okay";
slot@0 {
@@ -296,6 +297,14 @@
};
};
+ vcc_mmc0_reg: fixedregulator@0 {
+ compatible = "regulator-fixed";
+ gpio = <&pioE 2 GPIO_ACTIVE_LOW>;
+ regulator-name = "mmc0-card-supply";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
+
gpio_keys {
compatible = "gpio-keys";
OpenPOWER on IntegriCloud