Hi, I was working on a p2041rdb target not so long ago and needed to use the gpio pins (described in detail in the p2041 reference manual), these are visible on the p2041 fact sheet [1]. The pins are connected to a gpio expander, PCA9672 [2], which is connected to a i2c-bus.
The expander was not available in the device-tree for p2041rdb so I patched it locally to include it. The gpio-expander does not seem to be available in any upstream repository either (at this time I was working on a version of the 3.12 kernel, but it seems to be the same for the one I obtained from git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git). Would this patch be of any interest for the upstream powerpc kernel? The gpio pins are there on all p2041rdb targets (at least since they are mentioned as such in the reference guide), so I could not come up with a reason to why it is excluded from the device tree. Best Regards, Nora Björklund ----------------------------- [1] http://cache.nxp.com/files/32bit/doc/fact_sheet/P2041RDBFS.pdf?fpsp =1&WT_TYPE=Fact%20Sheets&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSE T=Documentation&fileExt=.pdf (login might be required) [2] http://www.nxp.com/products/interface-and-connectivity/interface-an d-system-management/i2c/i2c-general-purpose-i-o/remote-8-bit-i-o- expander-for-fm-plus-ic-bus-with-interrupt-and-reset:PCA9672 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev