1*c66ec88fSEmmanuel VadotOCTEON/OCTEON+ USB BLOCK 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel Vadot1) Main node 4*c66ec88fSEmmanuel Vadot 5*c66ec88fSEmmanuel Vadot Required properties: 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadot - compatible: must be "cavium,octeon-5750-usbn" 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadot - reg: specifies the physical base address of the USBN block and 10*c66ec88fSEmmanuel Vadot the length of the memory mapped region. 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel Vadot - #address-cells: specifies the number of cells needed to encode an 13*c66ec88fSEmmanuel Vadot address. The value must be 2. 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadot - #size-cells: specifies the number of cells used to represent the size 16*c66ec88fSEmmanuel Vadot of an address. The value must be 2. 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel Vadot - ranges: specifies the translation between child address space and parent 19*c66ec88fSEmmanuel Vadot address space. 20*c66ec88fSEmmanuel Vadot 21*c66ec88fSEmmanuel Vadot - clock-frequency: speed of the USB reference clock. Allowed values are 22*c66ec88fSEmmanuel Vadot 12000000, 24000000 or 48000000. 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel Vadot - cavium,refclk-type: type of the USB reference clock. Allowed values are 25*c66ec88fSEmmanuel Vadot "crystal" or "external". 26*c66ec88fSEmmanuel Vadot 27*c66ec88fSEmmanuel Vadot - refclk-frequency: deprecated, use "clock-frequency". 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel Vadot - refclk-type: deprecated, use "cavium,refclk-type". 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel Vadot2) Child node 32*c66ec88fSEmmanuel Vadot 33*c66ec88fSEmmanuel Vadot The main node must have one child node which describes the built-in 34*c66ec88fSEmmanuel Vadot USB controller. 35*c66ec88fSEmmanuel Vadot 36*c66ec88fSEmmanuel Vadot Required properties: 37*c66ec88fSEmmanuel Vadot 38*c66ec88fSEmmanuel Vadot - compatible: must be "cavium,octeon-5750-usbc" 39*c66ec88fSEmmanuel Vadot 40*c66ec88fSEmmanuel Vadot - reg: specifies the physical base address of the USBC block and 41*c66ec88fSEmmanuel Vadot the length of the memory mapped region. 42*c66ec88fSEmmanuel Vadot 43*c66ec88fSEmmanuel Vadot - interrupts: specifies the interrupt number for the USB controller. 44*c66ec88fSEmmanuel Vadot 45*c66ec88fSEmmanuel Vadot3) Example: 46*c66ec88fSEmmanuel Vadot 47*c66ec88fSEmmanuel Vadot usbn: usbn@1180068000000 { 48*c66ec88fSEmmanuel Vadot compatible = "cavium,octeon-5750-usbn"; 49*c66ec88fSEmmanuel Vadot reg = <0x11800 0x68000000 0x0 0x1000>; 50*c66ec88fSEmmanuel Vadot ranges; /* Direct mapping */ 51*c66ec88fSEmmanuel Vadot #address-cells = <2>; 52*c66ec88fSEmmanuel Vadot #size-cells = <2>; 53*c66ec88fSEmmanuel Vadot clock-frequency = <12000000>; 54*c66ec88fSEmmanuel Vadot cavium,refclk-type = "crystal"; 55*c66ec88fSEmmanuel Vadot 56*c66ec88fSEmmanuel Vadot usbc@16f0010000000 { 57*c66ec88fSEmmanuel Vadot compatible = "cavium,octeon-5750-usbc"; 58*c66ec88fSEmmanuel Vadot reg = <0x16f00 0x10000000 0x0 0x80000>; 59*c66ec88fSEmmanuel Vadot interrupts = <0 56>; 60*c66ec88fSEmmanuel Vadot }; 61*c66ec88fSEmmanuel Vadot }; 62*c66ec88fSEmmanuel Vadot 63