On Oct 23, 2008, at 9:30 AM, Wolfgang Ocker wrote:
--- linux-2.6.27.2/Documentation/powerpc/booting-without-
of.txt.of_gpiospecbase 2008-10-18 19:57:22.000000000 +0200
+++ linux-2.6.27.2/Documentation/powerpc/booting-without-of.txt
2008-10-23 16:23:07.000000000 +0200
@@ -2580,12 +2582,17 @@
Every GPIO controller node must have #gpio-cells property defined,
this information will be used to translate gpio-specifiers.
+Optional properties:
+ base: first GPIO number handled by this controller; default is -1,
+ meaning dynamic ID allocation
"default -1" doesn't make any sense. I assume you mean if the
property doesn't it exist the behavior is "dynamic ID allocation"
+
Example of two SOC GPIO banks defined as gpio-controller nodes:
qe_pio_a: [EMAIL PROTECTED] {
#gpio-cells = <2>;
compatible = "fsl,qe-pario-bank-a", "fsl,qe-pario-bank";
reg = <0x1400 0x18>;
+ base = < 0x20 >;
gpio-controller;
};
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev