diff options
author | Fabrizio Castro <fabrizio.castro@bp.renesas.com> | 2017-09-13 18:05:36 +0100 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2017-09-21 10:36:56 +0200 |
commit | 599114ee21057040c058043fdc1367878350d5e4 (patch) | |
tree | 145ba729b7d7851c7d2c27263f43f8d994f53145 /arch/arm/boot/dts/r8a7745-iwg22m.dtsi | |
parent | 7079131ef9b934df48602b22e30282d25a6a4827 (diff) | |
download | linux-599114ee21057040c058043fdc1367878350d5e4.tar.bz2 |
ARM: dts: iwg22m: Enable SDHI1 controller
Enable the SDHI1 controller on iWave RZ/G1E SoM.
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@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/r8a7745-iwg22m.dtsi')
-rw-r--r-- | arch/arm/boot/dts/r8a7745-iwg22m.dtsi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7745-iwg22m.dtsi b/arch/arm/boot/dts/r8a7745-iwg22m.dtsi index e306e7c5b644..f7f9ceff35a6 100644 --- a/arch/arm/boot/dts/r8a7745-iwg22m.dtsi +++ b/arch/arm/boot/dts/r8a7745-iwg22m.dtsi @@ -9,6 +9,7 @@ */ #include "r8a7745.dtsi" +#include <dt-bindings/gpio/gpio.h> / { compatible = "iwave,g22m", "renesas,r8a7745"; @@ -38,6 +39,12 @@ function = "mmc"; }; + sdhi1_pins: sd1 { + groups = "sdhi1_data4", "sdhi1_ctrl"; + function = "sdhi1"; + power-source = <3300>; + }; + i2c3_pins: i2c3 { groups = "i2c3_b"; function = "i2c3"; @@ -54,6 +61,16 @@ status = "okay"; }; +&sdhi1 { + pinctrl-0 = <&sdhi1_pins>; + pinctrl-names = "default"; + + vmmc-supply = <®_3p3v>; + vqmmc-supply = <®_3p3v>; + cd-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>; + status = "okay"; +}; + &i2c3 { pinctrl-0 = <&i2c3_pins>; pinctrl-names = "default"; |