mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 10:26:44 +07:00
ARM: dts: imx6ull-colibri: enable UHS-I for USDHC1
Allows to use the SD interface at a higher speed mode if the card supports it. For this the signaling voltage is switched from 3.3V to 1.8V under the usdhc1's drivers control. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
d7bfba7296
commit
20353143a2
@ -857,6 +857,8 @@ usdhc1: usdhc@2190000 {
|
|||||||
<&clks IMX6UL_CLK_USDHC1>,
|
<&clks IMX6UL_CLK_USDHC1>,
|
||||||
<&clks IMX6UL_CLK_USDHC1>;
|
<&clks IMX6UL_CLK_USDHC1>;
|
||||||
clock-names = "ipg", "ahb", "per";
|
clock-names = "ipg", "ahb", "per";
|
||||||
|
fsl,tuning-step= <2>;
|
||||||
|
fsl,tuning-start-tap = <20>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
@ -870,6 +872,8 @@ usdhc2: usdhc@2194000 {
|
|||||||
<&clks IMX6UL_CLK_USDHC2>;
|
<&clks IMX6UL_CLK_USDHC2>;
|
||||||
clock-names = "ipg", "ahb", "per";
|
clock-names = "ipg", "ahb", "per";
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
|
fsl,tuning-step= <2>;
|
||||||
|
fsl,tuning-start-tap = <20>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -145,13 +145,20 @@ &usbotg2 {
|
|||||||
};
|
};
|
||||||
|
|
||||||
&usdhc1 {
|
&usdhc1 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
|
||||||
pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_snvs_usdhc1_cd>;
|
pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_snvs_usdhc1_cd>;
|
||||||
no-1-8-v;
|
pinctrl-1 = <&pinctrl_usdhc1_100mhz &pinctrl_snvs_usdhc1_cd>;
|
||||||
|
pinctrl-2 = <&pinctrl_usdhc1_200mhz &pinctrl_snvs_usdhc1_cd>;
|
||||||
|
pinctrl-3 = <&pinctrl_usdhc1 &pinctrl_snvs_usdhc1_sleep_cd>;
|
||||||
cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
|
cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
|
||||||
disable-wp;
|
disable-wp;
|
||||||
wakeup-source;
|
wakeup-source;
|
||||||
keep-power-in-suspend;
|
keep-power-in-suspend;
|
||||||
vmmc-supply = <®_3v3>;
|
vmmc-supply = <®_3v3>;
|
||||||
|
vqmmc-supply = <®_sd1_vmmc>;
|
||||||
|
sd-uhs-sdr12;
|
||||||
|
sd-uhs-sdr25;
|
||||||
|
sd-uhs-sdr50;
|
||||||
|
sd-uhs-sdr104;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
@ -545,6 +545,12 @@ MX6ULL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x1b0b0 /* CD */
|
|||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pinctrl_snvs_usdhc1_sleep_cd: snvs-usdhc1-cd-grp-slp {
|
||||||
|
fsl,pins = <
|
||||||
|
MX6ULL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x0
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
|
||||||
pinctrl_snvs_wifi_pdn: snvs-wifi-pdn-grp {
|
pinctrl_snvs_wifi_pdn: snvs-wifi-pdn-grp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX6ULL_PAD_BOOT_MODE1__GPIO5_IO11 0x14
|
MX6ULL_PAD_BOOT_MODE1__GPIO5_IO11 0x14
|
||||||
|
Loading…
Reference in New Issue
Block a user