]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/blobdiff - arch/arm/boot/dts/omap5-uevm.dts
Merge branch 'pm-linux-3.8.y' of git://git.ti.com/~kristo/ti-linux-kernel/pm-linux...
[android-sdk/kernel-video.git] / arch / arm / boot / dts / omap5-uevm.dts
index 78c5769c6a75df698c6a65c537a698b4892cf94c..2865b4f3a5e0c34d0d0b39438d2ddee179d64498 100644 (file)
                regulator-max-microvolt = <3000000>;
        };
 
+       /* HS USB Port 2 RESET */
+       hsusb2_reset: hsusb2_reset_reg {
+               compatible = "regulator-fixed";
+               regulator-name = "hsusb2_reset";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               gpio = <&gpio3 16 0>;   /* gpio3_80 HUB_NRESET */
+               startup-delay-us = <70000>;
+               enable-active-high;
+       };
+
+       /* HS USB Host PHY on PORT 2 */
+       hsusb2_phy: hsusb2_phy {
+               compatible = "usb-nop-xceiv";
+               reset-supply = <&hsusb2_reset>;
+       };
+
+       /* HS USB Port 3 RESET */
+       hsusb3_reset: hsusb3_reset_reg {
+               compatible = "regulator-fixed";
+               regulator-name = "hsusb3_reset";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               gpio = <&gpio3 15 0>;   /* gpio3_79 ETH_NRESET */
+               startup-delay-us = <70000>;
+               enable-active-high;
+       };
+
+       /* HS USB Host PHY on PORT 3 */
+       hsusb3_phy: hsusb3_phy {
+               compatible = "usb-nop-xceiv";
+               reset-supply = <&hsusb3_reset>;
+       };
+
+       /* hsusb2_phy is clocked by FREF_CLK1 i.e. auxclk1 */
+       clock_alias {
+               clock-name = "auxclk1_ck";
+               clock-alias = "main_clk";
+               device = <&hsusb2_phy>;
+               clock-frequency = <19200000>; /* 19.2 MHz */
+       };
+
+       sound {
+               compatible = "ti,abe-twl6040";
+               ti,model = "PandaBoard5";
+
+               ti,jack-detection = <1>;
+               ti,mclk-freq = <19200000>;
+
+               ti,mcpdm = <&mcpdm>;
+               ti,mcbsp1 = <&mcbsp1>;
+               ti,mcbsp2 = <&mcbsp2>;
+               ti,aess = <&aess>;
+
+               ti,twl6040 = <&twl6040>;
+
+               /* Audio routing */
+               ti,audio-routing =
+                       "Headset Stereophone", "HSOL",
+                       "Headset Stereophone", "HSOR",
+                       "Line Out", "AUXL",
+                       "Line Out", "AUXR",
+                       "HSMIC", "Headset Mic",
+                       "Headset Mic", "Headset Mic Bias",
+                       "AFML", "Line In",
+                       "AFMR", "Line In",
+                       "Headset Playback", "PDM_DL1",
+                       "PDM_UL1", "Capture",
+                       "40122000.mcbsp Playback", "BT_VX_DL",
+                       "BT_VX_UL", "40122000.mcbsp Capture",
+                       "40124000.mcbsp Playback", "MM_EXT_DL",
+                       "MM_EXT_UL", "40124000.mcbsp Capture";
+       };
+
+       sound_hdmi {
+               compatible = "ti,omap-hdmi-tpd12s015-audio";
+               ti,model = "OMAP5HDMI";
+
+               ti,hdmi_audio = <&hdmi>;
+               ti,level_shifter = <&tpd12s015>;
+       };
 };
 
 &omap5_pmx_core {
                        &dmic_pins
                        &mcbsp1_pins
                        &mcbsp2_pins
+                       &usbhost_pins
+                       &dss_hdmi_pins
+                       &tpd12s015_pins
+                       &tca6424a_pins
                        &palmas_pins
        >;
 
        twl6040_pins: pinmux_twl6040_pins {
                pinctrl-single,pins = <
+                       0x17e 0x6       /* mcspi1_somi.gpio5_141 OUTPUT | MODE6 */
                        0x18a 0x6       /* perslimbus2_clock.gpio5_145 OUTPUT | MODE6 */
                >;
        };
                >;
        };
 
