summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/r8a7744-iwg20m.dtsi
diff options
context:
space:
mode:
authorBiju Das <biju.das@bp.renesas.com>2018-11-30 16:26:27 +0100
committerSimon Horman <horms+renesas@verge.net.au>2018-12-04 15:02:18 +0100
commitf9a3d5f23b6c8e4029a3474945971477d1f9365a (patch)
treec6ef45d68da8dc3337e88baab57d7ad7db9b7af5 /arch/arm/boot/dts/r8a7744-iwg20m.dtsi
parentARM: dts: r8a7744-iwg20m: Add eMMC support (diff)
downloadlinux-f9a3d5f23b6c8e4029a3474945971477d1f9365a.tar.xz
linux-f9a3d5f23b6c8e4029a3474945971477d1f9365a.zip
ARM: dts: r8a7744-iwg20m: Enable SDHI0 controller
Enable the SDHI0 controller on iWave RZ/G1N Qseven System On Module. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7744-iwg20m.dtsi')
-rw-r--r--arch/arm/boot/dts/r8a7744-iwg20m.dtsi16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7744-iwg20m.dtsi b/arch/arm/boot/dts/r8a7744-iwg20m.dtsi
index 1e57b1f9baed..503583e2c852 100644
--- a/arch/arm/boot/dts/r8a7744-iwg20m.dtsi
+++ b/arch/arm/boot/dts/r8a7744-iwg20m.dtsi
@@ -35,6 +35,12 @@
groups = "mmc_data8_b", "mmc_ctrl";
function = "mmc";
};
+
+ sdhi0_pins: sd0 {
+ groups = "sdhi0_data4", "sdhi0_ctrl";
+ function = "sdhi0";
+ power-source = <3300>;
+ };
};
&mmcif0 {
@@ -46,3 +52,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";
+};