gpio/tegra: add devicetree support

Add support for decoding gpios from the device tree

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Grant Likely
2011-06-15 14:54:14 -06:00
parent ea5a9607cb
commit df2212270c
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
NVIDIA Tegra 2 GPIO controller
Required properties:
- compatible : "nvidia,tegra250-gpio"
- #gpio-cells : Should be two. The first cell is the pin number and the
second cell is used to specify optional parameters (currently unused).
- gpio-controller : Marks the device node as a GPIO controller.