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 v4.6 41 lines 1.8 kB view raw
1Platform DesignWare HS OTG USB 2.0 controller 2----------------------------------------------------- 3 4Required properties: 5- compatible : One of: 6 - brcm,bcm2835-usb: The DWC2 USB controller instance in the BCM2835 SoC. 7 - hisilicon,hi6220-usb: The DWC2 USB controller instance in the hi6220 SoC. 8 - rockchip,rk3066-usb: The DWC2 USB controller instance in the rk3066 Soc; 9 - "rockchip,rk3188-usb", "rockchip,rk3066-usb", "snps,dwc2": for rk3188 Soc; 10 - "rockchip,rk3288-usb", "rockchip,rk3066-usb", "snps,dwc2": for rk3288 Soc; 11 - "lantiq,arx100-usb": The DWC2 USB controller instance in Lantiq ARX SoCs; 12 - "lantiq,xrx200-usb": The DWC2 USB controller instance in Lantiq XRX SoCs; 13 - snps,dwc2: A generic DWC2 USB controller with default parameters. 14- reg : Should contain 1 register range (address and length) 15- interrupts : Should contain 1 interrupt 16- clocks: clock provider specifier 17- clock-names: shall be "otg" 18Refer to clk/clock-bindings.txt for generic clock consumer properties 19 20Optional properties: 21- phys: phy provider specifier 22- phy-names: shall be "usb2-phy" 23Refer to phy/phy-bindings.txt for generic phy consumer properties 24- dr_mode: shall be one of "host", "peripheral" and "otg" 25 Refer to usb/generic.txt 26- g-use-dma: enable dma usage in gadget driver. 27- g-rx-fifo-size: size of rx fifo size in gadget mode. 28- g-np-tx-fifo-size: size of non-periodic tx fifo size in gadget mode. 29- g-tx-fifo-size: size of periodic tx fifo per endpoint (except ep0) in gadget mode. 30 31Example: 32 33 usb@101c0000 { 34 compatible = "ralink,rt3050-usb, snps,dwc2"; 35 reg = <0x101c0000 40000>; 36 interrupts = <18>; 37 clocks = <&usb_otg_ahb_clk>; 38 clock-names = "otg"; 39 phys = <&usbphy>; 40 phy-names = "usb2-phy"; 41 };