aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBiju Das <[email protected]>2017-08-14 12:49:48 +0100
committerSimon Horman <[email protected]>2017-09-18 08:05:25 +0200
commite75e71e7bcee2e04be8bbca6fb67af1a45fa128b (patch)
treeaea5e0fbb8e6c6452f8d35652e38d6bf9564a928
parent63ce8a617b5129f7cb20ed0d6d822a31ecca4696 (diff)
ARM: dts: iwg20m: Enable SDHI0 controller
Enable the SDHI0 controller on iWave RZG1M Qseven SOM. Signed-off-by: Biju Das <[email protected]> Acked-by: Wolfram Sang <[email protected]> Signed-off-by: Simon Horman <[email protected]>
-rw-r--r--arch/arm/boot/dts/r8a7743-iwg20m.dtsi17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7743-iwg20m.dtsi b/arch/arm/boot/dts/r8a7743-iwg20m.dtsi
index ff7993818637..4119737cb883 100644
--- a/arch/arm/boot/dts/r8a7743-iwg20m.dtsi
+++ b/arch/arm/boot/dts/r8a7743-iwg20m.dtsi
@@ -9,6 +9,7 @@
*/
#include "r8a7743.dtsi"
+#include <dt-bindings/gpio/gpio.h>
/ {
compatible = "iwave,g20m", "renesas,r8a7743";
@@ -42,6 +43,12 @@
groups = "mmc_data8_b", "mmc_ctrl";
function = "mmc";
};
+
+ sdhi0_pins: sd0 {
+ groups = "sdhi0_data4", "sdhi0_ctrl";
+ function = "sdhi0";
+ power-source = <3300>;
+ };
};
&mmcif0 {
@@ -53,3 +60,13 @@
non-removable;
status = "okay";
};
+
+&sdhi0 {
+ pinctrl-0 = <&sdhi0_pins>;
+ pinctrl-names = "default";
+
+ vmmc-supply = <&reg_3p3v>;
+ vqmmc-supply = <&reg_3p3v>;
+ cd-gpios = <&gpio7 11 GPIO_ACTIVE_LOW>;
+ status = "okay";
+};