+       usbhost_pins: pinmux_usbhost_pins {
+               pinctrl-single,pins = <
+                       0x84 0x100      /* usbb2_hsic_strobe INPUT | MODE 0 */
+                       0x86 0x100      /* usbb2_hsic_data INPUT | MODE 0 */
+
+                       0x19e 0x100     /* usbb3_hsic_strobe INPUT | MODE 0 */
+                       0x1a0 0x100     /* usbb3_hsic_data INPUT | MODE 0 */
+
+                       0x70 0x6        /* gpio3_80 OUTPUT | MODE 6 HUB_NRESET */
+                       0x6e 0x6        /* gpio3_79 OUTPUT | MODE 6 ETH_NRESET */
+               >;
+       };
+
+       dss_hdmi_pins: pinmux_dss_hdmi_pins {
+               pinctrl-single,pins = <
+                       0x0fc 0x118     /* hdmi_cec.hdmi_cec INPUT PULLUP | MODE 0 */
+                       0x100 0x100     /* hdmi_scl.hdmi_scl INPUT | MODE 0 */
+                       0x102 0x100     /* hdmi_sda.hdmi_sda INPUT | MODE 0 */
+               >;
+       };
+
+       tpd12s015_pins: pinmux_tpd12s015_pins {
+               pinctrl-single,pins = <
+                       0x0fe 0x116     /* hdmi_hpd.gpio7_193 INPUT PULLDOWN | MODE6 */
+               >;
+       };
+
+       tca6424a_pins: pinmux_tca6424a_pins {
+               pinctrl-single,pins = <
+                       0x186 0x100     /* i2c5_scl.i2c5_scl INPUT | MODE0 */
+                       0x188 0x100     /* i2c5_sda.i2c5_sda INPUT | MODE0 */
+               >;
+       };
+
+       uart1_pins: pinmux_uart1_pins {
+               pinctrl-single,pins = <
+                       0x60 0x0        /* uart1_tx.uart1_cts MODE0 */
+                       0x62 0x118      /* uart1_tx.uart1_cts INPUT | PULLUP | MODE0 */
+                       0x64 0x118      /* uart1_rx.uart1_rts INPUT | PULLUP | MODE0 */
+                       0x66 0          /* uart1_rx.uart1_rts MODE0 */
+               >;
+       };
+
+       uart3_pins: pinmux_uart3_pins {
+               pinctrl-single,pins = <
+                       0x19a 0x0       /* uart3_rts_irsd.uart3_tx_irtx MODE0 */
+                       0x19c 0x118     /* uart3_rx_irrx.uart3_usbb3_hsic INPUT | PULLUP | MODE0 */
+               >;
+       };
+
+       uart5_pins: pinmux_uart5_pins {
+               pinctrl-single,pins = <
+                       0x170 0x118     /* uart5_rx.uart5_rx INPUT | PULLUP | MODE0 */
+                       0x172 0x0       /* uart5_tx.uart5_tx MODE0 */
+                       0x174 0x118     /* uart5_cts.uart5_rts INPUT | PULLUP | MODE0 */
+                       0x176 0x0       /* uart5_cts.uart5_rts MODE0 */
+               >;
+       };
+
+       mcspi2_pins: pinmux_mcspi2_pins {
+               pinctrl-single,pins = <
+                       0xbc 0x100      /*  MCSPI2_CLK INPUTENABLE | MODE0 */
+                       0xbe 0x100      /*  MCSPI2_SIMO INPUTENABLE | MODE0 */
+                       0xc0 0x118      /*  MCSPI2_SOMI PULLUP | INPUTENABLE | MODE0*/
+                       0xc2 0x0        /*  MCSPI2_CS MODE0*/
+               >;
+       };
+
+       mcspi3_pins: pinmux_mcspi3_pins {
+               pinctrl-single,pins = <
+                       0x78 0x101      /*  MCSPI2_SOMI INPUTENABLE | MODE1 */
+                       0x7a 0x101      /*  MCSPI2_CS INPUTENABLE | MODE1 */
+                       0x7c 0x101      /*  MCSPI2_SIMO INPUTENABLE | MODE1 */
+                       0x7e 0x101      /*  MCSPI2_CLK INPUTENABLE | MODE1 */
+               >;
+       };
+
+       mcspi4_pins: pinmux_mcspi4_pins {
+               pinctrl-single,pins = <
+                       0x164 0x101     /*  MCSPI2_CLK INPUTENABLE | MODE1 */
+                       0x168 0x101     /*  MCSPI2_SIMO INPUTENABLE | MODE1 */
+                       0x16a 0x101     /*  MCSPI2_SOMI INPUTENABLE | MODE1 */
+                       0x16c 0x101     /*  MCSPI2_CS INPUTENABLE | MODE1 */
+                >;
+       };
+
        palmas_pins: pinmux_palmas_pins {
                pinctrl-single,pins = <
                        0x140 0x11f     /* MSLEEP INPUT | PULLUP | MODE7 */
        };
 };
 
