lkml.org 
[lkml]   [2018]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 06/14] ARM: dts: am574x-idk: Add pinmux configuration for MMC
    Date
    From: Sekhar Nori <nsekhar@ti.com>

    Include dra76x-mmc-iodelay.dtsi which has pinmux and IODelay
    configuration values for the various MMC modes for am574x SoC
    and use it in the pinctrl properties of MMC devicetree
    nodes present in am574x-idk.dts.

    Signed-off-by: Sekhar Nori <nsekhar@ti.com>
    Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
    ---
    arch/arm/boot/dts/am574x-idk.dts | 20 ++++++++++++++++++++
    1 file changed, 20 insertions(+)

    diff --git a/arch/arm/boot/dts/am574x-idk.dts b/arch/arm/boot/dts/am574x-idk.dts
    index 41e12a382d2f..c7718b2d9fdf 100644
    --- a/arch/arm/boot/dts/am574x-idk.dts
    +++ b/arch/arm/boot/dts/am574x-idk.dts
    @@ -7,6 +7,8 @@
    /dts-v1/;

    #include "dra76x.dtsi"
    +#include "dra7-mmc-iodelay.dtsi"
    +#include "dra76x-mmc-iodelay.dtsi"
    #include "am572x-idk-common.dtsi"

    / {
    @@ -20,3 +22,21 @@
    spi-max-frequency = <96000000>;
    };
    };
    +
    +&mmc1 {
    + pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
    + pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;
    + pinctrl-1 = <&mmc1_pins_hs>;
    + pinctrl-2 = <&mmc1_pins_default>;
    + pinctrl-3 = <&mmc1_pins_hs>;
    + pinctrl-4 = <&mmc1_pins_sdr50>;
    + pinctrl-5 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_conf>;
    + pinctrl-6 = <&mmc1_pins_ddr50 &mmc1_iodelay_sdr104_conf>;
    +};
    +
    +&mmc2 {
    + pinctrl-names = "default", "hs", "ddr_1_8v";
    + pinctrl-0 = <&mmc2_pins_default>;
    + pinctrl-1 = <&mmc2_pins_default>;
    + pinctrl-2 = <&mmc2_pins_default>;
    +};
    --
    2.17.0
    \
     
     \ /
      Last update: 2018-04-27 14:12    [W:2.874 / U:0.120 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site