1 PXA USB controllers 1 PXA USB controllers 2 2 3 OHCI 3 OHCI 4 4 5 Required properties: 5 Required properties: 6 - compatible: Should be "marvell,pxa-ohci" fo 6 - compatible: Should be "marvell,pxa-ohci" for USB controllers 7 used in host mode. 7 used in host mode. 8 8 9 Optional properties: 9 Optional properties: 10 - "marvell,enable-port1", "marvell,enable-por 10 - "marvell,enable-port1", "marvell,enable-port2", "marvell,enable-port3" 11 If present, enables the appropriate USB por 11 If present, enables the appropriate USB port of the controller. 12 - "marvell,port-mode" selects the mode of the 12 - "marvell,port-mode" selects the mode of the ports: 13 1 = PMM_NPS_MODE 13 1 = PMM_NPS_MODE 14 2 = PMM_GLOBAL_MODE 14 2 = PMM_GLOBAL_MODE 15 3 = PMM_PERPORT_MODE 15 3 = PMM_PERPORT_MODE 16 - "marvell,power-sense-low" - power sense pin 16 - "marvell,power-sense-low" - power sense pin is low-active. 17 - "marvell,power-control-low" - power control 17 - "marvell,power-control-low" - power control pin is low-active. 18 - "marvell,no-oc-protection" - disable over-c 18 - "marvell,no-oc-protection" - disable over-current protection. 19 - "marvell,oc-mode-perport" - enable per-port 19 - "marvell,oc-mode-perport" - enable per-port over-current protection. 20 - "marvell,power_on_delay" Power On to Power 20 - "marvell,power_on_delay" Power On to Power Good time - in ms. 21 21 22 Example: 22 Example: 23 23 24 usb0: ohci@4c000000 { 24 usb0: ohci@4c000000 { 25 compatible = "marvell,pxa-ohci 25 compatible = "marvell,pxa-ohci"; 26 reg = <0x4c000000 0x100000>; 26 reg = <0x4c000000 0x100000>; 27 interrupts = <18>; 27 interrupts = <18>; 28 marvell,enable-port1; 28 marvell,enable-port1; 29 marvell,port-mode = <2>; /* PM 29 marvell,port-mode = <2>; /* PMM_GLOBAL_MODE */ 30 }; 30 }; 31 31 32 UDC 32 UDC 33 33 34 Required properties: 34 Required properties: 35 - compatible: Should be "marvell,pxa270-udc" 35 - compatible: Should be "marvell,pxa270-udc" for USB controllers 36 used in device mode. 36 used in device mode. 37 - reg: usb device MMIO address space 37 - reg: usb device MMIO address space 38 - interrupts: single interrupt generated by t 38 - interrupts: single interrupt generated by the UDC IP 39 - clocks: input clock of the UDC IP (see cloc 39 - clocks: input clock of the UDC IP (see clock-bindings.txt) 40 40 41 Optional properties: 41 Optional properties: 42 - gpios: 42 - gpios: 43 - gpio activated to control the USB D+ pull 43 - gpio activated to control the USB D+ pullup (see gpio.txt) 44 44 45 Example: 45 Example: 46 46 47 pxa27x_udc: udc@40600000 { 47 pxa27x_udc: udc@40600000 { 48 compatible = "marvell, 48 compatible = "marvell,pxa270-udc"; 49 reg = <0x40600000 0x10 49 reg = <0x40600000 0x10000>; 50 interrupts = <11>; 50 interrupts = <11>; 51 clocks = <&pxa2xx_clks 51 clocks = <&pxa2xx_clks 11>; 52 gpios = <&gpio 22 GPIO 52 gpios = <&gpio 22 GPIO_ACTIVE_LOW>; 53 }; 53 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.