From d875f3a97d0370d8708e094b8848f6b818e627a3 Mon Sep 17 00:00:00 2001 From: Chanwoo Choi Date: Mon, 2 Feb 2015 17:04:24 +0900 Subject: [PATCH] LOCAL / arm64: dts: Add the support for memory busfreq on Exynos5433-based tm2 board This patch adds the memory and PPMU dt node to support the generic exynos memory bus frequency driver by using DEVFREQ / DEVFREQ-Event framework. Signed-off-by: Chanwoo Choi --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 76 +++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts index 4d1a761..0ce7fbc 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts @@ -807,6 +807,82 @@ }; }; +&ppmu_d0_cpu { + status = "okay"; + + events { + ppmu_d0_cpu_3: ppmu-event3-d0-cpu { + event-name = "ppmu-event3-d0-cpu"; + }; + }; +}; + +&ppmu_d0_general { + status = "okay"; + + events { + ppmu_d0_general_0: ppmu-event0-d0-general { + event-name = "ppmu-event0-d0-general"; + }; + }; +}; + +&ppmu_d0_rt { + status = "okay"; + + events { + ppmu_d0_rt_3: ppmu-event3-d0-rt { + event-name = "ppmu-event3-d0-rt"; + }; + }; +}; + +&ppmu_d1_cpu { + status = "okay"; + + events { + ppmu_d1_cpu_3: ppmu-event3-d1-cpu { + event-name = "ppmu-event3-d1-cpu"; + }; + }; +}; + +&ppmu_d1_general { + status = "okay"; + + events { + ppmu_d1_general_0: ppmu-event0-d1-general { + event-name = "ppmu-event0-d1-general"; + }; + }; +}; + +&ppmu_d1_rt { + status = "okay"; + + events { + ppmu_d1_rt_3: ppmu-event3-d1-rt { + event-name = "ppmu-event3-d1-rt"; + }; + }; +}; + +&memory_bus_int { + devfreq-events = <&ppmu_d0_general_0>, + <&ppmu_d1_general_0>; + vdd-mem-supply = <&buck4_reg>; + exynos,saturation-ratio = <10>; + status = "okay"; +}; + +&memory_bus_mif { + devfreq-events = <&ppmu_d0_cpu_3>, + <&ppmu_d1_cpu_3>; + vdd-mem-supply = <&buck1_reg>; + exynos,saturation-ratio = <10>; + status = "okay"; +}; + &xxti { clock-frequency = <24000000>; }; -- 2.7.4