blob: 657df46251c2ecd3a4053389ad33645a38ff6ae5 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001// SPDX-License-Identifier: GPL-2.0
Dmitry Lifshitz9f642b52014-04-28 14:41:44 +03002/*
Dmitry Lifshitz91890c02014-09-04 16:02:53 +03003 * Suppport for CompuLab CM-T54 on SB-T54 baseboard
Dmitry Lifshitz9f642b52014-04-28 14:41:44 +03004 */
5
6#include "omap5-cm-t54.dts"
7
8/ {
Dmitry Lifshitz91890c02014-09-04 16:02:53 +03009 model = "CompuLab CM-T54 on SB-T54";
Dmitry Lifshitz9f642b52014-04-28 14:41:44 +030010 compatible = "compulab,omap5-sbc-t54", "compulab,omap5-cm-t54", "ti,omap5";
11};
12
13&omap5_pmx_core {
14 i2c4_pins: pinmux_i2c4_pins {
15 pinctrl-single,pins = <
Joachim Eastwood4b466292014-05-12 20:16:27 +020016 OMAP5_IOPAD(0x00f8, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_scl */
17 OMAP5_IOPAD(0x00fa, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_sda */
Dmitry Lifshitz9f642b52014-04-28 14:41:44 +030018 >;
19 };
20
21 mmc1_aux_pins: pinmux_mmc1_aux_pins {
22 pinctrl-single,pins = <
Dmitry Lifshitz68dac832014-09-17 15:10:03 +030023 OMAP5_IOPAD(0x0174, PIN_INPUT_PULLUP | MUX_MODE6) /* timer5_pwm_evt.gpio8_228 */
24 OMAP5_IOPAD(0x0176, PIN_INPUT_PULLUP | MUX_MODE6) /* timer6_pwm_evt.gpio8_229 */
Dmitry Lifshitz9f642b52014-04-28 14:41:44 +030025 >;
26 };
27};
28
29&mmc1 {
30 pinctrl-names = "default";
31 pinctrl-0 = <
32 &mmc1_pins
33 &mmc1_aux_pins
34 >;
35 cd-inverted;
36 wp-inverted;
37 cd-gpios = <&gpio8 4 GPIO_ACTIVE_LOW>; /* gpio8_228 */
38 wp-gpios = <&gpio8 5 GPIO_ACTIVE_LOW>; /* gpio8_229 */
39};
40
41&i2c4 {
42 pinctrl-names = "default";
43 pinctrl-0 = <&i2c4_pins>;
44
45 clock-frequency = <400000>;
46
47 at24@50 {
Javier Martinez Canillas05e7d622017-05-23 15:34:31 +020048 compatible = "atmel,24c02";
Dmitry Lifshitz9f642b52014-04-28 14:41:44 +030049 pagesize = <16>;
50 reg = <0x50>;
51 };
52};