Hi all,
I have an issue (my fault probably) where i would like to define default 
states of GPIO ports. I have created my own cape based on univ-all where i 
define two port's as follows:
                        P8_03_default_pin: pinmux_P8_03_default_pin {
                                pinctrl-single,pins = <0x018  0x27>; };
                        P8_03_gpio_pin: pinmux_P8_03_gpio_pin {
                                pinctrl-single,pins = <0x018  0x27>; };

                        P8_04_default_pin: pinmux_P8_04_default_pin {
                                pinctrl-single,pins = <0x01c  0x17>; };
                        P8_04_gpio_pin: pinmux_P8_04_gpio_pin {
                                pinctrl-single,pins = <0x01c  0x17>; };

0x27 should read as: mode 7, input, pulldown
0x17 should read as: mode 7, output, pullup.

My goal is to have port P8_03 loaded as input with LOW state (0V) by 
default (so cat gpio38/value would show 0), and port P9_04 as output with 
HIGH state (3,3V) by default (so cat gpio39/value would show 1).

Most of those things are working ok, so direction are correct (by default), 
however P8_03 is 1 by default (should be 0), and P8_04 is 0 (should be 1).

What am i doing wrong here?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/2fb85c0f-b4f4-4414-945b-cf8365a6ebd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to