diff options
author | Heiko Stuebner <heiko@sntech.de> | 2017-07-12 20:07:05 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2017-09-22 12:18:05 +0300 |
commit | 451ef43b4385ea17eca4da576d74ced8fdba13b7 (patch) | |
tree | 101dbd6801cfd707a7581a7ec620311f2b24ff40 /arch/arm/boot/dts/rk322x.dtsi | |
parent | 3584473a9441e43699e9f0c70d9f5de385cd3f73 (diff) | |
download | linux-451ef43b4385ea17eca4da576d74ced8fdba13b7.tar.xz |
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: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk322x.dtsi')
-rw-r--r-- | arch/arm/boot/dts/rk322x.dtsi | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 06814421eed2..c97287ebb0ea 100644 --- a/arch/arm/boot/dts/rk322x.dtsi +++ b/arch/arm/boot/dts/rk322x.dtsi @@ -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>; |