xref: /freebsd/sys/contrib/device-tree/Bindings/clock/ti/ti,interface-clock.yaml (revision 5f62a964e9f8abc6a05d8338273fadd154f0a206)
1*5f62a964SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only
2*5f62a964SEmmanuel Vadot%YAML 1.2
3*5f62a964SEmmanuel Vadot---
4*5f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/ti/ti,interface-clock.yaml#
5*5f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5f62a964SEmmanuel Vadot
7*5f62a964SEmmanuel Vadottitle: Texas Instruments interface clock.
8*5f62a964SEmmanuel Vadot
9*5f62a964SEmmanuel Vadotmaintainers:
10*5f62a964SEmmanuel Vadot  - Tero Kristo <kristo@kernel.org>
11*5f62a964SEmmanuel Vadot
12*5f62a964SEmmanuel Vadotdescription: |
13*5f62a964SEmmanuel Vadot  This clock is quite much similar to the basic gate-clock[1], however,
14*5f62a964SEmmanuel Vadot  it supports a number of additional features, including
15*5f62a964SEmmanuel Vadot  companion clock finding (match corresponding functional gate
16*5f62a964SEmmanuel Vadot  clock) and hardware autoidle enable / disable.
17*5f62a964SEmmanuel Vadot
18*5f62a964SEmmanuel Vadot  [1] Documentation/devicetree/bindings/clock/gpio-gate-clock.yaml
19*5f62a964SEmmanuel Vadot
20*5f62a964SEmmanuel Vadotproperties:
21*5f62a964SEmmanuel Vadot  compatible:
22*5f62a964SEmmanuel Vadot    enum:
23*5f62a964SEmmanuel Vadot      - ti,omap3-interface-clock           # basic OMAP3 interface clock
24*5f62a964SEmmanuel Vadot      - ti,omap3-no-wait-interface-clock   # interface clock which has no hardware
25*5f62a964SEmmanuel Vadot                                           # capability for waiting clock to be ready
26*5f62a964SEmmanuel Vadot      - ti,omap3-hsotgusb-interface-clock  # interface clock with USB specific HW handling
27*5f62a964SEmmanuel Vadot      - ti,omap3-dss-interface-clock       # interface clock with DSS specific HW handling
28*5f62a964SEmmanuel Vadot      - ti,omap3-ssi-interface-clock       # interface clock with SSI specific HW handling
29*5f62a964SEmmanuel Vadot      - ti,am35xx-interface-clock          # interface clock with AM35xx specific HW handling
30*5f62a964SEmmanuel Vadot      - ti,omap2430-interface-clock        # interface clock with OMAP2430 specific HW handling
31*5f62a964SEmmanuel Vadot
32*5f62a964SEmmanuel Vadot  "#clock-cells":
33*5f62a964SEmmanuel Vadot    const: 0
34*5f62a964SEmmanuel Vadot
35*5f62a964SEmmanuel Vadot  clocks:
36*5f62a964SEmmanuel Vadot    maxItems: 1
37*5f62a964SEmmanuel Vadot
38*5f62a964SEmmanuel Vadot  clock-output-names:
39*5f62a964SEmmanuel Vadot    maxItems: 1
40*5f62a964SEmmanuel Vadot
41*5f62a964SEmmanuel Vadot  reg:
42*5f62a964SEmmanuel Vadot    maxItems: 1
43*5f62a964SEmmanuel Vadot
44*5f62a964SEmmanuel Vadot  ti,bit-shift:
45*5f62a964SEmmanuel Vadot    description:
46*5f62a964SEmmanuel Vadot      bit shift for the bit enabling/disabling the clock
47*5f62a964SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
48*5f62a964SEmmanuel Vadot    default: 0
49*5f62a964SEmmanuel Vadot    maximum: 31
50*5f62a964SEmmanuel Vadot
51*5f62a964SEmmanuel Vadotrequired:
52*5f62a964SEmmanuel Vadot  - compatible
53*5f62a964SEmmanuel Vadot  - clocks
54*5f62a964SEmmanuel Vadot  - '#clock-cells'
55*5f62a964SEmmanuel Vadot  - reg
56*5f62a964SEmmanuel Vadot
57*5f62a964SEmmanuel VadotadditionalProperties: false
58*5f62a964SEmmanuel Vadot
59*5f62a964SEmmanuel Vadotexamples:
60*5f62a964SEmmanuel Vadot  - |
61*5f62a964SEmmanuel Vadot    bus {
62*5f62a964SEmmanuel Vadot      #address-cells = <1>;
63*5f62a964SEmmanuel Vadot      #size-cells = <0>;
64*5f62a964SEmmanuel Vadot
65*5f62a964SEmmanuel Vadot      aes1_ick: clock-controller@3 {
66*5f62a964SEmmanuel Vadot        #clock-cells = <0>;
67*5f62a964SEmmanuel Vadot        compatible = "ti,omap3-interface-clock";
68*5f62a964SEmmanuel Vadot        clocks = <&security_l4_ick2>;
69*5f62a964SEmmanuel Vadot        reg = <3>;
70*5f62a964SEmmanuel Vadot      };
71*5f62a964SEmmanuel Vadot    };
72