Commit 4a7bc07f authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

ARM: dts: exynos: Add GPU/Mali 400 node to Exynos3250

Add nodes for GPU (Mali 400) to Exynos3250.  This is still limited and
not tested:
1. No dynamic voltage and frequency scaling,
2. Not sure what to do with CLK_G3D clock responsible for gating entire
   IP block (it is now being disabled as unused).
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 8b388cee
...@@ -59,6 +59,11 @@ &cpu0 { ...@@ -59,6 +59,11 @@ &cpu0 {
cpu0-supply = <&buck2_reg>; cpu0-supply = <&buck2_reg>;
}; };
&gpu {
mali-supply = <&buck3_reg>;
status = "okay";
};
&i2c_0 { &i2c_0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
...@@ -172,6 +172,11 @@ &exynos_usbphy { ...@@ -172,6 +172,11 @@ &exynos_usbphy {
status = "okay"; status = "okay";
}; };
&gpu {
mali-supply = <&buck3_reg>;
status = "okay";
};
&hsotg { &hsotg {
vusb_d-supply = <&ldo15_reg>; vusb_d-supply = <&ldo15_reg>;
vusb_a-supply = <&ldo12_reg>; vusb_a-supply = <&ldo12_reg>;
......
...@@ -244,6 +244,11 @@ i80-if-timings { ...@@ -244,6 +244,11 @@ i80-if-timings {
}; };
}; };
&gpu {
mali-supply = <&buck3_reg>;
status = "okay";
};
&i2c_0 { &i2c_0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
...@@ -126,6 +126,39 @@ xtcxo: clock@2 { ...@@ -126,6 +126,39 @@ xtcxo: clock@2 {
}; };
}; };
gpu: gpu@13000000 {
compatible = "samsung,exynos4210-mali", "arm,mali-400";
reg = <0x13000000 0x10000>;
interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "gp",
"gpmmu",
"pp0",
"ppmmu0",
"pp1",
"ppmmu1",
"pp2",
"ppmmu2",
"pp3",
"ppmmu3",
"pmu";
clocks = <&cmu CLK_G3D>,
<&cmu CLK_SCLK_G3D>;
clock-names = "bus", "core";
power-domains = <&pd_g3d>;
status = "disabled";
/* TODO: operating points for DVFS, assigned clock as 134 MHz */
};
pmu { pmu {
compatible = "arm,cortex-a7-pmu"; compatible = "arm,cortex-a7-pmu";
interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>, interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment