diff options
author | Simon Horman <horms+renesas@verge.net.au> | 2016-08-09 15:19:04 +0300 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2016-08-17 10:07:51 +0300 |
commit | e6ed3f533d54a92f8d67d301f9209ca64d593e03 (patch) | |
tree | fb79addc4d7fe16612f7aee474284b9f4d7b4e01 /arch/arm/boot/dts/r8a7794-alt.dts | |
parent | 2b41091b896bb99ec1da1ed30113603fc91b84d6 (diff) | |
download | linux-e6ed3f533d54a92f8d67d301f9209ca64d593e03.tar.xz |
ARM: dts: alt: add MMCIF support
Define the Alt board dependent part of the MMCIF device node.
Like the Silk the board has eMMC chip along with the necessary voltage
regulator (note that the Vcc/Vccq regulator is dummy -- it's required by
the MMCIF driver but doesn't actually exist on the board).
Based on work for the Silk board by Vladimir Barinov and Sergei Shtylyov.
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7794-alt.dts')
-rw-r--r-- | arch/arm/boot/dts/r8a7794-alt.dts | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts index fe7c128cc965..8d1b35afaf82 100644 --- a/arch/arm/boot/dts/r8a7794-alt.dts +++ b/arch/arm/boot/dts/r8a7794-alt.dts @@ -30,6 +30,15 @@ reg = <0 0x40000000 0 0x40000000>; }; + d3_3v: regulator-d3-3v { + compatible = "regulator-fixed"; + regulator-name = "D3.3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + vcc_sdhi0: regulator-vcc-sdhi0 { compatible = "regulator-fixed"; @@ -190,6 +199,11 @@ function = "vin0"; }; + mmcif0_pins: mmcif0 { + groups = "mmc_data8", "mmc_ctrl"; + function = "mmc"; + }; + sdhi0_pins: sd0 { groups = "sdhi0_data4", "sdhi0_ctrl"; function = "sdhi0"; @@ -228,6 +242,17 @@ }; }; +&mmcif0 { + pinctrl-0 = <&mmcif0_pins>; + pinctrl-names = "default"; + + vmmc-supply = <&d3_3v>; + vqmmc-supply = <&d3_3v>; + bus-width = <8>; + non-removable; + status = "okay"; +}; + &sdhi0 { pinctrl-0 = <&sdhi0_pins>; pinctrl-names = "default"; |