SC_P_SCU_GPIO0_00 not working

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

SC_P_SCU_GPIO0_00 not working

571 Views
ahmed_bekhet
Contributor I

Hello all,

I have a question regarding SC_P_SCU_GPIO0_00, did someone try to use it as a LSIO_GPIO?

I tried to use it as following 

SC_P_SCU_GPIO0_00_LSIO_GPIO2_IO03   0x06000060 /* WAKEUP_TRIG */

 GPIO2_I03 {
 gpio-export,name = "WAKEUP_GPIO";
gpio-export,direction_may_change = <0>;
 gpio-export,input = <0>;
 gpios = <&gpio2 3 0>;
 };

it appears in sys/class/gpio but always reads low, I tried configuring it as output and drove it high but when I measured the voltage on the pin it was 0 V. I am trying to eliminate the possibility of this being a common problem that people faced with this particular pin. Did someone try to use it before and was successful in doing so? 

0 Kudos
1 Reply

487 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ahmed

one can try settings as in fsl-imx8qxp-mek.dtsi pinctrl_hog: hoggrp MCLK_OUT0,  "GPIORHB":

fsl-imx8qxp-mek.dtsi\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel 

and use latest L4.14.98 with all patches

i.MX Software | NXP 

linux-imx - i.MX Linux kernel 

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

0 Kudos