Back to home page

OSCL-LXR

 
 

    


0001 OCTEON/OCTEON+ USB BLOCK
0002 
0003 1) Main node
0004 
0005    Required properties:
0006 
0007    - compatible: must be "cavium,octeon-5750-usbn"
0008 
0009    - reg: specifies the physical base address of the USBN block and
0010      the length of the memory mapped region.
0011 
0012    - #address-cells: specifies the number of cells needed to encode an
0013      address. The value must be 2.
0014 
0015    - #size-cells: specifies the number of cells used to represent the size
0016      of an address. The value must be 2.
0017 
0018    - ranges: specifies the translation between child address space and parent
0019      address space.
0020 
0021    - clock-frequency: speed of the USB reference clock. Allowed values are
0022      12000000, 24000000 or 48000000.
0023 
0024    - cavium,refclk-type: type of the USB reference clock. Allowed values are
0025      "crystal" or "external".
0026 
0027    - refclk-frequency: deprecated, use "clock-frequency".
0028 
0029    - refclk-type: deprecated, use "cavium,refclk-type".
0030 
0031 2) Child node
0032 
0033    The main node must have one child node which describes the built-in
0034    USB controller.
0035 
0036    Required properties:
0037 
0038    - compatible: must be "cavium,octeon-5750-usbc"
0039 
0040    - reg: specifies the physical base address of the USBC block and
0041      the length of the memory mapped region.
0042 
0043    - interrupts: specifies the interrupt number for the USB controller.
0044 
0045 3) Example:
0046 
0047         usbn: usbn@1180068000000 {
0048                 compatible = "cavium,octeon-5750-usbn";
0049                 reg = <0x11800 0x68000000 0x0 0x1000>;
0050                 ranges; /* Direct mapping */
0051                 #address-cells = <2>;
0052                 #size-cells = <2>;
0053                 clock-frequency = <12000000>;
0054                 cavium,refclk-type = "crystal";
0055 
0056                 usbc@16f0010000000 {
0057                         compatible = "cavium,octeon-5750-usbc";
0058                         reg = <0x16f00 0x10000000 0x0 0x80000>;
0059                         interrupts = <0 56>;
0060                 };
0061         };
0062