xref: /freebsd/sys/contrib/device-tree/Bindings/clock/fsl,qoriq-clock-legacy.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*0e8011faSEmmanuel Vadot%YAML 1.2
3*0e8011faSEmmanuel Vadot---
4*0e8011faSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/fsl,qoriq-clock-legacy.yaml#
5*0e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*0e8011faSEmmanuel Vadot
7*0e8011faSEmmanuel Vadottitle: Legacy Clock Block on Freescale QorIQ Platforms
8*0e8011faSEmmanuel Vadot
9*0e8011faSEmmanuel Vadotmaintainers:
10*0e8011faSEmmanuel Vadot  - Frank Li <Frank.Li@nxp.com>
11*0e8011faSEmmanuel Vadot
12*0e8011faSEmmanuel Vadotdescription: |
13*0e8011faSEmmanuel Vadot  These nodes are deprecated.  Kernels should continue to support
14*0e8011faSEmmanuel Vadot  device trees with these nodes, but new device trees should not use them.
15*0e8011faSEmmanuel Vadot
16*0e8011faSEmmanuel Vadot  Most of the bindings are from the common clock binding[1].
17*0e8011faSEmmanuel Vadot  [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
18*0e8011faSEmmanuel Vadot
19*0e8011faSEmmanuel Vadotproperties:
20*0e8011faSEmmanuel Vadot  compatible:
21*0e8011faSEmmanuel Vadot    enum:
22*0e8011faSEmmanuel Vadot      - fsl,qoriq-core-pll-1.0
23*0e8011faSEmmanuel Vadot      - fsl,qoriq-core-pll-2.0
24*0e8011faSEmmanuel Vadot      - fsl,qoriq-core-mux-1.0
25*0e8011faSEmmanuel Vadot      - fsl,qoriq-core-mux-2.0
26*0e8011faSEmmanuel Vadot      - fsl,qoriq-sysclk-1.0
27*0e8011faSEmmanuel Vadot      - fsl,qoriq-sysclk-2.0
28*0e8011faSEmmanuel Vadot      - fsl,qoriq-platform-pll-1.0
29*0e8011faSEmmanuel Vadot      - fsl,qoriq-platform-pll-2.0
30*0e8011faSEmmanuel Vadot
31*0e8011faSEmmanuel Vadot  reg:
32*0e8011faSEmmanuel Vadot    maxItems: 1
33*0e8011faSEmmanuel Vadot
34*0e8011faSEmmanuel Vadot  clocks:
35*0e8011faSEmmanuel Vadot    minItems: 1
36*0e8011faSEmmanuel Vadot    maxItems: 4
37*0e8011faSEmmanuel Vadot
38*0e8011faSEmmanuel Vadot  clock-names:
39*0e8011faSEmmanuel Vadot    minItems: 1
40*0e8011faSEmmanuel Vadot    maxItems: 4
41*0e8011faSEmmanuel Vadot
42*0e8011faSEmmanuel Vadot  clock-output-names:
43*0e8011faSEmmanuel Vadot    minItems: 1
44*0e8011faSEmmanuel Vadot    maxItems: 8
45*0e8011faSEmmanuel Vadot
46*0e8011faSEmmanuel Vadot  '#clock-cells':
47*0e8011faSEmmanuel Vadot    minimum: 0
48*0e8011faSEmmanuel Vadot    maximum: 1
49*0e8011faSEmmanuel Vadot
50*0e8011faSEmmanuel Vadotrequired:
51*0e8011faSEmmanuel Vadot  - compatible
52*0e8011faSEmmanuel Vadot  - '#clock-cells'
53*0e8011faSEmmanuel Vadot
54*0e8011faSEmmanuel VadotadditionalProperties: false
55*0e8011faSEmmanuel Vadot
56*0e8011faSEmmanuel VadotallOf:
57*0e8011faSEmmanuel Vadot  - if:
58*0e8011faSEmmanuel Vadot      properties:
59*0e8011faSEmmanuel Vadot        compatible:
60*0e8011faSEmmanuel Vadot          contains:
61*0e8011faSEmmanuel Vadot            enum:
62*0e8011faSEmmanuel Vadot              - fsl,qoriq-sysclk-1.0
63*0e8011faSEmmanuel Vadot              - fsl,qoriq-sysclk-2.0
64*0e8011faSEmmanuel Vadot    then:
65*0e8011faSEmmanuel Vadot      properties:
66*0e8011faSEmmanuel Vadot        '#clock-cells':
67*0e8011faSEmmanuel Vadot          const: 0
68*0e8011faSEmmanuel Vadot
69*0e8011faSEmmanuel Vadot  - if:
70*0e8011faSEmmanuel Vadot      properties:
71*0e8011faSEmmanuel Vadot        compatible:
72*0e8011faSEmmanuel Vadot          contains:
73*0e8011faSEmmanuel Vadot            enum:
74*0e8011faSEmmanuel Vadot              - fsl,qoriq-core-pll-1.0
75*0e8011faSEmmanuel Vadot              - fsl,qoriq-core-pll-2.0
76*0e8011faSEmmanuel Vadot    then:
77*0e8011faSEmmanuel Vadot      properties:
78*0e8011faSEmmanuel Vadot        '#clock-cells':
79*0e8011faSEmmanuel Vadot          const: 1
80*0e8011faSEmmanuel Vadot          description: |
81*0e8011faSEmmanuel Vadot            * 0 - equal to the PLL frequency
82*0e8011faSEmmanuel Vadot            * 1 - equal to the PLL frequency divided by 2
83*0e8011faSEmmanuel Vadot            * 2 - equal to the PLL frequency divided by 4
84*0e8011faSEmmanuel Vadot
85