AnsweredAssumed Answered

3.10.53 PCIe & USB 3.0

Question asked by Christian Kim on Mar 13, 2016
Latest reply on Oct 25, 2018 by 无为 无

Hi, All

 

I'd like to know how to set for PCIe & USB3.0 controller(use for USB Stroage, USB Audio, etc) on imx6dl. Controller is TI's TUSB7340.

I've set for above issue, but I can't get any message when insert or remove to usb storage.

Could you any advice to me why don't recognize usb ?

 

I think, as look dmesg(attached file), XHCI driver(?) not running. and shown below message.

[    0.322061] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [??? 0x00000000 flags 0x0] (conflicts with (null) [??? 0x00000000 flags 0x0])

 

-------------------------------------------------------------------------

root@imx6qsabresd:~# lspci -v

00:00.0 PCI bridge: Device 16c3:abcd (rev 01) (prog-if 00 [Normal decode])

        Flags: fast devsel

        Memory at 01000000 (64-bit, prefetchable) [disabled] [size=1M]

        Bus: primary=00, secondary=00, subordinate=00, sec-latency=0

        I/O behind bridge: 00000000-00000fff

        Memory behind bridge: 00000000-000fffff

        Prefetchable memory behind bridge: 00000000-000fffff

        [virtual] Expansion ROM at 01100000 [disabled] [size=64K]

        Capabilities: [40] Power Management version 3

        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+

        Capabilities: [70] Express Root Port (Slot-), MSI 00

        Capabilities: [100] Advanced Error Reporting

        Capabilities: [140] Virtual Channel

        Kernel driver in use: pcieport

lspci: Unable to load libkmod resources: error -12

-------------------------------------------------------------------------

 

kernel version : 3.10.53

-------------------------------------------------------------------------

#

# Bus support

#

CONFIG_PCI=y

CONFIG_PCI_DOMAINS=y

CONFIG_PCI_SYSCALL=y

CONFIG_ARCH_SUPPORTS_MSI=y

CONFIG_PCI_MSI=y

CONFIG_PCI_DEBUG=y

CONFIG_PCI_REALLOC_ENABLE_AUTO=y

CONFIG_PCI_STUB=y

CONFIG_PCI_ATS=y

CONFIG_PCI_IOV=y

CONFIG_PCI_PRI=y

CONFIG_PCI_PASID=y

#

# PCI host controller drivers

#

CONFIG_PCIE_DW=y

CONFIG_PCI_IMX6=y

# CONFIG_PCI_IMX6SX_EXTREMELY_PWR_SAVE is not set

# CONFIG_EP_MODE_IN_EP_RC_SYS is not set

# CONFIG_RC_MODE_IN_EP_RC_SYS is not set

CONFIG_PCIEPORTBUS=y

CONFIG_PCIEAER=y

# CONFIG_PCIE_ECRC is not set

# CONFIG_PCIEAER_INJECT is not set

CONFIG_PCIEASPM=y

CONFIG_PCIEASPM_DEBUG=y

# CONFIG_PCIEASPM_DEFAULT is not set

# CONFIG_PCIEASPM_POWERSAVE is not set

CONFIG_PCIEASPM_PERFORMANCE=y

CONFIG_PCIE_PME=y

# CONFIG_PCCARD is not set

 

#

# USB Host Controller Drivers

#

# CONFIG_USB_C67X00_HCD is not set

CONFIG_USB_XHCI_HCD=y

CONFIG_USB_XHCI_HCD_DEBUGGING=y

CONFIG_USB_EHCI_HCD=y

CONFIG_USB_EHCI_ROOT_HUB_TT=y

CONFIG_USB_EHCI_TT_NEWSCHED=y

CONFIG_USB_EHCI_PCI=y

 

-------------------------------------------------------------------------

pcie: pcie@0x01000000 {

compatible = "fsl,imx6q-pcie", "snps,dw-pcie";

reg = <0x01ffc000 0x4000>; /* DBI */

#address-cells = <3>;

#size-cells = <2>;

device_type = "pci";

ranges = <0x00000800 0 0x01f00000 0x01f00000 0 0x00080000 /* configuration space */

          0x81000000 0 0          0x01f80000 0 0x00010000 /* downstream I/O */

          0x82000000 0 0x01000000 0x01000000 0 0x00f00000>; /* non-prefetchable memory */

num-lanes = <1>;

interrupts = <0 123 0x04>;

clocks = <&clks 189>, <&clks 187>, <&clks 144>, <&clks 212>;

clock-names = "pcie_ref_125m", "sata_ref_100m", "pcie_axi", "lvds_gate";

status = "disabled";

};

 

&pcie {

  power-on-gpio = <&gpio3 19 0>;

  reset-gpio = <&gpio7 12 0>;

  status = "okay";

};

Original Attachment has been moved to: dmesg.txt.zip

Outcomes