[PATCH 9/9] arm64: tegra: Add CCPLEX cluster node for Tegra264
From: Sumit Gupta
Date: Wed Nov 04 2026 - 13:45:09 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
cluster-clock unit and to select their core_freq_req register. Each
cluster has one CPU, and two clusters share a unit, so each domain
holds two CPUs.
Signed-off-by: Sumit Gupta <sumitg@xxxxxxxxxx>
---
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 5ab34cd09a3d..10ea51802e8c 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 */
@@ -4384,6 +4391,7 @@ cpu0: cpu@0 {
reg = <0x00000>;
enable-method = "psci";
+ performance-domains = <&ccplex 0>;
i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4400,6 +4408,7 @@ cpu1: cpu@10000 {
reg = <0x10000>;
enable-method = "psci";
+ performance-domains = <&ccplex 0>;
i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4416,6 +4425,7 @@ cpu2: cpu@20000 {
reg = <0x20000>;
enable-method = "psci";
+ performance-domains = <&ccplex 1>;
i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4432,6 +4442,7 @@ cpu3: cpu@30000 {
reg = <0x30000>;
enable-method = "psci";
+ performance-domains = <&ccplex 1>;
i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4448,6 +4459,7 @@ cpu4: cpu@40000 {
reg = <0x40000>;
enable-method = "psci";
+ performance-domains = <&ccplex 2>;
i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4464,6 +4476,7 @@ cpu5: cpu@50000 {
reg = <0x50000>;
enable-method = "psci";
+ performance-domains = <&ccplex 2>;
i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4480,6 +4493,7 @@ cpu6: cpu@60000 {
reg = <0x60000>;
enable-method = "psci";
+ performance-domains = <&ccplex 3>;
i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4496,6 +4510,7 @@ cpu7: cpu@70000 {
reg = <0x70000>;
enable-method = "psci";
+ performance-domains = <&ccplex 3>;
i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4512,6 +4527,7 @@ cpu8: cpu@80000 {
reg = <0x80000>;
enable-method = "psci";
+ performance-domains = <&ccplex 4>;
i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4528,6 +4544,7 @@ cpu9: cpu@90000 {
reg = <0x90000>;
enable-method = "psci";
+ performance-domains = <&ccplex 4>;
i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4544,6 +4561,7 @@ cpu10: cpu@a0000 {
reg = <0xa0000>;
enable-method = "psci";
+ performance-domains = <&ccplex 5>;
i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4560,6 +4578,7 @@ cpu11: cpu@b0000 {
reg = <0xb0000>;
enable-method = "psci";
+ performance-domains = <&ccplex 5>;
i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4576,6 +4595,7 @@ cpu12: cpu@c0000 {
reg = <0xc0000>;
enable-method = "psci";
+ performance-domains = <&ccplex 6>;
i-cache-size = <65536>;
i-cache-line-size = <64>;
@@ -4592,6 +4612,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