diff options
author | Florian Vaussard <florian.vaussard@epfl.ch> | 2013-06-03 10:12:25 -0400 |
---|---|---|
committer | Benoit Cousson <benoit.cousson@linaro.org> | 2013-06-18 19:53:43 -0400 |
commit | 6a8a6b6548216fafb2db6e24a39b728707422bfb (patch) | |
tree | 46134f828fb97d3b1704170c6b7996dce981de26 /arch/arm/boot/dts/am335x-evmsk.dts | |
parent | 3f2d1658a759692af19a0867100bd777a3d93184 (diff) |
ARM: dts: AM33XX: Use pinctrl constants
Using constants for pinctrl allows a better readability, and removes
redundancy with comments.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
Tested-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/am335x-evmsk.dts')
-rw-r--r-- | arch/arm/boot/dts/am335x-evmsk.dts | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index 16d17d6f4d7f..338b68188349 100644 --- a/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts | |||
@@ -36,39 +36,39 @@ | |||
36 | 36 | ||
37 | user_leds_s0: user_leds_s0 { | 37 | user_leds_s0: user_leds_s0 { |
38 | pinctrl-single,pins = < | 38 | pinctrl-single,pins = < |
39 | 0x10 0x7 /* gpmc_ad4.gpio1_4, OUTPUT | MODE7 */ | 39 | 0x10 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad4.gpio1_4 */ |
40 | 0x14 0x7 /* gpmc_ad5.gpio1_5, OUTPUT | MODE7 */ | 40 | 0x14 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad5.gpio1_5 */ |
41 | 0x18 0x7 /* gpmc_ad6.gpio1_6, OUTPUT | MODE7 */ | 41 | 0x18 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad6.gpio1_6 */ |
42 | 0x1c 0x7 /* gpmc_ad7.gpio1_7, OUTPUT | MODE7 */ | 42 | 0x1c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad7.gpio1_7 */ |
43 | >; | 43 | >; |
44 | }; | 44 | }; |
45 | 45 | ||
46 | gpio_keys_s0: gpio_keys_s0 { | 46 | gpio_keys_s0: gpio_keys_s0 { |
47 | pinctrl-single,pins = < | 47 | pinctrl-single,pins = < |
48 | 0x94 0x27 /* gpmc_oen_ren.gpio2_3, INPUT | MODE7 */ | 48 | 0x94 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_oen_ren.gpio2_3 */ |
49 | 0x90 0x27 /* gpmc_advn_ale.gpio2_2, INPUT | MODE7 */ | 49 | 0x90 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_advn_ale.gpio2_2 */ |
50 | 0x70 0x27 /* gpmc_wait0.gpio0_30, INPUT | MODE7 */ | 50 | 0x70 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_wait0.gpio0_30 */ |
51 | 0x9c 0x27 /* gpmc_ben0_cle.gpio2_5, INPUT | MODE7 */ | 51 | 0x9c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ben0_cle.gpio2_5 */ |
52 | >; | 52 | >; |
53 | }; | 53 | }; |
54 | 54 | ||
55 | i2c0_pins: pinmux_i2c0_pins { | 55 | i2c0_pins: pinmux_i2c0_pins { |
56 | pinctrl-single,pins = < | 56 | pinctrl-single,pins = < |
57 | 0x188 0x30 /* i2c0_sda.i2c0_sda PULLUP | INPUTENABLE | MODE0 */ | 57 | 0x188 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */ |
58 | 0x18c 0x30 /* i2c0_scl.i2c0_scl PULLUP | INPUTENABLE | MODE0 */ | 58 | 0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */ |
59 | >; | 59 | >; |
60 | }; | 60 | }; |
61 | 61 | ||
62 | uart0_pins: pinmux_uart0_pins { | 62 | uart0_pins: pinmux_uart0_pins { |
63 | pinctrl-single,pins = < | 63 | pinctrl-single,pins = < |
64 | 0x170 0x30 /* uart0_rxd.uart0_rxd PULLUP | INPUTENABLE | MODE0 */ | 64 | 0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */ |
65 | 0x174 0x00 /* uart0_txd.uart0_txd PULLDOWN | MODE0 */ | 65 | 0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */ |
66 | >; | 66 | >; |
67 | }; | 67 | }; |
68 | 68 | ||
69 | clkout2_pin: pinmux_clkout2_pin { | 69 | clkout2_pin: pinmux_clkout2_pin { |
70 | pinctrl-single,pins = < | 70 | pinctrl-single,pins = < |
71 | 0x1b4 0x03 /* xdma_event_intr1.clkout2 OMAP_MUX_MODE3 | AM33XX_PIN_OUTPUT */ | 71 | 0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr1.clkout2 */ |
72 | >; | 72 | >; |
73 | }; | 73 | }; |
74 | }; | 74 | }; |