Hello,
I'm trying to alter the output of GPIO12 from console. I did this with various GPIOs before, but this one doesn't change its output from 0 to 1.
Here is what I do:
echo 12 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio12/direction
echo 1 > /sys/class/gpio/gpio12/value
My Devicetree has SAI2 disabled and adds the GPIO to "hoggrp-1". MX6UL_PAD_JTAG_TDO* doesn't occur anywhere else in the DTS.
DTS snipplet:
[...]
&sai2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sai2>;
fsl,mclk-out;
status = "disabled";
};
[...]
&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog_1>;
efusa7ul {
pinctrl_hog_1: hoggrp-1 {
fsl,pins = <
[...]
MX6UL_PAD_JTAG_TDO__GPIO1_IO12 0x30b0
[...]
>;
};
[...]
I wonder, what am I doing wrong, DTS copiles and resulting DTB is installed on the SoM.
Greetings