Forums › Devices › OSD335x-SM › Disable I2C-2
Tagged: Debian_9.5, I2C-2, PocketBeagle
I am using Debian 9.5 in a custom board based of PocketBeagle design. It seems in this version of the debian the GPIO12 and GPIO13 are multiplexed with I2C-2 peripheral. I have a requirement to use these pins as a GPIO for push-button. I can’t figure how to disable the I2C-2 peripheral on these pins.
Khan,
There are multiple ways of configuring pins for OSD33x. Beaglebone provides a user space utility called config-pin(https://www.bacpeters.com/2020/01/25/configuring-the-beaglebone-black-gpio-pins-permanently/) that you can use to change the pin functions from I2C-2 to GPIO.
You can also make changes in the device tree to do this. Please take a look at the pinmux application note here: https://octavosystems.com/app_notes/osd335x_pinmux/. The latest repository for device trees is https://github.com/beagleboard/BeagleBoard-DeviceTrees. You can recompile device trees using the instructions in the repository,
Best,
Neeraj
Octavo Systems LLC all rights reserved
OCTAVO is registered in the U.S. Patent and Trademark Office. OSD, C-SiP, and the Octavo Logo are trademarks of Octavo Systems LLC.
"*" indicates required fields
"*" indicates required fields
"*" indicates required fields
"*" indicates required fields