Hello All,
I am working on SIM module in IMX6, my pins are as shown below, some of the Pins I have used are from GPIO(highlighted) as I dont have pins left to be use from alternate SIM module pins.
sim1: sim@0218c000 {
compatible = "fsl,imx6ul-sim";
reg = <0x0218c000 0x4000>;
interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};
pinctrl_sim1:sim1grp{
fsl,pins = <
MX6UL_PAD_CSI_DATA01__GPIO4_IO22 0x1B0B0 /* SVEN */
MX6UL_PAD_CSI_VSYNC__SIM1_PORT1_CLK 0x1B0B0 /* CLK */
MX6UL_PAD_CSI_DATA00__SIM1_PORT1_RST_B 0x1B0B0 /* RST_B*/
MX6UL_PAD_CSI_DATA02__SIM1_PORT1_TRXD 0x1B0B0 /* IO */
MX6UL_PAD_CSI_HSYNC__GPIO4_IO20 0x1B0B0 /* PD */
MX6UL_PAD_SD1_CMD__GPIO2_IO16 0x1B0B0 /* 5V3V */
>;
};
&sim1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sim1>;
status = "okay";
};
My question is, will sim driver take care of these GPIO pins as well, or I will have to take care of them individually?
Regards,
Asma
Solved! Go to Solution.
Hi Asma
sim dts example can be found on
linux/arch/arm/boot/dts/imx6ul-14x14-evk.dts
imx6ul-14x14-evk.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel
sim driver description in Linux L4.14.98_2.0.0 Documentation
I am afraid gpio signals can not be used as sim signals.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Asma
sim dts example can be found on
linux/arch/arm/boot/dts/imx6ul-14x14-evk.dts
imx6ul-14x14-evk.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel
sim driver description in Linux L4.14.98_2.0.0 Documentation
I am afraid gpio signals can not be used as sim signals.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------