Turning my attention now to enabling GPIO for Jessie/3.14. I merged my
prior DTS/overlay into my custom .dts for use with dtb-rebuilder So far I
have this:
&ocp {
P9_15_pinmux {
// GPIO_A
mode = "P9_15_gpio_pin";
};
P9_16_pinmux {
// GPIO_B
mode = "P9_16_gpio_pin";
};
test_gpio {
compatible = "gpio-of-helper";
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <>;
/* declare your gpios */
gpio_a {
gpio-name = "gpio_a";
gpio = <&gpio2 16 0x00>; /* gpio2 is gpio1 */
output;
init-high;
/* /sys/class/gpio/gpio48 */
};
gpio_b {
gpio-name = "gpio_b";
gpio = <&gpio2 19 0x00>; /* gpio2 is gpio1 */
output;
init-high;
/* /sys/class/gpio/gpio51 */
};
};
};
When loading the dtbo on Wheezy, I'd see the gpioXX directories appear in
/sys/class/gpio, but when loading this on Jessie, I don't see anything in
dmesg, but I also don't see the directory entries in /sys/class/gpio either.
I've looked through the samples in dab-rebuilder, but aside from a couple
of LED specific ones, there's no clear example of a GPIO set to output-high
that's not a device tree overlay. Anyone know of any Jessie/3.14 custom
DTS examples of this?
Thanks!
-W
--
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].
For more options, visit https://groups.google.com/d/optout.