Q: define i2c nodes in device tree?
David Gibson
david at gibson.dropbear.id.au
Sat Mar 28 10:06:15 EST 2009
On Fri, Mar 27, 2009 at 02:05:04PM +0100, Albrecht Dre� wrote:
> Hi Timur:
>
> > You need to have a "gpio I2C" device driver that registers the same name as what's in the DTS, like this:
>
> Thanks, that did the trick; a proper naming is apparently
>
> pca8575:gpio at 20 {
> compatible = "nxp,pca8575";
> device_type = "gpio";
There shouldn't be device_type here, though.
> reg = <0x20 1>;
> };
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
More information about the Linuxppc-dev
mailing list