Dear All,
We have Beagle Bone black prototyped board which has "AM3352" processor and running with Ti Kernel OS of version-3.12. In our requirement we need to configure the few GPIO pins to hold their configurations either in active mode or deep sleep mode. Basically we need to retain GPIO Pins in Deep sleep mdoe.
For Example: Assume that I want to make GPIO2_7 pin in active mode as "OUTPUT_ PULLUP " and deep sleep mode as "OUTPUT_PULLDOWN" and I made my dts file for the same. Please see below for the dts code.
am33xx_pinmux: pinmux@44e10800 {
pinctrl-names = "default";
pinctrl-0 = <&clkout2_pin>;
user_leds_default: user_leds_default {
pinctrl-single,pins = <
0xa4 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* lcd_data1.gpio2_7
>;
};
user_leds_sleep: user_leds_sleep {
pinctrl-single,pins = <
0xa4 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)
>;
};
Now the real problem is, in my prototype board for both of the cases I am seeing the pin is in HIGH State(3.3V) only if I probe it and it's not going into LOW state as per my configuration in deep sleep mode. But the same thing If I tried it in Beagle bone black I am seeing the expected result(HIGH in Active mode and LOW in Deep Sleep mode). The difference is the Processor here(Beagle Bone black-AM3358 and Our Prototype Board-AM3352).
Can any please suggest, why it's not working in our board and what else I should do it to make it work?
How can I start debugging it?
Is the processor real make difference?(I don't think so this is the problem).
Thanks in advance,
-Pavan