diff options
author | Richard Zhao <richard.zhao@linaro.org> | 2011-12-13 20:26:44 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2011-12-14 08:25:43 -0500 |
commit | 4d191868a658a5b8bcbb93fe32d95688e84da1e6 (patch) | |
tree | 9e23a5ae74a084b3e4b83d30a5a0088e93ce1cc2 /arch/arm/boot/dts/imx53-smd.dts | |
parent | dc47ce90c3a822cd7c9e9339fe4d5f61dcb26b50 (diff) |
dts/imx: rename gpio labels to consistent with hw spec
GPIO1/GPIO2/... is more readable than GPIO0/GPIO1/... .
Remove redundant gpio comments.
Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx53-smd.dts')
-rw-r--r-- | arch/arm/boot/dts/imx53-smd.dts | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/imx53-smd.dts b/arch/arm/boot/dts/imx53-smd.dts index b1c062eea715..9e51bc371efb 100644 --- a/arch/arm/boot/dts/imx53-smd.dts +++ b/arch/arm/boot/dts/imx53-smd.dts | |||
@@ -29,8 +29,8 @@ | |||
29 | aips@50000000 { /* AIPS1 */ | 29 | aips@50000000 { /* AIPS1 */ |
30 | spba@50000000 { | 30 | spba@50000000 { |
31 | esdhc@50004000 { /* ESDHC1 */ | 31 | esdhc@50004000 { /* ESDHC1 */ |
32 | cd-gpios = <&gpio2 13 0>; /* GPIO3_13 */ | 32 | cd-gpios = <&gpio3 13 0>; |
33 | wp-gpios = <&gpio3 11 0>; /* GPIO4_11 */ | 33 | wp-gpios = <&gpio4 11 0>; |
34 | status = "okay"; | 34 | status = "okay"; |
35 | }; | 35 | }; |
36 | 36 | ||
@@ -46,8 +46,7 @@ | |||
46 | 46 | ||
47 | ecspi@50010000 { /* ECSPI1 */ | 47 | ecspi@50010000 { /* ECSPI1 */ |
48 | fsl,spi-num-chipselects = <2>; | 48 | fsl,spi-num-chipselects = <2>; |
49 | cs-gpios = <&gpio1 30 0>, /* GPIO2_30 */ | 49 | cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>; |
50 | <&gpio2 19 0>; /* GPIO3_19 */ | ||
51 | status = "okay"; | 50 | status = "okay"; |
52 | 51 | ||
53 | zigbee: mc1323@0 { | 52 | zigbee: mc1323@0 { |
@@ -145,7 +144,7 @@ | |||
145 | 144 | ||
146 | fec@63fec000 { | 145 | fec@63fec000 { |
147 | phy-mode = "rmii"; | 146 | phy-mode = "rmii"; |
148 | phy-reset-gpios = <&gpio6 6 0>; /* GPIO7_6 */ | 147 | phy-reset-gpios = <&gpio7 6 0>; |
149 | status = "okay"; | 148 | status = "okay"; |
150 | }; | 149 | }; |
151 | }; | 150 | }; |
@@ -156,13 +155,13 @@ | |||
156 | 155 | ||
157 | volume-up { | 156 | volume-up { |
158 | label = "Volume Up"; | 157 | label = "Volume Up"; |
159 | gpios = <&gpio1 14 0>; /* GPIO2_14 */ | 158 | gpios = <&gpio2 14 0>; |
160 | linux,code = <115>; /* KEY_VOLUMEUP */ | 159 | linux,code = <115>; /* KEY_VOLUMEUP */ |
161 | }; | 160 | }; |
162 | 161 | ||
163 | volume-down { | 162 | volume-down { |
164 | label = "Volume Down"; | 163 | label = "Volume Down"; |
165 | gpios = <&gpio1 15 0>; /* GPIO2_15 */ | 164 | gpios = <&gpio2 15 0>; |
166 | linux,code = <114>; /* KEY_VOLUMEDOWN */ | 165 | linux,code = <114>; /* KEY_VOLUMEDOWN */ |
167 | }; | 166 | }; |
168 | }; | 167 | }; |