diff mbox

ARM: dts: vf610: add performance monitoring unit

Message ID 1455755820-31442-1-git-send-email-stefan@agner.ch (mailing list archive)
State New, archived
Headers show

Commit Message

Stefan Agner Feb. 18, 2016, 12:37 a.m. UTC
All Freescale Vybrid SoC include a Cortex-A5 core which supports
ARM's standard PMU (performance monitoring unit). Include the
monitoring unit into the Cortex-A5 base device tree vf500.dtsi.

Signed-off-by: Stefan Agner <stefan@agner.ch>
---
 arch/arm/boot/dts/vf500.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Shawn Guo Feb. 18, 2016, 3:10 p.m. UTC | #1
On Wed, Feb 17, 2016 at 04:37:00PM -0800, Stefan Agner wrote:
> All Freescale Vybrid SoC include a Cortex-A5 core which supports
> ARM's standard PMU (performance monitoring unit). Include the
> monitoring unit into the Cortex-A5 base device tree vf500.dtsi.
> 
> Signed-off-by: Stefan Agner <stefan@agner.ch>
> ---
>  arch/arm/boot/dts/vf500.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/vf500.dtsi b/arch/arm/boot/dts/vf500.dtsi
> index b94b992..9cd1ac5 100644
> --- a/arch/arm/boot/dts/vf500.dtsi
> +++ b/arch/arm/boot/dts/vf500.dtsi
> @@ -75,6 +75,16 @@
>  				clocks = <&clks VF610_CLK_PLATFORM_BUS>;
>  			};
>  		};
> +
> +		aips-bus@40080000 {
> +

This new line is not really necessary.  I applied the patch with it
dropped.

Shawn

> +			pmu@40089000 {
> +				compatible = "arm,cortex-a5-pmu";
> +				interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
> +				interrupt-affinity = <&a5_cpu>;
> +			};
> +		};
> +
>  	};
>  };
>  
> -- 
> 2.7.1
> 
>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/vf500.dtsi b/arch/arm/boot/dts/vf500.dtsi
index b94b992..9cd1ac5 100644
--- a/arch/arm/boot/dts/vf500.dtsi
+++ b/arch/arm/boot/dts/vf500.dtsi
@@ -75,6 +75,16 @@ 
 				clocks = <&clks VF610_CLK_PLATFORM_BUS>;
 			};
 		};
+
+		aips-bus@40080000 {
+
+			pmu@40089000 {
+				compatible = "arm,cortex-a5-pmu";
+				interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
+				interrupt-affinity = <&a5_cpu>;
+			};
+		};
+
 	};
 };