Commit 03d86fb5 authored by Nicolas Frattaroli's avatar Nicolas Frattaroli Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: Add Hantro encoder node to rk356x



The RK3566 and RK3568 come with a dedicated Hantro instance solely for
encoding. This patch adds a node for this to the device tree, along with
a node for its MMU.

Signed-off-by: default avatarNicolas Frattaroli <frattaroli.nicolas@gmail.com>
Link: https://lore.kernel.org/r/20220612155346.16288-4-frattaroli.nicolas@gmail.com


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 944be6fb
Loading
Loading
Loading
Loading
+20 −0
Original line number Original line Diff line number Diff line
@@ -612,6 +612,26 @@
		#iommu-cells = <0>;
		#iommu-cells = <0>;
	};
	};


	vepu: video-codec@fdee0000 {
		compatible = "rockchip,rk3568-vepu";
		reg = <0x0 0xfdee0000 0x0 0x800>;
		interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
		clocks = <&cru ACLK_JENC>, <&cru HCLK_JENC>;
		clock-names = "aclk", "hclk";
		iommus = <&vepu_mmu>;
		power-domains = <&power RK3568_PD_RGA>;
	};

	vepu_mmu: iommu@fdee0800 {
		compatible = "rockchip,rk3568-iommu";
		reg = <0x0 0xfdee0800 0x0 0x40>;
		interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
		clocks = <&cru ACLK_JENC>, <&cru HCLK_JENC>;
		clock-names = "aclk", "iface";
		power-domains = <&power RK3568_PD_RGA>;
		#iommu-cells = <0>;
	};

	sdmmc2: mmc@fe000000 {
	sdmmc2: mmc@fe000000 {
		compatible = "rockchip,rk3568-dw-mshc", "rockchip,rk3288-dw-mshc";
		compatible = "rockchip,rk3568-dw-mshc", "rockchip,rk3288-dw-mshc";
		reg = <0x0 0xfe000000 0x0 0x4000>;
		reg = <0x0 0xfe000000 0x0 0x4000>;