xref: /freebsd/sys/contrib/device-tree/src/arm/ti/omap/omap5-sbc-t54.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Suppport for CompuLab CM-T54 on SB-T54 baseboard
4*f126890aSEmmanuel Vadot */
5*f126890aSEmmanuel Vadot
6*f126890aSEmmanuel Vadot#include "omap5-cm-t54.dts"
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/ {
9*f126890aSEmmanuel Vadot	model = "CompuLab CM-T54 on SB-T54";
10*f126890aSEmmanuel Vadot	compatible = "compulab,omap5-sbc-t54", "compulab,omap5-cm-t54", "ti,omap5";
11*f126890aSEmmanuel Vadot};
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadot&omap5_pmx_core {
14*f126890aSEmmanuel Vadot	i2c4_pins: i2c4-pins {
15*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
16*f126890aSEmmanuel Vadot			OMAP5_IOPAD(0x00f8, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_scl */
17*f126890aSEmmanuel Vadot			OMAP5_IOPAD(0x00fa, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_sda */
18*f126890aSEmmanuel Vadot		>;
19*f126890aSEmmanuel Vadot	};
20*f126890aSEmmanuel Vadot
21*f126890aSEmmanuel Vadot	mmc1_aux_pins: mmc1-aux-pins {
22*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
23*f126890aSEmmanuel Vadot			OMAP5_IOPAD(0x0174, PIN_INPUT_PULLUP | MUX_MODE6) /* timer5_pwm_evt.gpio8_228 */
24*f126890aSEmmanuel Vadot			OMAP5_IOPAD(0x0176, PIN_INPUT_PULLUP | MUX_MODE6) /* timer6_pwm_evt.gpio8_229 */
25*f126890aSEmmanuel Vadot		>;
26*f126890aSEmmanuel Vadot	};
27*f126890aSEmmanuel Vadot};
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot&mmc1 {
30*f126890aSEmmanuel Vadot	pinctrl-names = "default";
31*f126890aSEmmanuel Vadot	pinctrl-0 = <
32*f126890aSEmmanuel Vadot		&mmc1_pins
33*f126890aSEmmanuel Vadot		&mmc1_aux_pins
34*f126890aSEmmanuel Vadot	>;
35*f126890aSEmmanuel Vadot	cd-inverted;
36*f126890aSEmmanuel Vadot	wp-inverted;
37*f126890aSEmmanuel Vadot	cd-gpios = <&gpio8 4 GPIO_ACTIVE_LOW>; /* gpio8_228 */
38*f126890aSEmmanuel Vadot	wp-gpios = <&gpio8 5 GPIO_ACTIVE_LOW>; /* gpio8_229 */
39*f126890aSEmmanuel Vadot};
40*f126890aSEmmanuel Vadot
41*f126890aSEmmanuel Vadot&i2c4 {
42*f126890aSEmmanuel Vadot	pinctrl-names = "default";
43*f126890aSEmmanuel Vadot	pinctrl-0 = <&i2c4_pins>;
44*f126890aSEmmanuel Vadot
45*f126890aSEmmanuel Vadot	clock-frequency = <400000>;
46*f126890aSEmmanuel Vadot
47*f126890aSEmmanuel Vadot	at24@50 {
48*f126890aSEmmanuel Vadot		compatible = "atmel,24c02";
49*f126890aSEmmanuel Vadot		pagesize = <16>;
50*f126890aSEmmanuel Vadot		reg = <0x50>;
51*f126890aSEmmanuel Vadot	};
52*f126890aSEmmanuel Vadot};
53