Hi Igor,
We are using below pinmuxing,its always detecting the card while inserting and removing time,but we are not getting the data.
pinctrl_sim2: sim2grp {
fsl,pins = <
MX6UL_PAD_UART3_RX_DATA__SIM2_PORT0_PD 0xb808
MX6UL_PAD_ENET2_TX_EN__SIM2_PORT0_CLK 0x31
MX6UL_PAD_ENET2_TX_CLK__SIM2_PORT0_RST_B 0xb808
MX6UL_PAD_ENET2_RX_ER__SIM2_PORT0_SVEN 0xb808
MX6UL_PAD_ENET2_TX_DATA1__SIM2_PORT0_TRXD 0xb809
MX6UL_PAD_UART3_TX_DATA__GPIO1_IO24 0x3008
>;
};
};
&sim2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sim2>;
assigned-clocks = <&clks IMX6UL_CLK_SIM_SEL>;
assigned-clock-parents = <&clks IMX6UL_CLK_SIM_PODF>;
assigned-clock-rates = <240000000>;
pinctrl-assert-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
port = <0>;
sven_low_active;
status = "okay";
};
While using below pinmux we are able to read the atr values but its says CLA not support,output is like below.
**********************************************************************************
---- Running < ./sam > test ----------
atr[0]= 0x3b atr[1]= 0x95 atr[2]= 0x94 atr[3]= 0x40 atr[4]= 0xff atr[5]= 0xd0 atr[6]= 0x1 atr[7]= 0x75 atr[8]= 0x0 atr[9]= 0x0
CLA not support
pinctrl_sim2: sim2grp {
fsl,pins = <
MX6UL_PAD_CSI_DATA03__SIM2_PORT1_PD 0xb808
MX6UL_PAD_CSI_DATA04__SIM2_PORT1_CLK 0x31
MX6UL_PAD_CSI_DATA05__SIM2_PORT1_RST_B 0xb808
MX6UL_PAD_CSI_DATA06__SIM2_PORT1_SVEN 0xb808
MX6UL_PAD_CSI_DATA07__SIM2_PORT1_TRXD 0xb809
MX6UL_PAD_CSI_DATA02__GPIO4_IO23 0x3008
>;
};
};
&sim2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sim2>;
assigned-clocks = <&clks IMX6UL_CLK_SIM_SEL>;
assigned-clock-parents = <&clks IMX6UL_CLK_SIM_PODF>;
assigned-clock-rates = <240000000>;
pinctrl-assert-gpios = <&gpio4 23 GPIO_ACTIVE_LOW>;
port = <1>;
sven_low_active;
status = "okay";
};
what is the difference between PORT0 and PORT1 ?
Any issues with PORT0 ?
Please help me from above.
Thank You
Ganesh.K