Duy Truong | e833aca | 2013-02-12 13:35:08 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2012, The Linux Foundation. All rights reserved. |
Stepan Moskovchenko | a1424c7 | 2012-07-23 17:22:51 -0700 | [diff] [blame] | 2 | * |
| 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 Moskovchenko | 32a5ef4 | 2012-08-10 01:29:30 -0700 | [diff] [blame] | 26 | interrupts = <0 70 0>; |
Stepan Moskovchenko | a1424c7 | 2012-07-23 17:22:51 -0700 | [diff] [blame] | 27 | 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 Moskovchenko | 32a5ef4 | 2012-08-10 01:29:30 -0700 | [diff] [blame] | 40 | interrupts = <0 70 0>; |
Stepan Moskovchenko | a1424c7 | 2012-07-23 17:22:51 -0700 | [diff] [blame] | 41 | 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 Moskovchenko | 32a5ef4 | 2012-08-10 01:29:30 -0700 | [diff] [blame] | 58 | interrupts = <0 47 0>; |
Stepan Moskovchenko | a1424c7 | 2012-07-23 17:22:51 -0700 | [diff] [blame] | 59 | 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 Moskovchenko | b26b8ca | 2012-07-24 19:42:44 -0700 | [diff] [blame] | 79 | qcom,needs-alt-core-clk; |
Stepan Moskovchenko | a1424c7 | 2012-07-23 17:22:51 -0700 | [diff] [blame] | 80 | status = "disabled"; |
| 81 | |
| 82 | qcom,iommu-ctx@fdc8c000 { |
| 83 | reg = <0xfdc8c000 0x1000>; |
Stepan Moskovchenko | 32a5ef4 | 2012-08-10 01:29:30 -0700 | [diff] [blame] | 84 | interrupts = <0 42 0>; |
Stepan Moskovchenko | a1424c7 | 2012-07-23 17:22:51 -0700 | [diff] [blame] | 85 | 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 Moskovchenko | 32a5ef4 | 2012-08-10 01:29:30 -0700 | [diff] [blame] | 98 | interrupts = <0 42 0>; |
Stepan Moskovchenko | a1424c7 | 2012-07-23 17:22:51 -0700 | [diff] [blame] | 99 | 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 Moskovchenko | b26b8ca | 2012-07-24 19:42:44 -0700 | [diff] [blame] | 112 | qcom,needs-alt-core-clk; |
Stepan Moskovchenko | a1424c7 | 2012-07-23 17:22:51 -0700 | [diff] [blame] | 113 | status = "disabled"; |
| 114 | |
| 115 | qcom,iommu-ctx@fdb18000 { |
| 116 | reg = <0xfdb18000 0x1000>; |
Stepan Moskovchenko | 32a5ef4 | 2012-08-10 01:29:30 -0700 | [diff] [blame] | 117 | interrupts = <0 241 0>; |
Stepan Moskovchenko | a1424c7 | 2012-07-23 17:22:51 -0700 | [diff] [blame] | 118 | 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 Moskovchenko | 32a5ef4 | 2012-08-10 01:29:30 -0700 | [diff] [blame] | 142 | interrupts = <0 65 0>; |
Stepan Moskovchenko | a1424c7 | 2012-07-23 17:22:51 -0700 | [diff] [blame] | 143 | 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 Moskovchenko | 32a5ef4 | 2012-08-10 01:29:30 -0700 | [diff] [blame] | 156 | interrupts = <0 65 0>; |
Stepan Moskovchenko | a1424c7 | 2012-07-23 17:22:51 -0700 | [diff] [blame] | 157 | qcom,iommu-ctx-sids = <2>; |
| 158 | label = "cpp"; |
| 159 | }; |
| 160 | }; |
| 161 | }; |