diff options
Diffstat (limited to 'arch/arm/boot/dts/omap3-cm-t3x.dtsi')
-rw-r--r-- | arch/arm/boot/dts/omap3-cm-t3x.dtsi | 151 |
1 files changed, 151 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-cm-t3x.dtsi b/arch/arm/boot/dts/omap3-cm-t3x.dtsi index c671a2299ea8..6ea6d460db30 100644 --- a/arch/arm/boot/dts/omap3-cm-t3x.dtsi +++ b/arch/arm/boot/dts/omap3-cm-t3x.dtsi | |||
@@ -49,6 +49,24 @@ | |||
49 | compatible = "usb-nop-xceiv"; | 49 | compatible = "usb-nop-xceiv"; |
50 | vcc-supply = <&hsusb2_power>; | 50 | vcc-supply = <&hsusb2_power>; |
51 | }; | 51 | }; |
52 | |||
53 | ads7846reg: ads7846-reg { | ||
54 | compatible = "regulator-fixed"; | ||
55 | regulator-name = "ads7846-reg"; | ||
56 | regulator-min-microvolt = <3300000>; | ||
57 | regulator-max-microvolt = <3300000>; | ||
58 | }; | ||
59 | |||
60 | tv0: connector@1 { | ||
61 | compatible = "svideo-connector"; | ||
62 | label = "tv"; | ||
63 | |||
64 | port { | ||
65 | tv_connector_in: endpoint { | ||
66 | remote-endpoint = <&venc_out>; | ||
67 | }; | ||
68 | }; | ||
69 | }; | ||
52 | }; | 70 | }; |
53 | 71 | ||
54 | &omap3_pmx_core { | 72 | &omap3_pmx_core { |
@@ -76,6 +94,76 @@ | |||
76 | OMAP3_CORE1_IOPAD(0x21e2, PIN_OUTPUT | MUX_MODE4) /* sys_clkout2.gpio_186 */ | 94 | OMAP3_CORE1_IOPAD(0x21e2, PIN_OUTPUT | MUX_MODE4) /* sys_clkout2.gpio_186 */ |
77 | >; | 95 | >; |
78 | }; | 96 | }; |
97 | |||
98 | dss_dpi_pins_common: pinmux_dss_dpi_pins_common { | ||
99 | pinctrl-single,pins = < | ||
100 | OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */ | ||
101 | OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */ | ||
102 | OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */ | ||
103 | OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */ | ||
104 | |||
105 | OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */ | ||
106 | OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */ | ||
107 | OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */ | ||
108 | OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */ | ||
109 | OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */ | ||
110 | OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */ | ||
111 | OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */ | ||
112 | OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */ | ||
113 | OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */ | ||
114 | OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */ | ||
115 | OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */ | ||
116 | OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */ | ||
117 | OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */ | ||
118 | OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */ | ||
119 | OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */ | ||
120 | OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */ | ||
121 | OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */ | ||
122 | OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */ | ||
123 | >; | ||
124 | }; | ||
125 | |||
126 | dss_dpi_pins_cm_t35x: pinmux_dss_dpi_pins_cm_t35x { | ||
127 | pinctrl-single,pins = < | ||
128 | OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */ | ||
129 | OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */ | ||
130 | OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */ | ||
131 | OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */ | ||
132 | OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */ | ||
133 | OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */ | ||
134 | >; | ||
135 | }; | ||
136 | |||
137 | ads7846_pins: pinmux_ads7846_pins { | ||
138 | pinctrl-single,pins = < | ||
139 | OMAP3_CORE1_IOPAD(0x20ba, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_ncs6.gpio_57 */ | ||
140 | >; | ||
141 | }; | ||
142 | |||
143 | mcspi1_pins: pinmux_mcspi1_pins { | ||
144 | pinctrl-single,pins = < | ||
145 | OMAP3_CORE1_IOPAD(0x21c8, PIN_INPUT | MUX_MODE0) /* mcspi1_clk */ | ||
146 | OMAP3_CORE1_IOPAD(0x21ca, PIN_INPUT | MUX_MODE0) /* mcspi1_simo */ | ||
147 | OMAP3_CORE1_IOPAD(0x21cc, PIN_INPUT | MUX_MODE0) /* mcspi1_somi */ | ||
148 | OMAP3_CORE1_IOPAD(0x21ce, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcspi1_cs0 */ | ||
149 | >; | ||
150 | }; | ||
151 | |||
152 | i2c1_pins: pinmux_i2c1_pins { | ||
153 | pinctrl-single,pins = < | ||
154 | OMAP3_CORE1_IOPAD(0x21ba, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */ | ||
155 | OMAP3_CORE1_IOPAD(0x21bc, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */ | ||
156 | >; | ||
157 | }; | ||
158 | |||
159 | mcbsp2_pins: pinmux_mcbsp2_pins { | ||
160 | pinctrl-single,pins = < | ||
161 | OMAP3_CORE1_IOPAD(0x213c, PIN_INPUT | MUX_MODE0) /* mcbsp2_fsx */ | ||
162 | OMAP3_CORE1_IOPAD(0x213e, PIN_INPUT | MUX_MODE0) /* mcbsp2_clkx */ | ||
163 | OMAP3_CORE1_IOPAD(0x2140, PIN_INPUT | MUX_MODE0) /* mcbsp2_dr */ | ||
164 | OMAP3_CORE1_IOPAD(0x2142, PIN_OUTPUT | MUX_MODE0) /* mcbsp2_dx */ | ||
165 | >; | ||
166 | }; | ||
79 | }; | 167 | }; |
80 | 168 | ||
81 | &uart3 { | 169 | &uart3 { |
@@ -94,12 +182,22 @@ | |||
94 | }; | 182 | }; |
95 | 183 | ||
96 | &i2c1 { | 184 | &i2c1 { |
185 | pinctrl-names = "default"; | ||
186 | pinctrl-0 = <&i2c1_pins>; | ||
187 | |||
97 | clock-frequency = <400000>; | 188 | clock-frequency = <400000>; |
189 | |||
190 | at24@50 { | ||
191 | compatible = "at24,24c02"; | ||
192 | pagesize = <16>; | ||
193 | reg = <0x50>; | ||
194 | }; | ||
98 | }; | 195 | }; |
99 | 196 | ||
100 | &i2c3 { | 197 | &i2c3 { |
101 | clock-frequency = <400000>; | 198 | clock-frequency = <400000>; |
102 | }; | 199 | }; |
200 | |||
103 | &usbhshost { | 201 | &usbhshost { |
104 | port1-mode = "ehci-phy"; | 202 | port1-mode = "ehci-phy"; |
105 | port2-mode = "ehci-phy"; | 203 | port2-mode = "ehci-phy"; |
@@ -108,3 +206,56 @@ | |||
108 | &usbhsehci { | 206 | &usbhsehci { |
109 | phys = <&hsusb1_phy &hsusb2_phy>; | 207 | phys = <&hsusb1_phy &hsusb2_phy>; |
110 | }; | 208 | }; |
209 | |||
210 | &mcspi1 { | ||
211 | pinctrl-names = "default"; | ||
212 | pinctrl-0 = <&mcspi1_pins>; | ||
213 | |||
214 | /* touch controller */ | ||
215 | ads7846@0 { | ||
216 | pinctrl-names = "default"; | ||
217 | pinctrl-0 = <&ads7846_pins>; | ||
218 | |||
219 | compatible = "ti,ads7846"; | ||
220 | vcc-supply = <&ads7846reg>; | ||
221 | |||
222 | reg = <0>; /* CS0 */ | ||
223 | spi-max-frequency = <1500000>; | ||
224 | |||
225 | interrupt-parent = <&gpio2>; | ||
226 | interrupts = <25 0>; /* gpio_57 */ | ||
227 | pendown-gpio = <&gpio2 25 0>; | ||
228 | |||
229 | ti,x-min = /bits/ 16 <0x0>; | ||
230 | ti,x-max = /bits/ 16 <0x0fff>; | ||
231 | ti,y-min = /bits/ 16 <0x0>; | ||
232 | ti,y-max = /bits/ 16 <0x0fff>; | ||
233 | |||
234 | ti,x-plate-ohms = /bits/ 16 <180>; | ||
235 | ti,pressure-max = /bits/ 16 <255>; | ||
236 | |||
237 | ti,debounce-max = /bits/ 16 <30>; | ||
238 | ti,debounce-tol = /bits/ 16 <10>; | ||
239 | ti,debounce-rep = /bits/ 16 <1>; | ||
240 | |||
241 | linux,wakeup; | ||
242 | }; | ||
243 | }; | ||
244 | |||
245 | &venc { | ||
246 | status = "ok"; | ||
247 | |||
248 | port { | ||
249 | venc_out: endpoint { | ||
250 | remote-endpoint = <&tv_connector_in>; | ||
251 | ti,channels = <2>; | ||
252 | }; | ||
253 | }; | ||
254 | }; | ||
255 | |||
256 | &mcbsp2 { | ||
257 | status = "ok"; | ||
258 | |||
259 | pinctrl-names = "default"; | ||
260 | pinctrl-0 = <&mcbsp2_pins>; | ||
261 | }; | ||