> i need to activate the /dev/i2c-2 on the beaglebone AI. When i got that 
> right i have to add a node in the device tree in order to activate it.
> Can you tell me what i have to add there?
>

Don't know if this will help you, but to get access to the eeprom on my 
cape I added:

&i2c4 {
 eeprom: eeprom@54 {
 compatible = "atmel,24c32";
 reg = <0x54>;
 };
};


to the .dts  After that /sys/bus/i2c/devices/3-0054/eeprom appeared and I 
could do e.g. "hexdump -C ...".

Be sure to set the iopads accordingly. I used this:

DRA7XX_CORE_IOPAD(0x3440, PIN_INPUT_PULLUP | MUX_MODE7)     // R6   P9.19a 
 i2c4_scl
DRA7XX_CORE_IOPAD(0x357C, PULL_DIS | MUX_MODE15)            // F4   P9.19b 
DRA7XX_CORE_IOPAD(0x3444, PIN_INPUT_PULLUP | MUX_MODE7)     // T9   P9.20a 
 i2c4_sda
DRA7XX_CORE_IOPAD(0x3578, PULL_DIS | MUX_MODE15)            // D2   P9.20b  


/opt/scripts/device/bone/show-pins.pl shows:


P9.19a                    16   R6 7 fast rx  up  i2c4_scl         kiwisdr 
(cape_pins_kiwi)

P9.20a                    17   T9 7 fast rx  up  i2c4_sda         kiwisdr 
(cape_pins_kiwi)

P9.20b                    94   D2 f fast         Driver off       kiwisdr 
(cape_pins_kiwi)

P9.19b                    95   F4 f fast         Driver off       kiwisdr 
(cape_pins_kiwi)

-- 
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/3a7c92cf-1112-48b7-82ee-55f27608b038%40googlegroups.com.

Reply via email to