blob: c8ab6275f1d845c703e8a46febf08642eb8718a9 [file] [log] [blame]
R Sricharan6b5de092012-05-10 19:46:00 +05301/*
Sricharan Rfa63d032013-06-07 18:52:47 +05302 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
R Sricharan6b5de092012-05-10 19:46:00 +05303 *
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/dts-v1/;
9
Tony Lindgrenee9a97d2015-10-16 12:32:32 -070010#include "omap5-board-common.dtsi"
R Sricharan6b5de092012-05-10 19:46:00 +053011
12/ {
Sricharan Rfa63d032013-06-07 18:52:47 +053013 model = "TI OMAP5 uEVM board";
14 compatible = "ti,omap5-uevm", "ti,omap5";
R Sricharan6b5de092012-05-10 19:46:00 +053015
Javier Martinez Canillasbfa130b2016-08-31 12:35:29 +020016 memory@80000000 {
R Sricharan6b5de092012-05-10 19:46:00 +053017 device_type = "memory";
Tony Lindgren98cc4542016-09-13 16:10:56 -070018 reg = <0 0x80000000 0 0x7f000000>; /* 2032 MB */
R Sricharan6b5de092012-05-10 19:46:00 +053019 };
Tony Lindgrene7ee0bc2016-09-11 13:50:57 -070020
21 leds {
22 compatible = "gpio-leds";
23 led1 {
24 label = "omap5:blue:usr1";
25 gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */
26 linux,default-trigger = "heartbeat";
27 default-state = "off";
28 };
29 };
H. Nikolaus Schallerb14b0eb2016-09-29 07:25:37 +020030
31 evm_leds {
32 compatible = "gpio-leds";
33
34 led1 {
35 label = "omap5:red:led";
36 gpios = <&gpio9 17 GPIO_ACTIVE_HIGH>;
37 linux,default-trigger = "mmc0";
38 default-state = "off";
39 };
40
41 led2 {
42 label = "omap5:green:led";
43 gpios = <&gpio9 18 GPIO_ACTIVE_HIGH>;
44 linux,default-trigger = "mmc1";
45 default-state = "off";
46 };
47
48 led3 {
49 label = "omap5:blue:led";
50 gpios = <&gpio9 19 GPIO_ACTIVE_HIGH>;
51 linux,default-trigger = "mmc2";
52 default-state = "off";
53 };
54
55 led4 {
56 label = "omap5:green:led1";
57 gpios = <&gpio9 2 GPIO_ACTIVE_HIGH>;
58 linux,default-trigger = "heartbeat";
59 default-state = "off";
60 };
61
62 led5 {
63 label = "omap5:green:led2";
64 gpios = <&gpio9 3 GPIO_ACTIVE_HIGH>;
65 linux,default-trigger = "default-on";
66 default-state = "off";
67 };
68
69 led6 {
70 label = "omap5:green:led3";
71 gpios = <&gpio9 4 GPIO_ACTIVE_HIGH>;
72 linux,default-trigger = "heartbeat";
73 default-state = "off";
74 };
75
76 led7 {
77 label = "omap5:green:led4";
78 gpios = <&gpio9 5 GPIO_ACTIVE_HIGH>;
79 linux,default-trigger = "default-on";
80 default-state = "off";
81 };
82
83 led8 {
84 label = "omap5:green:led5";
85 gpios = <&gpio9 6 GPIO_ACTIVE_HIGH>;
86 linux,default-trigger = "heartbeat";
87 default-state = "off";
88 };
89 };
Balaji T K5dd18b02012-08-07 12:48:21 +053090};
91
Tony Lindgrenee9a97d2015-10-16 12:32:32 -070092&hdmi {
93 vdda-supply = <&ldo4_reg>;
Sourav Poddar9be495c2013-02-13 14:58:22 +053094};
95
H. Nikolaus Schaller3559fe72016-09-29 07:25:36 +020096&i2c1 {
97 eeprom@50 {
98 compatible = "atmel,24c02";
99 reg = <0x50>;
100 };
101};
102
Sourav Poddar9be495c2013-02-13 14:58:22 +0530103&i2c5 {
104 pinctrl-names = "default";
105 pinctrl-0 = <&i2c5_pins>;
106
107 clock-frequency = <400000>;
Tomi Valkeinen6f0ab9a2014-03-12 11:53:26 +0200108
109 gpio9: gpio@22 {
110 compatible = "ti,tca6424";
111 reg = <0x22>;
112 gpio-controller;
113 #gpio-cells = <2>;
114 };
Sourav Poddar9be495c2013-02-13 14:58:22 +0530115};
116
Tony Lindgrenee9a97d2015-10-16 12:32:32 -0700117&omap5_pmx_core {
118 i2c5_pins: pinmux_i2c5_pins {
119 pinctrl-single,pins = <
Javier Martinez Canillas03c84de2015-11-13 01:54:17 -0300120 OMAP5_IOPAD(0x1c6, PIN_INPUT | MUX_MODE0) /* i2c5_scl */
121 OMAP5_IOPAD(0x1c8, PIN_INPUT | MUX_MODE0) /* i2c5_sda */
Tony Lindgrenee9a97d2015-10-16 12:32:32 -0700122 >;
Tomi Valkeinen6ac732e2014-03-12 11:57:03 +0200123 };
124};
Tony Lindgrenee9a97d2015-10-16 12:32:32 -0700125
126&tpd12s015 {
127 gpios = <&gpio9 0 GPIO_ACTIVE_HIGH>, /* TCA6424A P01, CT CP HPD */
128 <&gpio9 1 GPIO_ACTIVE_HIGH>, /* TCA6424A P00, LS OE */
129 <&gpio7 1 GPIO_ACTIVE_HIGH>; /* GPIO 193, HPD */
130};
Tony Lindgren49111cd2016-05-12 13:29:48 -0700131
132&twl6040 {
133 ti,audpwron-gpio = <&gpio5 13 GPIO_ACTIVE_HIGH>; /* gpio line 141 */
134};
135
136&twl6040_pins {
137 pinctrl-single,pins = <
138 OMAP5_IOPAD(0x1be, PIN_OUTPUT | MUX_MODE6) /* mcspi1_somi.gpio5_141 */
139 >;
140};
Tony Lindgren08f92682016-09-11 21:01:02 -0700141
142&wlcore {
143 compatible = "ti,wl1837";
144};