Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 451ef43b authored by Heiko Stuebner's avatar Heiko Stuebner
Browse files

ARM: dts: rockchip: add rk322x gpu node



The rk3228/3229 uses a Mali400 GPU with two pixel processors.
This adds the core node for it, which can be enabled
in board devicetrees.

Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 3584473a
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -558,6 +558,27 @@
		status = "disabled";
	};

	gpu: gpu@20000000 {
		compatible = "rockchip,rk3228-mali", "arm,mali-400";
		reg = <0x20000000 0x10000>;
		interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-names = "gp",
				  "gpmmu",
				  "pp0",
				  "pp0mmu",
				  "pp1",
				  "pp1mmu";
		clocks = <&cru ACLK_GPU>, <&cru ACLK_GPU>;
		clock-names = "core", "bus";
		resets = <&cru SRST_GPU_A>;
		status = "disabled";
	};

	vpu_mmu: iommu@20020800 {
		compatible = "rockchip,iommu";
		reg = <0x20020800 0x100>;