1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*833e5d42SEmmanuel Vadot%YAML 1.2 3*833e5d42SEmmanuel Vadot--- 4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/nuvoton,npcm750-clk.yaml# 5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*833e5d42SEmmanuel Vadot 7*833e5d42SEmmanuel Vadottitle: Nuvoton NPCM7XX Clock Controller 8*833e5d42SEmmanuel Vadot 9*833e5d42SEmmanuel Vadotmaintainers: 10*833e5d42SEmmanuel Vadot - Tali Perry <tali.perry1@gmail.com> 11*833e5d42SEmmanuel Vadot 12*833e5d42SEmmanuel Vadotdescription: > 13*833e5d42SEmmanuel Vadot Nuvoton Poleg BMC NPCM7XX contains an integrated clock controller, which 14*833e5d42SEmmanuel Vadot generates and supplies clocks to all modules within the BMC. 15*833e5d42SEmmanuel Vadot 16*833e5d42SEmmanuel Vadot External clocks: 17*833e5d42SEmmanuel Vadot 18*833e5d42SEmmanuel Vadot There are six fixed clocks that are generated outside the BMC. All clocks are of 19*833e5d42SEmmanuel Vadot a known fixed value that cannot be changed. clk_refclk, clk_mcbypck and 20*833e5d42SEmmanuel Vadot clk_sysbypck are inputs to the clock controller. 21*833e5d42SEmmanuel Vadot clk_rg1refck, clk_rg2refck and clk_xin are external clocks suppling the 22*833e5d42SEmmanuel Vadot network. They are set on the device tree, but not used by the clock module. The 23*833e5d42SEmmanuel Vadot network devices use them directly. 24*833e5d42SEmmanuel Vadot 25*833e5d42SEmmanuel Vadot All available clocks are defined as preprocessor macros in: 26*833e5d42SEmmanuel Vadot dt-bindings/clock/nuvoton,npcm7xx-clock.h 27*833e5d42SEmmanuel Vadot and can be reused as DT sources. 28*833e5d42SEmmanuel Vadot 29*833e5d42SEmmanuel Vadotproperties: 30*833e5d42SEmmanuel Vadot compatible: 31*833e5d42SEmmanuel Vadot const: nuvoton,npcm750-clk 32*833e5d42SEmmanuel Vadot 33*833e5d42SEmmanuel Vadot reg: 34*833e5d42SEmmanuel Vadot maxItems: 1 35*833e5d42SEmmanuel Vadot 36*833e5d42SEmmanuel Vadot '#clock-cells': 37*833e5d42SEmmanuel Vadot const: 1 38*833e5d42SEmmanuel Vadot 39*833e5d42SEmmanuel Vadot clock-names: 40*833e5d42SEmmanuel Vadot items: 41*833e5d42SEmmanuel Vadot - const: refclk 42*833e5d42SEmmanuel Vadot - const: sysbypck 43*833e5d42SEmmanuel Vadot - const: mcbypck 44*833e5d42SEmmanuel Vadot 45*833e5d42SEmmanuel Vadot clocks: 46*833e5d42SEmmanuel Vadot items: 47*833e5d42SEmmanuel Vadot - description: refclk 48*833e5d42SEmmanuel Vadot - description: sysbypck 49*833e5d42SEmmanuel Vadot - description: mcbypck 50*833e5d42SEmmanuel Vadot 51*833e5d42SEmmanuel Vadotrequired: 52*833e5d42SEmmanuel Vadot - compatible 53*833e5d42SEmmanuel Vadot - reg 54*833e5d42SEmmanuel Vadot - '#clock-cells' 55*833e5d42SEmmanuel Vadot 56*833e5d42SEmmanuel VadotadditionalProperties: false 57*833e5d42SEmmanuel Vadot 58*833e5d42SEmmanuel Vadotexamples: 59*833e5d42SEmmanuel Vadot - | 60*833e5d42SEmmanuel Vadot clock-controller@f0801000 { 61*833e5d42SEmmanuel Vadot compatible = "nuvoton,npcm750-clk"; 62*833e5d42SEmmanuel Vadot #clock-cells = <1>; 63*833e5d42SEmmanuel Vadot reg = <0xf0801000 0x1000>; 64*833e5d42SEmmanuel Vadot clock-names = "refclk", "sysbypck", "mcbypck"; 65*833e5d42SEmmanuel Vadot clocks = <&clk_refclk>, <&clk_sysbypck>, <&clk_mcbypck>; 66*833e5d42SEmmanuel Vadot }; 67