summaryrefslogtreecommitdiff
path: root/arch/arm/dts/tegra20-medcom-wide.dts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-05 20:05:41 -0700
committerSimon Glass <sjg@chromium.org>2015-01-29 17:09:52 -0700
commit2b2b50bc8748bf1ddb2d96da7157f9eecbe24961 (patch)
tree4b67a47e9e833a38dc882f5c51114e015a4d6186 /arch/arm/dts/tegra20-medcom-wide.dts
parent050fb909b630344c5541ff60459fdb06189a8228 (diff)
downloadu-boot-imx-2b2b50bc8748bf1ddb2d96da7157f9eecbe24961.zip
u-boot-imx-2b2b50bc8748bf1ddb2d96da7157f9eecbe24961.tar.gz
u-boot-imx-2b2b50bc8748bf1ddb2d96da7157f9eecbe24961.tar.bz2
dm: tegra: dts: Use TEGRA_GPIO() macro for all GPIOs
This new method is much easier and matches the kernel. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/dts/tegra20-medcom-wide.dts')
-rw-r--r--arch/arm/dts/tegra20-medcom-wide.dts9
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/dts/tegra20-medcom-wide.dts b/arch/arm/dts/tegra20-medcom-wide.dts
index be2ed42..b6b57ab 100644
--- a/arch/arm/dts/tegra20-medcom-wide.dts
+++ b/arch/arm/dts/tegra20-medcom-wide.dts
@@ -73,9 +73,12 @@
nvidia,bits-per-pixel = <16>;
nvidia,pwm = <&pwm 0 500000>;
- nvidia,backlight-enable-gpios = <&gpio 13 0>; /* PB5 */
- nvidia,backlight-vdd-gpios = <&gpio 176 0>; /* PW0 */
- nvidia,lvds-shutdown-gpios = <&gpio 10 0>; /* PB2 */
+ nvidia,backlight-enable-gpios = <&gpio TEGRA_GPIO(B, 5)
+ GPIO_ACTIVE_HIGH>;
+ nvidia,lvds-shutdown-gpios = <&gpio TEGRA_GPIO(B, 2)
+ GPIO_ACTIVE_HIGH>;
+ nvidia,backlight-vdd-gpios = <&gpio TEGRA_GPIO(W, 0)
+ GPIO_ACTIVE_HIGH>;
nvidia,panel-timings = <0 0 0 0>;
};
};