ARM: dts: dove: add DT GPU support
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 15 Dec 2015 16:38:02 +0000 (17:38 +0100)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Tue, 15 Dec 2015 16:46:16 +0000 (17:46 +0100)
Add DT support for the Vivante GC600 GPU on Marvell Dove platforms.
These nodes default to being disabled unless a platform decides they
should be enabled.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/dove.dtsi

index 9e109aab92d097c1e84e053e8d88e89321b07250..698d58cea20d2e8c1a3c7d8e7a4dadb717847624 100644 (file)
                marvell,tauros2-cache-features = <0>;
        };
 
+       gpu-subsystem {
+               compatible = "marvell,dove-gpu-subsystem";
+               cores = <&gpu>;
+               status = "disabled";
+       };
+
        i2c-mux {
                compatible = "i2c-mux-pinctrl";
                #address-cells = <1>;
                                #address-cells = <1>;
                                #size-cells = <1>;
                        };
+
+                       gpu: gpu@840000 {
+                               clocks = <&divider_clk 1>;
+                               clock-names = "core";
+                               compatible = "vivante,gc";
+                               interrupts = <48>;
+                               power-domains = <&gpu_domain>;
+                               reg = <0x840000 0x4000>;
+                               status = "disabled";
+                       };
                };
        };
 };