Browse Source

ARM: tegra: use TEGRA_GPIO() in a couple more places

A couple of references to Tegra GPIO numbers were missed when cleaning
up the Tegra DT files. Convert them now.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Stephen Warren 12 years ago
parent
commit
23f95ef2d9
2 changed files with 2 additions and 2 deletions
  1. 1 1
      arch/arm/boot/dts/tegra20-seaboard.dts
  2. 1 1
      arch/arm/boot/dts/tegra20-trimslice.dts

+ 1 - 1
arch/arm/boot/dts/tegra20-seaboard.dts

@@ -829,7 +829,7 @@
 			regulator-min-microvolt = <5000000>;
 			regulator-max-microvolt = <5000000>;
 			enable-active-high;
-			gpio = <&gpio 24 0>; /* PD0 */
+			gpio = <&gpio TEGRA_GPIO(D, 0) 0>;
 		};
 	};
 

+ 1 - 1
arch/arm/boot/dts/tegra20-trimslice.dts

@@ -411,7 +411,7 @@
 			regulator-min-microvolt = <5000000>;
 			regulator-max-microvolt = <5000000>;
 			enable-active-high;
-			gpio = <&gpio 170 0>; /* PV2 */
+			gpio = <&gpio TEGRA_GPIO(V, 2) 0>;
 		};
 	};