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