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