Android 7, GPIO

The GPIO number list:
<1>Pin 29(GPIOH_7) is 178
<2>Pin 30(GPIOH_6) is 177
<3>Pin 31(GPIOH_9) is 180
<4>Pin 32(GPIOH_8) is 179
<5>Pin 33(GPIOAO_6) is 151
<6>Pin 37(GPIOH5) is 176

Notice: If you want to use the Pin 29~32 , you need to modify two file

1. the file 'kvim.dts' : remove the line 'pinctrl-0 = <&audio_pins>;'
2. the file 'mesongxl.dtsi' : change the status from okay to disable
    amlogic-jtag {
       compatible = "amlogic, jtag";
       status = "okay";
       pinctrl-names = "jtag_apao_pins", "jtag_apee_pins";
       pinctrl-0 = <&jtag_apao_pins>;
       pinctrl-1 = <&jtag_apee_pins>;
    };

Edit: modify the file ‘mesongxl.dtsi’

1 Like