0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * Suppport for CompuLab CM-T54 on SB-T54 baseboard
0004 */
0005
0006 #include "omap5-cm-t54.dts"
0007
0008 / {
0009 model = "CompuLab CM-T54 on SB-T54";
0010 compatible = "compulab,omap5-sbc-t54", "compulab,omap5-cm-t54", "ti,omap5";
0011 };
0012
0013 &omap5_pmx_core {
0014 i2c4_pins: pinmux_i2c4_pins {
0015 pinctrl-single,pins = <
0016 OMAP5_IOPAD(0x00f8, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_scl */
0017 OMAP5_IOPAD(0x00fa, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_sda */
0018 >;
0019 };
0020
0021 mmc1_aux_pins: pinmux_mmc1_aux_pins {
0022 pinctrl-single,pins = <
0023 OMAP5_IOPAD(0x0174, PIN_INPUT_PULLUP | MUX_MODE6) /* timer5_pwm_evt.gpio8_228 */
0024 OMAP5_IOPAD(0x0176, PIN_INPUT_PULLUP | MUX_MODE6) /* timer6_pwm_evt.gpio8_229 */
0025 >;
0026 };
0027 };
0028
0029 &mmc1 {
0030 pinctrl-names = "default";
0031 pinctrl-0 = <
0032 &mmc1_pins
0033 &mmc1_aux_pins
0034 >;
0035 cd-inverted;
0036 wp-inverted;
0037 cd-gpios = <&gpio8 4 GPIO_ACTIVE_LOW>; /* gpio8_228 */
0038 wp-gpios = <&gpio8 5 GPIO_ACTIVE_LOW>; /* gpio8_229 */
0039 };
0040
0041 &i2c4 {
0042 pinctrl-names = "default";
0043 pinctrl-0 = <&i2c4_pins>;
0044
0045 clock-frequency = <400000>;
0046
0047 at24@50 {
0048 compatible = "atmel,24c02";
0049 pagesize = <16>;
0050 reg = <0x50>;
0051 };
0052 };