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-whistler.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-whistler.dts')
-rw-r--r-- | arch/arm/boot/dts/tegra20-whistler.dts | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/tegra20-whistler.dts b/arch/arm/boot/dts/tegra20-whistler.dts index 1748be545905..9a773bb9da71 100644 --- a/arch/arm/boot/dts/tegra20-whistler.dts +++ b/arch/arm/boot/dts/tegra20-whistler.dts | |||
@@ -18,7 +18,8 @@ | |||
18 | pll-supply = <&hdmi_pll_reg>; | 18 | pll-supply = <&hdmi_pll_reg>; |
19 | 19 | ||
20 | nvidia,ddc-i2c-bus = <&hdmi_ddc>; | 20 | nvidia,ddc-i2c-bus = <&hdmi_ddc>; |
21 | nvidia,hpd-gpio = <&gpio 111 0>; /* PN7 */ | 21 | nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7) |
22 | GPIO_ACTIVE_HIGH>; | ||
22 | }; | 23 | }; |
23 | }; | 24 | }; |
24 | 25 | ||
@@ -508,7 +509,7 @@ | |||
508 | 509 | ||
509 | usb@c5000000 { | 510 | usb@c5000000 { |
510 | status = "okay"; | 511 | status = "okay"; |
511 | nvidia,vbus-gpio = <&tca6416 0 0>; /* GPIO_PMU0 */ | 512 | nvidia,vbus-gpio = <&tca6416 0 GPIO_ACTIVE_HIGH>; |
512 | }; | 513 | }; |
513 | 514 | ||
514 | usb-phy@c5000000 { | 515 | usb-phy@c5000000 { |
@@ -518,7 +519,7 @@ | |||
518 | 519 | ||
519 | usb@c5008000 { | 520 | usb@c5008000 { |
520 | status = "okay"; | 521 | status = "okay"; |
521 | nvidia,vbus-gpio = <&tca6416 1 0>; /* GPIO_PMU1 */ | 522 | nvidia,vbus-gpio = <&tca6416 1 GPIO_ACTIVE_HIGH>; |
522 | }; | 523 | }; |
523 | 524 | ||
524 | usb-phy@c5008000 { | 525 | usb-phy@c5008000 { |
@@ -528,8 +529,8 @@ | |||
528 | 529 | ||
529 | sdhci@c8000400 { | 530 | sdhci@c8000400 { |
530 | status = "okay"; | 531 | status = "okay"; |
531 | cd-gpios = <&gpio 69 1>; /* gpio PI5 */ | 532 | cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; |
532 | wp-gpios = <&gpio 173 0>; /* gpio PV5 */ | 533 | wp-gpios = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_HIGH>; |
533 | bus-width = <8>; | 534 | bus-width = <8>; |
534 | }; | 535 | }; |
535 | 536 | ||