Stuck getting DTS working for a new kirkwood board

Sebastian Hesselbarth sebastian.hesselbarth at gmail.com
Sat Feb 22 17:25:41 EST 2014


On 02/22/2014 08:44 PM, Dashie wrote:
> On 02/22/2014 08:30 PM, Andrew Lunn wrote:
>>> root at debian:~# i2cdetect 0
>>> WARNING! This program can confuse your I2C bus, cause data loss and worse!
>>> I will probe file /dev/i2c-0.
>>> I will probe address range 0x03-0x77.
>>> Continue? [Y/n]
>>>      0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
>>> 00:          -- -- -- -- -- -- -- -- -- UU -- -- --
>>> 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>> 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>> 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>> 40: -- -- -- -- -- -- -- -- -- UU -- -- -- -- -- --
>>> 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>> 60: -- -- -- -- 64 -- -- -- -- -- -- -- -- -- -- --
>>> 70: -- -- -- -- -- -- -- --
>> The datasheet for M41TC8025 says it uses 0x64.
>>
>> Could you of read the part wrong from the photo?
>>
>>        Andrew
> The only readings on the chip is :
> "M41T80
> ST(logo) E9927"
>
> I have a picture here :
> http://wiki.sigpipe.me/lib/exe/fetch.php?media=hacking:img_3329.jpg
>

Looking at the picture, I can see M41T80 and an Atmel i2c eeprom above
it. Given to M41T80 datasheet its i2c address is fixed at 0x68 as
Gerhard also noted. The eeprom is coded to 0x50 - you can see that all
right pins are connected to GND which is on pin 4, the white arrow
points to pin 1. You should see both devices but none is in the above
i2cdetect output.

Kirkwood only has one i2c controller, so my guess is that the devices
you are looking for are either connected to some i2c switch or mux, are
on a gpio bitbang i2c, or not connected to the SoC but some
microcontroller instead.

 From the wiki link above, you say there is an NXP 8051-compatible uC..
that would be my guess then.

Sebastian



More information about the linux-arm-kernel mailing list