ARM: dts: stm32: add arm-pmu node on stm32mp15
authorAlexandre Torgue <alexandre.torgue@st.com>
Thu, 17 Sep 2020 03:00:35 +0000 (05:00 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Wed, 23 Sep 2020 16:37:02 +0000 (18:37 +0200)
Add arm-pmu node on stm32mp15.

Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: Marek Vasut <marex@denx.de> # update to linux-next
Tested-by: Marek Vasut <marex@denx.de> # on DH PDK2 and Avenger96
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp151.dtsi
arch/arm/boot/dts/stm32mp153.dtsi

index 4fd7572..8475790 100644 (file)
                };
        };
 
+       arm-pmu {
+               compatible = "arm,cortex-a7-pmu";
+               interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-affinity = <&cpu0>;
+               interrupt-parent = <&intc>;
+       };
+
        psci {
                compatible = "arm,psci-1.0";
                method = "smc";
index 6d9ab08..1c1889b 100644 (file)
                };
        };
 
+       arm-pmu {
+               interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-affinity = <&cpu0>, <&cpu1>;
+       };
+
        soc {
                m_can1: can@4400e000 {
                        compatible = "bosch,m_can";