162306a36Sopenharmony_ciPXA USB controllers 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciOHCI 462306a36Sopenharmony_ci 562306a36Sopenharmony_ciRequired properties: 662306a36Sopenharmony_ci - compatible: Should be "marvell,pxa-ohci" for USB controllers 762306a36Sopenharmony_ci used in host mode. 862306a36Sopenharmony_ci 962306a36Sopenharmony_ciOptional properties: 1062306a36Sopenharmony_ci - "marvell,enable-port1", "marvell,enable-port2", "marvell,enable-port3" 1162306a36Sopenharmony_ci If present, enables the appropriate USB port of the controller. 1262306a36Sopenharmony_ci - "marvell,port-mode" selects the mode of the ports: 1362306a36Sopenharmony_ci 1 = PMM_NPS_MODE 1462306a36Sopenharmony_ci 2 = PMM_GLOBAL_MODE 1562306a36Sopenharmony_ci 3 = PMM_PERPORT_MODE 1662306a36Sopenharmony_ci - "marvell,power-sense-low" - power sense pin is low-active. 1762306a36Sopenharmony_ci - "marvell,power-control-low" - power control pin is low-active. 1862306a36Sopenharmony_ci - "marvell,no-oc-protection" - disable over-current protection. 1962306a36Sopenharmony_ci - "marvell,oc-mode-perport" - enable per-port over-current protection. 2062306a36Sopenharmony_ci - "marvell,power_on_delay" Power On to Power Good time - in ms. 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ciExample: 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ci usb0: ohci@4c000000 { 2562306a36Sopenharmony_ci compatible = "marvell,pxa-ohci"; 2662306a36Sopenharmony_ci reg = <0x4c000000 0x100000>; 2762306a36Sopenharmony_ci interrupts = <18>; 2862306a36Sopenharmony_ci marvell,enable-port1; 2962306a36Sopenharmony_ci marvell,port-mode = <2>; /* PMM_GLOBAL_MODE */ 3062306a36Sopenharmony_ci }; 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ciUDC 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ciRequired properties: 3562306a36Sopenharmony_ci - compatible: Should be "marvell,pxa270-udc" for USB controllers 3662306a36Sopenharmony_ci used in device mode. 3762306a36Sopenharmony_ci - reg: usb device MMIO address space 3862306a36Sopenharmony_ci - interrupts: single interrupt generated by the UDC IP 3962306a36Sopenharmony_ci - clocks: input clock of the UDC IP (see clock-bindings.txt) 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ciOptional properties: 4262306a36Sopenharmony_ci - gpios: 4362306a36Sopenharmony_ci - gpio activated to control the USB D+ pullup (see gpio.txt) 4462306a36Sopenharmony_ci 4562306a36Sopenharmony_ciExample: 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ci pxa27x_udc: udc@40600000 { 4862306a36Sopenharmony_ci compatible = "marvell,pxa270-udc"; 4962306a36Sopenharmony_ci reg = <0x40600000 0x10000>; 5062306a36Sopenharmony_ci interrupts = <11>; 5162306a36Sopenharmony_ci clocks = <&pxa2xx_clks 11>; 5262306a36Sopenharmony_ci gpios = <&gpio 22 GPIO_ACTIVE_LOW>; 5362306a36Sopenharmony_ci }; 54