Subject: Re: i2c-bus@0 twice?

From: Benjamin Herrenschmidt <[email-masked]>
Date: Fri, 17 Mar 2006 10:52:25 +1100

On Wed, 2006-03-15 at 19:29 +0100, Johannes Berg wrote:
> johannes@quad:/proc/device-tree/ht@0,f2000000/pci@8/mac-io@7/i2c@18000$ ls
> AAPL,address       built-in     i2c-bus@0         linux,phandle
> AAPL,address-step  compatible   interrupt-parent  name
> AAPL,i2c-rate      device_type  interrupts        reg
> #address-cells     i2c-bus@0    linux,device      #size-cells
> 
> Somewhat odd that i2c-bus@0 exists twice :) Anyone have an explanation?

It's a bug in OF on these machines. We need to workaround that,
especially since only one of them contains all the useful infos

Ben