From: Jonas Svennebring <jonas.svennebr...@gmail.com>

Add ccn-504 to dts, used by the ARM CCN driver.
The CCN driver support the CCN-504 bus and allows for
event counter readout through perf. See Documentation/arm/CCN.txt

Axxia AXM55xx supports XP nodes 0-10 and HFN nodes
3,5,7,8,13,15,17,18.

Note that the CCN perf driver utilizes the sysfs and therefore
requires the perf cli tool from kernel 3.14 or later.

Signed-off-by: Jonas Svennebring <jonas.svennebr...@gmail.com>
---
 arch/arm/boot/dts/axm55xx.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/axm55xx.dtsi b/arch/arm/boot/dts/axm55xx.dtsi
index bfdbe49..729495c 100644
--- a/arch/arm/boot/dts/axm55xx.dtsi
+++ b/arch/arm/boot/dts/axm55xx.dtsi
@@ -68,6 +68,12 @@
                             <1 10 0xf08>;
        };
 
+       ccn@0x2000000000 {
+               compatible = "arm,ccn-504";
+               reg = <0x20 0x00000000 0 0x1000000>;
+               interrupts = <0 181 4>;
+       };
+
        sm0: sm0@00220000 {
                compatible = "lsi,smmon";
                reg = <0 0x00220000 0 0x1000>,
-- 
1.8.1.4

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to