Path: blob/master/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml
26309 views
# SPDX-License-Identifier: GPL-2.01%YAML 1.22---3$id: http://devicetree.org/schemas/arm/altera/socfpga-clk-manager.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Altera SOCFPGA Clock Manager78maintainers:9- Dinh Nguyen <dinguyen@kernel.org>1011description:12This binding describes the Altera SOCFGPA Clock Manager and its associated13tree of clocks, pll's, and clock gates for the Cyclone5, Arria5 and Arria1014chip families.1516properties:17compatible:18items:19- const: altr,clk-mgr2021reg:22maxItems: 12324clocks:25type: object26additionalProperties: false2728properties:29"#address-cells":30const: 13132"#size-cells":33const: 03435patternProperties:36"^osc[0-9]$":37type: object3839"^[a-z0-9,_]+(clk|pll|clk_gate|clk_divided)(@[a-f0-9]+)?$":40type: object41$ref: '#/$defs/clock-props'42unevaluatedProperties: false4344properties:45compatible:46enum:47- altr,socfpga-pll-clock48- altr,socfpga-perip-clk49- altr,socfpga-gate-clk50- altr,socfpga-a10-pll-clock51- altr,socfpga-a10-perip-clk52- altr,socfpga-a10-gate-clk53- fixed-clock5455clocks:56description: one or more phandles to input clock57minItems: 158maxItems: 55960"#address-cells":61const: 16263"#size-cells":64const: 06566patternProperties:67"^[a-z0-9,_]+(clk|pll)(@[a-f0-9]+)?$":68type: object69$ref: '#/$defs/clock-props'70unevaluatedProperties: false7172properties:73compatible:74enum:75- altr,socfpga-perip-clk76- altr,socfpga-gate-clk77- altr,socfpga-a10-perip-clk78- altr,socfpga-a10-gate-clk7980clocks:81description: one or more phandles to input clock82minItems: 183maxItems: 48485required:86- compatible87- clocks88- "#clock-cells"8990required:91- compatible92- "#clock-cells"9394required:95- compatible96- reg9798additionalProperties: false99100$defs:101clock-props:102properties:103reg:104maxItems: 1105106"#clock-cells":107const: 0108109clk-gate:110$ref: /schemas/types.yaml#/definitions/uint32-array111items:112- description: gating register offset113- description: bit index114115div-reg:116$ref: /schemas/types.yaml#/definitions/uint32-array117items:118- description: divider register offset119- description: bit shift120- description: bit width121122fixed-divider:123$ref: /schemas/types.yaml#/definitions/uint32124125examples:126- |127clkmgr@ffd04000 {128compatible = "altr,clk-mgr";129reg = <0xffd04000 0x1000>;130};131132...133134135