Skip to content

Commit 9b25d3f

Browse files
Sumit Guptavireshk
authored andcommitted
dt-bindings: arm: Add NVIDIA Tegra194 CPU Complex binding
Add device-tree binding documentation to represent Tegra194 CPU Complex with compatible string under 'cpus' node. This can be used by drivers like cpufreq which don't have their node or CPU Complex node to bind to. Also, documenting 'nvidia,bpmp' property which points to BPMP device. Signed-off-by: Sumit Gupta <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
1 parent 2782ef3 commit 9b25d3f

File tree

1 file changed

+69
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)