xref: /freebsd/sys/contrib/device-tree/Bindings/arm/tegra/nvidia,tegra-ccplex-cluster.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1d5b0e70fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2d5b0e70fSEmmanuel Vadot%YAML 1.2
3d5b0e70fSEmmanuel Vadot---
4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/arm/tegra/nvidia,tegra-ccplex-cluster.yaml#
5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6d5b0e70fSEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: NVIDIA Tegra CPU COMPLEX CLUSTER area
8d5b0e70fSEmmanuel Vadot
9d5b0e70fSEmmanuel Vadotmaintainers:
10d5b0e70fSEmmanuel Vadot  - Sumit Gupta <sumitg@nvidia.com>
11d5b0e70fSEmmanuel Vadot  - Mikko Perttunen <mperttunen@nvidia.com>
12d5b0e70fSEmmanuel Vadot  - Jon Hunter <jonathanh@nvidia.com>
13d5b0e70fSEmmanuel Vadot  - Thierry Reding <thierry.reding@gmail.com>
14d5b0e70fSEmmanuel Vadot
15d5b0e70fSEmmanuel Vadotdescription: |+
16d5b0e70fSEmmanuel Vadot  The Tegra CPU COMPLEX CLUSTER area contains memory-mapped
17d5b0e70fSEmmanuel Vadot  registers that initiate CPU frequency/voltage transitions.
18d5b0e70fSEmmanuel Vadot
19d5b0e70fSEmmanuel Vadotproperties:
20d5b0e70fSEmmanuel Vadot  $nodename:
21d5b0e70fSEmmanuel Vadot    pattern: "ccplex@([0-9a-f]+)$"
22d5b0e70fSEmmanuel Vadot
23d5b0e70fSEmmanuel Vadot  compatible:
24d5b0e70fSEmmanuel Vadot    enum:
25d5b0e70fSEmmanuel Vadot      - nvidia,tegra186-ccplex-cluster
26d5b0e70fSEmmanuel Vadot      - nvidia,tegra234-ccplex-cluster
27d5b0e70fSEmmanuel Vadot
28d5b0e70fSEmmanuel Vadot  reg:
29d5b0e70fSEmmanuel Vadot    maxItems: 1
30d5b0e70fSEmmanuel Vadot
31d5b0e70fSEmmanuel Vadot  nvidia,bpmp:
32*fac71e4eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
33d5b0e70fSEmmanuel Vadot    description: |
34d5b0e70fSEmmanuel Vadot      Specifies the BPMP node that needs to be queried to get
35d5b0e70fSEmmanuel Vadot      operating point data for all CPUs.
36d5b0e70fSEmmanuel Vadot
37d5b0e70fSEmmanuel VadotadditionalProperties: false
38d5b0e70fSEmmanuel Vadot
39d5b0e70fSEmmanuel Vadotrequired:
40d5b0e70fSEmmanuel Vadot  - compatible
41d5b0e70fSEmmanuel Vadot  - reg
42d5b0e70fSEmmanuel Vadot  - nvidia,bpmp
43d5b0e70fSEmmanuel Vadot
44d5b0e70fSEmmanuel Vadotexamples:
45d5b0e70fSEmmanuel Vadot  - |
46d5b0e70fSEmmanuel Vadot    ccplex@e000000 {
47d5b0e70fSEmmanuel Vadot      compatible = "nvidia,tegra234-ccplex-cluster";
48d5b0e70fSEmmanuel Vadot      reg = <0x0e000000 0x5ffff>;
49d5b0e70fSEmmanuel Vadot      nvidia,bpmp = <&bpmp>;
50d5b0e70fSEmmanuel Vadot    };
51