#define MX6QDL_PAD_SD4_DAT5__GPIO2_IO13 0x354 0x73c 0x000 0x5 0x0
This pin mux is configured in arch/arm/boots/dts/imx6dl-pinfunc.h
Would like to use this GPIO pin as output and status as high to enable my Wifi Chip.
I have made these changes in my dt node.
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc2_2>;
bus-width = <4>;
cd-gpios = <&gpio2 13 0>;
wp-gpios = <&gpio2 13 0>;
/* no-1-8-v; */
vmmc-supply = <®_3p3v>;
status = "okay";
I need to pull this pin low for 10 ms. How do I change this in code?