0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/clock/fsl,flexspi-clock.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Freescale FlexSPI clock driver for Layerscape SoCs
0008
0009 maintainers:
0010 - Michael Walle <michael@walle.cc>
0011
0012 description:
0013 The Freescale Layerscape SoCs have a special FlexSPI clock which is
0014 derived from the platform PLL.
0015
0016 properties:
0017 compatible:
0018 enum:
0019 - fsl,ls1028a-flexspi-clk
0020 - fsl,lx2160a-flexspi-clk
0021
0022 reg:
0023 maxItems: 1
0024
0025 clocks:
0026 maxItems: 1
0027
0028 '#clock-cells':
0029 const: 0
0030
0031 clock-output-names:
0032 maxItems: 1
0033
0034 required:
0035 - compatible
0036 - reg
0037 - clocks
0038 - '#clock-cells'
0039
0040 additionalProperties: false
0041
0042 examples:
0043 - |
0044 dcfg {
0045 #address-cells = <1>;
0046 #size-cells = <1>;
0047
0048 fspi_clk: clock-controller@900 {
0049 compatible = "fsl,ls1028a-flexspi-clk";
0050 reg = <0x900 0x4>;
0051 #clock-cells = <0>;
0052 clocks = <&parentclk>;
0053 clock-output-names = "fspi_clk";
0054 };
0055 };