1b97ee269SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2b97ee269SEmmanuel Vadot# Copyright 2022 Unisoc Inc. 3b97ee269SEmmanuel Vadot%YAML 1.2 4b97ee269SEmmanuel Vadot--- 5*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/sprd,ums512-clk.yaml# 6*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 7b97ee269SEmmanuel Vadot 8b97ee269SEmmanuel Vadottitle: UMS512 Soc clock controller 9b97ee269SEmmanuel Vadot 10b97ee269SEmmanuel Vadotmaintainers: 11b97ee269SEmmanuel Vadot - Orson Zhai <orsonzhai@gmail.com> 12b97ee269SEmmanuel Vadot - Baolin Wang <baolin.wang7@gmail.com> 13b97ee269SEmmanuel Vadot - Chunyan Zhang <zhang.lyra@gmail.com> 14b97ee269SEmmanuel Vadot 15b97ee269SEmmanuel Vadotproperties: 16b97ee269SEmmanuel Vadot compatible: 17b97ee269SEmmanuel Vadot enum: 18b97ee269SEmmanuel Vadot - sprd,ums512-apahb-gate 19b97ee269SEmmanuel Vadot - sprd,ums512-ap-clk 20b97ee269SEmmanuel Vadot - sprd,ums512-aonapb-clk 21b97ee269SEmmanuel Vadot - sprd,ums512-pmu-gate 22b97ee269SEmmanuel Vadot - sprd,ums512-g0-pll 23b97ee269SEmmanuel Vadot - sprd,ums512-g2-pll 24b97ee269SEmmanuel Vadot - sprd,ums512-g3-pll 25b97ee269SEmmanuel Vadot - sprd,ums512-gc-pll 26b97ee269SEmmanuel Vadot - sprd,ums512-aon-gate 27b97ee269SEmmanuel Vadot - sprd,ums512-audcpapb-gate 28b97ee269SEmmanuel Vadot - sprd,ums512-audcpahb-gate 29b97ee269SEmmanuel Vadot - sprd,ums512-gpu-clk 30b97ee269SEmmanuel Vadot - sprd,ums512-mm-clk 31b97ee269SEmmanuel Vadot - sprd,ums512-mm-gate-clk 32b97ee269SEmmanuel Vadot - sprd,ums512-apapb-gate 33b97ee269SEmmanuel Vadot 34b97ee269SEmmanuel Vadot "#clock-cells": 35b97ee269SEmmanuel Vadot const: 1 36b97ee269SEmmanuel Vadot 37b97ee269SEmmanuel Vadot clocks: 38b97ee269SEmmanuel Vadot minItems: 1 39b97ee269SEmmanuel Vadot maxItems: 4 40b97ee269SEmmanuel Vadot description: | 41b97ee269SEmmanuel Vadot The input parent clock(s) phandle for the clock, only list 42b97ee269SEmmanuel Vadot fixed clocks which are declared in devicetree. 43b97ee269SEmmanuel Vadot 44b97ee269SEmmanuel Vadot clock-names: 45b97ee269SEmmanuel Vadot minItems: 1 46b97ee269SEmmanuel Vadot items: 47b97ee269SEmmanuel Vadot - const: ext-26m 48b97ee269SEmmanuel Vadot - const: ext-32k 49b97ee269SEmmanuel Vadot - const: ext-4m 50b97ee269SEmmanuel Vadot - const: rco-100m 51b97ee269SEmmanuel Vadot 52b97ee269SEmmanuel Vadot reg: 53b97ee269SEmmanuel Vadot maxItems: 1 54b97ee269SEmmanuel Vadot 55b97ee269SEmmanuel Vadotrequired: 56b97ee269SEmmanuel Vadot - compatible 57b97ee269SEmmanuel Vadot - '#clock-cells' 58b97ee269SEmmanuel Vadot - reg 59b97ee269SEmmanuel Vadot 60b97ee269SEmmanuel VadotadditionalProperties: false 61b97ee269SEmmanuel Vadot 62b97ee269SEmmanuel Vadotexamples: 63b97ee269SEmmanuel Vadot - | 64b97ee269SEmmanuel Vadot ap_clk: clock-controller@20200000 { 65b97ee269SEmmanuel Vadot compatible = "sprd,ums512-ap-clk"; 66b97ee269SEmmanuel Vadot reg = <0x20200000 0x1000>; 67b97ee269SEmmanuel Vadot clocks = <&ext_26m>; 68b97ee269SEmmanuel Vadot clock-names = "ext-26m"; 69b97ee269SEmmanuel Vadot #clock-cells = <1>; 70b97ee269SEmmanuel Vadot }; 71b97ee269SEmmanuel Vadot... 72