Merge tag 'mfd-for-linus-3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
[pandora-kernel.git] / arch / arm / boot / dts / omap3-sbc-t3517.dts
1 /*
2  * Suppport for CompuLab SBC-T3517 with CM-T3517
3  */
4
5 #include "omap3-cm-t3517.dts"
6 #include "omap3-sb-t35.dtsi"
7
8 / {
9         model = "CompuLab SBC-T3517 with CM-T3517";
10         compatible = "compulab,omap3-sbc-t3517", "compulab,omap3-cm-t3517", "ti,am3517", "ti,omap3";
11
12         aliases {
13                 display0 = &dvi0;
14                 display1 = &tv0;
15         };
16
17         /* Only one GPMC smsc9220 on SBC-T3517, CM-T3517 uses am35x Ethernet */
18         vddvario: regulator-vddvario-sb-t35 {
19                 compatible = "regulator-fixed";
20                 regulator-name = "vddvario";
21                 regulator-always-on;
22         };
23
24         vdd33a: regulator-vdd33a-sb-t35 {
25                 compatible = "regulator-fixed";
26                 regulator-name = "vdd33a";
27                 regulator-always-on;
28         };
29 };
30
31 &omap3_pmx_core {
32         pinctrl-names = "default";
33         pinctrl-0 = <
34                         &sb_t35_usb_hub_pins
35                         &usb_hub_pins
36                     >;
37
38         mmc1_aux_pins: pinmux_mmc1_aux_pins {
39                 pinctrl-single,pins = <
40                         OMAP3_CORE1_IOPAD(0x20c0, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_clk.gpio_59   */
41                         OMAP3_CORE1_IOPAD(0x2174, PIN_INPUT_PULLUP | MUX_MODE4) /* uart2_cts.gpio_144 */
42                 >;
43         };
44
45         sb_t35_usb_hub_pins: pinmux_sb_t35_usb_hub_pins {
46                 pinctrl-single,pins = <
47                         OMAP3_CORE1_IOPAD(0x21ec, PIN_OUTPUT | MUX_MODE4) /* ccdc_wen.gpio_98 - SB-T35 USB HUB RST */
48                 >;
49         };
50 };
51
52 &mmc1 {
53         pinctrl-names = "default";
54         pinctrl-0 = <
55                 &mmc1_pins
56                 &mmc1_aux_pins
57         >;
58
59         wp-gpios =  <&gpio2 27 GPIO_ACTIVE_HIGH>; /* gpio_59  */
60         cd-gpios =  <&gpio5 16 GPIO_ACTIVE_HIGH>; /* gpio_144 */
61 };
62
63 &dss {
64         port {
65                 dpi_out: endpoint {
66                         remote-endpoint = <&tfp410_in>;
67                         data-lines = <24>;
68                 };
69         };
70 };
71
72 &gpmc {
73         ranges = <4 0 0x2d000000 0x01000000>,   /* SB-T35 SMSC9x Eth */
74                  <0 0 0x00000000 0x01000000>;   /* CM-T3x NAND */
75 };