11139b451SDaniel MackPXA USB controllers 21139b451SDaniel Mack 31139b451SDaniel MackOHCI 41139b451SDaniel Mack 51139b451SDaniel MackRequired properties: 61139b451SDaniel Mack - compatible: Should be "marvell,pxa-ohci" for USB controllers 71139b451SDaniel Mack used in host mode. 81139b451SDaniel Mack 91139b451SDaniel MackOptional properties: 101139b451SDaniel Mack - "marvell,enable-port1", "marvell,enable-port2", "marvell,enable-port3" 111139b451SDaniel Mack If present, enables the appropriate USB port of the controller. 121139b451SDaniel Mack - "marvell,port-mode" selects the mode of the ports: 131139b451SDaniel Mack 1 = PMM_NPS_MODE 141139b451SDaniel Mack 2 = PMM_GLOBAL_MODE 151139b451SDaniel Mack 3 = PMM_PERPORT_MODE 161139b451SDaniel Mack - "marvell,power-sense-low" - power sense pin is low-active. 171139b451SDaniel Mack - "marvell,power-control-low" - power control pin is low-active. 181139b451SDaniel Mack - "marvell,no-oc-protection" - disable over-current protection. 191139b451SDaniel Mack - "marvell,oc-mode-perport" - enable per-port over-current protection. 201139b451SDaniel Mack - "marvell,power_on_delay" Power On to Power Good time - in ms. 211139b451SDaniel Mack 221139b451SDaniel MackExample: 231139b451SDaniel Mack 241139b451SDaniel Mack usb0: ohci@4c000000 { 251139b451SDaniel Mack compatible = "marvell,pxa-ohci", "usb-ohci"; 261139b451SDaniel Mack reg = <0x4c000000 0x100000>; 271139b451SDaniel Mack interrupts = <18>; 281139b451SDaniel Mack marvell,enable-port1; 291139b451SDaniel Mack marvell,port-mode = <2>; /* PMM_GLOBAL_MODE */ 301139b451SDaniel Mack }; 311139b451SDaniel Mack 32545d64a4SRobert JarzmikUDC 33545d64a4SRobert Jarzmik 34545d64a4SRobert JarzmikRequired properties: 35545d64a4SRobert Jarzmik - compatible: Should be "marvell,pxa270-udc" for USB controllers 36545d64a4SRobert Jarzmik used in device mode. 37545d64a4SRobert Jarzmik - reg: usb device MMIO address space 38545d64a4SRobert Jarzmik - interrupts: single interrupt generated by the UDC IP 39545d64a4SRobert Jarzmik - clocks: input clock of the UDC IP (see clock-bindings.txt) 40545d64a4SRobert Jarzmik 41545d64a4SRobert JarzmikOptional properties: 42545d64a4SRobert Jarzmik - gpios: 43545d64a4SRobert Jarzmik - gpio activated to control the USB D+ pullup (see gpio.txt) 44545d64a4SRobert Jarzmik 45545d64a4SRobert JarzmikExample: 46545d64a4SRobert Jarzmik 47545d64a4SRobert Jarzmik pxa27x_udc: udc@40600000 { 48545d64a4SRobert Jarzmik compatible = "marvell,pxa270-udc"; 49545d64a4SRobert Jarzmik reg = <0x40600000 0x10000>; 50545d64a4SRobert Jarzmik interrupts = <11>; 51545d64a4SRobert Jarzmik clocks = <&pxa2xx_clks 11>; 52545d64a4SRobert Jarzmik gpios = <&gpio 22 GPIO_ACTIVE_LOW>; 53545d64a4SRobert Jarzmik }; 54