d08c4d1372800a0f944489ace4495db188c499c7
[cascardo/linux.git] / arch / arm / boot / dts / omap4-sdp.dts
1 /*
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
16         memory {
17                 device_type = "memory";
18                 reg = <0x80000000 0x40000000>; /* 1 GB */
19         };
20
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         };
30
31         leds {
32                 compatible = "gpio-leds";
33                 debug0 {
34                         label = "omap4:green:debug0";
35                         gpios = <&gpio2 29 0>; /* 61 */
36                 };
37
38                 debug1 {
39                         label = "omap4:green:debug1";
40                         gpios = <&gpio1 30 0>; /* 30 */
41                 };
42
43                 debug2 {
44                         label = "omap4:green:debug2";
45                         gpios = <&gpio1 7 0>; /* 7 */
46                 };
47
48                 debug3 {
49                         label = "omap4:green:debug3";
50                         gpios = <&gpio1 8 0>; /* 8 */
51                 };
52
53                 debug4 {
54                         label = "omap4:green:debug4";
55                         gpios = <&gpio2 18 0>; /* 50 */
56                 };
57
58                 user1 {
59                         label = "omap4:blue:user";
60                         gpios = <&gpio6 9 0>; /* 169 */
61                 };
62
63                 user2 {
64                         label = "omap4:red:user";
65                         gpios = <&gpio6 10 0>; /* 170 */
66                 };
67
68                 user3 {
69                         label = "omap4:green:user";
70                         gpios = <&gpio5 11 0>; /* 139 */
71                 };
72         };
73 };
74
75 &i2c1 {
76         clock-frequency = <400000>;
77
78         twl: twl@48 {
79                 reg = <0x48>;
80                 /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */
81                 interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */
82                 interrupt-parent = <&gic>;
83         };
84 };
85
86 /include/ "twl6030.dtsi"
87
88 &i2c2 {
89         clock-frequency = <400000>;
90 };
91
92 &i2c3 {
93         clock-frequency = <400000>;
94
95         /*
96          * Temperature Sensor
97          * http://www.ti.com/lit/ds/symlink/tmp105.pdf
98          */
99         tmp105@48 {
100                 compatible = "ti,tmp105";
101                 reg = <0x48>;
102         };
103
104         /*
105          * Ambient Light Sensor
106          * http://www.rohm.com/products/databook/sensor/pdf/bh1780gli-e.pdf
107          */
108         bh1780@29 {
109                 compatible = "rohm,bh1780";
110                 reg = <0x29>;
111         };
112 };
113
114 &i2c4 {
115         clock-frequency = <400000>;
116
117         /*
118          * 3-Axis Digital Compass
119          * http://www.sparkfun.com/datasheets/Sensors/Magneto/HMC5843.pdf
120          */
121         hmc5843@1e {
122                 compatible = "honeywell,hmc5843";
123                 reg = <0x1e>;
124         };
125 };
126
127 &mcspi1 {
128         eth@0 {
129                 compatible = "ks8851";
130                 spi-max-frequency = <24000000>;
131                 reg = <0>;
132                 interrupt-parent = <&gpio2>;
133                 interrupts = <2>; /* gpio line 34 */
134                 vdd-supply = <&vdd_eth>;
135         };
136 };
137
138 &mmc1 {
139         vmmc-supply = <&vmmc>;
140         bus-width = <8>;
141 };
142
143 &mmc2 {
144         vmmc-supply = <&vaux1>;
145         bus-width = <8>;
146         ti,non-removable;
147 };
148
149 &mmc3 {
150         status = "disable";
151 };
152
153 &mmc4 {
154         status = "disable";
155 };
156
157 &mmc5 {
158         bus-width = <4>;
159         ti,non-removable;
160 };