label = "mdp_0";
};
- venus_ns: qcom,iommu-ctx@1e25000 {
+ venus_ns: venus_ns@1e25000 {
compatible = "qcom,msm-smmu-v2-ctx";
reg = <0x1e25000 0x1000>;
interrupts = <0 70 0>;
label = "mdp_1";
};
- venus_sec_pixel: qcom,iommu-ctx@1e33000 {
+ venus_sec_pixel: venus_sec_pixel@1e33000 {
compatible = "qcom,msm-smmu-v2-ctx";
qcom,secure-context;
reg = <0x1e33000 0x1000>;
label = "venus_sec_pixel";
};
- venus_sec_bitstream: qcom,iommu-ctx@1e34000 {
+ venus_sec_bitstream: venus_sec_bitstream@1e34000 {
compatible = "qcom,msm-smmu-v2-ctx";
qcom,secure-context;
reg = <0x1e34000 0x1000>;
label = "venus_sec_bitstream";
};
- venus_sec_non_pixel: qcom,iommu-ctx@1e35000 {
+ venus_sec_non_pixel: venus_sec_non_pixel@1e35000 {
compatible = "qcom,msm-smmu-v2-ctx";
qcom,secure-context;
reg = <0x1e35000 0x1000>;
reg = <0x0 0x8b600000 0x0 0x0600000>;
};
+ vidc_mem: vidc_region@8f800000 {
+ no-map;
+ reg = <0 0x8f800000 0 0x800000>;
+ };
};
cpus {
qcom,offset-log-len-mask = <44>;
qcom,offset-page-indices = <56>;
};
+
+ vidc_rproc: vidc_tzpil@0 {
+ compatible = "qcom,tz-pil";
+ clocks = <&gcc GCC_CRYPTO_CLK>,
+ <&gcc GCC_CRYPTO_AHB_CLK>,
+ <&gcc GCC_CRYPTO_AXI_CLK>,
+ <&gcc CRYPTO_CLK_SRC>;
+ clock-names = "scm_core_clk", "scm_iface_clk",
+ "scm_bus_clk", "scm_src_clk";
+ qcom,firmware-name = "venus";
+ qcom,pas-id = <9>;
+ memory-region = <&vidc_mem>;
+ status = "disabled";
+ };
+
+ vidc: qcom,vidc@1d00000 {
+ compatible = "qcom,msm-vidc";
+ reg = <0x01d00000 0xff000>;
+ interrupts = <GIC_SPI 44 0>;
+ power-domains = <&gcc VENUS_GDSC>;
+ clocks = <&gcc GCC_VENUS0_VCODEC0_CLK>,
+ <&gcc GCC_VENUS0_AHB_CLK>,
+ <&gcc GCC_VENUS0_AXI_CLK>;
+ clock-names = "core_clk", "iface_clk", "bus_clk";
+ qcom,hfi = "venus";
+ qcom,max-hw-load = <352800>; /* 720p @ 30 + 1080p @ 30 */
+ qcom,enable-idle-indicator;
+ rproc = <&vidc_rproc>;
+ qcom,iommu-cb = <&venus_ns>,
+ <&venus_sec_bitstream>,
+ <&venus_sec_pixel>,
+ <&venus_sec_non_pixel>;
+ status = "disabled";
+ };
};
smd {