Documentation / devicetree / bindings / clock / fsl,flexspi-clock.yaml


Based on kernel version 6.11. Page generated on 2024-09-24 08:21 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/fsl,flexspi-clock.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale FlexSPI clock driver for Layerscape SoCs

maintainers:
  - Michael Walle <michael@walle.cc>

description:
  The Freescale Layerscape SoCs have a special FlexSPI clock which is
  derived from the platform PLL.

properties:
  compatible:
    enum:
      - fsl,ls1028a-flexspi-clk
      - fsl,lx2160a-flexspi-clk

  reg:
    maxItems: 1

  clocks:
    maxItems: 1
 
  '#clock-cells':
    const: 0

  clock-output-names:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks
  - '#clock-cells'

additionalProperties: false

examples:
  - |
    dcfg {
        #address-cells = <1>;
        #size-cells = <1>;
 
        fspi_clk: clock-controller@900 {
            compatible = "fsl,ls1028a-flexspi-clk";
            reg = <0x900 0x4>;
            #clock-cells = <0>;
            clocks = <&parentclk>;
            clock-output-names = "fspi_clk";
        };
    };