Skip to contentSkip to conversation

ARM: dts: bcm-cygnus: Add 911360's V3D device.

PATCH Applied Eric Anholt 3 participants 3 messages Apr 18, 2017 – Apr 25, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: bcm-cygnus: Add 911360's V3D device.

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.

---
 arch/arm/boot/dts/bcm-cygnus.dtsi      | 13 +++++++++++++
 arch/arm/boot/dts/bcm911360_entphn.dts |  8 ++++++++
 2 files changed, 21 insertions(+)
arch/arm/boot/dts/bcm-cygnus.dtsi +13 -0
index f52750c6d3ed..907a5e843364 100644
@@ -406,6 +406,19 @@
 			status = "disabled";
 		};
 
+		v3d: v3d at 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 at 180a6000 {
 			compatible = "brcm,iproc-static-adc";
 			#io-channel-cells = <1>;
arch/arm/boot/dts/bcm911360_entphn.dts +8 -0
index 8b3800f46288..037621c13290 100644
@@ -57,6 +57,14 @@
 	};
 };
 
+&v3d {
+	assigned-clocks =
+		<&mipipll BCM_CYGNUS_MIPIPLL>,
+		<&mipipll BCM_CYGNUS_MIPIPLL_CH2_V3D>;
+	assigned-clock-rates = <525000000>, <300000000>;
+	status = "okay";
+};
+
 &uart3 {
 	status = "okay";
 };
Signature · 1 line
2.11.0
Acked-by on v1 1/1
#1 lore raw

Looks good - thanks for getting the V3D open source code going on this SoC!

Quoted 5 lines · Eric Anholt

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.

Quoted 49 lines
---
 arch/arm/boot/dts/bcm-cygnus.dtsi      | 13 +++++++++++++
 arch/arm/boot/dts/bcm911360_entphn.dts |  8 ++++++++
 2 files changed, 21 insertions(+)
arch/arm/boot/dts/bcm-cygnus.dtsi +13 -0
index f52750c6d3ed..907a5e843364 100644
@@ -406,6 +406,19 @@
 			status = "disabled";
 		};
 
+		v3d: v3d at 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 at 180a6000 {
 			compatible = "brcm,iproc-static-adc";
 			#io-channel-cells = <1>;
arch/arm/boot/dts/bcm911360_entphn.dts +8 -0
index 8b3800f46288..037621c13290 100644
@@ -57,6 +57,14 @@
 	};
 };
 
+&v3d {
+	assigned-clocks =
+		<&mipipll BCM_CYGNUS_MIPIPLL>,
+		<&mipipll BCM_CYGNUS_MIPIPLL_CH2_V3D>;
+	assigned-clock-rates = <525000000>, <300000000>;
+	status = "okay";
+};
+
 &uart3 {
 	status = "okay";
 };