Dmitry Lifshitz | 9f642b5 | 2014-04-28 14:41:44 +0300 | [diff] [blame] | 1 | /* |
Dmitry Lifshitz | 91890c0 | 2014-09-04 16:02:53 +0300 | [diff] [blame] | 2 | * Suppport for CompuLab CM-T54 on SB-T54 baseboard |
Dmitry Lifshitz | 9f642b5 | 2014-04-28 14:41:44 +0300 | [diff] [blame] | 3 | */ |
| 4 | |
| 5 | #include "omap5-cm-t54.dts" |
| 6 | |
| 7 | / { |
Dmitry Lifshitz | 91890c0 | 2014-09-04 16:02:53 +0300 | [diff] [blame] | 8 | model = "CompuLab CM-T54 on SB-T54"; |
Dmitry Lifshitz | 9f642b5 | 2014-04-28 14:41:44 +0300 | [diff] [blame] | 9 | compatible = "compulab,omap5-sbc-t54", "compulab,omap5-cm-t54", "ti,omap5"; |
| 10 | }; |
| 11 | |
| 12 | &omap5_pmx_core { |
| 13 | i2c4_pins: pinmux_i2c4_pins { |
| 14 | pinctrl-single,pins = < |
Joachim Eastwood | 4b46629 | 2014-05-12 20:16:27 +0200 | [diff] [blame] | 15 | OMAP5_IOPAD(0x00f8, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_scl */ |
| 16 | OMAP5_IOPAD(0x00fa, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_sda */ |
Dmitry Lifshitz | 9f642b5 | 2014-04-28 14:41:44 +0300 | [diff] [blame] | 17 | >; |
| 18 | }; |
| 19 | |
| 20 | mmc1_aux_pins: pinmux_mmc1_aux_pins { |
| 21 | pinctrl-single,pins = < |
Dmitry Lifshitz | 68dac83 | 2014-09-17 15:10:03 +0300 | [diff] [blame] | 22 | OMAP5_IOPAD(0x0174, PIN_INPUT_PULLUP | MUX_MODE6) /* timer5_pwm_evt.gpio8_228 */ |
| 23 | OMAP5_IOPAD(0x0176, PIN_INPUT_PULLUP | MUX_MODE6) /* timer6_pwm_evt.gpio8_229 */ |
Dmitry Lifshitz | 9f642b5 | 2014-04-28 14:41:44 +0300 | [diff] [blame] | 24 | >; |
| 25 | }; |
| 26 | }; |
| 27 | |
| 28 | &mmc1 { |
| 29 | pinctrl-names = "default"; |
| 30 | pinctrl-0 = < |
| 31 | &mmc1_pins |
| 32 | &mmc1_aux_pins |
| 33 | >; |
| 34 | cd-inverted; |
| 35 | wp-inverted; |
| 36 | cd-gpios = <&gpio8 4 GPIO_ACTIVE_LOW>; /* gpio8_228 */ |
| 37 | wp-gpios = <&gpio8 5 GPIO_ACTIVE_LOW>; /* gpio8_229 */ |
| 38 | }; |
| 39 | |
| 40 | &i2c4 { |
| 41 | pinctrl-names = "default"; |
| 42 | pinctrl-0 = <&i2c4_pins>; |
| 43 | |
| 44 | clock-frequency = <400000>; |
| 45 | |
| 46 | at24@50 { |
| 47 | compatible = "at24,24c02"; |
| 48 | pagesize = <16>; |
| 49 | reg = <0x50>; |
| 50 | }; |
| 51 | }; |