1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/arm/hisilicon/controller/hi6220-domain-ctrl.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Hisilicon Hi6220 domain controller
8
9maintainers:
10  - Wei Xu <xuwei5@hisilicon.com>
11
12description: |
13  Hisilicon designs some special domain controllers for mobile platform,
14  such as: the power Always On domain controller, the Media domain
15  controller(e.g. codec, G3D ...) and the Power Management domain
16  controller.
17
18  The compatible names of each domain controller are as follows:
19  Power Always ON domain controller  --> hisilicon,hi6220-aoctrl
20  Media domain controller            --> hisilicon,hi6220-mediactrl
21  Power Management domain controller --> hisilicon,hi6220-pmctrl
22
23properties:
24  compatible:
25    items:
26      - enum:
27          - hisilicon,hi6220-aoctrl
28          - hisilicon,hi6220-mediactrl
29          - hisilicon,hi6220-pmctrl
30      - const: syscon
31
32  reg:
33    maxItems: 1
34
35  '#clock-cells':
36    const: 1
37
38  '#reset-cells':
39    const: 1
40
41required:
42  - compatible
43  - reg
44  - '#clock-cells'
45
46additionalProperties: false
47
48examples:
49  - |
50    ao_ctrl@f7800000 {
51        compatible = "hisilicon,hi6220-aoctrl", "syscon";
52        reg = <0xf7800000 0x2000>;
53        #clock-cells = <1>;
54        #reset-cells = <1>;
55    };
56
57    media_ctrl@f4410000 {
58        compatible = "hisilicon,hi6220-mediactrl", "syscon";
59        reg = <0xf4410000 0x1000>;
60        #clock-cells = <1>;
61    };
62
63    pm_ctrl@f7032000 {
64        compatible = "hisilicon,hi6220-pmctrl", "syscon";
65        reg = <0xf7032000 0x1000>;
66        #clock-cells = <1>;
67    };
68...
69