Skip to content

Commit 4f20aa0

Browse files
chanwoochoikrzk
authored andcommitted
ARM: dts: exynos: Add support of bus frequency for exynos4412-trats/odroidu3
This patch adds the bus device tree nodes for both MIF (Memory) and INT (Internal) block to enable the bus frequency. The DMC bus is parent device in MIF block using VDD_MIF and the LEFTBUS bus is parent device in INT block using VDD_INT. Signed-off-by: Chanwoo Choi <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> [m.reichl and linux.amoon: Tested it on exynos4412-odroidu3 board] Tested-by: Markus Reichl <[email protected]> Tested-by: Anand Moon <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 918f7c2 commit 4f20aa0

File tree

2 files changed

+94
-0
lines changed

2 files changed

+94
-0
lines changed

arch/arm/boot/dts/exynos4412-odroid-common.dtsi

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,53 @@
109109
};
110110
};
111111

112+
&bus_dmc {
113+
devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
114+
vdd-supply = <&buck1_reg>;
115+
status = "okay";
116+
};
117+
118+
&bus_acp {
119+
devfreq = <&bus_dmc>;
120+
status = "okay";
121+
};
122+
123+
&bus_c2c {
124+
devfreq = <&bus_dmc>;
125+
status = "okay";
126+
};
127+
128+
&bus_leftbus {
129+
devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
130+
vdd-supply = <&buck3_reg>;
131+
status = "okay";
132+
};
133+
134+
&bus_rightbus {
135+
devfreq = <&bus_leftbus>;
136+
status = "okay";
137+
};
138+
139+
&bus_display {
140+
devfreq = <&bus_leftbus>;
141+
status = "okay";
142+
};
143+
144+
&bus_fsys {
145+
devfreq = <&bus_leftbus>;
146+
status = "okay";
147+
};
148+
149+
&bus_peri {
150+
devfreq = <&bus_leftbus>;
151+
status = "okay";
152+
};
153+
154+
&bus_mfc {
155+
devfreq = <&bus_leftbus>;
156+
status = "okay";
157+
};
158+
112159
&cpu0 {
113160
cpu0-supply = <&buck2_reg>;
114161
};

arch/arm/boot/dts/exynos4412-trats2.dts

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,53 @@
289289
status = "okay";
290290
};
291291

292+
&bus_dmc {
293+
devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
294+
vdd-supply = <&buck1_reg>;
295+
status = "okay";
296+
};
297+
298+
&bus_acp {
299+
devfreq = <&bus_dmc>;
300+
status = "okay";
301+
};
302+
303+
&bus_c2c {
304+
devfreq = <&bus_dmc>;
305+
status = "okay";
306+
};
307+
308+
&bus_leftbus {
309+
devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
310+
vdd-supply = <&buck3_reg>;
311+
status = "okay";
312+
};
313+
314+
&bus_rightbus {
315+
devfreq = <&bus_leftbus>;
316+
status = "okay";
317+
};
318+
319+
&bus_display {
320+
devfreq = <&bus_leftbus>;
321+
status = "okay";
322+
};
323+
324+
&bus_fsys {
325+
devfreq = <&bus_leftbus>;
326+
status = "okay";
327+
};
328+
329+
&bus_peri {
330+
devfreq = <&bus_leftbus>;
331+
status = "okay";
332+
};
333+
334+
&bus_mfc {
335+
devfreq = <&bus_leftbus>;
336+
status = "okay";
337+
};
338+
292339
&cpu0 {
293340
cpu0-supply = <&buck2_reg>;
294341
};

0 commit comments

Comments
 (0)