ARM: tegra: pm375 : Enable utmi1
Preetham Chandru R [Thu, 13 Mar 2014 11:35:50 +0000 (16:35 +0530)]
Enable usb port included in the mPCIe

Bug 1466561

Change-Id: I0aaa655652bb7c6f27a082b0cd3909cbb4334057
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/381487
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Tested-by: Winnie Hsu <whsu@nvidia.com>

arch/arm/boot/dts/tegra124-pm375.dts
arch/arm/mach-tegra/board-ardbeg.c

index b4dfd67..d65fba8 100644 (file)
                /* nvidia,uses_external_pmic;
                nvidia,gpio_controls_muxed_ss_lanes; */
                nvidia,gpio_ss1_sata = <0>;
-               nvidia,portmap = <0x501>; /* SSP0, USB2P0, USBP2 */
+               nvidia,portmap = <0x701>; /* SSP0, USB2P0, USBP2 */
                nvidia,ss_portmap = <0x72>; /* SSP0 on USB2P2 */
                nvidia,lane_owner = <4>; /* USB3P0 USB3P1 */
                nvidia,ulpicap = <0>; /* No ulpi support. can we remove */
-               nvidia,supply_utmi_vbuses = "usb_vbus0", "usb_vbus1", "usb_vbus2";
+               nvidia,supply_utmi_vbuses = "usb_vbus0", "pcie_usb_vbus", "usb_vbus1";
                nvidia,supply_s3p3v = "hvdd_usb";
                nvidia,supply_s1p8v = "avdd_pll_utmip";
                nvidia,supply_vddio_hsic = "vddio_hsic";
index 1cc8d24..82257e3 100644 (file)
@@ -830,8 +830,8 @@ static void ardbeg_xusb_init(void)
                        xusb_pdata.portmap &= ~(TEGRA_XUSB_USB2_P0);
                if (!(usb_port_owner_info & UTMI2_PORT_OWNER_XUSB))
                        xusb_pdata.portmap &= ~(TEGRA_XUSB_USB2_P2 |
-                                               TEGRA_XUSB_SS_P0);
-               xusb_pdata.portmap &= ~(TEGRA_XUSB_SS_P1 | TEGRA_XUSB_USB2_P1);
+                                       TEGRA_XUSB_USB2_P1 | TEGRA_XUSB_SS_P0);
+               xusb_pdata.portmap &= ~(TEGRA_XUSB_SS_P1);
        } else {
                /* Ardbeg */
                if (board_info.board_id == BOARD_E1781) {