blob: a8c72611fbe37da136feff1e0fddf40dc263cc22 [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
H. Nikolaus Schaller2d46c0c2016-09-29 07:25:38 +020031 evm_keys {
32 compatible = "gpio-keys";
33
34 pinctrl-names = "default";
35 pinctrl-0 = <&evm_keys_pins>;
36
37 #address-cells = <7>;
38 #size-cells = <0>;
39
40 btn1 {
41 label = "BTN1";
42 linux,code = <169>;
43 gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; /* gpio3_83 */
Sudeep Holla66579e22016-11-14 15:44:07 +000044 wakeup-source;
H. Nikolaus Schaller2d46c0c2016-09-29 07:25:38 +020045 autorepeat;
46 debounce_interval = <50>;
47 };
48 };
49
H. Nikolaus Schallerb14b0eb2016-09-29 07:25:37 +020050 evm_leds {
51 compatible = "gpio-leds";
52
53 led1 {
54 label = "omap5:red:led";
55 gpios = <&gpio9 17 GPIO_ACTIVE_HIGH>;
56 linux,default-trigger = "mmc0";
57 default-state = "off";
58 };
59
60 led2 {
61 label = "omap5:green:led";
62 gpios = <&gpio9 18 GPIO_ACTIVE_HIGH>;
63 linux,default-trigger = "mmc1";
64 default-state = "off";
65 };
66
67 led3 {
68 label = "omap5:blue:led";
69 gpios = <&gpio9 19 GPIO_ACTIVE_HIGH>;
70 linux,default-trigger = "mmc2";
71 default-state = "off";
72 };
73
74 led4 {
75 label = "omap5:green:led1";
76 gpios = <&gpio9 2 GPIO_ACTIVE_HIGH>;
77 linux,default-trigger = "heartbeat";
78 default-state = "off";
79 };
80
81 led5 {
82 label = "omap5:green:led2";
83 gpios = <&gpio9 3 GPIO_ACTIVE_HIGH>;
84 linux,default-trigger = "default-on";
85 default-state = "off";
86 };
87
88 led6 {
89 label = "omap5:green:led3";
90 gpios = <&gpio9 4 GPIO_ACTIVE_HIGH>;
91 linux,default-trigger = "heartbeat";
92 default-state = "off";
93 };
94
95 led7 {
96 label = "omap5:green:led4";
97 gpios = <&gpio9 5 GPIO_ACTIVE_HIGH>;
98 linux,default-trigger = "default-on";
99 default-state = "off";
100 };
101
102 led8 {
103 label = "omap5:green:led5";
104 gpios = <&gpio9 6 GPIO_ACTIVE_HIGH>;
105 linux,default-trigger = "heartbeat";
106 default-state = "off";
107 };
108 };
Balaji T K5dd18b02012-08-07 12:48:21 +0530109};
110
Tony Lindgrenee9a97d2015-10-16 12:32:32 -0700111&hdmi {
112 vdda-supply = <&ldo4_reg>;
Sourav Poddar9be495c2013-02-13 14:58:22 +0530113};
114
H. Nikolaus Schaller3559fe72016-09-29 07:25:36 +0200115&i2c1 {
116 eeprom@50 {
117 compatible = "atmel,24c02";
118 reg = <0x50>;
119 };
120};
121
Sourav Poddar9be495c2013-02-13 14:58:22 +0530122&i2c5 {
123 pinctrl-names = "default";
124 pinctrl-0 = <&i2c5_pins>;
125
126 clock-frequency = <400000>;
Tomi Valkeinen6f0ab9a2014-03-12 11:53:26 +0200127
128 gpio9: gpio@22 {
129 compatible = "ti,tca6424";
130 reg = <0x22>;
131 gpio-controller;
132 #gpio-cells = <2>;
133 };
Sourav Poddar9be495c2013-02-13 14:58:22 +0530134};
135
Tony Lindgrenee9a97d2015-10-16 12:32:32 -0700136&omap5_pmx_core {
H. Nikolaus Schaller2d46c0c2016-09-29 07:25:38 +0200137 evm_keys_pins: pinmux_evm_keys_gpio_pins {
138 pinctrl-single,pins = <
139 OMAP5_IOPAD(0x0b6, PIN_INPUT | MUX_MODE6) /* gpio3_83 */
140 >;
141 };
142
Tony Lindgrenee9a97d2015-10-16 12:32:32 -0700143 i2c5_pins: pinmux_i2c5_pins {
144 pinctrl-single,pins = <
Javier Martinez Canillas03c84de2015-11-13 01:54:17 -0300145 OMAP5_IOPAD(0x1c6, PIN_INPUT | MUX_MODE0) /* i2c5_scl */
146 OMAP5_IOPAD(0x1c8, PIN_INPUT | MUX_MODE0) /* i2c5_sda */
Tony Lindgrenee9a97d2015-10-16 12:32:32 -0700147 >;
Tomi Valkeinen6ac732e2014-03-12 11:57:03 +0200148 };
149};
Tony Lindgrenee9a97d2015-10-16 12:32:32 -0700150
151&tpd12s015 {
152 gpios = <&gpio9 0 GPIO_ACTIVE_HIGH>, /* TCA6424A P01, CT CP HPD */
153 <&gpio9 1 GPIO_ACTIVE_HIGH>, /* TCA6424A P00, LS OE */
154 <&gpio7 1 GPIO_ACTIVE_HIGH>; /* GPIO 193, HPD */
155};
Tony Lindgren49111cd2016-05-12 13:29:48 -0700156
157&twl6040 {
158 ti,audpwron-gpio = <&gpio5 13 GPIO_ACTIVE_HIGH>; /* gpio line 141 */
159};
160
161&twl6040_pins {
162 pinctrl-single,pins = <
163 OMAP5_IOPAD(0x1be, PIN_OUTPUT | MUX_MODE6) /* mcspi1_somi.gpio5_141 */
164 >;
165};
Tony Lindgren08f92682016-09-11 21:01:02 -0700166
167&wlcore {
168 compatible = "ti,wl1837";
169};