[PATCH] ARM: dts: stm32: add arm-pmu node on stm32mp15
Marek Vasut
marex at denx.de
Wed Sep 16 23:00:35 EDT 2020
From: Alexandre Torgue <alexandre.torgue at st.com>
Add arm-pmu node on stm32mp15.
Signed-off-by: Alexandre Torgue <alexandre.torgue at st.com>
Signed-off-by: Marek Vasut <marex at denx.de> # update to linux-next
Tested-by: Marek Vasut <marex at denx.de> # on DH PDK2 and Avenger96
---
arch/arm/boot/dts/stm32mp151.dtsi | 7 +++++++
arch/arm/boot/dts/stm32mp153.dtsi | 6 ++++++
2 files changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index 1ae043442d47..4d5600f6297b 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -23,6 +23,13 @@ cpu0: cpu at 0 {
};
};
+ 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";
diff --git a/arch/arm/boot/dts/stm32mp153.dtsi b/arch/arm/boot/dts/stm32mp153.dtsi
index 6d9ab08667fc..1c1889b194cf 100644
--- a/arch/arm/boot/dts/stm32mp153.dtsi
+++ b/arch/arm/boot/dts/stm32mp153.dtsi
@@ -16,6 +16,12 @@ cpu1: cpu at 1 {
};
};
+ 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 at 4400e000 {
compatible = "bosch,m_can";
--
2.28.0
More information about the linux-arm-kernel
mailing list