On Mon, Feb 16, 2009 at 05:25:23PM +0530, Vijay Nikam wrote: > 2. Also I would like to ask how I can determine the virtual irq using > irq_of_parse_and_map (struct device_node *dev, int index) ? ? ? > > here I am not getting what I should pass *dev and index ? ? ? as in my > mpc8313erdb.dts I could not find any node name 'gpio' so I do not know > what I can use ...
You'd need to add a gpio node to the device tree. If you do this, be sure to follow existing bindings. > > Kindly please acknowledge ... thank you ... > > Following is the content of mpc8313erdb.dts That device tree looks very old, as if it came from a BSP rather than upstream Linux. -Scott _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev