ARM: dts: stm32: enable Vivante GPU support on stm32mp157a-dk1 board
authorPierre-Yves MORDRET <pierre-yves.mordret@st.com>
Fri, 17 May 2019 08:42:08 +0000 (10:42 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Tue, 21 May 2019 09:04:15 +0000 (11:04 +0200)
Enable Vivante GPU driver for stm32mp157a-dk1 and dk2 boards.

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp157a-dk1.dts

index 7b4733b..b641ead 100644 (file)
                reg = <0xc0000000 0x20000000>;
        };
 
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               gpu_reserved: gpu@d4000000 {
+                       reg = <0xd4000000 0x4000000>;
+                       no-map;
+               };
+       };
+
        led {
                compatible = "gpio-leds";
                blue {
        };
 };
 
+&gpu {
+       contiguous-area = <&gpu_reserved>;
+       status = "okay";
+};
 
 &i2c4 {
        pinctrl-names = "default";