xref: /freebsd/sys/contrib/device-tree/Bindings/arm/nvidia,tegra194-ccplex.yaml (revision 6be3386466ab79a84b48429ae66244f21526d3df)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: "http://devicetree.org/schemas/arm/nvidia,tegra194-ccplex.yaml#"
5c66ec88fSEmmanuel Vadot$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: NVIDIA Tegra194 CPU Complex device tree bindings
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Thierry Reding <thierry.reding@gmail.com>
11c66ec88fSEmmanuel Vadot  - Jonathan Hunter <jonathanh@nvidia.com>
12c66ec88fSEmmanuel Vadot  - Sumit Gupta <sumitg@nvidia.com>
13c66ec88fSEmmanuel Vadot
14c66ec88fSEmmanuel Vadotdescription: |+
15c66ec88fSEmmanuel Vadot  Tegra194 SOC has homogeneous architecture where each cluster has two
16c66ec88fSEmmanuel Vadot  symmetric cores. Compatible string in "cpus" node represents the CPU
17c66ec88fSEmmanuel Vadot  Complex having all clusters.
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadotproperties:
20c66ec88fSEmmanuel Vadot  $nodename:
21c66ec88fSEmmanuel Vadot    const: cpus
22c66ec88fSEmmanuel Vadot
23c66ec88fSEmmanuel Vadot  compatible:
24c66ec88fSEmmanuel Vadot    enum:
25c66ec88fSEmmanuel Vadot      - nvidia,tegra194-ccplex
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot  nvidia,bpmp:
28c66ec88fSEmmanuel Vadot    $ref: '/schemas/types.yaml#/definitions/phandle'
29c66ec88fSEmmanuel Vadot    description: |
30c66ec88fSEmmanuel Vadot      Specifies the bpmp node that needs to be queried to get
31c66ec88fSEmmanuel Vadot      operating point data for all CPUs.
32c66ec88fSEmmanuel Vadot
33*6be33864SEmmanuel VadotadditionalProperties: true
34*6be33864SEmmanuel Vadot
35c66ec88fSEmmanuel Vadotexamples:
36c66ec88fSEmmanuel Vadot  - |
37c66ec88fSEmmanuel Vadot    cpus {
38c66ec88fSEmmanuel Vadot      compatible = "nvidia,tegra194-ccplex";
39c66ec88fSEmmanuel Vadot      nvidia,bpmp = <&bpmp>;
40c66ec88fSEmmanuel Vadot      #address-cells = <1>;
41c66ec88fSEmmanuel Vadot      #size-cells = <0>;
42c66ec88fSEmmanuel Vadot
43c66ec88fSEmmanuel Vadot      cpu0_0: cpu@0 {
44c66ec88fSEmmanuel Vadot        compatible = "nvidia,tegra194-carmel";
45c66ec88fSEmmanuel Vadot        device_type = "cpu";
46c66ec88fSEmmanuel Vadot        reg = <0x0>;
47c66ec88fSEmmanuel Vadot        enable-method = "psci";
48c66ec88fSEmmanuel Vadot      };
49c66ec88fSEmmanuel Vadot
50c66ec88fSEmmanuel Vadot      cpu0_1: cpu@1 {
51c66ec88fSEmmanuel Vadot        compatible = "nvidia,tegra194-carmel";
52c66ec88fSEmmanuel Vadot        device_type = "cpu";
53c66ec88fSEmmanuel Vadot        reg = <0x001>;
54c66ec88fSEmmanuel Vadot        enable-method = "psci";
55c66ec88fSEmmanuel Vadot      };
56c66ec88fSEmmanuel Vadot
57c66ec88fSEmmanuel Vadot      cpu1_0: cpu@100 {
58c66ec88fSEmmanuel Vadot        compatible = "nvidia,tegra194-carmel";
59c66ec88fSEmmanuel Vadot        device_type = "cpu";
60c66ec88fSEmmanuel Vadot        reg = <0x100>;
61c66ec88fSEmmanuel Vadot        enable-method = "psci";
62c66ec88fSEmmanuel Vadot      };
63c66ec88fSEmmanuel Vadot
64c66ec88fSEmmanuel Vadot      cpu1_1: cpu@101 {
65c66ec88fSEmmanuel Vadot        compatible = "nvidia,tegra194-carmel";
66c66ec88fSEmmanuel Vadot        device_type = "cpu";
67c66ec88fSEmmanuel Vadot        reg = <0x101>;
68c66ec88fSEmmanuel Vadot        enable-method = "psci";
69c66ec88fSEmmanuel Vadot      };
70c66ec88fSEmmanuel Vadot    };
71c66ec88fSEmmanuel Vadot...
72