aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap4-panda-common.dtsi
diff options
context:
space:
mode:
authorFlorian Vaussard <florian.vaussard@epfl.ch>2013-05-31 08:32:59 -0400
committerBenoit Cousson <benoit.cousson@linaro.org>2013-06-18 19:53:40 -0400
commitbcd3cca741a1bb28e78cdcc83551630ed83c8244 (patch)
tree5b01b6c68e9cca47bcde235acf0916ff3fca98bd /arch/arm/boot/dts/omap4-panda-common.dtsi
parent10a3472a83d3be18495d18ed5612394bb6262f58 (diff)
ARM: dts: OMAP2+: 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> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/omap4-panda-common.dtsi')
-rw-r--r--arch/arm/boot/dts/omap4-panda-common.dtsi54
1 files changed, 27 insertions, 27 deletions
diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi b/arch/arm/boot/dts/omap4-panda-common.dtsi
index 8d09cf55925d..d5d144a1a6c2 100644
--- a/arch/arm/boot/dts/omap4-panda-common.dtsi
+++ b/arch/arm/boot/dts/omap4-panda-common.dtsi
@@ -64,7 +64,7 @@
64 64
65 twl6030_wkup_pins: pinmux_twl6030_wkup_pins { 65 twl6030_wkup_pins: pinmux_twl6030_wkup_pins {
66 pinctrl-single,pins = < 66 pinctrl-single,pins = <
67 0x14 0x2 /* fref_clk0_out.sys_drm_msecure OUTPUT | MODE2 */ 67 0x14 (PIN_OUTPUT | MUX_MODE2) /* fref_clk0_out.sys_drm_msecure */
68 >; 68 >;
69 }; 69 };
70}; 70};
@@ -82,77 +82,77 @@
82 82
83 twl6030_pins: pinmux_twl6030_pins { 83 twl6030_pins: pinmux_twl6030_pins {
84 pinctrl-single,pins = < 84 pinctrl-single,pins = <
85 0x15e 0x4118 /* sys_nirq1.sys_nirq1 OMAP_WAKEUP_EN | INPUT_PULLUP | MODE0 */ 85 0x15e (WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq1.sys_nirq1 */
86 >; 86 >;
87 }; 87 };
88 88
89 twl6040_pins: pinmux_twl6040_pins { 89 twl6040_pins: pinmux_twl6040_pins {
90 pinctrl-single,pins = < 90 pinctrl-single,pins = <
91 0xe0 0x3 /* hdq_sio.gpio_127 OUTPUT | MODE3 */ 91 0xe0 (PIN_OUTPUT | MUX_MODE3) /* hdq_sio.gpio_127 */
92 0x160 0x100 /* sys_nirq2.sys_nirq2 INPUT | MODE0 */ 92 0x160 (PIN_INPUT | MUX_MODE0) /* sys_nirq2.sys_nirq2 */
93 >; 93 >;
94 }; 94 };
95 95
96 mcpdm_pins: pinmux_mcpdm_pins { 96 mcpdm_pins: pinmux_mcpdm_pins {
97 pinctrl-single,pins = < 97 pinctrl-single,pins = <
98 0xc6 0x108 /* abe_pdm_ul_data.abe_pdm_ul_data INPUT PULLDOWN | MODE0 */ 98 0xc6 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_pdm_ul_data.abe_pdm_ul_data */
99 0xc8 0x108 /* abe_pdm_dl_data.abe_pdm_dl_data INPUT PULLDOWN | MODE0 */ 99 0xc8 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_pdm_dl_data.abe_pdm_dl_data */
100 0xca 0x118 /* abe_pdm_frame.abe_pdm_frame INPUT PULLUP | MODE0 */ 100 0xca (PIN_INPUT_PULLUP | MUX_MODE0) /* abe_pdm_frame.abe_pdm_frame */
101 0xcc 0x108 /* abe_pdm_lb_clk.abe_pdm_lb_clk INPUT PULLDOWN | MODE0 */ 101 0xcc (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_pdm_lb_clk.abe_pdm_lb_clk */
102 0xce 0x108 /* abe_clks.abe_clks INPUT PULLDOWN | MODE0 */ 102 0xce (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_clks.abe_clks */
103 >; 103 >;
104 }; 104 };
105 105
106 mcbsp1_pins: pinmux_mcbsp1_pins { 106 mcbsp1_pins: pinmux_mcbsp1_pins {
107 pinctrl-single,pins = < 107 pinctrl-single,pins = <
108 0xbe 0x100 /* abe_mcbsp1_clkx.abe_mcbsp1_clkx INPUT | MODE0 */ 108 0xbe (PIN_INPUT | MUX_MODE0) /* abe_mcbsp1_clkx.abe_mcbsp1_clkx */
109 0xc0 0x108 /* abe_mcbsp1_dr.abe_mcbsp1_dr INPUT PULLDOWN | MODE0 */ 109 0xc0 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_mcbsp1_dr.abe_mcbsp1_dr */
110 0xc2 0x8 /* abe_mcbsp1_dx.abe_mcbsp1_dx OUTPUT PULLDOWN | MODE0 */ 110 0xc2 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* abe_mcbsp1_dx.abe_mcbsp1_dx */
111 0xc4 0x100 /* abe_mcbsp1_fsx.abe_mcbsp1_fsx INPUT | MODE0 */ 111 0xc4 (PIN_INPUT | MUX_MODE0) /* abe_mcbsp1_fsx.abe_mcbsp1_fsx */
112 >; 112 >;
113 }; 113 };
114 114
115 dss_hdmi_pins: pinmux_dss_hdmi_pins { 115 dss_hdmi_pins: pinmux_dss_hdmi_pins {
116 pinctrl-single,pins = < 116 pinctrl-single,pins = <
117 0x5a 0x118 /* hdmi_cec.hdmi_cec INPUT PULLUP | MODE 0 */ 117 0x5a (PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */
118 0x5c 0x118 /* hdmi_scl.hdmi_scl INPUT PULLUP | MODE 0 */ 118 0x5c (PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_scl.hdmi_scl */
119 0x5e 0x118 /* hdmi_sda.hdmi_sda INPUT PULLUP | MODE 0 */ 119 0x5e (PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_sda.hdmi_sda */
120 >; 120 >;
121 }; 121 };
122 122
123 tpd12s015_pins: pinmux_tpd12s015_pins { 123 tpd12s015_pins: pinmux_tpd12s015_pins {
124 pinctrl-single,pins = < 124 pinctrl-single,pins = <
125 0x22 0x3 /* gpmc_a17.gpio_41 OUTPUT | MODE3 */ 125 0x22 (PIN_OUTPUT | MUX_MODE3) /* gpmc_a17.gpio_41 */
126 0x48 0x3 /* gpmc_nbe1.gpio_60 OUTPUT | MODE3 */ 126 0x48 (PIN_OUTPUT | MUX_MODE3) /* gpmc_nbe1.gpio_60 */
127 0x58 0x10b /* hdmi_hpd.gpio_63 INPUT PULLDOWN | MODE3 */ 127 0x58 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* hdmi_hpd.gpio_63 */
128 >; 128 >;
129 }; 129 };
130 130
131 i2c1_pins: pinmux_i2c1_pins { 131 i2c1_pins: pinmux_i2c1_pins {
132 pinctrl-single,pins = < 132 pinctrl-single,pins = <
133 0xe2 0x118 /* i2c1_scl PULLUP | INPUTENABLE | MODE0 */ 133 0xe2 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */
134 0xe4 0x118 /* i2c1_sda PULLUP | INPUTENABLE | MODE0 */ 134 0xe4 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */
135 >; 135 >;
136 }; 136 };
137 137
138 i2c2_pins: pinmux_i2c2_pins { 138 i2c2_pins: pinmux_i2c2_pins {
139 pinctrl-single,pins = < 139 pinctrl-single,pins = <
140 0xe6 0x118 /* i2c2_scl PULLUP | INPUTENABLE | MODE0 */ 140 0xe6 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_scl */
141 0xe8 0x118 /* i2c2_sda PULLUP | INPUTENABLE | MODE0 */ 141 0xe8 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_sda */
142 >; 142 >;
143 }; 143 };
144 144
145 i2c3_pins: pinmux_i2c3_pins { 145 i2c3_pins: pinmux_i2c3_pins {
146 pinctrl-single,pins = < 146 pinctrl-single,pins = <
147 0xea 0x118 /* i2c3_scl PULLUP | INPUTENABLE | MODE0 */ 147 0xea (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_scl */
148 0xec 0x118 /* i2c3_sda PULLUP | INPUTENABLE | MODE0 */ 148 0xec (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda */
149 >; 149 >;
150 }; 150 };
151 151
152 i2c4_pins: pinmux_i2c4_pins { 152 i2c4_pins: pinmux_i2c4_pins {
153 pinctrl-single,pins = < 153 pinctrl-single,pins = <
154 0xee 0x118 /* i2c4_scl PULLUP | INPUTENABLE | MODE0 */ 154 0xee (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_scl */
155 0xf0 0x118 /* i2c4_sda PULLUP | INPUTENABLE | MODE0 */ 155 0xf0 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_sda */
156 >; 156 >;
157 }; 157 };
158}; 158};