]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/blob - arch/arm/boot/dts/dra7-evm.dts
Merge branch 'p-ti-linux-3.8.y-video' into p-ti-android-3.8.y-video
[android-sdk/kernel-video.git] / arch / arm / boot / dts / dra7-evm.dts
1 /*
2  * Copyright (C) 2013 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/;
10 /include/ "dra7.dtsi"
12 / {
13         model = "TI DRA7";
14         compatible = "ti,dra7-evm", "ti,dra7";
16         cpus {
17                 cpu@0 {
18                         cpu0-supply = <&avs_mpu>;
19                 };
20         };
22         memory {
23                 device_type = "memory";
24                 reg = <0x80000000 0x20000000>; /* 512 MB */
25         };
27         vmmc2_fixed: fixedregulator-mmc2 {
28                 compatible = "regulator-fixed";
29                 regulator-name = "vmmc2_fixed";
30                 regulator-min-microvolt = <3000000>;
31                 regulator-max-microvolt = <3000000>;
32         };
34         ion_config {
35                 compatible = "ti,ion-omap";
36                 ti,omap_ion_heap_secure_input_base = <0xba300000>;
37                 ti,omap_ion_heap_tiler_base = <0xb4300000>;
38                 ti,omap_ion_heap_nonsecure_tiler_base = <0xf00000>;
39                 /*90 MB*/
40                 ti,omap_ion_heap_secure_input_size = <0x5A00000>;
41                 /*96 MB*/
42                 ti,omap_ion_heap_tiler_size = <0x6000000>;
43                 /*15 MB*/
44                 ti,omap_ion_heap_nonsecure_tiler_size = <0xF00000>;
45         };
47         ocp {
48                 gpu: gpu@0x56000000 {
49                         gpu-supply = <&avs_gpu>;
50                 };
51         };
53 };
55 &dra7_pmx_core {
56         pinctrl-names = "default";
57         pinctrl-0 = <
58                 &vout1_pins
59         >;
61         i2c2_pins: pinmux_i2c2_pins {
62                 pinctrl-single,pins = <
63                         0x408   0x60000 /* i2c2_sda INPUT | MODE0 */
64                         0x40C   0x60000 /* i2c2_scl INPUT | MODE0 */
65                 >;
66         };
68         vout1_pins: pinmux_vout1_pins {
69                 pinctrl-single,pins = <
70                         0x1C8   0x0     /* vout1_clk OUTPUT | MODE0 */
71                         0x1CC   0x0     /* vout1_de OUTPUT | MODE0 */
72                         0x1D0   0x0     /* vout1_fld OUTPUT | MODE0 */
73                         0x1D4   0x0     /* vout1_hsync OUTPUT | MODE0 */
74                         0x1D8   0x0     /* vout1_vsync OUTPUT | MODE0 */
75                         0x1DC   0x0     /* vout1_d0 OUTPUT | MODE0 */
76                         0x1E0   0x0     /* vout1_d1 OUTPUT | MODE0 */
77                         0x1E4   0x0     /* vout1_d2 OUTPUT | MODE0 */
78                         0x1E8   0x0     /* vout1_d3 OUTPUT | MODE0 */
79                         0x1EC   0x0     /* vout1_d4 OUTPUT | MODE0 */
80                         0x1F0   0x0     /* vout1_d5 OUTPUT | MODE0 */
81                         0x1F4   0x0     /* vout1_d6 OUTPUT | MODE0 */
82                         0x1F8   0x0     /* vout1_d7 OUTPUT | MODE0 */
83                         0x1FC   0x0     /* vout1_d8 OUTPUT | MODE0 */
84                         0x200   0x0     /* vout1_d9 OUTPUT | MODE0 */
85                         0x204   0x0     /* vout1_d10 OUTPUT | MODE0 */
86                         0x208   0x0     /* vout1_d11 OUTPUT | MODE0 */
87                         0x20C   0x0     /* vout1_d12 OUTPUT | MODE0 */
88                         0x210   0x0     /* vout1_d13 OUTPUT | MODE0 */
89                         0x214   0x0     /* vout1_d14 OUTPUT | MODE0 */
90                         0x218   0x0     /* vout1_d15 OUTPUT | MODE0 */
91                         0x21C   0x0     /* vout1_d16 OUTPUT | MODE0 */
92                         0x220   0x0     /* vout1_d17 OUTPUT | MODE0 */
93                         0x224   0x0     /* vout1_d18 OUTPUT | MODE0 */
94                         0x228   0x0     /* vout1_d19 OUTPUT | MODE0 */
95                         0x22C   0x0     /* vout1_d20 OUTPUT | MODE0 */
96                         0x230   0x0     /* vout1_d21 OUTPUT | MODE0 */
97                         0x234   0x0     /* vout1_d22 OUTPUT | MODE0 */
98                         0x238   0x0     /* vout1_d23 OUTPUT | MODE0 */
99                 >;
100         };
101         display_layout {
102                 compatible = "ti, omap4-dsscomp";
103                 ti,num_displays = <2>;
104                 ti,default_display = "lcd";
105         };
106 };
108 &i2c1 {
109         clock-frequency = <400000>;
111         tps659038: tps659038@58 {
112                 reg = <0x58>;
113         };
115         pcf_lcd: pcf8575@20 {
116                 compatible = "ti,pcf8575";
117                 reg = <0x20>;
118                 gpio-controller;
119                 #gpio-cells = <2>;
120         };
122         /* TLC chip for LCD panel power and backlight */
123         tlc59108: tlc59108@40 {
124                 compatible = "ti,tlc59108";
125                 reg = <0x40>;
126                 gpios = <&pcf_lcd 15 0>; /* P15, CON_LCD_PWR_DN */
127         };
128 };
130 /include/ "tps659038.dtsi"
132 &i2c2 {
133         pinctrl-names = "default";
134         pinctrl-0 = <&i2c2_pins>;
136         clock-frequency = <400000>;
138         pcf_hdmi: pcf8575@26 {
139                 compatible = "ti,pcf8575";
140                 reg = <0x26>;
141                 gpio-controller;
142                 #gpio-cells = <2>;
143         };
144 };
146 &i2c3 {
147         clock-frequency = <400000>;
148 };
150 &i2c4 {
151         clock-frequency = <400000>;
152 };
154 &i2c5 {
155         clock-frequency = <400000>;
156 };
158 &mmc1 {
159         vmmc-supply = <&ldo1_reg>;
160         bus-width = <4>;
161 };
163 &mmc2 {
164         vmmc-supply = <&vmmc2_fixed>;
165         bus-width = <8>;
166         ti,non-removable;
167 };
169 &mmc3 {
170         bus-width = <8>;
171         ti,non-removable;
172         status = "disabled";
173 };
175 &mmc4 {
176         bus-width = <4>;
177         status = "disabled";
178 };
180 &avs_mpu {
181         avs-supply = <&smps123_reg>;
182 };
184 &avs_core {
185         avs-supply = <&smps7_reg>;
186 };
188 &avs_gpu {
189         avs-supply = <&smps6_reg>;
190 };
192 &avs_dspeve {
193         avs-supply = <&smps45_reg>;
194 };
196 &avs_iva {
197         avs-supply = <&smps8_reg>;
198 };
200 &dpi1 {
201         lcd {
202                 compatible = "ti,tfc_s9700";
203                 tlc = <&tlc59108>;
204                 data-lines = <24>;
205         };
206 };
208 &hdmi {
209         tpd12s015: tpd12s015 {
210                 compatible = "ti,tpd12s015";
212                 gpios = <&pcf_hdmi 4 0>,        /* pcf8575@22 P4, CT_CP_HDP */
213                         <&pcf_hdmi 5 0>,        /* pcf8575@22 P5, LS_OE */
214                         <&gpio7 12 0>;          /* gpio7_12/sp1_cs2, HPD */
216                 hdmi_ddc = <&i2c2>;
218                 hdmi-monitor {
219                         compatible = "ti,hdmi_panel";
220                 };
221         };
222 };