dts,i2c,pcf8574 on Xilinx XUP
ST
st at iss.tu-darmstadt.de
Fri Apr 2 07:50:33 EST 2010
Hi
I am currently trying to get the i2c driver from there:
http://www.mail-archive.com/linux-i2c@vger.kernel.org/msg02403.html
working on a full custom toolchain from me based on ptxdist as a
hobby.
Unfortunatly the i2c driver hangs the git://git.xilinx.com/linux-2.6-xlnx
tree hard if i run i2cdetect. Also my pcf device is not listed as a device.
Obviously my device tree is not correct as the dtc compiler complains:
Warning (avoid_default_addr_size): Relying on default #address-cells value for /plb at 0/i2c at 81600000/iexp at 20
Warning (avoid_default_addr_size): Relying on default #size-cells value for /plb at 0/i2c at 81600000/iexp at 20
Warning (avoid_default_addr_size): Relying on default #address-cells value for /plb at 0/xps-spi at 81818000/spidev at 0
Warning (avoid_default_addr_size): Relying on default #size-cells value for /plb at 0/xps-spi at 81818000/spidev at 0
The dts file comes straight from the xilinx tools with these small additions made by me:
210a211,216
> pcf1: iexp at 20 {
> #gpio-cells = <2>;
> compatible = "ti,pcf8574";
> reg = <0x20>;
> gpio-controller;
> };
228a235,240
> spidev at 0 {
> compatible = "spidev";
> spi-max-frequency = <1000000>;
> reg = <0>;
> } ;
>
I am new to this device tree stuff and it would be really great to get some hints as i am currently stuck.
Also if someone knows if these i2c patches which had been partially in 2.6.34 are bigendian/little endian
clean, as i suspect that they are focused on support for the µblazes?
Thanks for your attention
ST
More information about the Linuxppc-dev
mailing list