diff options
author | Simon Glass <sjg@chromium.org> | 2015-01-05 20:05:41 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-29 17:09:52 -0700 |
commit | 2b2b50bc8748bf1ddb2d96da7157f9eecbe24961 (patch) | |
tree | 4b67a47e9e833a38dc882f5c51114e015a4d6186 /arch/arm/dts/tegra30-beaver.dts | |
parent | 050fb909b630344c5541ff60459fdb06189a8228 (diff) | |
download | u-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/tegra30-beaver.dts')
-rw-r--r-- | arch/arm/dts/tegra30-beaver.dts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/dts/tegra30-beaver.dts b/arch/arm/dts/tegra30-beaver.dts index 5903af6..ae83636 100644 --- a/arch/arm/dts/tegra30-beaver.dts +++ b/arch/arm/dts/tegra30-beaver.dts @@ -196,9 +196,9 @@ sdhci@78000000 { status = "okay"; - cd-gpios = <&gpio 69 1>; /* gpio PI5 */ - wp-gpios = <&gpio 155 0>; /* gpio PT3 */ - power-gpios = <&gpio 31 0>; /* gpio PD7 */ + cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; + wp-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>; + power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>; bus-width = <4>; }; @@ -210,11 +210,11 @@ usb@7d000000 { status = "okay"; dr_mode = "otg"; - nvidia,vbus-gpio = <&gpio 238 0>; /* gpio DD6, PEX_L1_CLKREQ */ + nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>; }; usb@7d008000 { - nvidia,vbus-gpio = <&gpio 236 0>; /* PDD4 */ + nvidia,vbus-gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>; status = "okay"; }; |