|
161 | 161 |
|
162 | 162 | /* HS USB Host PHY on PORT 1 */
|
163 | 163 | hsusb1_phy: hsusb1_phy {
|
| 164 | + pinctrl-names = "default"; |
| 165 | + pinctrl-0 = <&hsusb1_rst_pins>; |
164 | 166 | compatible = "usb-nop-xceiv";
|
165 | 167 | reset-gpios = <&gpio2 25 GPIO_ACTIVE_LOW>; /* gpio_57 */
|
166 | 168 | #phy-cells = <0>;
|
167 | 169 | };
|
168 | 170 | };
|
169 | 171 |
|
170 | 172 | &davinci_emac {
|
171 |
| - status = "okay"; |
| 173 | + pinctrl-names = "default"; |
| 174 | + pinctrl-0 = <ðernet_pins>; |
| 175 | + status = "okay"; |
172 | 176 | };
|
173 | 177 |
|
174 | 178 | &davinci_mdio {
|
|
193 | 197 | };
|
194 | 198 |
|
195 | 199 | &i2c2 {
|
| 200 | + pinctrl-names = "default"; |
| 201 | + pinctrl-0 = <&i2c2_pins>; |
196 | 202 | clock-frequency = <400000>;
|
197 | 203 | /* User DIP swithes [1:8] / User LEDS [1:2] */
|
198 | 204 | tca6416: gpio@21 {
|
|
205 | 211 | };
|
206 | 212 |
|
207 | 213 | &i2c3 {
|
| 214 | + pinctrl-names = "default"; |
| 215 | + pinctrl-0 = <&i2c3_pins>; |
208 | 216 | clock-frequency = <400000>;
|
209 | 217 | };
|
210 | 218 |
|
|
223 | 231 | };
|
224 | 232 |
|
225 | 233 | &usbhshost {
|
| 234 | + pinctrl-names = "default"; |
| 235 | + pinctrl-0 = <&hsusb1_pins>; |
226 | 236 | port1-mode = "ehci-phy";
|
227 | 237 | };
|
228 | 238 |
|
|
231 | 241 | };
|
232 | 242 |
|
233 | 243 | &omap3_pmx_core {
|
234 |
| - pinctrl-names = "default"; |
235 |
| - pinctrl-0 = <&hsusb1_rst_pins>; |
| 244 | + |
| 245 | + ethernet_pins: pinmux_ethernet_pins { |
| 246 | + pinctrl-single,pins = < |
| 247 | + OMAP3_CORE1_IOPAD(0x21fe, PIN_INPUT | MUX_MODE0) /* rmii_mdio_data */ |
| 248 | + OMAP3_CORE1_IOPAD(0x2200, MUX_MODE0) /* rmii_mdio_clk */ |
| 249 | + OMAP3_CORE1_IOPAD(0x2202, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rmii_rxd0 */ |
| 250 | + OMAP3_CORE1_IOPAD(0x2204, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rmii_rxd1 */ |
| 251 | + OMAP3_CORE1_IOPAD(0x2206, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rmii_crs_dv */ |
| 252 | + OMAP3_CORE1_IOPAD(0x2208, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* rmii_rxer */ |
| 253 | + OMAP3_CORE1_IOPAD(0x220a, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* rmii_txd0 */ |
| 254 | + OMAP3_CORE1_IOPAD(0x220c, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* rmii_txd1 */ |
| 255 | + OMAP3_CORE1_IOPAD(0x220e, PIN_OUTPUT_PULLDOWN |MUX_MODE0) /* rmii_txen */ |
| 256 | + OMAP3_CORE1_IOPAD(0x2210, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rmii_50mhz_clk */ |
| 257 | + >; |
| 258 | + }; |
| 259 | + |
| 260 | + i2c2_pins: pinmux_i2c2_pins { |
| 261 | + pinctrl-single,pins = < |
| 262 | + OMAP3_CORE1_IOPAD(0x21be, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_scl */ |
| 263 | + OMAP3_CORE1_IOPAD(0x21c0, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_sda */ |
| 264 | + >; |
| 265 | + }; |
| 266 | + |
| 267 | + i2c3_pins: pinmux_i2c3_pins { |
| 268 | + pinctrl-single,pins = < |
| 269 | + OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_scl */ |
| 270 | + OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda */ |
| 271 | + >; |
| 272 | + }; |
236 | 273 |
|
237 | 274 | leds_pins: pinmux_leds_pins {
|
238 | 275 | pinctrl-single,pins = <
|
|
300 | 337 | };
|
301 | 338 |
|
302 | 339 | &omap3_pmx_core2 {
|
303 |
| - pinctrl-names = "default"; |
304 |
| - pinctrl-0 = <&hsusb1_pins>; |
305 | 340 |
|
306 | 341 | hsusb1_pins: pinmux_hsusb1_pins {
|
307 | 342 | pinctrl-single,pins = <
|
|
0 commit comments