[PATCH v3 9/9] arm64: tegra: Add CCPLEX cluster node for Tegra264

From: Sumit Gupta

Date: Thu Nov 19 2026 - 06:14:06 EST


Add the CCPLEX cluster node under bus@8100000000. The cpufreq driver
uses it to request CPU frequencies.

Add the generic "performance-domains" property to each CPU, referencing
this node. The driver uses the domain index to group CPUs that share a
clock and to select their core_freq_req register. Each cluster has one
CPU and two clusters share a clock, so each domain holds two CPUs.

Signed-off-by: Sumit Gupta <sumitg@xxxxxxxxxx>
Reviewed-by: Zhongqiu Han <zhongqiu.han@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/nvidia/tegra264.dtsi | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra264.dtsi b/arch/arm64/boot/dts/nvidia/tegra264.dtsi
index b7f6b649baab..9c5d8d4e1d10 100644
--- a/arch/arm64/boot/dts/nvidia/tegra264.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra264.dtsi
@@ -3964,6 +3964,13 @@ i2c12: i2c@c6d0000 {
status = "disabled";
};

+ ccplex: ccplex@30000000 {
+ compatible = "nvidia,tegra264-ccplex-cluster";
+ reg = <0x00 0x30000000 0x0 0x00cf0000>;
+ #performance-domain-cells = <1>;
+ nvidia,bpmp = <&bpmp>;
+ };
+
gic: interrupt-controller@46000000 {
compatible = "arm,gic-v3";
reg = <0x00 0x46000000 0x0 0x010000>, /* GICD */
@@ -4382,6 +4389,7 @@ cpu0: cpu@0 {
reg = <0x00000>;

enable-method = "psci";
+ performance-domains = <&ccplex 0>;

i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4398,6 +4406,7 @@ cpu1: cpu@10000 {
reg = <0x10000>;

enable-method = "psci";
+ performance-domains = <&ccplex 0>;

i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4414,6 +4423,7 @@ cpu2: cpu@20000 {
reg = <0x20000>;

enable-method = "psci";
+ performance-domains = <&ccplex 1>;

i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4430,6 +4440,7 @@ cpu3: cpu@30000 {
reg = <0x30000>;

enable-method = "psci";
+ performance-domains = <&ccplex 1>;

i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4446,6 +4457,7 @@ cpu4: cpu@40000 {
reg = <0x40000>;

enable-method = "psci";
+ performance-domains = <&ccplex 2>;

i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4462,6 +4474,7 @@ cpu5: cpu@50000 {
reg = <0x50000>;

enable-method = "psci";
+ performance-domains = <&ccplex 2>;

i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4478,6 +4491,7 @@ cpu6: cpu@60000 {
reg = <0x60000>;

enable-method = "psci";
+ performance-domains = <&ccplex 3>;

i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4494,6 +4508,7 @@ cpu7: cpu@70000 {
reg = <0x70000>;

enable-method = "psci";
+ performance-domains = <&ccplex 3>;

i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4510,6 +4525,7 @@ cpu8: cpu@80000 {
reg = <0x80000>;

enable-method = "psci";
+ performance-domains = <&ccplex 4>;

i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4526,6 +4542,7 @@ cpu9: cpu@90000 {
reg = <0x90000>;

enable-method = "psci";
+ performance-domains = <&ccplex 4>;

i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4542,6 +4559,7 @@ cpu10: cpu@a0000 {
reg = <0xa0000>;

enable-method = "psci";
+ performance-domains = <&ccplex 5>;

i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4558,6 +4576,7 @@ cpu11: cpu@b0000 {
reg = <0xb0000>;

enable-method = "psci";
+ performance-domains = <&ccplex 5>;

i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4574,6 +4593,7 @@ cpu12: cpu@c0000 {
reg = <0xc0000>;

enable-method = "psci";
+ performance-domains = <&ccplex 6>;

i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4590,6 +4610,7 @@ cpu13: cpu@d0000 {
reg = <0xd0000>;

enable-method = "psci";
+ performance-domains = <&ccplex 6>;

i-cache-size = <65536>;
i-cache-line-size = <64>;
--
2.34.1