aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/rk3188-radxarock.dts
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2014-06-26 16:18:44 +0200
committerHeiko Stuebner <heiko@sntech.de>2014-07-26 23:43:59 +0200
commitb09e35a388ad23eb90497a352b8e5e5cb4b97bf2 (patch)
tree27180da7cc4c8211c54293e79fd0e5e81b3a3243 /arch/arm/boot/dts/rk3188-radxarock.dts
parentfe2c89afa7797a7b5b949be298775d908d51f612 (diff)
downloadlinux-stericsson-b09e35a388ad23eb90497a352b8e5e5cb4b97bf2.tar.gz
ARM: dts: rk3188-radxarock: enable sd-card slot
The Radxa Rock contains one sd-card slot. Add the supplying regulator and enable its dw_mmc node. Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3188-radxarock.dts')
-rw-r--r--arch/arm/boot/dts/rk3188-radxarock.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts
index a2812932cc5e..7628b4868d2a 100644
--- a/arch/arm/boot/dts/rk3188-radxarock.dts
+++ b/arch/arm/boot/dts/rk3188-radxarock.dts
@@ -57,6 +57,16 @@
default-state = "off";
};
};
+
+ vcc_sd0: sdmmc-regulator {
+ compatible = "regulator-fixed";
+ regulator-name = "sdmmc-supply";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ gpio = <&gpio3 1 GPIO_ACTIVE_LOW>;
+ startup-delay-us = <100000>;
+ vin-supply = <&vcc_io>;
+ };
};
&i2c1 {
@@ -159,6 +169,18 @@
};
};
+&mmc0 {
+ num-slots = <1>;
+ status = "okay";
+ vmmc-supply = <&vcc_sd0>;
+
+ slot@0 {
+ reg = <0>;
+ bus-width = <4>;
+ disable-wp;
+ };
+};
+
&pinctrl {
pcfg_output_low: pcfg-output-low {
output-low;