arm64: dts: freescale: Add pmu support on imx8mp
Subsystems (2)
PATCH v2 1/2 arm64: dts: freescale: Add pmu support on imx8mp
Add PMU node to enable pmu support on imx8mp.
---
Change in V2:
- Update the compatible string to ca53 specific
- Correct the GIC_CPU_MASK num to 4 as only have 4xA53 cores
--- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/freescale/imx8mp.dtsi +7 -0
@@ -133,6 +133,13 @@ clk_ext4: clock-ext4 { clock-output-names = "clk_ext4"; }; + pmu { + compatible = "arm,cortex-a53-pmu"; + interrupts = <GIC_PPI 7 + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; + interrupt-affinity = <&A53_0>, <&A53_1>, <&A53_2>, <&A53_3>; + }; + psci { compatible = "arm,psci-1.0"; method = "smc";
Signature · 1 line
2.26.2
PATCH v2 2/2 arm64: dts: freescale: Add pmu support on imx8mn
Add PMU node to enable pmu support on imx8mn.
---
Change in V2:
- Update the compatible string to ca53 specific
- Correct the GIC_CPU_MASK num to 4 as only have 4xA53 cores
--- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/freescale/imx8mn.dtsi +7 -0
@@ -186,6 +186,13 @@ clk_ext4: clock-ext4 { clock-output-names = "clk_ext4"; }; + pmu { + compatible = "arm,cortex-a53-pmu"; + interrupts = <GIC_PPI 7 + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; + interrupt-affinity = <&A53_0>, <&A53_1>, <&A53_2>, <&A53_3>; + }; + psci { compatible = "arm,psci-1.0"; method = "smc";
Signature · 1 line
2.26.2
Re: [PATCH v2 2/2] arm64: dts: freescale: Add pmu support on imx8mn
Quoted 10 lines · Jacky Bai
Add PMU node to enable pmu support on imx8mn.
Signed-off-by Jacky Bai <[email protected]>---
Change in V2:
- Update the compatible string to ca53 specific
- Correct theGIC_CPU_MASKnum to 4 as only have 4xA53 cores--- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
Best regards,
Krzysztof
Quoted 11 lines · Jacky Bai
Add PMU node to enable pmu support on imx8mp.
Signed-off-by Jacky Bai <[email protected]>---
Change in V2:
- Update the compatible string to ca53 specific
- Correct theGIC_CPU_MASKnum to 4 as only have 4xA53 cores--- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
Best regards,
Krzysztof
Shawn Guo
AppliedQuoted 3 lines · Jacky Bai
Add PMU node to enable pmu support on imx8mp.
Signed-off-by Jacky Bai <[email protected]>
Applied both, thanks.