arm64: dts: exynos: Add support of bus frequency using VDD_INT on Exynos5433 TM2
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 8 Dec 2016 04:58:11 +0000 (13:58 +0900)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 2 Jan 2017 18:36:08 +0000 (20:36 +0200)
This patch adds the bus Device-tree nodes for INT (Internal) block
and enables the bus frequency scaling.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm64/boot/dts/exynos/exynos5433-tm2.dts

index f21bdc2..4e6619c 100644 (file)
        };
 };
 
+&bus_g2d_400 {
+       devfreq-events = <&ppmu_event0_d0_general>, <&ppmu_event0_d1_general>;
+       vdd-supply = <&buck4_reg>;
+       exynos,saturation-ratio = <10>;
+       status = "okay";
+};
+
+&bus_g2d_266 {
+       devfreq = <&bus_g2d_400>;
+       status = "okay";
+};
+
+&bus_gscl {
+       devfreq = <&bus_g2d_400>;
+       status = "okay";
+};
+
+&bus_hevc {
+       devfreq = <&bus_g2d_400>;
+       status = "okay";
+};
+
+&bus_jpeg {
+       devfreq = <&bus_g2d_400>;
+       status = "okay";
+};
+
+&bus_mfc {
+       devfreq = <&bus_g2d_400>;
+       status = "okay";
+};
+
+&bus_mscl {
+       devfreq = <&bus_g2d_400>;
+       status = "okay";
+};
+
+&bus_noc0 {
+       devfreq = <&bus_g2d_400>;
+       status = "okay";
+};
+
+&bus_noc1 {
+       devfreq = <&bus_g2d_400>;
+       status = "okay";
+};
+
+&bus_noc2 {
+       devfreq = <&bus_g2d_400>;
+       status = "okay";
+};
+
 &cmu_aud {
        assigned-clocks = <&cmu_aud CLK_MOUT_AUD_PLL_USER>;
        assigned-clock-parents = <&cmu_top CLK_FOUT_AUD_PLL>;
        bus-width = <4>;
 };
 
+&ppmu_d0_general {
+       status = "okay";
+       events {
+               ppmu_event0_d0_general: ppmu-event0-d0-general {
+                       event-name = "ppmu-event0-d0-general";
+               };
+       };
+};
+
+&ppmu_d1_general {
+       status = "okay";
+       events {
+               ppmu_event0_d1_general: ppmu-event0-d1-general {
+                      event-name = "ppmu-event0-d1-general";
+              };
+       };
+};
+
 &pinctrl_alive {
        pinctrl-names = "default";
        pinctrl-0 = <&initial_alive>;