diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-05-19 13:47:05 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-06-10 12:11:10 -0400 |
commit | 32def337aafee0bc65eb58d5b1b3617525eb7fb7 (patch) | |
tree | 22173ef1c86e1dd6de2eadee2600dbad1e029249 /Documentation | |
parent | 9572653ee01a2134ae3a1d7aa29ce9d026a6afe9 (diff) |
powerpc/QE: implement support for the GPIO LIB API
This is needed to access QE GPIOs via Linux GPIO API.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-By: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/powerpc/booting-without-of.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index 8675ebca2cfd..b68684d39f96 100644 --- a/Documentation/powerpc/booting-without-of.txt +++ b/Documentation/powerpc/booting-without-of.txt | |||
@@ -1736,6 +1736,33 @@ platforms are moved over to use the flattened-device-tree model. | |||
1736 | ...... | 1736 | ...... |
1737 | }; | 1737 | }; |
1738 | 1738 | ||
1739 | Note that "par_io" nodes are obsolete, and should not be used for | ||
1740 | the new device trees. Instead, each Par I/O bank should be represented | ||
1741 | via its own gpio-controller node: | ||
1742 | |||
1743 | Required properties: | ||
1744 | - #gpio-cells : should be "2". | ||
1745 | - compatible : should be "fsl,<chip>-qe-pario-bank", | ||
1746 | "fsl,mpc8323-qe-pario-bank". | ||
1747 | - reg : offset to the register set and its length. | ||
1748 | - gpio-controller : node to identify gpio controllers. | ||
1749 | |||
1750 | Example: | ||
1751 | qe_pio_a: gpio-controller@1400 { | ||
1752 | #gpio-cells = <2>; | ||
1753 | compatible = "fsl,mpc8360-qe-pario-bank", | ||
1754 | "fsl,mpc8323-qe-pario-bank"; | ||
1755 | reg = <0x1400 0x18>; | ||
1756 | gpio-controller; | ||
1757 | }; | ||
1758 | |||
1759 | qe_pio_e: gpio-controller@1460 { | ||
1760 | #gpio-cells = <2>; | ||
1761 | compatible = "fsl,mpc8360-qe-pario-bank", | ||
1762 | "fsl,mpc8323-qe-pario-bank"; | ||
1763 | reg = <0x1460 0x18>; | ||
1764 | gpio-controller; | ||
1765 | }; | ||
1739 | 1766 | ||
1740 | vi) Pin configuration nodes | 1767 | vi) Pin configuration nodes |
1741 | 1768 | ||