Hi,
I am using TI's AM437x EVM. My am437x-gp-evm.dts file is as below.
gpio0_pins: gpio0_pins {
pinctrl-single,pins = <
0x1ac ( PIN_INPUT | MUX_MODE9 ) /* MCASP0_AHCLKX.gpio0[3] ZIG_JTAG_TD */
0x1a8 ( PIN_OUTPUT | MUX_MODE9 ) /* mcasp0_axr1.gpio0[2] ZIG_JTAG_TCK */
0x1a4 ( PIN_OUTPUT | MUX_MODE9 ) /* MCASP0_FSR.gpio0[19] ZIGBEE_RESET_AM437x */
>;
};
&gpio0 {
pinctrl-names = "default";
pinctrl-0 = <&gpio0_pins>;
status = "okay";
};
Now when System gets boot I am using below commands for gpio high and low but output does not get reflected on CRO.
echo 19 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio19/direction
echo 1 > /sys/class/gpio/gpio19/value
echo 0 > /sys/class/gpio/gpio19/value
Output is same in case of high and low of pin.
Is there anythnig that I am missing?
Regards,
Nilesh Kadivar