mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
ARM: dts: rockchip: add vpu and vdec node for RK322x
The VPU and the VDEC IP block of RK322x are the same as RK3399 has and the drivers can be used as-is. Add the respective nodes to the device tree. Signed-off-by: Alex Bee <knaerzche@gmail.com> Link: https://lore.kernel.org/r/20210527154455.358869-13-knaerzche@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
parent
db3fc8fa0f
commit
36e9534dfc
1 changed files with 25 additions and 2 deletions
|
@ -610,6 +610,18 @@ gpu: gpu@20000000 {
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
vpu: video-codec@20020000 {
|
||||
compatible = "rockchip,rk3228-vpu", "rockchip,rk3399-vpu";
|
||||
reg = <0x20020000 0x800>;
|
||||
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "vepu", "vdpu";
|
||||
clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
|
||||
clock-names = "aclk", "hclk";
|
||||
iommus = <&vpu_mmu>;
|
||||
power-domains = <&power RK3228_PD_VPU>;
|
||||
};
|
||||
|
||||
vpu_mmu: iommu@20020800 {
|
||||
compatible = "rockchip,iommu";
|
||||
reg = <0x20020800 0x100>;
|
||||
|
@ -618,7 +630,19 @@ vpu_mmu: iommu@20020800 {
|
|||
clock-names = "aclk", "iface";
|
||||
power-domains = <&power RK3228_PD_VPU>;
|
||||
#iommu-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
vdec: video-codec@20030000 {
|
||||
compatible = "rockchip,rk3228-vdec", "rockchip,rk3399-vdec";
|
||||
reg = <0x20030000 0x480>;
|
||||
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&cru ACLK_RKVDEC>, <&cru HCLK_RKVDEC>,
|
||||
<&cru SCLK_VDEC_CABAC>, <&cru SCLK_VDEC_CORE>;
|
||||
clock-names = "axi", "ahb", "cabac", "core";
|
||||
assigned-clocks = <&cru SCLK_VDEC_CABAC>, <&cru SCLK_VDEC_CORE>;
|
||||
assigned-clock-rates = <300000000>, <300000000>;
|
||||
iommus = <&vdec_mmu>;
|
||||
power-domains = <&power RK3228_PD_RKVDEC>;
|
||||
};
|
||||
|
||||
vdec_mmu: iommu@20030480 {
|
||||
|
@ -629,7 +653,6 @@ vdec_mmu: iommu@20030480 {
|
|||
clock-names = "aclk", "iface";
|
||||
power-domains = <&power RK3228_PD_RKVDEC>;
|
||||
#iommu-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
vop: vop@20050000 {
|
||||
|
|
Loading…
Reference in a new issue