Skip to content

Commit

Permalink
arm/dt: Tegra: Add pinmux node to tegra20.dtsi
Browse files Browse the repository at this point in the history
Add a pinmux node to tegra20.dtsi in order to instantiate the future
pinmux device.

v2: Specify reg property precisely; don't just point at the whole APB_MISC
register range.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Stephen Warren authored and Olof Johansson committed Oct 12, 2011
1 parent 940dd96 commit f62f548
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Documentation/devicetree/bindings/pinmux/pinmux_nvidia.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
NVIDIA Tegra 2 pinmux controller

Required properties:
- compatible : "nvidia,tegra20-pinmux"

8 changes: 8 additions & 0 deletions arch/arm/boot/dts/tegra20.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@
gpio-controller;
};

pinmux: pinmux@70000000 {
compatible = "nvidia,tegra20-pinmux";
reg = < 0x70000014 0x10 /* Tri-state registers */
0x70000080 0x20 /* Mux registers */
0x700000a0 0x14 /* Pull-up/down registers */
0x70000868 0xa8 >; /* Pad control registers */
};

serial@70006000 {
compatible = "nvidia,tegra20-uart";
reg = <0x70006000 0x40>;
Expand Down

0 comments on commit f62f548

Please sign in to comment.