diff options
author | Fabrizio Castro | 2017-08-17 19:31:43 +0200 |
---|---|---|
committer | Simon Horman | 2017-09-19 11:19:39 +0200 |
commit | 3350ed907182049b806992f228021e7997183dda (patch) | |
tree | 8cd72eeaf2567127ef3008a400f00875b61df386 /arch/arm/boot/dts/r8a7745-iwg22m.dtsi | |
parent | ARM: dts: r8a7745: Add MMC interface support (diff) | |
download | kernel-qcow2-linux-3350ed907182049b806992f228021e7997183dda.tar.gz kernel-qcow2-linux-3350ed907182049b806992f228021e7997183dda.tar.xz kernel-qcow2-linux-3350ed907182049b806992f228021e7997183dda.zip |
ARM: dts: iwg22m: Add eMMC support
Add eMMC support for iW-RainboW-G22M-SM.
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
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 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7745-iwg22m.dtsi b/arch/arm/boot/dts/r8a7745-iwg22m.dtsi index 9dbd854aacf8..afb1148baa2f 100644 --- a/arch/arm/boot/dts/r8a7745-iwg22m.dtsi +++ b/arch/arm/boot/dts/r8a7745-iwg22m.dtsi @@ -17,8 +17,34 @@ device_type = "memory"; reg = <0 0x40000000 0 0x20000000>; }; + + reg_3p3v: 3p3v { + compatible = "regulator-fixed"; + regulator-name = "3P3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + regulator-boot-on; + }; }; &extal_clk { clock-frequency = <20000000>; }; + +&pfc { + mmcif0_pins: mmc { + groups = "mmc_data8", "mmc_ctrl"; + function = "mmc"; + }; +}; + +&mmcif0 { + pinctrl-0 = <&mmcif0_pins>; + pinctrl-names = "default"; + + vmmc-supply = <®_3p3v>; + bus-width = <8>; + non-removable; + status = "okay"; +}; |