]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/blob - arch/arm/boot/dts/dra7-evm.dts
gpu: ion: fix omap_ion_share_fd_to_buffers api
[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         };
46 };
48 &dra7_pmx_core {
49         pinctrl-names = "default";
50         pinctrl-0 = <
51                 &vout1_pins
52         >;
54         i2c2_pins: pinmux_i2c2_pins {
55                 pinctrl-single,pins = <
56                         0x408   0x60000 /* i2c2_sda INPUT | MODE0 */
57                         0x40C   0x60000 /* i2c2_scl INPUT | MODE0 */
58                 >;
59         };
61         vout1_pins: pinmux_vout1_pins {
62                 pinctrl-single,pins = <
63                         0x1C8   0x0     /* vout1_clk OUTPUT | MODE0 */
64                         0x1CC   0x0     /* vout1_de OUTPUT | MODE0 */
65                         0x1D0   0x0     /* vout1_fld OUTPUT | MODE0 */
66                         0x1D4   0x0     /* vout1_hsync OUTPUT | MODE0 */
67                         0x1D8   0x0     /* vout1_vsync OUTPUT | MODE0 */
68                         0x1DC   0x0     /* vout1_d0 OUTPUT | MODE0 */
69                         0x1E0   0x0     /* vout1_d1 OUTPUT | MODE0 */
70                         0x1E4   0x0     /* vout1_d2 OUTPUT | MODE0 */
71                         0x1E8   0x0     /* vout1_d3 OUTPUT | MODE0 */
72                         0x1EC   0x0     /* vout1_d4 OUTPUT | MODE0 */
73                         0x1F0   0x0     /* vout1_d5 OUTPUT | MODE0 */
74                         0x1F4   0x0     /* vout1_d6 OUTPUT | MODE0 */
75                         0x1F8   0x0     /* vout1_d7 OUTPUT | MODE0 */
76                         0x1FC   0x0     /* vout1_d8 OUTPUT | MODE0 */
77                         0x200   0x0     /* vout1_d9 OUTPUT | MODE0 */
78                         0x204   0x0     /* vout1_d10 OUTPUT | MODE0 */
79                         0x208   0x0     /* vout1_d11 OUTPUT | MODE0 */
80                         0x20C   0x0     /* vout1_d12 OUTPUT | MODE0 */
81                         0x210   0x0     /* vout1_d13 OUTPUT | MODE0 */
82                         0x214   0x0     /* vout1_d14 OUTPUT | MODE0 */
83                         0x218   0x0     /* vout1_d15 OUTPUT | MODE0 */
84                         0x21C   0x0     /* vout1_d16 OUTPUT | MODE0 */
85                         0x220   0x0     /* vout1_d17 OUTPUT | MODE0 */
86                         0x224   0x0     /* vout1_d18 OUTPUT | MODE0 */
87                         0x228   0x0     /* vout1_d19 OUTPUT | MODE0 */
88                         0x22C   0x0     /* vout1_d20 OUTPUT | MODE0 */
89                         0x230   0x0     /* vout1_d21 OUTPUT | MODE0 */
90                         0x234   0x0     /* vout1_d22 OUTPUT | MODE0 */
91                         0x238   0x0     /* vout1_d23 OUTPUT | MODE0 */
92                 >;
93         };
94 };
96 &i2c1 {
97         clock-frequency = <400000>;
99         tps659038: tps659038@58 {
100                 reg = <0x58>;
101         };
103         pcf_lcd: pcf8575@20 {
104                 compatible = "ti,pcf8575";
105                 reg = <0x20>;
106                 gpio-controller;
107                 #gpio-cells = <2>;
108         };
110         /* TLC chip for LCD panel power and backlight */
111         tlc59108: tlc59108@40 {
112                 compatible = "ti,tlc59108";
113                 reg = <0x40>;
114                 gpios = <&pcf_lcd 15 0>; /* P15, CON_LCD_PWR_DN */
115         };
116 };
118 /include/ "tps659038.dtsi"
120 &i2c2 {
121         pinctrl-names = "default";
122         pinctrl-0 = <&i2c2_pins>;
124         clock-frequency = <400000>;
126         pcf_hdmi: pcf8575@26 {
127                 compatible = "ti,pcf8575";
128                 reg = <0x26>;
129                 gpio-controller;
130                 #gpio-cells = <2>;
131         };
132 };
134 &i2c3 {
135         clock-frequency = <400000>;
136 };
138 &i2c4 {
139         clock-frequency = <400000>;
140 };
142 &i2c5 {
143         clock-frequency = <400000>;
144 };
146 &mmc1 {
147         vmmc-supply = <&ldo1_reg>;
148         bus-width = <4>;
149 };
151 &mmc2 {
152         vmmc-supply = <&vmmc2_fixed>;
153         bus-width = <8>;
154         ti,non-removable;
155 };
157 &mmc3 {
158         bus-width = <8>;
159         ti,non-removable;
160         status = "disabled";
161 };
163 &mmc4 {
164         bus-width = <4>;
165         status = "disabled";
166 };
168 &avs_mpu {
169         avs-supply = <&smps123_reg>;
170 };
172 &avs_core {
173         avs-supply = <&smps7_reg>;
174 };
176 &avs_gpu {
177         avs-supply = <&smps6_reg>;
178 };
180 &avs_dspeve {
181         avs-supply = <&smps45_reg>;
182 };
184 &avs_iva {
185         avs-supply = <&smps8_reg>;
186 };
188 &dpi1 {
189         lcd {
190                 compatible = "ti,tfc_s9700";
191                 tlc = <&tlc59108>;
192                 data-lines = <24>;
193         };
194 };
196 &hdmi {
197         tpd12s015: tpd12s015 {
198                 compatible = "ti,tpd12s015";
200                 gpios = <&pcf_hdmi 4 0>,        /* pcf8575@22 P4, CT_CP_HDP */
201                         <&pcf_hdmi 5 0>,        /* pcf8575@22 P5, LS_OE */
202                         <&gpio7 12 0>;          /* gpio7_12/sp1_cs2, HPD */
204                 hdmi_ddc = <&i2c2>;
206                 hdmi-monitor {
207                         compatible = "ti,hdmi_panel";
208                 };
209         };
210 };