ARM: dts: arria10: add PMU node
authorDinh Nguyen <dinguyen@kernel.org>
Tue, 5 Jan 2021 20:55:20 +0000 (14:55 -0600)
committerDinh Nguyen <dinguyen@kernel.org>
Thu, 7 Jan 2021 18:30:00 +0000 (12:30 -0600)
Add the PMU node for Arria10.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/boot/dts/socfpga_arria10.dtsi

index 0013ec3..a574ea9 100644 (file)
                #size-cells = <0>;
                enable-method = "altr,socfpga-a10-smp";
 
-               cpu@0 {
+               cpu0: cpu@0 {
                        compatible = "arm,cortex-a9";
                        device_type = "cpu";
                        reg = <0>;
                        next-level-cache = <&L2>;
                };
-               cpu@1 {
+               cpu1: cpu@1 {
                        compatible = "arm,cortex-a9";
                        device_type = "cpu";
                        reg = <1>;
                };
        };
 
+       pmu: pmu@ff111000 {
+               compatible = "arm,cortex-a9-pmu";
+               interrupt-parent = <&intc>;
+               interrupts = <0 124 4>, <0 125 4>;
+               interrupt-affinity = <&cpu0>, <&cpu1>;
+               reg = <0xff111000 0x1000>,
+                     <0xff113000 0x1000>;
+       };
+
        intc: intc@ffffd000 {
                compatible = "arm,cortex-a9-gic";
                #interrupt-cells = <3>;