diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-03-04 15:53:03 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-03-04 15:54:04 -0500 |
commit | 4c6c826b22da9f6408b6bc6939a92aa0be838488 (patch) | |
tree | 4fcb8be74ea59140cda6b9bfc076603a3060f0fe /Documentation/devicetree/bindings/gpio | |
parent | fcd2a8e945949868eaf6705db318c31524102286 (diff) | |
parent | 96d6714ca27acab087dcc8d75a7ec815abe3dde7 (diff) |
Merge tag 'tegra-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra into tegra/dt
Device tree updates for tegra. Various development, including a handful
of additions to the tegra30 device trees.
* tag 'tegra-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra:
ASoC: DT: Add digital microphone binding to PAZ00 board.
ARM: dt: Add ARM PMU to tegra*.dtsi
ARM: dt: Add SD controller configuration to Tegra Cardhu
ARM: dt: tegra: Enable headset autodetection on PAZ00 board.
ARM: dt: tegra: Enable device tree audio codec on PAZ00 board.
ARM: dt: Add binding for Tegra PMC
ARM: dt: tegra: Enable audio on WM8903 boards, disable others
ARM: dt: tegra: Add labels for I2S controllers
ARM: dt: tegra: Modify I2S nodes to match binding
ARM: dt: tegra: Add Tegra APB DMA device tree binding
ARM: dt: tegra30.dtsi: Add extra GPIO interrupt
ARM: dt: tegra30.dtsi: Reformat gpio's interrupts property
dt: tegra gpio: Flesh out binding documentation
ARM: tegra: seaboard: add EMC table to device tree
ARM: tegra: emc: device tree bindings
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/gpio_nvidia.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt b/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt index eb4b530d64e..50b363c5b88 100644 --- a/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt +++ b/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt | |||
@@ -2,7 +2,25 @@ NVIDIA Tegra 2 GPIO controller | |||
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : "nvidia,tegra20-gpio" | 4 | - compatible : "nvidia,tegra20-gpio" |
5 | - reg : Physical base address and length of the controller's registers. | ||
6 | - interrupts : The interrupt outputs from the controller. | ||
5 | - #gpio-cells : Should be two. The first cell is the pin number and the | 7 | - #gpio-cells : Should be two. The first cell is the pin number and the |
6 | second cell is used to specify optional parameters: | 8 | second cell is used to specify optional parameters: |
7 | - bit 0 specifies polarity (0 for normal, 1 for inverted) | 9 | - bit 0 specifies polarity (0 for normal, 1 for inverted) |
8 | - gpio-controller : Marks the device node as a GPIO controller. | 10 | - gpio-controller : Marks the device node as a GPIO controller. |
11 | |||
12 | Example: | ||
13 | |||
14 | gpio: gpio@6000d000 { | ||
15 | compatible = "nvidia,tegra20-gpio"; | ||
16 | reg = < 0x6000d000 0x1000 >; | ||
17 | interrupts = < 0 32 0x04 | ||
18 | 0 33 0x04 | ||
19 | 0 34 0x04 | ||
20 | 0 35 0x04 | ||
21 | 0 55 0x04 | ||
22 | 0 87 0x04 | ||
23 | 0 89 0x04 >; | ||
24 | #gpio-cells = <2>; | ||
25 | gpio-controller; | ||
26 | }; | ||