xref: /freebsd/sys/contrib/device-tree/Bindings/clock/hisilicon,hi3559av100-clock.yaml (revision 5956d97f4b3204318ceb6aa9c77bd0bc6ea87a41)
1*5956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*5956d97fSEmmanuel Vadot%YAML 1.2
3*5956d97fSEmmanuel Vadot---
4*5956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/hisilicon,hi3559av100-clock.yaml#
5*5956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5956d97fSEmmanuel Vadot
7*5956d97fSEmmanuel Vadottitle: Hisilicon SOC Clock for HI3559AV100
8*5956d97fSEmmanuel Vadot
9*5956d97fSEmmanuel Vadotmaintainers:
10*5956d97fSEmmanuel Vadot  - Dongjiu Geng <gengdongjiu@huawei.com>
11*5956d97fSEmmanuel Vadot
12*5956d97fSEmmanuel Vadotdescription: |
13*5956d97fSEmmanuel Vadot  Hisilicon SOC clock control module which supports the clocks, resets and
14*5956d97fSEmmanuel Vadot  power domains on HI3559AV100.
15*5956d97fSEmmanuel Vadot
16*5956d97fSEmmanuel Vadot  See also:
17*5956d97fSEmmanuel Vadot    dt-bindings/clock/hi3559av100-clock.h
18*5956d97fSEmmanuel Vadot
19*5956d97fSEmmanuel Vadotproperties:
20*5956d97fSEmmanuel Vadot  compatible:
21*5956d97fSEmmanuel Vadot    enum:
22*5956d97fSEmmanuel Vadot      - hisilicon,hi3559av100-clock
23*5956d97fSEmmanuel Vadot      - hisilicon,hi3559av100-shub-clock
24*5956d97fSEmmanuel Vadot
25*5956d97fSEmmanuel Vadot  reg:
26*5956d97fSEmmanuel Vadot    minItems: 1
27*5956d97fSEmmanuel Vadot    maxItems: 2
28*5956d97fSEmmanuel Vadot
29*5956d97fSEmmanuel Vadot  '#clock-cells':
30*5956d97fSEmmanuel Vadot    const: 1
31*5956d97fSEmmanuel Vadot
32*5956d97fSEmmanuel Vadot  '#reset-cells':
33*5956d97fSEmmanuel Vadot    const: 2
34*5956d97fSEmmanuel Vadot    description: |
35*5956d97fSEmmanuel Vadot      First cell is reset request register offset.
36*5956d97fSEmmanuel Vadot      Second cell is bit offset in reset request register.
37*5956d97fSEmmanuel Vadot
38*5956d97fSEmmanuel Vadotrequired:
39*5956d97fSEmmanuel Vadot  - compatible
40*5956d97fSEmmanuel Vadot  - reg
41*5956d97fSEmmanuel Vadot  - '#clock-cells'
42*5956d97fSEmmanuel Vadot  - '#reset-cells'
43*5956d97fSEmmanuel Vadot
44*5956d97fSEmmanuel VadotadditionalProperties: false
45*5956d97fSEmmanuel Vadot
46*5956d97fSEmmanuel Vadotexamples:
47*5956d97fSEmmanuel Vadot  - |
48*5956d97fSEmmanuel Vadot    soc {
49*5956d97fSEmmanuel Vadot        #address-cells = <2>;
50*5956d97fSEmmanuel Vadot        #size-cells = <2>;
51*5956d97fSEmmanuel Vadot
52*5956d97fSEmmanuel Vadot        clock-controller@12010000 {
53*5956d97fSEmmanuel Vadot            compatible = "hisilicon,hi3559av100-clock";
54*5956d97fSEmmanuel Vadot            #clock-cells = <1>;
55*5956d97fSEmmanuel Vadot            #reset-cells = <2>;
56*5956d97fSEmmanuel Vadot            reg = <0x0 0x12010000 0x0 0x10000>;
57*5956d97fSEmmanuel Vadot        };
58*5956d97fSEmmanuel Vadot    };
59*5956d97fSEmmanuel Vadot...
60