[PATCH 25/41] ARM: dts: dra7-evm: Add pinmux configuration for MMC
Include dra74x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra74 SoC and use it in the pinctrl properties of MMC devicetree nodes present in dra7-evm. Signed-off-by: Kishon Vijay Abraham I--- arch/arm/boot/dts/dra7-evm.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index fbcb3199defd..64955e8f06d2 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -8,6 +8,7 @@ /dts-v1/; #include "dra74x.dtsi" +#include "dra74x-mmc-iodelay.dtsi" #include #include #include @@ -451,6 +452,16 @@ * is always hardwired. */ cd-gpios = < 27 GPIO_ACTIVE_LOW>; + pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50-rev11", "sdr104-rev11", "ddr50", "sdr104"; + pinctrl-0 = <_pins_default>; + pinctrl-1 = <_pins_hs>; + pinctrl-2 = <_pins_sdr12>; + pinctrl-3 = <_pins_sdr25>; + pinctrl-4 = <_pins_sdr50>; + pinctrl-5 = <_pins_ddr50 _iodelay_ddr_rev11_conf>; + pinctrl-6 = <_pins_sdr104 _iodelay_sdr104_rev11_conf>; + pinctrl-7 = <_pins_ddr50 _iodelay_ddr_rev20_conf>; + pinctrl-8 = <_pins_sdr104 _iodelay_sdr104_rev20_conf>; }; { @@ -459,6 +470,13 @@ pinctrl-0 = <_pins_default>; vmmc-supply = <_1v8_sw>; bus-width = <8>; + pinctrl-names = "default", "hs", "ddr_1_8v-rev11", "ddr_1_8v", "hs200_1_8v-rev11", "hs200_1_8v"; + pinctrl-0 = <_pins_default>; + pinctrl-1 = <_pins_hs>; + pinctrl-2 = <_pins_ddr_1_8v_rev11 _iodelay_ddr_1_8v_rev11_conf>; + pinctrl-3 = <_pins_ddr_rev20>; + pinctrl-4 = <_pins_hs200 _iodelay_hs200_rev11_conf>; + pinctrl-5 = <_pins_hs200 _iodelay_hs200_rev20_conf>; }; { -- 2.11.0
[PATCH 25/41] ARM: dts: dra7-evm: Add pinmux configuration for MMC
Include dra74x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra74 SoC and use it in the pinctrl properties of MMC devicetree nodes present in dra7-evm. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7-evm.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index fbcb3199defd..64955e8f06d2 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -8,6 +8,7 @@ /dts-v1/; #include "dra74x.dtsi" +#include "dra74x-mmc-iodelay.dtsi" #include #include #include @@ -451,6 +452,16 @@ * is always hardwired. */ cd-gpios = < 27 GPIO_ACTIVE_LOW>; + pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50-rev11", "sdr104-rev11", "ddr50", "sdr104"; + pinctrl-0 = <_pins_default>; + pinctrl-1 = <_pins_hs>; + pinctrl-2 = <_pins_sdr12>; + pinctrl-3 = <_pins_sdr25>; + pinctrl-4 = <_pins_sdr50>; + pinctrl-5 = <_pins_ddr50 _iodelay_ddr_rev11_conf>; + pinctrl-6 = <_pins_sdr104 _iodelay_sdr104_rev11_conf>; + pinctrl-7 = <_pins_ddr50 _iodelay_ddr_rev20_conf>; + pinctrl-8 = <_pins_sdr104 _iodelay_sdr104_rev20_conf>; }; { @@ -459,6 +470,13 @@ pinctrl-0 = <_pins_default>; vmmc-supply = <_1v8_sw>; bus-width = <8>; + pinctrl-names = "default", "hs", "ddr_1_8v-rev11", "ddr_1_8v", "hs200_1_8v-rev11", "hs200_1_8v"; + pinctrl-0 = <_pins_default>; + pinctrl-1 = <_pins_hs>; + pinctrl-2 = <_pins_ddr_1_8v_rev11 _iodelay_ddr_1_8v_rev11_conf>; + pinctrl-3 = <_pins_ddr_rev20>; + pinctrl-4 = <_pins_hs200 _iodelay_hs200_rev11_conf>; + pinctrl-5 = <_pins_hs200 _iodelay_hs200_rev20_conf>; }; { -- 2.11.0