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/tegra114-dalmore.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/tegra114-dalmore.dts')
-rw-r--r-- | arch/arm/boot/dts/tegra114-dalmore.dts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts index acc5257041d0..2571525769ce 100644 --- a/arch/arm/boot/dts/tegra114-dalmore.dts +++ b/arch/arm/boot/dts/tegra114-dalmore.dts | |||
@@ -838,7 +838,7 @@ | |||
838 | }; | 838 | }; |
839 | 839 | ||
840 | sdhci@78000400 { | 840 | sdhci@78000400 { |
841 | cd-gpios = <&gpio 170 1>; /* gpio PV2 */ | 841 | cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>; |
842 | bus-width = <4>; | 842 | bus-width = <4>; |
843 | status = "okay"; | 843 | status = "okay"; |
844 | }; | 844 | }; |
@@ -883,7 +883,7 @@ | |||
883 | regulator-min-microvolt = <1800000>; | 883 | regulator-min-microvolt = <1800000>; |
884 | regulator-max-microvolt = <1800000>; | 884 | regulator-max-microvolt = <1800000>; |
885 | enable-active-high; | 885 | enable-active-high; |
886 | gpio = <&gpio 61 0>; /* GPIO PH5 */ | 886 | gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>; |
887 | }; | 887 | }; |
888 | 888 | ||
889 | lcd_bl_en_reg: regulator@2 { | 889 | lcd_bl_en_reg: regulator@2 { |
@@ -893,7 +893,7 @@ | |||
893 | regulator-min-microvolt = <5000000>; | 893 | regulator-min-microvolt = <5000000>; |
894 | regulator-max-microvolt = <5000000>; | 894 | regulator-max-microvolt = <5000000>; |
895 | enable-active-high; | 895 | enable-active-high; |
896 | gpio = <&gpio 58 0>; /* GPIO PH2 */ | 896 | gpio = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; |
897 | }; | 897 | }; |
898 | 898 | ||
899 | usb1_vbus_reg: regulator@3 { | 899 | usb1_vbus_reg: regulator@3 { |
@@ -903,7 +903,7 @@ | |||
903 | regulator-min-microvolt = <5000000>; | 903 | regulator-min-microvolt = <5000000>; |
904 | regulator-max-microvolt = <5000000>; | 904 | regulator-max-microvolt = <5000000>; |
905 | enable-active-high; | 905 | enable-active-high; |
906 | gpio = <&gpio 108 0>; /* GPIO PN4 */ | 906 | gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; |
907 | gpio-open-drain; | 907 | gpio-open-drain; |
908 | vin-supply = <&tps65090_dcdc1_reg>; | 908 | vin-supply = <&tps65090_dcdc1_reg>; |
909 | }; | 909 | }; |
@@ -915,7 +915,7 @@ | |||
915 | regulator-min-microvolt = <5000000>; | 915 | regulator-min-microvolt = <5000000>; |
916 | regulator-max-microvolt = <5000000>; | 916 | regulator-max-microvolt = <5000000>; |
917 | enable-active-high; | 917 | enable-active-high; |
918 | gpio = <&gpio 86 0>; /* GPIO PK6 */ | 918 | gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; |
919 | gpio-open-drain; | 919 | gpio-open-drain; |
920 | vin-supply = <&tps65090_dcdc1_reg>; | 920 | vin-supply = <&tps65090_dcdc1_reg>; |
921 | }; | 921 | }; |
@@ -927,7 +927,7 @@ | |||
927 | regulator-min-microvolt = <5000000>; | 927 | regulator-min-microvolt = <5000000>; |
928 | regulator-max-microvolt = <5000000>; | 928 | regulator-max-microvolt = <5000000>; |
929 | enable-active-high; | 929 | enable-active-high; |
930 | gpio = <&gpio 81 0>; /* GPIO PK1 */ | 930 | gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; |
931 | vin-supply = <&tps65090_dcdc1_reg>; | 931 | vin-supply = <&tps65090_dcdc1_reg>; |
932 | }; | 932 | }; |
933 | }; | 933 | }; |