All of lore.kernel.org
 help / color / mirror / Atom feed
From: sebastian.hesselbarth@gmail.com (Sebastian Hesselbarth)
To: linux-arm-kernel@lists.infradead.org
Subject: Stuck getting DTS working for a new kirkwood board
Date: Sat, 22 Feb 2014 23:25:41 +0100	[thread overview]
Message-ID: <530923E5.7090901@gmail.com> (raw)
In-Reply-To: <5308FE07.5070809@sigpipe.me>

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

  reply	other threads:[~2014-02-22 22:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-20 21:22 Stuck getting DTS working for a new kirkwood board Dashie
2014-02-21  1:34 ` Jason Cooper
2014-02-21  7:39   ` Dashie
2014-02-21 15:15     ` Jason Cooper
2014-02-21 19:21       ` Dashie
2014-02-21 20:08         ` Jason Cooper
2014-02-21 22:01           ` Dashie
2014-02-21 22:12             ` Andrew Lunn
2014-02-22  8:54               ` Dashie
2014-02-22 18:41                 ` Andrew Lunn
2014-02-22 18:50                   ` Dashie
2014-02-22 19:30                     ` Andrew Lunn
2014-02-22 19:44                       ` Dashie
2014-02-22 22:25                         ` Sebastian Hesselbarth [this message]
2014-02-22 18:44                 ` Gerhard Sittig
2014-02-22 19:00           ` Dashie
2014-02-22 19:30             ` Jason Cooper
2014-03-26  1:01               ` Jason Cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=530923E5.7090901@gmail.com \
    --to=sebastian.hesselbarth@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.