Add and enable Vivante GPU on stm32mp157c for ED1, DK1 and DK2 boards.
---
Version history:
v2:
* move GPU reserved memeory out of bottom DDR to let free this area for
U-Boot
v1:
* Initial
---
Pierre-Yves MORDRET (3):
ARM: dts: stm32: Add Vivante GPU support on STM32MP157c
ARM: dts: stm32: enable Vivante GPU support on stm32mp157c-ed1 board
ARM: dts: stm32: enable Vivante GPU support on stm32mp157a-dk1 board
arch/arm/boot/dts/stm32mp157a-dk1.dts | 16 ++++++++++++++++
arch/arm/boot/dts/stm32mp157c-ed1.dts | 16 ++++++++++++++++
arch/arm/boot/dts/stm32mp157c.dtsi | 10 ++++++++++
3 files changed, 42 insertions(+)
--
2.7.4
Enable Vivante GPU driver for stm32mp157c-ed1 board.
Signed-off-by: Pierre-Yves MORDRET <[email protected]>
---
Version history:
v2:
* move GPU reserved memeory out of bottom DDR to let free this area for
U-Boot
v1:
* Initial
---
---
arch/arm/boot/dts/stm32mp157c-ed1.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index 9fd7943..7bcc122 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -22,6 +22,17 @@
reg = <0xC0000000 0x40000000>;
};
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ gpu_reserved: gpu@e8000000 {
+ reg = <0xe8000000 0x8000000>;
+ no-map;
+ };
+ };
+
aliases {
serial0 = &uart4;
};
@@ -76,6 +87,11 @@
status = "okay";
};
+&gpu {
+ contiguous-area = <&gpu_reserved>;
+ status = "okay";
+};
+
&i2c4 {
pinctrl-names = "default";
pinctrl-0 = <&i2c4_pins_a>;
--
2.7.4
Hi Pierre-Yves,
On 5/17/19 10:42 AM, Pierre-Yves MORDRET wrote:
> Add and enable Vivante GPU on stm32mp157c for ED1, DK1 and DK2 boards.
> ---
> Version history:
> v2:
> * move GPU reserved memeory out of bottom DDR to let free this area for
> U-Boot
> v1:
> * Initial
> ---
> Pierre-Yves MORDRET (3):
> ARM: dts: stm32: Add Vivante GPU support on STM32MP157c
> ARM: dts: stm32: enable Vivante GPU support on stm32mp157c-ed1 board
> ARM: dts: stm32: enable Vivante GPU support on stm32mp157a-dk1 board
>
> arch/arm/boot/dts/stm32mp157a-dk1.dts | 16 ++++++++++++++++
> arch/arm/boot/dts/stm32mp157c-ed1.dts | 16 ++++++++++++++++
> arch/arm/boot/dts/stm32mp157c.dtsi | 10 ++++++++++
> 3 files changed, 42 insertions(+)
>
Series applied on stm32-next.
Thanks
Alex