xref: /linux/Documentation/devicetree/bindings/arm/hisilicon/controller/cpuctrl.yaml (revision 0450d1f9a295646af84455e4e5b745d151ff81e1)
15b6b3e21SZhen Lei# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25b6b3e21SZhen Lei%YAML 1.2
35b6b3e21SZhen Lei---
45b6b3e21SZhen Lei$id: http://devicetree.org/schemas/arm/hisilicon/controller/cpuctrl.yaml#
55b6b3e21SZhen Lei$schema: http://devicetree.org/meta-schemas/core.yaml#
65b6b3e21SZhen Lei
75b6b3e21SZhen Leititle: Hisilicon CPU controller
85b6b3e21SZhen Lei
95b6b3e21SZhen Leimaintainers:
105b6b3e21SZhen Lei  - Wei Xu <xuwei5@hisilicon.com>
115b6b3e21SZhen Lei
125b6b3e21SZhen Leidescription: |
135b6b3e21SZhen Lei  The clock registers and power registers of secondary cores are defined
145b6b3e21SZhen Lei  in CPU controller, especially in HIX5HD2 SoC.
155b6b3e21SZhen Lei
165b6b3e21SZhen Leiproperties:
175b6b3e21SZhen Lei  compatible:
185b6b3e21SZhen Lei    items:
195b6b3e21SZhen Lei      - const: hisilicon,cpuctrl
205b6b3e21SZhen Lei
215b6b3e21SZhen Lei  reg:
225b6b3e21SZhen Lei    maxItems: 1
235b6b3e21SZhen Lei
24*0450d1f9SZhen Lei  "#address-cells":
25*0450d1f9SZhen Lei    const: 1
26*0450d1f9SZhen Lei
27*0450d1f9SZhen Lei  "#size-cells":
28*0450d1f9SZhen Lei    const: 1
29*0450d1f9SZhen Lei
30*0450d1f9SZhen Lei  ranges: true
31*0450d1f9SZhen Lei
325b6b3e21SZhen Leirequired:
335b6b3e21SZhen Lei  - compatible
345b6b3e21SZhen Lei  - reg
355b6b3e21SZhen Lei
36*0450d1f9SZhen LeiadditionalProperties:
37*0450d1f9SZhen Lei  type: object
38*0450d1f9SZhen Lei
39*0450d1f9SZhen Leiexamples:
40*0450d1f9SZhen Lei  - |
41*0450d1f9SZhen Lei    cpuctrl@a22000 {
42*0450d1f9SZhen Lei        compatible = "hisilicon,cpuctrl";
43*0450d1f9SZhen Lei        #address-cells = <1>;
44*0450d1f9SZhen Lei        #size-cells = <1>;
45*0450d1f9SZhen Lei        reg = <0x00a22000 0x2000>;
46*0450d1f9SZhen Lei        ranges = <0 0x00a22000 0x2000>;
47*0450d1f9SZhen Lei
48*0450d1f9SZhen Lei        clock: clock@0 {
49*0450d1f9SZhen Lei            compatible = "hisilicon,hix5hd2-clock";
50*0450d1f9SZhen Lei            reg = <0 0x2000>;
51*0450d1f9SZhen Lei            #clock-cells = <1>;
52*0450d1f9SZhen Lei        };
53*0450d1f9SZhen Lei    };
545b6b3e21SZhen Lei...
55