Skip to content

Commit 645b331

Browse files
clamor-sthierryreding
authored andcommitted
ARM: tegra: Add ARM PMU node on Tegra114
Add ARM PMU node for Tegra114 like it is done for Tegra30 and Tegra124. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Link: https://lore.kernel.org/r/20250226105615.61087-4-clamor95@gmail.com Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent 2b3db78 commit 645b331

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

arch/arm/boot/dts/nvidia/tegra114.dtsi

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -805,31 +805,40 @@
805805
#address-cells = <1>;
806806
#size-cells = <0>;
807807

808-
cpu@0 {
808+
cpu0: cpu@0 {
809809
device_type = "cpu";
810810
compatible = "arm,cortex-a15";
811811
reg = <0>;
812812
};
813813

814-
cpu@1 {
814+
cpu1: cpu@1 {
815815
device_type = "cpu";
816816
compatible = "arm,cortex-a15";
817817
reg = <1>;
818818
};
819819

820-
cpu@2 {
820+
cpu2: cpu@2 {
821821
device_type = "cpu";
822822
compatible = "arm,cortex-a15";
823823
reg = <2>;
824824
};
825825

826-
cpu@3 {
826+
cpu3: cpu@3 {
827827
device_type = "cpu";
828828
compatible = "arm,cortex-a15";
829829
reg = <3>;
830830
};
831831
};
832832

833+
pmu {
834+
compatible = "arm,cortex-a15-pmu";
835+
interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
836+
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
837+
<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
838+
<GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
839+
interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
840+
};
841+
833842
timer {
834843
compatible = "arm,armv7-timer";
835844
interrupts =

0 commit comments

Comments
 (0)