OSDN Git Service

ARM: dts: berlin2q: add interrupt-affinity to pmu node
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Fri, 27 Apr 2018 09:25:15 +0000 (17:25 +0800)
committerJisheng Zhang <Jisheng.Zhang@synaptics.com>
Thu, 24 May 2018 07:15:49 +0000 (15:15 +0800)
Add interrupt-affinity property to fix below warning:
[    0.429642] CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0]

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
arch/arm/boot/dts/berlin2q.dtsi

index bf3a6c9..e23c49a 100644 (file)
@@ -53,7 +53,7 @@
                #size-cells = <0>;
                enable-method = "marvell,berlin-smp";
 
-               cpu@0 {
+               cpu0: cpu@0 {
                        compatible = "arm,cortex-a9";
                        device_type = "cpu";
                        next-level-cache = <&l2>;
                        >;
                };
 
-               cpu@1 {
+               cpu1: cpu@1 {
                        compatible = "arm,cortex-a9";
                        device_type = "cpu";
                        next-level-cache = <&l2>;
                        reg = <1>;
                };
 
-               cpu@2 {
+               cpu2: cpu@2 {
                        compatible = "arm,cortex-a9";
                        device_type = "cpu";
                        next-level-cache = <&l2>;
                        reg = <2>;
                };
 
-               cpu@3 {
+               cpu3: cpu@3 {
                        compatible = "arm,cortex-a9";
                        device_type = "cpu";
                        next-level-cache = <&l2>;
                                     <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
                                     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
                                     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-affinity = <&cpu0>,
+                                            <&cpu1>,
+                                            <&cpu2>,
+                                            <&cpu3>;
                };
 
                sdhci0: sdhci@ab0000 {