[d-kernel] [PATCH 12/12] ARM: dts: bcm2711: Enable V3D

antohami на basealt.ru antohami на basealt.ru
Вт Мар 22 18:36:15 MSK 2022


From: Nicolas Saenz Julienne <nsaenzjulienne на suse.de>

This enables V3D for bcm2711 (used in the Raspberry Pi 4).

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne на suse.de>
---
 arch/arm/boot/dts/bcm2711.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711.dtsi
index dd79b94e4c70..c4cb563c9884 100644
--- a/arch/arm/boot/dts/bcm2711.dtsi
+++ b/arch/arm/boot/dts/bcm2711.dtsi
@@ -525,6 +525,18 @@ genet_mdio: mdio на e14 {
 				#size-cells = <0x0>;
 			};
 		};
+
+		v3d: gpu на 7ec00000 {
+			compatible = "brcm,bcm2711-v3d";
+			reg = <0x0 0x7ec00000 0x4000>,
+			      <0x0 0x7ec04000 0x4000>;
+			reg-names = "hub", "core0";
+
+			power-domains = <&pm BCM2835_POWER_DOMAIN_GRAFX_V3D>;
+			resets = <&pm BCM2835_RESET_V3D>;
+			clocks = <&firmware_clocks 5>;
+			interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
+		};
 	};
 };
 
-- 
2.33.0



Подробная информация о списке рассылки devel-kernel