blob: f2630332a0b73a15e06bb8ce6dee95a8e14b50d8 [file] [log] [blame]
Duy Truonge833aca2013-02-12 13:35:08 -08001/* Copyright (c) 2012, The Linux Foundation. All rights reserved.
Stepan Moskovchenkoa1424c72012-07-23 17:22:51 -07002 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13/ {
14 jpeg_iommu: qcom,iommu@fda64000 {
15 compatible = "qcom,msm-smmu-v2";
16 #address-cells = <1>;
17 #size-cells = <1>;
18 ranges;
19 reg = <0xfda64000 0x10000>;
20 vdd-supply = <&gdsc_jpeg>;
21 qcom,iommu-smt-size = <16>;
22 status = "disabled";
23
24 qcom,iommu-ctx@fda6c000 {
25 reg = <0xfda6c000 0x1000>;
Stepan Moskovchenko32a5ef42012-08-10 01:29:30 -070026 interrupts = <0 70 0>;
Stepan Moskovchenkoa1424c72012-07-23 17:22:51 -070027 qcom,iommu-ctx-sids = <0>;
28 label = "jpeg_enc0";
29 };
30
31 qcom,iommu-ctx@fda6d000 {
32 reg = <0xfda6d000 0x1000>;
33 interrupts = <0 70 0>;
34 qcom,iommu-ctx-sids = <1>;
35 label = "jpeg_enc1";
36 };
37
38 qcom,iommu-ctx@fda6e000 {
39 reg = <0xfda6e000 0x1000>;
Stepan Moskovchenko32a5ef42012-08-10 01:29:30 -070040 interrupts = <0 70 0>;
Stepan Moskovchenkoa1424c72012-07-23 17:22:51 -070041 qcom,iommu-ctx-sids = <2>;
42 label = "jpeg_dec";
43 };
44 };
45
46 mdp_iommu: qcom,iommu@fd928000 {
47 compatible = "qcom,msm-smmu-v2";
48 #address-cells = <1>;
49 #size-cells = <1>;
50 ranges;
51 reg = <0xfd928000 0x10000>;
52 vdd-supply = <&gdsc_mdss>;
53 qcom,iommu-smt-size = <16>;
54 status = "disabled";
55
56 qcom,iommu-ctx@fd930000 {
57 reg = <0xfd930000 0x1000>;
Stepan Moskovchenko32a5ef42012-08-10 01:29:30 -070058 interrupts = <0 47 0>;
Stepan Moskovchenkoa1424c72012-07-23 17:22:51 -070059 qcom,iommu-ctx-sids = <0>;
60 label = "mdp_0";
61 };
62
63 qcom,iommu-ctx@fd931000 {
64 reg = <0xfd931000 0x1000>;
65 interrupts = <0 47 0>;
66 qcom,iommu-ctx-sids = <1>;
67 label = "mdp_1";
68 };
69 };
70
71 venus_iommu: qcom,iommu@fdc84000 {
72 compatible = "qcom,msm-smmu-v2";
73 #address-cells = <1>;
74 #size-cells = <1>;
75 ranges;
76 reg = <0xfdc84000 0x10000>;
77 vdd-supply = <&gdsc_venus>;
78 qcom,iommu-smt-size = <16>;
Stepan Moskovchenkob26b8ca2012-07-24 19:42:44 -070079 qcom,needs-alt-core-clk;
Stepan Moskovchenkoa1424c72012-07-23 17:22:51 -070080 status = "disabled";
81
82 qcom,iommu-ctx@fdc8c000 {
83 reg = <0xfdc8c000 0x1000>;
Stepan Moskovchenko32a5ef42012-08-10 01:29:30 -070084 interrupts = <0 42 0>;
Stepan Moskovchenkoa1424c72012-07-23 17:22:51 -070085 qcom,iommu-ctx-sids = <0 1 2 3 4 5>;
86 label = "venus_ns";
87 };
88
89 qcom,iommu-ctx@fdc8d000 {
90 reg = <0xfdc8d000 0x1000>;
91 interrupts = <0 42 0>;
92 qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84 0x85>;
93 label = "venus_cp";
94 };
95
96 qcom,iommu-ctx@fdc8e000 {
97 reg = <0xfdc8e000 0x1000>;
Stepan Moskovchenko32a5ef42012-08-10 01:29:30 -070098 interrupts = <0 42 0>;
Stepan Moskovchenkoa1424c72012-07-23 17:22:51 -070099 qcom,iommu-ctx-sids = <0xc0 0xc6>;
100 label = "venus_fw";
101 };
102 };
103
104 kgsl_iommu: qcom,iommu@fdb10000 {
105 compatible = "qcom,msm-smmu-v2";
106 #address-cells = <1>;
107 #size-cells = <1>;
108 ranges;
109 reg = <0xfdb10000 0x10000>;
110 vdd-supply = <&gdsc_oxili_cx>;
111 qcom,iommu-smt-size = <32>;
Stepan Moskovchenkob26b8ca2012-07-24 19:42:44 -0700112 qcom,needs-alt-core-clk;
Stepan Moskovchenkoa1424c72012-07-23 17:22:51 -0700113 status = "disabled";
114
115 qcom,iommu-ctx@fdb18000 {
116 reg = <0xfdb18000 0x1000>;
Stepan Moskovchenko32a5ef42012-08-10 01:29:30 -0700117 interrupts = <0 241 0>;
Stepan Moskovchenkoa1424c72012-07-23 17:22:51 -0700118 qcom,iommu-ctx-sids = <0>;
119 label = "gfx3d_user";
120 };
121
122 qcom,iommu-ctx@fdb19000 {
123 reg = <0xfdb19000 0x1000>;
124 interrupts = <0 241 0>;
125 qcom,iommu-ctx-sids = <1>;
126 label = "gfx3d_priv";
127 };
128 };
129
130 vfe_iommu: qcom,iommu@fda44000 {
131 compatible = "qcom,msm-smmu-v2";
132 #address-cells = <1>;
133 #size-cells = <1>;
134 ranges;
135 reg = <0xfda44000 0x10000>;
136 vdd-supply = <&gdsc_vfe>;
137 qcom,iommu-smt-size = <32>;
138 status = "disabled";
139
140 qcom,iommu-ctx@fda4c000 {
141 reg = <0xfda4c000 0x1000>;
Stepan Moskovchenko32a5ef42012-08-10 01:29:30 -0700142 interrupts = <0 65 0>;
Stepan Moskovchenkoa1424c72012-07-23 17:22:51 -0700143 qcom,iommu-ctx-sids = <0>;
144 label = "vfe0";
145 };
146
147 qcom,iommu-ctx@fda4d000 {
148 reg = <0xfda4d000 0x1000>;
149 interrupts = <0 65 0>;
150 qcom,iommu-ctx-sids = <1>;
151 label = "vfe1";
152 };
153
154 qcom,iommu-ctx@fda4e000 {
155 reg = <0xfda4e000 0x1000>;
Stepan Moskovchenko32a5ef42012-08-10 01:29:30 -0700156 interrupts = <0 65 0>;
Stepan Moskovchenkoa1424c72012-07-23 17:22:51 -0700157 qcom,iommu-ctx-sids = <2>;
158 label = "cpp";
159 };
160 };
161};