i.MX6Q Sabre SD2 CD &WP pins are not used

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6Q Sabre SD2 CD &WP pins are not used

Jump to solution
678 Views
norishinozaki
Contributor V

Hello Champs,

In the i.MX6Q Sabre SD, SD2 and SD3's CD and WP pins look able to be used as are the functions.

pastedImage_1.png

However these CD and SP are not used in Sabre BSP but GPIOs are used for the functions.

In 3.14.28 dbs:

        pinctrl-0 = <&pinctrl_usdhc3>;

        cd-gpios = <&gpio2 0 0>;

        wp-gpios = <&gpio2 1 0>;

Could you explain what is the reason?

Can we simply do like this ?

        .cd_gpio = SABRESD_SD2_CD,

        .wp_gpio = SABRESD_SD2_WP,

BR,

N.S.

Labels (1)
0 Kudos
1 Solution
499 Views
igorpadykov
NXP Employee
NXP Employee

Hi Nori

that may be done due to board routing convenience, as for usage native

cd,wp - this is described in linux documentation

linux-2.6-imx.git - Freescale i.MX Linux Tree

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
3 Replies
500 Views
igorpadykov
NXP Employee
NXP Employee

Hi Nori

that may be done due to board routing convenience, as for usage native

cd,wp - this is described in linux documentation

linux-2.6-imx.git - Freescale i.MX Linux Tree

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
499 Views
norishinozaki
Contributor V

Hello Igor,

Thanks let me know the document!

BR,

N.Shinozaki

0 Kudos
499 Views
igorpadykov
NXP Employee
NXP Employee

Hi Nori

it is in linux/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt

Best regards

igor

0 Kudos