xref: /openbmc/linux/Documentation/devicetree/bindings/clock/nuvoton,npcm845-clk.yaml (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
108e95044STomer Maimon# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
208e95044STomer Maimon%YAML 1.2
308e95044STomer Maimon---
408e95044STomer Maimon$id: http://devicetree.org/schemas/clock/nuvoton,npcm845-clk.yaml#
508e95044STomer Maimon$schema: http://devicetree.org/meta-schemas/core.yaml#
608e95044STomer Maimon
7*84e85359SKrzysztof Kozlowskititle: Nuvoton NPCM8XX Clock Controller
808e95044STomer Maimon
908e95044STomer Maimonmaintainers:
1008e95044STomer Maimon  - Tomer Maimon <tmaimon77@gmail.com>
1108e95044STomer Maimon
1208e95044STomer Maimondescription: |
1308e95044STomer Maimon  Nuvoton Arbel BMC NPCM8XX contains an integrated clock controller, which
1408e95044STomer Maimon  generates and supplies clocks to all modules within the BMC.
1508e95044STomer Maimon
1608e95044STomer Maimonproperties:
1708e95044STomer Maimon  compatible:
1808e95044STomer Maimon    enum:
1908e95044STomer Maimon      - nuvoton,npcm845-clk
2008e95044STomer Maimon
2108e95044STomer Maimon  reg:
2208e95044STomer Maimon    maxItems: 1
2308e95044STomer Maimon
2408e95044STomer Maimon  '#clock-cells':
2508e95044STomer Maimon    const: 1
2608e95044STomer Maimon    description:
2708e95044STomer Maimon      See include/dt-bindings/clock/nuvoton,npcm8xx-clock.h for the full
2808e95044STomer Maimon      list of NPCM8XX clock IDs.
2908e95044STomer Maimon
3008e95044STomer Maimonrequired:
3108e95044STomer Maimon  - compatible
3208e95044STomer Maimon  - reg
3308e95044STomer Maimon  - '#clock-cells'
3408e95044STomer Maimon
3508e95044STomer MaimonadditionalProperties: false
3608e95044STomer Maimon
3708e95044STomer Maimonexamples:
3808e95044STomer Maimon  - |
3908e95044STomer Maimon    ahb {
4008e95044STomer Maimon        #address-cells = <2>;
4108e95044STomer Maimon        #size-cells = <2>;
4208e95044STomer Maimon
4308e95044STomer Maimon        clock-controller@f0801000 {
4408e95044STomer Maimon            compatible = "nuvoton,npcm845-clk";
4508e95044STomer Maimon            reg = <0x0 0xf0801000 0x0 0x1000>;
4608e95044STomer Maimon            #clock-cells = <1>;
4708e95044STomer Maimon        };
4808e95044STomer Maimon    };
4908e95044STomer Maimon...
50