xref: /freebsd/sys/contrib/device-tree/Bindings/mips/cavium/uctl.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* UCTL USB controller glue
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotProperties:
4*c66ec88fSEmmanuel Vadot- compatible: "cavium,octeon-6335-uctl"
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel Vadot  Compatibility with all cn6XXX SOCs.
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot- reg: The base address of the UCTL register bank.
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot- #address-cells: Must be <2>.
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot- #size-cells: Must be <2>.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot- ranges: Empty to signify direct mapping of the children.
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot- refclk-frequency: A single cell containing the reference clock
17*c66ec88fSEmmanuel Vadot  frequency in Hz.
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot- refclk-type: A string describing the reference clock connection
20*c66ec88fSEmmanuel Vadot  either "crystal" or "external".
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel VadotExample:
23*c66ec88fSEmmanuel Vadot	uctl@118006f000000 {
24*c66ec88fSEmmanuel Vadot		compatible = "cavium,octeon-6335-uctl";
25*c66ec88fSEmmanuel Vadot		reg = <0x11800 0x6f000000 0x0 0x100>;
26*c66ec88fSEmmanuel Vadot		ranges; /* Direct mapping */
27*c66ec88fSEmmanuel Vadot		#address-cells = <2>;
28*c66ec88fSEmmanuel Vadot		#size-cells = <2>;
29*c66ec88fSEmmanuel Vadot		/* 12MHz, 24MHz and 48MHz allowed */
30*c66ec88fSEmmanuel Vadot		refclk-frequency = <24000000>;
31*c66ec88fSEmmanuel Vadot		/* Either "crystal" or "external" */
32*c66ec88fSEmmanuel Vadot		refclk-type = "crystal";
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel Vadot		ehci@16f0000000000 {
35*c66ec88fSEmmanuel Vadot			compatible = "cavium,octeon-6335-ehci","usb-ehci";
36*c66ec88fSEmmanuel Vadot			reg = <0x16f00 0x00000000 0x0 0x100>;
37*c66ec88fSEmmanuel Vadot			interrupts = <0 56>;
38*c66ec88fSEmmanuel Vadot			big-endian-regs;
39*c66ec88fSEmmanuel Vadot		};
40*c66ec88fSEmmanuel Vadot		ohci@16f0000000400 {
41*c66ec88fSEmmanuel Vadot			compatible = "cavium,octeon-6335-ohci","usb-ohci";
42*c66ec88fSEmmanuel Vadot			reg = <0x16f00 0x00000400 0x0 0x100>;
43*c66ec88fSEmmanuel Vadot			interrupts = <0 56>;
44*c66ec88fSEmmanuel Vadot			big-endian-regs;
45*c66ec88fSEmmanuel Vadot		};
46*c66ec88fSEmmanuel Vadot	};
47