1*4882a593SmuzhiyunPlatform DesignWare HS OTG USB 2.0 controller 2*4882a593Smuzhiyun----------------------------------------------------- 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunRequired properties: 5*4882a593Smuzhiyun- compatible : One of: 6*4882a593Smuzhiyun - brcm,bcm2835-usb: The DWC2 USB controller instance in the BCM2835 SoC. 7*4882a593Smuzhiyun - hisilicon,hi6220-usb: The DWC2 USB controller instance in the hi6220 SoC. 8*4882a593Smuzhiyun - rockchip,rk3066-usb: The DWC2 USB controller instance in the rk3066 Soc; 9*4882a593Smuzhiyun - "rockchip,px30-usb", "rockchip,rk3066-usb", "snps,dwc2": for px30 Soc; 10*4882a593Smuzhiyun - "rockchip,rk3188-usb", "rockchip,rk3066-usb", "snps,dwc2": for rk3188 Soc; 11*4882a593Smuzhiyun - "rockchip,rk3288-usb", "rockchip,rk3066-usb", "snps,dwc2": for rk3288 Soc; 12*4882a593Smuzhiyun - "lantiq,arx100-usb": The DWC2 USB controller instance in Lantiq ARX SoCs; 13*4882a593Smuzhiyun - "lantiq,xrx200-usb": The DWC2 USB controller instance in Lantiq XRX SoCs; 14*4882a593Smuzhiyun - "amlogic,meson8-usb": The DWC2 USB controller instance in Amlogic Meson8 SoCs; 15*4882a593Smuzhiyun - "amlogic,meson8b-usb": The DWC2 USB controller instance in Amlogic Meson8b SoCs; 16*4882a593Smuzhiyun - "amlogic,meson-gxbb-usb": The DWC2 USB controller instance in Amlogic S905 SoCs; 17*4882a593Smuzhiyun - "amcc,dwc-otg": The DWC2 USB controller instance in AMCC Canyonlands 460EX SoCs; 18*4882a593Smuzhiyun - snps,dwc2: A generic DWC2 USB controller with default parameters. 19*4882a593Smuzhiyun - "st,stm32f4x9-fsotg": The DWC2 USB FS/HS controller instance in STM32F4x9 SoCs 20*4882a593Smuzhiyun configured in FS mode; 21*4882a593Smuzhiyun - "st,stm32f4x9-hsotg": The DWC2 USB HS controller instance in STM32F4x9 SoCs 22*4882a593Smuzhiyun configured in HS mode; 23*4882a593Smuzhiyun - "st,stm32f7-hsotg": The DWC2 USB HS controller instance in STM32F7 SoCs 24*4882a593Smuzhiyun configured in HS mode; 25*4882a593Smuzhiyun- reg : Should contain 1 register range (address and length) 26*4882a593Smuzhiyun- interrupts : Should contain 1 interrupt 27*4882a593Smuzhiyun- clocks: clock provider specifier 28*4882a593Smuzhiyun- clock-names: shall be "otg" 29*4882a593SmuzhiyunRefer to clk/clock-bindings.txt for generic clock consumer properties 30*4882a593Smuzhiyun 31*4882a593SmuzhiyunOptional properties: 32*4882a593Smuzhiyun- phys: phy provider specifier 33*4882a593Smuzhiyun- phy-names: shall be "usb2-phy" 34*4882a593SmuzhiyunRefer to phy/phy-bindings.txt for generic phy consumer properties 35*4882a593Smuzhiyun- dr_mode: shall be one of "host", "peripheral" and "otg" 36*4882a593Smuzhiyun Refer to usb/generic.txt 37*4882a593Smuzhiyun- g-rx-fifo-size: size of rx fifo size in gadget mode. 38*4882a593Smuzhiyun- g-np-tx-fifo-size: size of non-periodic tx fifo size in gadget mode. 39*4882a593Smuzhiyun- g-tx-fifo-size: size of periodic tx fifo per endpoint (except ep0) in gadget mode. 40*4882a593Smuzhiyun- usb33d-supply: external VBUS and ID sensing comparators supply, in order to 41*4882a593Smuzhiyun perform OTG operation, used on STM32MP1 SoCs. 42*4882a593Smuzhiyun- u-boot,force-b-session-valid: force B-peripheral session instead of relying on 43*4882a593Smuzhiyun VBUS sensing (only valid when dr_mode = "peripheral" and for u-boot). 44*4882a593Smuzhiyun 45*4882a593SmuzhiyunDeprecated properties: 46*4882a593Smuzhiyun- g-use-dma: gadget DMA mode is automatically detected 47*4882a593Smuzhiyun 48*4882a593SmuzhiyunExample: 49*4882a593Smuzhiyun 50*4882a593Smuzhiyun usb@101c0000 { 51*4882a593Smuzhiyun compatible = "ralink,rt3050-usb, snps,dwc2"; 52*4882a593Smuzhiyun reg = <0x101c0000 40000>; 53*4882a593Smuzhiyun interrupts = <18>; 54*4882a593Smuzhiyun clocks = <&usb_otg_ahb_clk>; 55*4882a593Smuzhiyun clock-names = "otg"; 56*4882a593Smuzhiyun phys = <&usbphy>; 57*4882a593Smuzhiyun phy-names = "usb2-phy"; 58*4882a593Smuzhiyun }; 59