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-tamonten.dtsi | |
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-tamonten.dtsi')
-rw-r--r-- | arch/arm/dts/tegra30-tamonten.dtsi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/dts/tegra30-tamonten.dtsi b/arch/arm/dts/tegra30-tamonten.dtsi index c73afef..8eff627 100644 --- a/arch/arm/dts/tegra30-tamonten.dtsi +++ b/arch/arm/dts/tegra30-tamonten.dtsi @@ -55,8 +55,8 @@ /* SD slot on the base board */ sdhci@78000400 { - cd-gpios = <&gpio 69 1>; /* gpio PI5 */ - wp-gpios = <&gpio 67 0>; /* gpio PI3 */ + cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; + wp-gpios = <&gpio TEGRA_GPIO(I, 3) GPIO_ACTIVE_HIGH>; bus-width = <4>; }; |