blob: e54f481c38d877a48b8736a399f3940a4d8c2011 [file] [log] [blame]
Benoit Cousson492beed2011-08-16 15:59:52 +02001/*
2 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
3 *
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
10/include/ "omap4.dtsi"
11
12/ {
13 model = "TI OMAP4 SDP board";
14 compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4";
15
Benoit Cousson492beed2011-08-16 15:59:52 +020016 memory {
17 device_type = "memory";
18 reg = <0x80000000 0x40000000>; /* 1 GB */
19 };
Benoit Coussone7c64db2012-01-20 14:17:00 +010020
21 vdd_eth: fixedregulator@0 {
22 compatible = "regulator-fixed";
23 regulator-name = "VDD_ETH";
24 regulator-min-microvolt = <3300000>;
25 regulator-max-microvolt = <3300000>;
26 gpio = <&gpio2 16 0>; /* gpio line 48 */
27 enable-active-high;
28 regulator-boot-on;
29 };
Benoit Cousson83909c72012-05-08 18:37:26 +020030
Peter Ujfalusi4814f2f2012-06-08 17:02:01 +030031 vbat: fixedregulator@2 {
32 compatible = "regulator-fixed";
33 regulator-name = "VBAT";
34 regulator-min-microvolt = <3750000>;
35 regulator-max-microvolt = <3750000>;
36 regulator-boot-on;
37 };
38
Benoit Cousson83909c72012-05-08 18:37:26 +020039 leds {
40 compatible = "gpio-leds";
41 debug0 {
42 label = "omap4:green:debug0";
43 gpios = <&gpio2 29 0>; /* 61 */
44 };
45
46 debug1 {
47 label = "omap4:green:debug1";
48 gpios = <&gpio1 30 0>; /* 30 */
49 };
50
51 debug2 {
52 label = "omap4:green:debug2";
53 gpios = <&gpio1 7 0>; /* 7 */
54 };
55
56 debug3 {
57 label = "omap4:green:debug3";
58 gpios = <&gpio1 8 0>; /* 8 */
59 };
60
61 debug4 {
62 label = "omap4:green:debug4";
63 gpios = <&gpio2 18 0>; /* 50 */
64 };
65
66 user1 {
67 label = "omap4:blue:user";
68 gpios = <&gpio6 9 0>; /* 169 */
69 };
70
71 user2 {
72 label = "omap4:red:user";
73 gpios = <&gpio6 10 0>; /* 170 */
74 };
75
76 user3 {
77 label = "omap4:green:user";
78 gpios = <&gpio5 11 0>; /* 139 */
79 };
80 };
Benoit Cousson492beed2011-08-16 15:59:52 +020081};
Benoit Cousson33632ae2011-08-23 17:17:46 +020082
83&i2c1 {
84 clock-frequency = <400000>;
85
86 twl: twl@48 {
87 reg = <0x48>;
88 /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */
89 interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */
90 interrupt-parent = <&gic>;
91 };
Peter Ujfalusiefd2af52012-06-08 17:02:02 +030092
93 twl6040: twl@4b {
94 compatible = "ti,twl6040";
95 reg = <0x4b>;
96 /* SPI = 0, IRQ# = 119, 4 = active high level-sensitive */
97 interrupts = <0 119 4>; /* IRQ_SYS_2N cascaded to gic */
98 interrupt-parent = <&gic>;
99 ti,audpwron-gpio = <&gpio4 31 0>; /* gpio line 127 */
100
101 vio-supply = <&v1v8>;
102 v2v1-supply = <&v2v1>;
103 enable-active-high;
104
105 /* regulators for vibra motor */
106 vddvibl-supply = <&vbat>;
107 vddvibr-supply = <&vbat>;
108
109 vibra {
110 /* Vibra driver, motor resistance parameters */
111 ti,vibldrv-res = <8>;
112 ti,vibrdrv-res = <3>;
113 ti,viblmotor-res = <10>;
114 ti,vibrmotor-res = <10>;
115 };
116 };
Benoit Cousson33632ae2011-08-23 17:17:46 +0200117};
118
119/include/ "twl6030.dtsi"
120
121&i2c2 {
122 clock-frequency = <400000>;
123};
124
125&i2c3 {
126 clock-frequency = <400000>;
127
128 /*
129 * Temperature Sensor
130 * http://www.ti.com/lit/ds/symlink/tmp105.pdf
131 */
132 tmp105@48 {
133 compatible = "ti,tmp105";
134 reg = <0x48>;
135 };
136
137 /*
138 * Ambient Light Sensor
139 * http://www.rohm.com/products/databook/sensor/pdf/bh1780gli-e.pdf
140 */
141 bh1780@29 {
142 compatible = "rohm,bh1780";
143 reg = <0x29>;
144 };
145};
146
147&i2c4 {
148 clock-frequency = <400000>;
149
150 /*
151 * 3-Axis Digital Compass
152 * http://www.sparkfun.com/datasheets/Sensors/Magneto/HMC5843.pdf
153 */
154 hmc5843@1e {
155 compatible = "honeywell,hmc5843";
156 reg = <0x1e>;
157 };
158};
Benoit Coussone7c64db2012-01-20 14:17:00 +0100159
160&mcspi1 {
161 eth@0 {
162 compatible = "ks8851";
163 spi-max-frequency = <24000000>;
164 reg = <0>;
165 interrupt-parent = <&gpio2>;
166 interrupts = <2>; /* gpio line 34 */
167 vdd-supply = <&vdd_eth>;
168 };
169};
Rajendra Nayak74981762011-10-04 17:10:27 +0530170
171&mmc1 {
172 vmmc-supply = <&vmmc>;
Arnd Bergmann7f217792012-05-13 00:14:24 -0400173 bus-width = <8>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530174};
175
176&mmc2 {
177 vmmc-supply = <&vaux1>;
Arnd Bergmann7f217792012-05-13 00:14:24 -0400178 bus-width = <8>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530179 ti,non-removable;
180};
181
182&mmc3 {
183 status = "disable";
184};
185
186&mmc4 {
187 status = "disable";
188};
189
190&mmc5 {
Arnd Bergmann7f217792012-05-13 00:14:24 -0400191 bus-width = <4>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530192 ti,non-removable;
193};