xref: /freebsd-src/sys/contrib/device-tree/Bindings/clock/fsl,flexspi-clock.yaml (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*5def4c47SEmmanuel Vadot%YAML 1.2
3*5def4c47SEmmanuel Vadot---
4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/fsl,flexspi-clock.yaml#
5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5def4c47SEmmanuel Vadot
7*5def4c47SEmmanuel Vadottitle: Freescale FlexSPI clock driver for Layerscape SoCs
8*5def4c47SEmmanuel Vadot
9*5def4c47SEmmanuel Vadotmaintainers:
10*5def4c47SEmmanuel Vadot  - Michael Walle <michael@walle.cc>
11*5def4c47SEmmanuel Vadot
12*5def4c47SEmmanuel Vadotdescription:
13*5def4c47SEmmanuel Vadot  The Freescale Layerscape SoCs have a special FlexSPI clock which is
14*5def4c47SEmmanuel Vadot  derived from the platform PLL.
15*5def4c47SEmmanuel Vadot
16*5def4c47SEmmanuel Vadotproperties:
17*5def4c47SEmmanuel Vadot  compatible:
18*5def4c47SEmmanuel Vadot    enum:
19*5def4c47SEmmanuel Vadot      - fsl,ls1028a-flexspi-clk
20*5def4c47SEmmanuel Vadot      - fsl,lx2160a-flexspi-clk
21*5def4c47SEmmanuel Vadot
22*5def4c47SEmmanuel Vadot  reg:
23*5def4c47SEmmanuel Vadot    maxItems: 1
24*5def4c47SEmmanuel Vadot
25*5def4c47SEmmanuel Vadot  clocks:
26*5def4c47SEmmanuel Vadot    maxItems: 1
27*5def4c47SEmmanuel Vadot
28*5def4c47SEmmanuel Vadot  '#clock-cells':
29*5def4c47SEmmanuel Vadot    const: 0
30*5def4c47SEmmanuel Vadot
31*5def4c47SEmmanuel Vadot  clock-output-names:
32*5def4c47SEmmanuel Vadot    maxItems: 1
33*5def4c47SEmmanuel Vadot
34*5def4c47SEmmanuel Vadotrequired:
35*5def4c47SEmmanuel Vadot  - compatible
36*5def4c47SEmmanuel Vadot  - reg
37*5def4c47SEmmanuel Vadot  - clocks
38*5def4c47SEmmanuel Vadot  - '#clock-cells'
39*5def4c47SEmmanuel Vadot
40*5def4c47SEmmanuel VadotadditionalProperties: false
41*5def4c47SEmmanuel Vadot
42*5def4c47SEmmanuel Vadotexamples:
43*5def4c47SEmmanuel Vadot  - |
44*5def4c47SEmmanuel Vadot    dcfg {
45*5def4c47SEmmanuel Vadot        #address-cells = <1>;
46*5def4c47SEmmanuel Vadot        #size-cells = <1>;
47*5def4c47SEmmanuel Vadot
48*5def4c47SEmmanuel Vadot        fspi_clk: clock-controller@900 {
49*5def4c47SEmmanuel Vadot            compatible = "fsl,ls1028a-flexspi-clk";
50*5def4c47SEmmanuel Vadot            reg = <0x900 0x4>;
51*5def4c47SEmmanuel Vadot            #clock-cells = <0>;
52*5def4c47SEmmanuel Vadot            clocks = <&parentclk>;
53*5def4c47SEmmanuel Vadot            clock-output-names = "fspi_clk";
54*5def4c47SEmmanuel Vadot        };
55*5def4c47SEmmanuel Vadot    };
56