+&omap5_pmx_wkup {
+       pinctrl-names = "default";
+       pinctrl-0 = <
+                       &usbhost_wkup_pins
+       >;
+
+       usbhost_wkup_pins: pinmux_usbhost_wkup_pins {
+               pinctrl-single,pins = <
+                       0x1A 0x0        /* fref_clk1_out OUTPUT | MODE 7 for USB hub clk */
+               >;
+       };
+};
+
 &mmc1 {
        vmmc-supply = <&vmmcsd_fixed>;
        bus-width = <4>;
 &mmc3 {
        bus-width = <4>;
        ti,non-removable;
+       status = "disabled";
 };
 
 &mmc4 {
        status = "disabled";
 };
 
-&i2c2 {
-       clock-frequency = <400000>;
-
-       /* Pressure Sensor */
-       bmp085@77 {
-               compatible = "bosch,bmp085";
-               reg = <0x77>;
-       };
-};
-
-&i2c4 {
-       clock-frequency = <400000>;
-
-       /* Temperature Sensor */
-       tmp102@48{
-               compatible = "ti,tmp102";
-               reg = <0x48>;
+&i2c5 {
+       tca6424a: tca6424a@22 {
+               compatible = "ti,tca6424a";
+               reg = <0x22>;
+               gpio-controller;
+               #gpio-cells = <2>;
        };
 };
 
                interrupt-parent = <&gic>;
        };
 
+       twl6040: twl@4b {
+               compatible = "ti,twl6040";
+
+               interrupts = <0 119 4>; /* IRQ_SYS_2N cascaded to gic */
+               interrupt-parent = <&gic>;
+               ti,audpwron-gpio = <&gpio5 13 0>;  /* gpio line 141 */
+
+               vio-supply = <&smps7_reg>;
+               v2v1-supply = <&smps9_reg>;
+               enable-active-high;
+       };
+};
+
+&usbhshost {
+       port2-mode = "ehci-hsic";
+       port3-mode = "ehci-hsic";
+};
+
+&usbhsehci {
+       phys = <0 &hsusb2_phy &hsusb3_phy>;
 };
 
 /include/ "palmas.dtsi"
+/include/ "twl6040.dtsi"
+
+&hdmi {
+       tpd12s015: tpd12s015 {
+               compatible = "ti,tpd12s015";
+
+               gpios = <&tca6424a 0 0>,        /* TCA6424A P01, CT_CP_HDP */
+                       <&tca6424a 1 0>,        /* TCA6424A P00, LS_OE*/
+                       <&gpio7 1 0>;           /* 193, HPD */
+
+               hdmi-monitor {
+                       compatible = "ti,hdmi_panel";
+               };
+
+       };
+};
+
+&uart1 {
+        pinctrl-names = "default";
+        pinctrl-0 = <&uart1_pins>;
+};
+
+&uart3 {
+        pinctrl-names = "default";
+        pinctrl-0 = <&uart3_pins>;
+};
+
+&uart5 {
+        pinctrl-names = "default";
+        pinctrl-0 = <&uart5_pins>;
+};
+
+&mcspi2 {
+        pinctrl-names = "default";
+        pinctrl-0 = <&mcspi2_pins>;
+};
+
+&mcspi3 {
+        pinctrl-names = "default";
+        pinctrl-0 = <&mcspi3_pins>;
+};
+
+&mcspi4 {
+        pinctrl-names = "default";
+        pinctrl-0 = <&mcspi4_pins>;
+};