You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
2.9 KiB
92 lines
2.9 KiB
/*
|
|
* Copyright (c) 2018, 2020, The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
&soc {
|
|
gfx_iommu: qcom,iommu@1f00000 {
|
|
status = "okay";
|
|
compatible = "qcom,qsmmu-v500";
|
|
reg = <0x1f00000 0x10000>,
|
|
<0x1ee2000 0x20>;
|
|
reg-names = "base", "tcu-base";
|
|
#iommu-cells = <1>;
|
|
qcom,tz-device-id = "GPU";
|
|
qcom,skip-init;
|
|
qcom,disable-atos;
|
|
qcom,dynamic;
|
|
qcom,use-3-lvl-tables;
|
|
#global-interrupts = <0>;
|
|
#size-cells = <1>;
|
|
#address-cells = <1>;
|
|
ranges;
|
|
interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&clock_gcc GCC_SMMU_CFG_CLK>,
|
|
<&clock_gcc GCC_GFX_TCU_CLK>;
|
|
clock-names = "iface_clk", "core_clk";
|
|
};
|
|
|
|
apps_smmu: qcom,iommu@1e00000 {
|
|
status = "okay";
|
|
compatible = "qcom,qsmmu-v500";
|
|
reg = <0x1e00000 0x40000>,
|
|
<0x1ee2000 0x20>;
|
|
reg-names = "base", "tcu-base";
|
|
#iommu-cells = <2>;
|
|
qcom,tz-device-id = "APPS";
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