0001 Atmel SOC USB controllers
0002
0003 OHCI
0004
0005 Required properties:
0006 - compatible: Should be "atmel,at91rm9200-ohci" for USB controllers
0007 used in host mode.
0008 - reg: Address and length of the register set for the device
0009 - interrupts: Should contain ohci interrupt
0010 - clocks: Should reference the peripheral, host and system clocks
0011 - clock-names: Should contain three strings
0012 "ohci_clk" for the peripheral clock
0013 "hclk" for the host clock
0014 "uhpck" for the system clock
0015 - num-ports: Number of ports.
0016 - atmel,vbus-gpio: If present, specifies a gpio that needs to be
0017 activated for the bus to be powered.
0018 - atmel,oc-gpio: If present, specifies a gpio that needs to be
0019 activated for the overcurrent detection.
0020
0021 usb0: ohci@500000 {
0022 compatible = "atmel,at91rm9200-ohci", "usb-ohci";
0023 reg = <0x00500000 0x100000>;
0024 clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>;
0025 clock-names = "ohci_clk", "hclk", "uhpck";
0026 interrupts = <20 4>;
0027 num-ports = <2>;
0028 };
0029
0030 EHCI
0031
0032 Required properties:
0033 - compatible: Should be "atmel,at91sam9g45-ehci" for USB controllers
0034 used in host mode.
0035 - reg: Address and length of the register set for the device
0036 - interrupts: Should contain ehci interrupt
0037 - clocks: Should reference the peripheral and the UTMI clocks
0038 - clock-names: Should contain two strings
0039 "ehci_clk" for the peripheral clock
0040 "usb_clk" for the UTMI clock
0041
0042 Optional properties:
0043 - phy_type : For multi port host USB controllers, should be one of
0044 "utmi", or "hsic".
0045
0046 usb1: ehci@800000 {
0047 compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
0048 reg = <0x00800000 0x100000>;
0049 interrupts = <22 4>;
0050 clocks = <&utmi>, <&uhphs_clk>;
0051 clock-names = "usb_clk", "ehci_clk";
0052 };
0053
0054 AT91 USB device controller
0055
0056 Required properties:
0057 - compatible: Should be one of the following
0058 "atmel,at91rm9200-udc"
0059 "atmel,at91sam9260-udc"
0060 "atmel,at91sam9261-udc"
0061 "atmel,at91sam9263-udc"
0062 - reg: Address and length of the register set for the device
0063 - interrupts: Should contain macb interrupt
0064 - clocks: Should reference the peripheral and the AHB clocks
0065 - clock-names: Should contain two strings
0066 "pclk" for the peripheral clock
0067 "hclk" for the AHB clock
0068
0069 Optional properties:
0070 - atmel,vbus-gpio: If present, specifies a gpio that needs to be
0071 activated for the bus to be powered.
0072
0073 usb1: gadget@fffa4000 {
0074 compatible = "atmel,at91rm9200-udc";
0075 reg = <0xfffa4000 0x4000>;
0076 interrupts = <10 4>;
0077 clocks = <&udc_clk>, <&udpck>;
0078 clock-names = "pclk", "hclk";
0079 atmel,vbus-gpio = <&pioC 5 0>;
0080 };
0081
0082 Atmel High-Speed USB device controller
0083
0084 Required properties:
0085 - compatible: Should be one of the following
0086 "atmel,at91sam9rl-udc"
0087 "atmel,at91sam9g45-udc"
0088 "atmel,sama5d3-udc"
0089 "microchip,sam9x60-udc"
0090 "microchip,lan9662-udc"
0091 For "microchip,lan9662-udc" the fallback "atmel,sama5d3-udc"
0092 is required.
0093 - reg: Address and length of the register set for the device
0094 - interrupts: Should contain usba interrupt
0095 - clocks: Should reference the peripheral and host clocks
0096 - clock-names: Should contain two strings
0097 "pclk" for the peripheral clock
0098 "hclk" for the host clock
0099
0100 Deprecated property:
0101 - ep childnode: To specify the number of endpoints and their properties.
0102
0103 Optional properties:
0104 - atmel,vbus-gpio: If present, specifies a gpio that allows to detect whether
0105 vbus is present (USB is connected).
0106
0107 Deprecated child node properties:
0108 - name: Name of the endpoint.
0109 - reg: Num of the endpoint.
0110 - atmel,fifo-size: Size of the fifo.
0111 - atmel,nb-banks: Number of banks.
0112 - atmel,can-dma: Boolean to specify if the endpoint support DMA.
0113 - atmel,can-isoc: Boolean to specify if the endpoint support ISOC.
0114
0115 usb2: gadget@fff78000 {
0116 #address-cells = <1>;
0117 #size-cells = <0>;
0118 compatible = "atmel,at91sam9rl-udc";
0119 reg = <0x00600000 0x80000
0120 0xfff78000 0x400>;
0121 interrupts = <27 4 0>;
0122 clocks = <&utmi>, <&udphs_clk>;
0123 clock-names = "hclk", "pclk";
0124 atmel,vbus-gpio = <&pioB 19 0>;
0125 };