Florian Vaussard | 385306c | 2014-03-11 13:20:29 +0100 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | |
| 9 | /* |
| 10 | * Peripherals common to all Gumstix Overo boards (Tobi, Summit, Palo43,...) |
| 11 | */ |
| 12 | |
| 13 | &omap3_pmx_core { |
| 14 | i2c3_pins: pinmux_i2c3_pins { |
| 15 | pinctrl-single,pins = < |
| 16 | OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0) /* i2c3_scl.i2c3_scl */ |
| 17 | OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0) /* i2c3_sda.i2c3_sda */ |
| 18 | >; |
| 19 | }; |
| 20 | |
| 21 | uart3_pins: pinmux_uart3_pins { |
| 22 | pinctrl-single,pins = < |
| 23 | OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */ |
| 24 | OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */ |
| 25 | >; |
| 26 | }; |
| 27 | }; |
| 28 | |
| 29 | &i2c3 { |
| 30 | pinctrl-names = "default"; |
| 31 | pinctrl-0 = <&i2c3_pins>; |
| 32 | clock-frequency = <100000>; |
| 33 | |
| 34 | /* optional 1K EEPROM with revision information */ |
| 35 | eeprom@51 { |
| 36 | compatible = "atmel,24c01"; |
| 37 | reg = <0x51>; |
| 38 | pagesize = <8>; |
| 39 | }; |
| 40 | }; |
| 41 | |
| 42 | &mmc3 { |
| 43 | status = "disabled"; |
| 44 | }; |
| 45 | |
| 46 | &uart3 { |
| 47 | pinctrl-names = "default"; |
| 48 | pinctrl-0 = <&uart3_pins>; |
| 49 | }; |
| 50 | |