I2C device driver code for beaglebone black