I'm using Adafruit_BBIO python library for GPIO Input. Cape Universal.dtb
is disabled.
Output works fine but INput throws the error. *ValueError: Set gpio mode
failed, missing file or invalid permissions.*
Below is dts for the gpio input
/dts-v1/;
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black";
part-number = "gpiotest-00A0";
version = "00A0";
fragment@0 {
target = <0xffffffff>;
__overlay__ {
gpiotest_Pins {
pinctrl-single,pins = <0x2c 0x37 0x8c 0x37 0x20 0x37 0xcc
0x37 0xc8 0x37>;
linux,phandle = <0x1>;
phandle = <0x1>;
};
};
};
fragment@1 {
target = <0xffffffff>;
__overlay__ {
helper {
compatible = "bone-pinmux-helper";
pinctrl-names = "default";
pinctrl-0 = <0x1>;
status = "okay";
};
};
};
__fixups__ {
am33xx_pinmux = "/fragment@0:target:0";
ocp = "/fragment@1:target:0";
};
__local_fixups__ {
fragment@1 {
__overlay__ {
helper {
pinctrl-0 = <0x0>;
};
};
};
};
};
Please suggest the issue and help with the solution.
Thank You.
--
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/744bb7b5-4a96-455d-8406-79a87b3cf174%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.