2 * Support for CompuLab CM-T54
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 model = "CompuLab CM-T54";
12 compatible = "compulab,omap5-cm-t54", "ti,omap5";
15 device_type = "memory";
16 reg = <0x80000000 0x7F000000>; /* 2048 MB */
25 vmmcsd_fixed: fixed-regulator-mmcsd {
26 compatible = "regulator-fixed";
27 regulator-name = "vmmcsd_fixed";
28 regulator-min-microvolt = <3300000>;
29 regulator-max-microvolt = <3300000>;
32 vwlan_pdn_fixed: fixed-regulator-vwlan-pdn {
33 compatible = "regulator-fixed";
34 regulator-name = "vwlan_pdn_fixed";
35 regulator-min-microvolt = <3300000>;
36 regulator-max-microvolt = <3300000>;
37 vin-supply = <&ldo2_reg>;
38 gpio = <&gpio4 13 GPIO_ACTIVE_HIGH>; /* gpio4_109 */
39 startup-delay-us = <1000>;
43 vwlan_fixed: fixed-regulator-vwlan {
44 compatible = "regulator-fixed";
45 regulator-name = "vwlan_fixed";
46 regulator-min-microvolt = <3300000>;
47 regulator-max-microvolt = <3300000>;
48 vin-supply = <&vwlan_pdn_fixed>;
49 gpio = <&gpio4 14 GPIO_ACTIVE_HIGH>; /* gpio4_110 */
50 startup-delay-us = <1000>;
54 ads7846reg: ads7846-reg {
55 compatible = "regulator-fixed";
56 regulator-name = "ads7846-reg";
57 regulator-min-microvolt = <3300000>;
58 regulator-max-microvolt = <3300000>;
61 /* HS USB Host PHY on PORT 2 */
62 hsusb2_phy: hsusb2_phy {
63 compatible = "usb-nop-xceiv";
64 reset-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>; /* gpio3_76 HUB_RESET */
67 /* HS USB Host PHY on PORT 3 */
68 hsusb3_phy: hsusb3_phy {
69 compatible = "usb-nop-xceiv";
70 reset-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; /* gpio3_83 ETH_RESET */
74 compatible = "gpio-leds";
77 gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>; /* gpio3_80 ACT_LED */
78 linux,default-trigger = "heartbeat";
79 default-state = "off";
84 compatible = "startek,startek-kd050c", "panel-dpi";
87 pinctrl-names = "default";
88 pinctrl-0 = <&lcd_pins>;
90 enable-gpios = <&gpio8 3 GPIO_ACTIVE_HIGH>;
93 clock-frequency = <33000000>;
105 pixelclk-active = <1>;
110 remote-endpoint = <&dpi_lcd_out>;
116 compatible = "hdmi-connector";
121 pinctrl-names = "default";
122 pinctrl-0 = <&hdmi_conn_pins>;
124 hpd-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>; /* GPIO 193, HPD */
127 hdmi_connector_in: endpoint {
128 remote-endpoint = <&hdmi_out>;
134 compatible = "ti,tfp410";
137 #address-cells = <1>;
143 tfp410_in: endpoint@0 {
144 remote-endpoint = <&dpi_dvi_out>;
151 tfp410_out: endpoint@0 {
152 remote-endpoint = <&dvi_connector_in>;
159 compatible = "dvi-connector";
164 ddc-i2c-bus = <&i2c2>;
167 dvi_connector_in: endpoint {
168 remote-endpoint = <&tfp410_out>;
176 ads7846_pins: pinmux_ads7846_pins {
177 pinctrl-single,pins = <
178 0x02 (PIN_INPUT_PULLDOWN | MUX_MODE6) /* llib_wakereqin.gpio1_wk15 */
184 pinctrl-names = "default";
190 led_gpio_pins: pinmux_led_gpio_pins {
191 pinctrl-single,pins = <
192 OMAP5_IOPAD(0x00b0, PIN_OUTPUT | MUX_MODE6) /* hsi2_caflag.gpio3_80 */
196 i2c1_pins: pinmux_i2c1_pins {
197 pinctrl-single,pins = <
198 OMAP5_IOPAD(0x01f2, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_pmic_scl */
199 OMAP5_IOPAD(0x01f4, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_pmic_sda */
203 i2c2_pins: pinmux_i2c2_pins {
204 pinctrl-single,pins = <
205 OMAP5_IOPAD(0x01b8, PIN_INPUT | MUX_MODE0) /* i2c2_scl */
206 OMAP5_IOPAD(0x01ba, PIN_INPUT | MUX_MODE0) /* i2c2_sda */
210 mmc1_pins: pinmux_mmc1_pins {
211 pinctrl-single,pins = <
212 OMAP5_IOPAD(0x01e2, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_clk */
213 OMAP5_IOPAD(0x01e4, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_cmd */
214 OMAP5_IOPAD(0x01e6, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_data2 */
215 OMAP5_IOPAD(0x01e8, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_data3 */
216 OMAP5_IOPAD(0x01ea, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_data0 */
217 OMAP5_IOPAD(0x01ec, PIN_INPUT_PULLUP | MUX_MODE0) /* sdcard_data1 */
221 mmc2_pins: pinmux_mmc2_pins {
222 pinctrl-single,pins = <
223 OMAP5_IOPAD(0x0040, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_clk */
224 OMAP5_IOPAD(0x0042, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_cmd */
225 OMAP5_IOPAD(0x0044, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data0 */
226 OMAP5_IOPAD(0x0046, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data1 */
227 OMAP5_IOPAD(0x0048, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data2 */
228 OMAP5_IOPAD(0x004a, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data3 */
229 OMAP5_IOPAD(0x004c, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data4 */
230 OMAP5_IOPAD(0x004e, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data5 */
231 OMAP5_IOPAD(0x0050, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data6 */
232 OMAP5_IOPAD(0x0052, PIN_INPUT_PULLUP | MUX_MODE0) /* emmc_data7 */
236 mmc3_pins: pinmux_mmc3_pins {
237 pinctrl-single,pins = <
238 OMAP5_IOPAD(0x01a4, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_clk */
239 OMAP5_IOPAD(0x01a6, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_cmd */
240 OMAP5_IOPAD(0x01a8, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data0 */
241 OMAP5_IOPAD(0x01aa, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data1 */
242 OMAP5_IOPAD(0x01ac, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data2 */
243 OMAP5_IOPAD(0x01ae, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data3 */
247 wlan_gpios_pins: pinmux_wlan_gpios_pins {
248 pinctrl-single,pins = <
249 OMAP5_IOPAD(0x019c, PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* abemcpdm_ul_data.gpio4_109 */
250 OMAP5_IOPAD(0x019e, PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* abemcpdm_dl_data.gpio4_110 */
254 usbhost_pins: pinmux_usbhost_pins {
255 pinctrl-single,pins = <
256 OMAP5_IOPAD(0x00c4, PIN_INPUT | MUX_MODE0) /* usbb2_hsic_strobe */
257 OMAP5_IOPAD(0x00c6, PIN_INPUT | MUX_MODE0) /* usbb2_hsic_data */
259 OMAP5_IOPAD(0x01dc, PIN_INPUT | MUX_MODE0) /* usbb3_hsic_strobe */
260 OMAP5_IOPAD(0x01de, PIN_INPUT | MUX_MODE0) /* usbb3_hsic_data */
262 OMAP5_IOPAD(0x00a8, PIN_OUTPUT | MUX_MODE6) /* hsi2_caready.gpio3_76 */
263 OMAP5_IOPAD(0x00b6, PIN_OUTPUT | MUX_MODE6) /* hsi2_acdata.gpio3_83 */
267 dss_hdmi_pins: pinmux_dss_hdmi_pins {
268 pinctrl-single,pins = <
269 OMAP5_IOPAD(0x013c, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec */
270 OMAP5_IOPAD(0x0140, PIN_INPUT | MUX_MODE0) /* hdmi_ddc_scl */
271 OMAP5_IOPAD(0x0142, PIN_INPUT | MUX_MODE0) /* hdmi_ddc_sda */
275 lcd_pins: pinmux_lcd_pins {
276 pinctrl-single,pins = <
277 OMAP5_IOPAD(0x0172, PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* timer11_pwm_evt.gpio8_227 */
281 hdmi_conn_pins: pinmux_hdmi_conn_pins {
282 pinctrl-single,pins = <
283 OMAP5_IOPAD(0x013e, PIN_INPUT | MUX_MODE6) /* hdmi_hpd.gpio7_193 */
287 dss_dpi_pins: pinmux_dss_dpi_pins {
288 pinctrl-single,pins = <
289 OMAP5_IOPAD(0x0104, PIN_OUTPUT | MUX_MODE3) /* rfbi_data15.dispc_data15 */
290 OMAP5_IOPAD(0x0106, PIN_OUTPUT | MUX_MODE3) /* rfbi_data14.dispc_data14 */
291 OMAP5_IOPAD(0x0108, PIN_OUTPUT | MUX_MODE3) /* rfbi_data13.dispc_data13 */
292 OMAP5_IOPAD(0x010a, PIN_OUTPUT | MUX_MODE3) /* rfbi_data12.dispc_data12 */
293 OMAP5_IOPAD(0x010c, PIN_OUTPUT | MUX_MODE3) /* rfbi_data11.dispc_data11 */
294 OMAP5_IOPAD(0x010e, PIN_OUTPUT | MUX_MODE3) /* rfbi_data10.dispc_data10 */
295 OMAP5_IOPAD(0x0110, PIN_OUTPUT | MUX_MODE3) /* rfbi_data9.dispc_data9 */
296 OMAP5_IOPAD(0x0112, PIN_OUTPUT | MUX_MODE3) /* rfbi_data8.dispc_data8 */
297 OMAP5_IOPAD(0x0114, PIN_OUTPUT | MUX_MODE3) /* rfbi_data7.dispc_data7 */
298 OMAP5_IOPAD(0x0116, PIN_OUTPUT | MUX_MODE3) /* rfbi_data6.dispc_data6 */
299 OMAP5_IOPAD(0x0118, PIN_OUTPUT | MUX_MODE3) /* rfbi_data5.dispc_data5 */
300 OMAP5_IOPAD(0x011a, PIN_OUTPUT | MUX_MODE3) /* rfbi_data4.dispc_data4 */
301 OMAP5_IOPAD(0x011c, PIN_OUTPUT | MUX_MODE3) /* rfbi_data3.dispc_data3 */
302 OMAP5_IOPAD(0x011e, PIN_OUTPUT | MUX_MODE3) /* rfbi_data2.dispc_data2 */
303 OMAP5_IOPAD(0x0120, PIN_OUTPUT | MUX_MODE3) /* rfbi_data1.dispc_data1 */
304 OMAP5_IOPAD(0x0122, PIN_OUTPUT | MUX_MODE3) /* rfbi_data0.dispc_data0 */
305 OMAP5_IOPAD(0x0124, PIN_OUTPUT | MUX_MODE3) /* rfbi_we.dispc_vsync */
306 OMAP5_IOPAD(0x0126, PIN_OUTPUT | MUX_MODE3) /* rfbi_cs0.dispc_hsync */
307 OMAP5_IOPAD(0x0128, PIN_OUTPUT | MUX_MODE3) /* rfbi_a0.dispc_de */
308 OMAP5_IOPAD(0x012a, PIN_OUTPUT | MUX_MODE3) /* rfbi_re.dispc_pclk */
309 OMAP5_IOPAD(0x012c, PIN_OUTPUT | MUX_MODE3) /* rfbi_hsync0.dispc_data17 */
310 OMAP5_IOPAD(0x012e, PIN_OUTPUT | MUX_MODE3) /* rfbi_te_vsync0.dispc_data16 */
311 OMAP5_IOPAD(0x0130, PIN_OUTPUT | MUX_MODE3) /* gpio6_182.dispc_data18 */
312 OMAP5_IOPAD(0x0132, PIN_OUTPUT | MUX_MODE3) /* gpio6_183.dispc_data19 */
313 OMAP5_IOPAD(0x0134, PIN_OUTPUT | MUX_MODE3) /* gpio6_184.dispc_data20 */
314 OMAP5_IOPAD(0x0136, PIN_OUTPUT | MUX_MODE3) /* gpio6_185.dispc_data21 */
315 OMAP5_IOPAD(0x0138, PIN_OUTPUT | MUX_MODE3) /* gpio6_186.dispc_data22 */
316 OMAP5_IOPAD(0x013a, PIN_OUTPUT | MUX_MODE3) /* gpio6_187.dispc_data23 */
320 mcspi2_pins: pinmux_mcspi1_pins {
321 pinctrl-single,pins = <
322 OMAP5_IOPAD(0x00fc, PIN_INPUT | MUX_MODE0) /* mcspi2_clk */
323 OMAP5_IOPAD(0x00fe, PIN_INPUT | MUX_MODE0) /* mcspi2_simo */
324 OMAP5_IOPAD(0x0100, PIN_INPUT | MUX_MODE0) /* mcspi2_somi */
325 OMAP5_IOPAD(0x0102, PIN_INPUT | MUX_MODE0) /* mcspi2_cs0 */
331 pinctrl-names = "default";
332 pinctrl-0 = <&mcspi2_pins>;
334 /* touch controller */
336 pinctrl-names = "default";
337 pinctrl-0 = <&ads7846_pins>;
339 compatible = "ti,ads7846";
340 vcc-supply = <&ads7846reg>;
343 spi-max-frequency = <1500000>;
345 interrupt-parent = <&gpio1>;
346 interrupts = <15 0>; /* gpio1_wk15 */
347 pendown-gpio = <&gpio1 15 GPIO_ACTIVE_HIGH>;
350 ti,x-min = /bits/ 16 <0x0>;
351 ti,x-max = /bits/ 16 <0x0fff>;
352 ti,y-min = /bits/ 16 <0x0>;
353 ti,y-max = /bits/ 16 <0x0fff>;
355 ti,x-plate-ohms = /bits/ 16 <180>;
356 ti,pressure-max = /bits/ 16 <255>;
358 ti,debounce-max = /bits/ 16 <30>;
359 ti,debounce-tol = /bits/ 16 <10>;
360 ti,debounce-rep = /bits/ 16 <1>;
367 pinctrl-names = "default";
368 pinctrl-0 = <&mmc1_pins>;
369 vmmc-supply = <&ldo9_reg>;
374 pinctrl-names = "default";
375 pinctrl-0 = <&mmc2_pins>;
376 vmmc-supply = <&vmmcsd_fixed>;
382 pinctrl-names = "default";
387 vmmc-supply = <&vwlan_fixed>;
401 pinctrl-names = "default";
402 pinctrl-0 = <&i2c1_pins>;
404 clock-frequency = <400000>;
407 compatible = "at24,24c02";
413 compatible = "ti,palmas";
414 interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* IRQ_SYS_1N */
416 interrupt-controller;
417 #interrupt-cells = <2>;
418 ti,system-power-controller;
420 extcon_usb3: palmas_usb {
421 compatible = "ti,palmas-usb-vid";
422 ti,enable-vbus-detection;
423 ti,enable-id-detection;
428 compatible = "ti,palmas-rtc";
429 interrupt-parent = <&palmas>;
430 interrupts = <8 IRQ_TYPE_NONE>;
434 compatible = "ti,palmas-pmic";
435 interrupt-parent = <&palmas>;
436 interrupts = <14 IRQ_TYPE_NONE>;
437 interrupt-name = "short-irq";
442 smps123_reg: smps123 {
444 regulator-name = "smps123";
445 regulator-min-microvolt = < 600000>;
446 regulator-max-microvolt = <1500000>;
453 regulator-name = "smps45";
454 regulator-min-microvolt = < 600000>;
455 regulator-max-microvolt = <1310000>;
461 /* VDD_DDR3 - over VDD_SMPS6 */
462 regulator-name = "smps6";
463 regulator-min-microvolt = <1500000>;
464 regulator-max-microvolt = <1500000>;
470 /* VDDS_1v8_OMAP over VDDS_1v8_MAIN */
471 regulator-name = "smps7";
472 regulator-min-microvolt = <1800000>;
473 regulator-max-microvolt = <1800000>;
480 regulator-name = "smps8";
481 regulator-min-microvolt = < 600000>;
482 regulator-max-microvolt = <1310000>;
488 /* VDDA_2v1_AUD over VDD_2v1 */
489 regulator-name = "smps9";
490 regulator-min-microvolt = <3300000>;
491 regulator-max-microvolt = <3300000>;
492 ti,smps-range = <0x80>;
497 smps10_out2_reg: smps10_out2 {
499 regulator-name = "smps10_out2";
500 regulator-min-microvolt = <5000000>;
501 regulator-max-microvolt = <5000000>;
506 smps10_out1_reg: smps10_out1 {
508 regulator-name = "smps10_out1";
509 regulator-min-microvolt = <5000000>;
510 regulator-max-microvolt = <5000000>;
514 /* VDDAPHY_CAM: vdda_csiport */
515 regulator-name = "ldo1";
516 regulator-min-microvolt = <1500000>;
517 regulator-max-microvolt = <1800000>;
522 regulator-name = "ldo2";
523 regulator-min-microvolt = <3300000>;
524 regulator-max-microvolt = <3300000>;
525 startup-delay-us = <1000>;
530 regulator-name = "ldo3";
531 regulator-min-microvolt = <1500000>;
532 regulator-max-microvolt = <1500000>;
538 /* VDDAPHY_DISP: vdda_dsiport/hdmi */
539 regulator-name = "ldo4";
540 regulator-min-microvolt = <1500000>;
541 regulator-max-microvolt = <1800000>;
545 /* VDDA_1V8_PHY: usb/sata/hdmi.. */
546 regulator-name = "ldo5";
547 regulator-min-microvolt = <1800000>;
548 regulator-max-microvolt = <1800000>;
554 /* VDDS_1V2_WKUP: hsic/ldo_emu_wkup */
555 regulator-name = "ldo6";
556 regulator-min-microvolt = <1200000>;
557 regulator-max-microvolt = <1200000>;
564 regulator-name = "ldo7";
565 regulator-min-microvolt = <2000000>;
566 regulator-max-microvolt = <2000000>;
567 /* Only for efuse reprograming! */
572 /* VDD_3V_GP: act led/serial console */
573 regulator-name = "ldo8";
574 regulator-min-microvolt = <3000000>;
575 regulator-max-microvolt = <3000000>;
581 /* VCC_DV_SDIO: vdds_sdcard */
582 regulator-name = "ldo9";
583 regulator-min-microvolt = <1800000>;
584 regulator-max-microvolt = <3000000>;
589 /* VDDA_1v8_REF: vdds_osc/mm_l4per.. */
590 regulator-name = "ldoln";
591 regulator-min-microvolt = <1800000>;
592 regulator-max-microvolt = <1800000>;
598 /* VDDA_3V_USB: VDDA_USBHS33 */
599 regulator-name = "ldousb";
600 regulator-min-microvolt = <3250000>;
601 regulator-max-microvolt = <3250000>;
607 /* REGEN3 controls LDO9 supply to card */
608 regulator-name = "regen3";
618 pinctrl-names = "default";
619 pinctrl-0 = <&i2c2_pins>;
621 clock-frequency = <100000>;
625 port2-mode = "ehci-hsic";
626 port3-mode = "ehci-hsic";
630 phys = <0 &hsusb2_phy &hsusb3_phy>;
634 extcon = <&extcon_usb3>;
635 vbus-supply = <&smps10_out1_reg>;
639 cpu0-supply = <&smps123_reg>;
645 pinctrl-names = "default";
646 pinctrl-0 = <&dss_dpi_pins>;
649 dpi_dvi_out: endpoint@0 {
650 remote-endpoint = <&tfp410_in>;
654 dpi_lcd_out: endpoint@1 {
655 remote-endpoint = <&lcd_in>;
663 vdd-supply = <&ldo4_reg>;
668 vdda-supply = <&ldo4_reg>;
670 pinctrl-names = "default";
671 pinctrl-0 = <&dss_hdmi_pins>;
675 remote-endpoint = <&hdmi_connector_in>;
676 lanes = <1 0 3 2 5 4 7 6>;