blob: b33f2617ebab137b1b3a1ba70f7797661916f034 [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 };
92};
93
94/include/ "twl6030.dtsi"
95
96&i2c2 {
97 clock-frequency = <400000>;
98};
99
100&i2c3 {
101 clock-frequency = <400000>;
102
103 /*
104 * Temperature Sensor
105 * http://www.ti.com/lit/ds/symlink/tmp105.pdf
106 */
107 tmp105@48 {
108 compatible = "ti,tmp105";
109 reg = <0x48>;
110 };
111
112 /*
113 * Ambient Light Sensor
114 * http://www.rohm.com/products/databook/sensor/pdf/bh1780gli-e.pdf
115 */
116 bh1780@29 {
117 compatible = "rohm,bh1780";
118 reg = <0x29>;
119 };
120};
121
122&i2c4 {
123 clock-frequency = <400000>;
124
125 /*
126 * 3-Axis Digital Compass
127 * http://www.sparkfun.com/datasheets/Sensors/Magneto/HMC5843.pdf
128 */
129 hmc5843@1e {
130 compatible = "honeywell,hmc5843";
131 reg = <0x1e>;
132 };
133};
Benoit Coussone7c64db2012-01-20 14:17:00 +0100134
135&mcspi1 {
136 eth@0 {
137 compatible = "ks8851";
138 spi-max-frequency = <24000000>;
139 reg = <0>;
140 interrupt-parent = <&gpio2>;
141 interrupts = <2>; /* gpio line 34 */
142 vdd-supply = <&vdd_eth>;
143 };
144};
Rajendra Nayak74981762011-10-04 17:10:27 +0530145
146&mmc1 {
147 vmmc-supply = <&vmmc>;
Arnd Bergmann7f217792012-05-13 00:14:24 -0400148 bus-width = <8>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530149};
150
151&mmc2 {
152 vmmc-supply = <&vaux1>;
Arnd Bergmann7f217792012-05-13 00:14:24 -0400153 bus-width = <8>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530154 ti,non-removable;
155};
156
157&mmc3 {
158 status = "disable";
159};
160
161&mmc4 {
162 status = "disable";
163};
164
165&mmc5 {
Arnd Bergmann7f217792012-05-13 00:14:24 -0400166 bus-width = <4>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530167 ti,non-removable;
168};