Jean-Christophe PLAGNIOL-VILLARD | 2419730 | 2011-11-21 06:55:18 +0800 | [diff] [blame] | 1 | Atmel SOC USB controllers |
| 2 | |
| 3 | OHCI |
| 4 | |
| 5 | Required properties: |
| 6 | - compatible: Should be "atmel,at91rm9200-ohci" for USB controllers |
| 7 | used in host mode. |
| 8 | - num-ports: Number of ports. |
| 9 | - atmel,vbus-gpio: If present, specifies a gpio that needs to be |
| 10 | activated for the bus to be powered. |
| 11 | - atmel,oc-gpio: If present, specifies a gpio that needs to be |
| 12 | activated for the overcurrent detection. |
| 13 | |
| 14 | usb0: ohci@00500000 { |
| 15 | compatible = "atmel,at91rm9200-ohci", "usb-ohci"; |
| 16 | reg = <0x00500000 0x100000>; |
| 17 | interrupts = <20 4>; |
| 18 | num-ports = <2>; |
| 19 | }; |
Jean-Christophe PLAGNIOL-VILLARD | 9d84300 | 2011-11-22 12:11:13 +0800 | [diff] [blame] | 20 | |
| 21 | EHCI |
| 22 | |
| 23 | Required properties: |
| 24 | - compatible: Should be "atmel,at91sam9g45-ehci" for USB controllers |
| 25 | used in host mode. |
| 26 | |
| 27 | usb1: ehci@00800000 { |
| 28 | compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; |
| 29 | reg = <0x00800000 0x100000>; |
| 30 | interrupts = <22 4>; |
| 31 | }; |
Jean-Christophe PLAGNIOL-VILLARD | d1494a3 | 2012-01-28 22:35:36 +0800 | [diff] [blame^] | 32 | |
| 33 | AT91 USB device controller |
| 34 | |
| 35 | Required properties: |
| 36 | - compatible: Should be "atmel,at91rm9200-udc" |
| 37 | - reg: Address and length of the register set for the device |
| 38 | - interrupts: Should contain macb interrupt |
| 39 | |
| 40 | Optional properties: |
| 41 | - atmel,vbus-gpio: If present, specifies a gpio that needs to be |
| 42 | activated for the bus to be powered. |
| 43 | |
| 44 | usb1: gadget@fffa4000 { |
| 45 | compatible = "atmel,at91rm9200-udc"; |
| 46 | reg = <0xfffa4000 0x4000>; |
| 47 | interrupts = <10 4>; |
| 48 | atmel,vbus-gpio = <&pioC 5 0>; |
| 49 | }; |