ARM: dts: Cygnus: Add BCM11360's V3D device
authorEric Anholt <eric@anholt.net>
Tue, 18 Apr 2017 23:32:34 +0000 (16:32 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 12 Jun 2017 16:52:35 +0000 (09:52 -0700)
This loads the VC4 driver on the 911360_entphn platform (with the
corresponding series sent to dri-devel), which is supported by master
of the Mesa tree.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm-cygnus.dtsi
arch/arm/boot/dts/bcm911360_entphn.dts

index 9644fddb5e3c3d6250f304dfee7c4ffa3bd90071..5adbf74d2d707155fb05ac529b6d5f91a9077bcb 100644 (file)
                        status = "disabled";
                };
 
+               v3d: v3d@180a2000 {
+                       compatible = "brcm,cygnus-v3d";
+                       reg = <0x180a2000 0x1000>;
+                       clocks = <&mipipll BCM_CYGNUS_MIPIPLL_CH2_V3D>;
+                       clock-names = "v3d_clk";
+                       interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>;
+                       status = "disabled";
+               };
+
+               vc4: gpu {
+                       compatible = "brcm,cygnus-vc4";
+               };
+
                adc: adc@180a6000 {
                        compatible = "brcm,iproc-static-adc";
                        #io-channel-cells = <1>;
index 8b3800f462882d3aaac6bd7e4aa4662e07c69533..037621c13290686453dd0aebd9ac442009d03322 100644 (file)
        };
 };
 
+&v3d {
+       assigned-clocks =
+               <&mipipll BCM_CYGNUS_MIPIPLL>,
+               <&mipipll BCM_CYGNUS_MIPIPLL_CH2_V3D>;
+       assigned-clock-rates = <525000000>, <300000000>;
+       status = "okay";
+};
+
 &uart3 {
        status = "okay";
 };