Hey Matthew,

I had the same problem you're having when trying to use the I2C bus. After 
spending days debugging and trying to find a solution on the internet I 
stumbled upon this. 
<https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1417032> 

In summary; the *i2c-dev* module needs to be loaded, and the I2C buses will 
appear under /dev/i2c*. This can be done as;

sudo modprobe i2c-dev

Appears to be a bug with the kernel, I am running *Linux arm 
4.1.0-rc4-bone2*, after following Robert Nelsons wiki page for linux on arm 
as found here. <https://eewiki.net/pages/viewpage.action?pageId=13599118>

Hopefully this assists other people with the same problem in the future.

Cheers,
Eric

On Monday, April 20, 2015 at 8:54:05 AM UTC-5, Matthew Karas wrote:
>
> I'm trying to set up i2c on the beaglebone black with a yocto build of 
> v3.19.3.
>
> My dts contains
>
>
> &i2c1 {
>     status = "okay";
>     pinctrl-names = "default";
>     pinctrl-0 = <&i2c1_pins>;
>     clock-frequency = <100000>;
> };
>
>
> and ...
>
> &am33xx_pinmux {
> ...
>     i2c1_pins: pin_mux_i2c1_pins {
>         pinctrl-single,pins = <
>             0x158 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2) /* 
> spi0_d1.i2c1_sda, P9_18 */
>             0x15C (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2) /* 
> spi0_cs0.i2c1_scl, P9_17 */
>         >;
>     };
> ...
> };
>
> When I boot I get this error in the log
>
> [    1.506928] omap_i2c 44e0b000.i2c: could not find pctldev for node /
> pinmux@44e10800/pinmux_i2c0_pins, deferring probe
> [    1.517979] platform 44e0b000.i2c: Driver omap_i2c requests probe 
> deferral
> [    1.525177] omap_i2c 4802a000.i2c: could not find pctldev for node /
> pinmux@44e10800/i2c1_pins, deferring probe
> [    1.535576] platform 4802a000.i2c: Driver omap_i2c requests probe 
> deferral
> [    1.542751] omap_i2c 4819c000.i2c: could not find pctldev for node /
> pinmux@44e10800/i2c2_pins, deferring probe
> [    1.553146] platform 4819c000.i2c: Driver omap_i2c requests probe 
> deferral
>
>
> How do I debug this error?
>

-- 
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.

Reply via email to