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