]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: Add PPMU node for exynos3250-monk and exynos3250-rinato
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 3 Feb 2015 23:10:58 +0000 (08:10 +0900)
committerKukjin Kim <kgene@kernel.org>
Tue, 3 Feb 2015 23:10:58 +0000 (08:10 +0900)
This patch adds PPMU dt node for Exynos3250 based Rinato and Monk
boards.  The PPMU node is used to get the utilization of DMC0/DMC1/
LEFTBUS/RIGHTBUS Block.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/boot/dts/exynos3250-monk.dts
arch/arm/boot/dts/exynos3250-rinato.dts

index d9a6dd525791f27ddffdce9e6eaf60a238aaa4eb..1d483c1c8b48dcd978effc490af4f99a1bfb3fef 100644 (file)
        status = "okay";
 };
 
+&ppmu_dmc0 {
+       status = "okay";
+
+       events {
+               ppmu_dmc0_3: ppmu-event3-dmc0 {
+                       event-name = "ppmu-event3-dmc0";
+               };
+       };
+};
+
+&ppmu_dmc1 {
+       status = "okay";
+
+       events {
+               ppmu_dmc1_3: ppmu-event3-dmc1 {
+                       event-name = "ppmu-event3-dmc1";
+               };
+       };
+};
+
+&ppmu_leftbus {
+       status = "okay";
+
+       events {
+               ppmu_leftbus_3: ppmu-event3-leftbus {
+                       event-name = "ppmu-event3-leftbus";
+               };
+       };
+};
+
+&ppmu_rightbus {
+       status = "okay";
+
+       events {
+               ppmu_rightbus_3: ppmu-event3-rightbus {
+                       event-name = "ppmu-event3-rightbus";
+               };
+       };
+};
+
 &xusbxti {
        clock-frequency = <24000000>;
 };
index af7589efa5675f25be8df1c583dabbe02ffdb429..0b9906880c0c76546a5704d289a6dafda7a30b43 100644 (file)
        status = "okay";
 };
 
+&ppmu_dmc0 {
+       status = "okay";
+
+       events {
+               ppmu_dmc0_3: ppmu-event3-dmc0 {
+                       event-name = "ppmu-event3-dmc0";
+               };
+       };
+};
+
+&ppmu_dmc1 {
+       status = "okay";
+
+       events {
+               ppmu_dmc1_3: ppmu-event3-dmc1 {
+                       event-name = "ppmu-event3-dmc1";
+               };
+       };
+};
+
+&ppmu_leftbus {
+       status = "okay";
+
+       events {
+               ppmu_leftbus_3: ppmu-event3-leftbus {
+                       event-name = "ppmu-event3-leftbus";
+               };
+       };
+};
+
+&ppmu_rightbus {
+       status = "okay";
+
+       events {
+               ppmu_rightbus_3: ppmu-event3-rightbus {
+                       event-name = "ppmu-event3-rightbus";
+               };
+       };
+};
+
 &xusbxti {
        clock-frequency = <24000000>;
 };