]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/blob - arch/arm/boot/dts/dra7-evm.dts
arm: dts: dra7-evm: Add pinmux configs needed for display
[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         };
26 };
28 &dra7_pmx_core {
29         pinctrl-names = "default";
30         pinctrl-0 = <
31                 &vout1_pins
32         >;
34         i2c2_pins: pinmux_i2c2_pins {
35                 pinctrl-single,pins = <
36                         0x408   0x60000 /* i2c2_sda INPUT | MODE0 */
37                         0x40C   0x60000 /* i2c2_scl INPUT | MODE0 */
38                 >;
39         };
41         vout1_pins: pinmux_vout1_pins {
42                 pinctrl-single,pins = <
43                         0x1C8   0x0     /* vout1_clk OUTPUT | MODE0 */
44                         0x1CC   0x0     /* vout1_de OUTPUT | MODE0 */
45                         0x1D0   0x0     /* vout1_fld OUTPUT | MODE0 */
46                         0x1D4   0x0     /* vout1_hsync OUTPUT | MODE0 */
47                         0x1D8   0x0     /* vout1_vsync OUTPUT | MODE0 */
48                         0x1DC   0x0     /* vout1_d0 OUTPUT | MODE0 */
49                         0x1E0   0x0     /* vout1_d1 OUTPUT | MODE0 */
50                         0x1E4   0x0     /* vout1_d2 OUTPUT | MODE0 */
51                         0x1E8   0x0     /* vout1_d3 OUTPUT | MODE0 */
52                         0x1EC   0x0     /* vout1_d4 OUTPUT | MODE0 */
53                         0x1F0   0x0     /* vout1_d5 OUTPUT | MODE0 */
54                         0x1F4   0x0     /* vout1_d6 OUTPUT | MODE0 */
55                         0x1F8   0x0     /* vout1_d7 OUTPUT | MODE0 */
56                         0x1FC   0x0     /* vout1_d8 OUTPUT | MODE0 */
57                         0x200   0x0     /* vout1_d9 OUTPUT | MODE0 */
58                         0x204   0x0     /* vout1_d10 OUTPUT | MODE0 */
59                         0x208   0x0     /* vout1_d11 OUTPUT | MODE0 */
60                         0x20C   0x0     /* vout1_d12 OUTPUT | MODE0 */
61                         0x210   0x0     /* vout1_d13 OUTPUT | MODE0 */
62                         0x214   0x0     /* vout1_d14 OUTPUT | MODE0 */
63                         0x218   0x0     /* vout1_d15 OUTPUT | MODE0 */
64                         0x21C   0x0     /* vout1_d16 OUTPUT | MODE0 */
65                         0x220   0x0     /* vout1_d17 OUTPUT | MODE0 */
66                         0x224   0x0     /* vout1_d18 OUTPUT | MODE0 */
67                         0x228   0x0     /* vout1_d19 OUTPUT | MODE0 */
68                         0x22C   0x0     /* vout1_d20 OUTPUT | MODE0 */
69                         0x230   0x0     /* vout1_d21 OUTPUT | MODE0 */
70                         0x234   0x0     /* vout1_d22 OUTPUT | MODE0 */
71                         0x238   0x0     /* vout1_d23 OUTPUT | MODE0 */
72                 >;
73         };
74 };
76 &i2c1 {
77         clock-frequency = <400000>;
79         tps659038: tps659038@58 {
80                 reg = <0x58>;
81         };
83         pcf_lcd: pcf8575@20 {
84                 compatible = "ti,pcf8575";
85                 reg = <0x20>;
86                 gpio-controller;
87                 #gpio-cells = <2>;
88         };
90         /* TLC chip for LCD panel power and backlight */
91         tlc59108: tlc59108@40 {
92                 compatible = "ti,tlc59108";
93                 reg = <0x40>;
94                 gpios = <&pcf_lcd 15 0>; /* P15, CON_LCD_PWR_DN */
95         };
96 };
98 /include/ "tps659038.dtsi"
100 &i2c2 {
101         pinctrl-names = "default";
102         pinctrl-0 = <&i2c2_pins>;
104         clock-frequency = <400000>;
106         pcf_hdmi: pcf8575@26 {
107                 compatible = "ti,pcf8575";
108                 reg = <0x26>;
109                 gpio-controller;
110                 #gpio-cells = <2>;
111         };
112 };
114 &i2c3 {
115         clock-frequency = <400000>;
116 };
118 &i2c4 {
119         clock-frequency = <400000>;
120 };
122 &i2c5 {
123         clock-frequency = <400000>;
124 };
126 &avs_mpu {
127         avs-supply = <&smps123_reg>;
128 };
130 &avs_core {
131         avs-supply = <&smps7_reg>;
132 };
134 &avs_gpu {
135         avs-supply = <&smps6_reg>;
136 };
138 &avs_dspeve {
139         avs-supply = <&smps45_reg>;
140 };
142 &avs_iva {
143         avs-supply = <&smps8_reg>;
144 };
146 &dpi1 {
147         lcd {
148                 compatible = "ti,tfc_s9700";
149                 tlc = <&tlc59108>;
150                 data-lines = <24>;
151         };
152 };
154 &hdmi {
155         tpd12s015: tpd12s015 {
156                 compatible = "ti,tpd12s015";
158                 gpios = <&pcf_hdmi 4 0>,        /* pcf8575@22 P4, CT_CP_HDP */
159                         <&pcf_hdmi 5 0>,        /* pcf8575@22 P5, LS_OE */
160                         <&gpio7 12 0>;          /* gpio7_12/sp1_cs2, HPD */
162                 hdmi_ddc = <&i2c2>;
164                 hdmi-monitor {
165                         compatible = "ti,hdmi_panel";
166                 };
167         };
168 };