Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v3.12-rc5 84 lines 2.4 kB view raw
1Samsung Exynos SoC USB controller 2 3The USB devices interface with USB controllers on Exynos SOCs. 4The device node has following properties. 5 6EHCI 7Required properties: 8 - compatible: should be "samsung,exynos4210-ehci" for USB 2.0 9 EHCI controller in host mode. 10 - reg: physical base address of the controller and length of memory mapped 11 region. 12 - interrupts: interrupt number to the cpu. 13 - clocks: from common clock binding: handle to usb clock. 14 - clock-names: from common clock binding: Shall be "usbhost". 15 16Optional properties: 17 - samsung,vbus-gpio: if present, specifies the GPIO that 18 needs to be pulled up for the bus to be powered. 19 20Example: 21 22 usb@12110000 { 23 compatible = "samsung,exynos4210-ehci"; 24 reg = <0x12110000 0x100>; 25 interrupts = <0 71 0>; 26 samsung,vbus-gpio = <&gpx2 6 1 3 3>; 27 28 clocks = <&clock 285>; 29 clock-names = "usbhost"; 30 }; 31 32OHCI 33Required properties: 34 - compatible: should be "samsung,exynos4210-ohci" for USB 2.0 35 OHCI companion controller in host mode. 36 - reg: physical base address of the controller and length of memory mapped 37 region. 38 - interrupts: interrupt number to the cpu. 39 - clocks: from common clock binding: handle to usb clock. 40 - clock-names: from common clock binding: Shall be "usbhost". 41 42Example: 43 usb@12120000 { 44 compatible = "samsung,exynos4210-ohci"; 45 reg = <0x12120000 0x100>; 46 interrupts = <0 71 0>; 47 48 clocks = <&clock 285>; 49 clock-names = "usbhost"; 50 }; 51 52DWC3 53Required properties: 54 - compatible: should be "samsung,exynos5250-dwusb3" for USB 3.0 DWC3 55 controller. 56 - #address-cells, #size-cells : should be '1' if the device has sub-nodes 57 with 'reg' property. 58 - ranges: allows valid 1:1 translation between child's address space and 59 parent's address space 60 - clocks: Clock IDs array as required by the controller. 61 - clock-names: names of clocks correseponding to IDs in the clock property 62 63Sub-nodes: 64The dwc3 core should be added as subnode to Exynos dwc3 glue. 65- dwc3 : 66 The binding details of dwc3 can be found in: 67 Documentation/devicetree/bindings/usb/dwc3.txt 68 69Example: 70 usb@12000000 { 71 compatible = "samsung,exynos5250-dwusb3"; 72 clocks = <&clock 286>; 73 clock-names = "usbdrd30"; 74 #address-cells = <1>; 75 #size-cells = <1>; 76 ranges; 77 78 dwc3 { 79 compatible = "synopsys,dwc3"; 80 reg = <0x12000000 0x10000>; 81 interrupts = <0 72 0>; 82 usb-phy = <&usb2_phy &usb3_phy>; 83 }; 84 };