* some day...
* some day... The problem is that it seems we can't rely * on the "reg" property of the GPIO nodes, they are either * relative to the base of KeyLargo or to the base of the * GPIO space, and the device-tree doesn't help.
static u32 __pmac read_gpio(struct device_node *np){	u32 *reg = (u32 *)get_property(np, "reg", NULL);	if (reg == NULL)		return 0;	/* That works for all keylargos but shall be fixed properly	 * some day...	 */	return 0x50 + (*reg);}