AnsweredAssumed Answered

Sim Module device tree

Question asked by Asma Alekar on Aug 11, 2019
Latest reply on Aug 11, 2019 by igorpadykov

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

Outcomes