diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-02-12 19:25:15 -0500 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-05-28 18:13:49 -0400 |
commit | 3325f1bcd03a0472aa1839732fb46f3c1f010205 (patch) | |
tree | d3dfad9b8eea0238cc9735a8e617cc5f0fab2c99 /arch/arm/boot/dts/tegra20-plutux.dts | |
parent | 9798e47ff232c48b3c25b9a6b9395b505e389475 (diff) |
ARM: tegra: convert device tree files to use GPIO defines
Use TEGRA_GPIO() macro to name all GPIOs referenced by GPIO properties,
and some interrupts properties. Use standard GPIO flag defines too.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra20-plutux.dts')
-rw-r--r-- | arch/arm/boot/dts/tegra20-plutux.dts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/tegra20-plutux.dts b/arch/arm/boot/dts/tegra20-plutux.dts index 508e56a2e1f1..3d8e69be83a5 100644 --- a/arch/arm/boot/dts/tegra20-plutux.dts +++ b/arch/arm/boot/dts/tegra20-plutux.dts | |||
@@ -17,7 +17,7 @@ | |||
17 | compatible = "wlf,wm8903"; | 17 | compatible = "wlf,wm8903"; |
18 | reg = <0x1a>; | 18 | reg = <0x1a>; |
19 | interrupt-parent = <&gpio>; | 19 | interrupt-parent = <&gpio>; |
20 | interrupts = <187 0x04>; | 20 | interrupts = <TEGRA_GPIO(X, 3) 0x04>; |
21 | 21 | ||
22 | gpio-controller; | 22 | gpio-controller; |
23 | #gpio-cells = <2>; | 23 | #gpio-cells = <2>; |
@@ -50,8 +50,8 @@ | |||
50 | nvidia,i2s-controller = <&tegra_i2s1>; | 50 | nvidia,i2s-controller = <&tegra_i2s1>; |
51 | nvidia,audio-codec = <&wm8903>; | 51 | nvidia,audio-codec = <&wm8903>; |
52 | 52 | ||
53 | nvidia,spkr-en-gpios = <&wm8903 2 0>; | 53 | nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>; |
54 | nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */ | 54 | nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>; |
55 | 55 | ||
56 | clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 94>; | 56 | clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 94>; |
57 | clock-names = "pll_a", "pll_a_out0", "mclk"; | 57 | clock-names = "pll_a", "pll_a_out0", "mclk"; |