Documentation / devicetree / bindings / clock / nuvoton,npcm750-clk.yaml


Based on kernel version 6.17. Page generated on 2025-10-03 10:03 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 56 57 58 59 60 61 62 63 64 65 66
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/nuvoton,npcm750-clk.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Nuvoton NPCM7XX Clock Controller

maintainers:
  - Tali Perry <tali.perry1@gmail.com>

description: >
  Nuvoton Poleg BMC NPCM7XX contains an integrated clock controller, which
  generates and supplies clocks to all modules within the BMC.
 
  External clocks:
 
  There are six fixed clocks that are generated outside the BMC. All clocks are of
  a known fixed value that cannot be changed. clk_refclk, clk_mcbypck and
  clk_sysbypck are inputs to the clock controller.
  clk_rg1refck, clk_rg2refck and clk_xin are external clocks suppling the
  network. They are set on the device tree, but not used by the clock module. The
  network devices use them directly.
 
  All available clocks are defined as preprocessor macros in:
  dt-bindings/clock/nuvoton,npcm7xx-clock.h
  and can be reused as DT sources.

properties:
  compatible:
    const: nuvoton,npcm750-clk

  reg:
    maxItems: 1
 
  '#clock-cells':
    const: 1

  clock-names:
    items:
      - const: refclk
      - const: sysbypck
      - const: mcbypck

  clocks:
    items:
      - description: refclk
      - description: sysbypck
      - description: mcbypck

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

additionalProperties: false

examples:
  - |
    clock-controller@f0801000 {
        compatible = "nuvoton,npcm750-clk";
        #clock-cells = <1>;
        reg = <0xf0801000 0x1000>;
        clock-names = "refclk", "sysbypck", "mcbypck";
        clocks = <&clk_refclk>, <&clk_sysbypck>, <&clk_mcbypck>;
    };