aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2016-09-23 20:01:04 -0400
committerAndy Gross <andy.gross@linaro.org>2016-11-19 00:30:29 -0500
commitf078eac68e8da3689385d96262caa10ca1ff0e0a (patch)
tree0e60d0b10aefa3e6c26ea8958d36c9785e9ed0ab
parentc809801d4ceb5185b1c670562a94aef6defe9a70 (diff)
arm: dts: qcom: apq8064: Add dsi, gpu and iommu nodes
Adds the core gpu, and dsi nodes for the apq8064 needed to get graphics working on the nexus7 and other devices. These apply on top of Archit's patch set that enables HDMI for IFC6410 Feedback would be greatly appreciated! Cc: Archit Taneja <architt@codeaurora.org> Cc: vinay simha <vinaysimha@inforcecomputing.com> Cc: andy.gross@linaro.org Cc: robdclark@gmail.com Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
-rw-r--r--arch/arm/boot/dts/qcom-apq8064.dtsi230
1 files changed, 230 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index 5b3aaaa7a588..268bd470c865 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -1060,6 +1060,231 @@
1060 reg = <0x1a400000 0x100>; 1060 reg = <0x1a400000 0x100>;
1061 }; 1061 };
1062 1062
1063 gpu: adreno-3xx@4300000 {
1064 compatible = "qcom,adreno-3xx";
1065 reg = <0x04300000 0x20000>;
1066 reg-names = "kgsl_3d0_reg_memory";
1067 interrupts = <GIC_SPI 80 0>;
1068 interrupt-names = "kgsl_3d0_irq";
1069 clock-names =
1070 "core_clk",
1071 "iface_clk",
1072 "mem_clk",
1073 "mem_iface_clk";
1074 clocks =
1075 <&mmcc GFX3D_CLK>,
1076 <&mmcc GFX3D_AHB_CLK>,
1077 <&mmcc GFX3D_AXI_CLK>,
1078 <&mmcc MMSS_IMEM_AHB_CLK>;
1079 qcom,chipid = <0x03020002>;
1080
1081 iommus = <&gfx3d 0
1082 &gfx3d 1
1083 &gfx3d 2
1084 &gfx3d 3
1085 &gfx3d 4
1086 &gfx3d 5
1087 &gfx3d 6
1088 &gfx3d 7
1089 &gfx3d 8
1090 &gfx3d 9
1091 &gfx3d 10
1092 &gfx3d 11
1093 &gfx3d 12
1094 &gfx3d 13
1095 &gfx3d 14
1096 &gfx3d 15
1097 &gfx3d 16
1098 &gfx3d 17
1099 &gfx3d 18
1100 &gfx3d 19
1101 &gfx3d 20
1102 &gfx3d 21
1103 &gfx3d 22
1104 &gfx3d 23
1105 &gfx3d 24
1106 &gfx3d 25
1107 &gfx3d 26
1108 &gfx3d 27
1109 &gfx3d 28
1110 &gfx3d 29
1111 &gfx3d 30
1112 &gfx3d 31
1113 &gfx3d1 0
1114 &gfx3d1 1
1115 &gfx3d1 2
1116 &gfx3d1 3
1117 &gfx3d1 4
1118 &gfx3d1 5
1119 &gfx3d1 6
1120 &gfx3d1 7
1121 &gfx3d1 8
1122 &gfx3d1 9
1123 &gfx3d1 10
1124 &gfx3d1 11
1125 &gfx3d1 12
1126 &gfx3d1 13
1127 &gfx3d1 14
1128 &gfx3d1 15
1129 &gfx3d1 16
1130 &gfx3d1 17
1131 &gfx3d1 18
1132 &gfx3d1 19
1133 &gfx3d1 20
1134 &gfx3d1 21
1135 &gfx3d1 22
1136 &gfx3d1 23
1137 &gfx3d1 24
1138 &gfx3d1 25
1139 &gfx3d1 26
1140 &gfx3d1 27
1141 &gfx3d1 28
1142 &gfx3d1 29
1143 &gfx3d1 30
1144 &gfx3d1 31>;
1145
1146 qcom,gpu-pwrlevels {
1147 compatible = "qcom,gpu-pwrlevels";
1148 qcom,gpu-pwrlevel@0 {
1149 qcom,gpu-freq = <450000000>;
1150 };
1151 qcom,gpu-pwrlevel@1 {
1152 qcom,gpu-freq = <27000000>;
1153 };
1154 };
1155 };
1156
1157 mmss_sfpb: syscon@5700000 {
1158 compatible = "syscon";
1159 reg = <0x5700000 0x70>;
1160 };
1161
1162 dsi0: mdss_dsi@4700000 {
1163 compatible = "qcom,mdss-dsi-ctrl";
1164 label = "MDSS DSI CTRL->0";
1165 #address-cells = <1>;
1166 #size-cells = <0>;
1167 interrupts = <GIC_SPI 82 0>;
1168 reg = <0x04700000 0x200>;
1169 reg-names = "dsi_ctrl";
1170
1171 clocks = <&mmcc DSI_M_AHB_CLK>,
1172 <&mmcc DSI_S_AHB_CLK>,
1173 <&mmcc AMP_AHB_CLK>,
1174 <&mmcc DSI_CLK>,
1175 <&mmcc DSI1_BYTE_CLK>,
1176 <&mmcc DSI_PIXEL_CLK>,
1177 <&mmcc DSI1_ESC_CLK>;
1178 clock-names = "iface_clk", "bus_clk", "core_mmss_clk",
1179 "src_clk", "byte_clk", "pixel_clk",
1180 "core_clk";
1181
1182 assigned-clocks = <&mmcc DSI1_BYTE_SRC>,
1183 <&mmcc DSI1_ESC_SRC>,
1184 <&mmcc DSI_SRC>,
1185 <&mmcc DSI_PIXEL_SRC>;
1186 assigned-clock-parents = <&dsi0_phy 0>,
1187 <&dsi0_phy 0>,
1188 <&dsi0_phy 1>,
1189 <&dsi0_phy 1>;
1190 syscon-sfpb = <&mmss_sfpb>;
1191 phys = <&dsi0_phy>;
1192 ports {
1193 #address-cells = <1>;
1194 #size-cells = <0>;
1195
1196 port@0 {
1197 reg = <0>;
1198 dsi0_in: endpoint {
1199 };
1200 };
1201
1202 port@1 {
1203 reg = <1>;
1204 dsi0_out: endpoint {
1205 };
1206 };
1207 };
1208 };
1209
1210
1211 dsi0_phy: dsi-phy@4700200 {
1212 compatible = "qcom,dsi-phy-28nm-8960";
1213 #clock-cells = <1>;
1214
1215 reg = <0x04700200 0x100>,
1216 <0x04700300 0x200>,
1217 <0x04700500 0x5c>;
1218 reg-names = "dsi_pll", "dsi_phy", "dsi_phy_regulator";
1219 clock-names = "iface_clk";
1220 clocks = <&mmcc DSI_M_AHB_CLK>;
1221 };
1222
1223
1224 mdp_port0: iommu@7500000 {
1225 compatible = "qcom,apq8064-iommu";
1226 #iommu-cells = <1>;
1227 clock-names =
1228 "smmu_pclk",
1229 "iommu_clk";
1230 clocks =
1231 <&mmcc SMMU_AHB_CLK>,
1232 <&mmcc MDP_AXI_CLK>;
1233 reg = <0x07500000 0x100000>;
1234 interrupts =
1235 <GIC_SPI 63 0>,
1236 <GIC_SPI 64 0>;
1237 qcom,ncb = <2>;
1238 };
1239
1240 mdp_port1: iommu@7600000 {
1241 compatible = "qcom,apq8064-iommu";
1242 #iommu-cells = <1>;
1243 clock-names =
1244 "smmu_pclk",
1245 "iommu_clk";
1246 clocks =
1247 <&mmcc SMMU_AHB_CLK>,
1248 <&mmcc MDP_AXI_CLK>;
1249 reg = <0x07600000 0x100000>;
1250 interrupts =
1251 <GIC_SPI 61 0>,
1252 <GIC_SPI 62 0>;
1253 qcom,ncb = <2>;
1254 };
1255
1256 gfx3d: iommu@7c00000 {
1257 compatible = "qcom,apq8064-iommu";
1258 #iommu-cells = <1>;
1259 clock-names =
1260 "smmu_pclk",
1261 "iommu_clk";
1262 clocks =
1263 <&mmcc SMMU_AHB_CLK>,
1264 <&mmcc GFX3D_AXI_CLK>;
1265 reg = <0x07c00000 0x100000>;
1266 interrupts =
1267 <GIC_SPI 69 0>,
1268 <GIC_SPI 70 0>;
1269 qcom,ncb = <3>;
1270 };
1271
1272 gfx3d1: iommu@7d00000 {
1273 compatible = "qcom,apq8064-iommu";
1274 #iommu-cells = <1>;
1275 clock-names =
1276 "smmu_pclk",
1277 "iommu_clk";
1278 clocks =
1279 <&mmcc SMMU_AHB_CLK>,
1280 <&mmcc GFX3D_AXI_CLK>;
1281 reg = <0x07d00000 0x100000>;
1282 interrupts =
1283 <GIC_SPI 210 0>,
1284 <GIC_SPI 211 0>;
1285 qcom,ncb = <3>;
1286 };
1287
1063 pcie: pci@1b500000 { 1288 pcie: pci@1b500000 {
1064 compatible = "qcom,pcie-apq8064", "snps,dw-pcie"; 1289 compatible = "qcom,pcie-apq8064", "snps,dw-pcie";
1065 reg = <0x1b500000 0x1000 1290 reg = <0x1b500000 0x1000
@@ -1157,6 +1382,11 @@
1157 "hdmi_clk", 1382 "hdmi_clk",
1158 "tv_clk"; 1383 "tv_clk";
1159 1384
1385 iommus = <&mdp_port0 0
1386 &mdp_port0 2
1387 &mdp_port1 0
1388 &mdp_port1 2>;
1389
1160 ports { 1390 ports {
1161 #address-cells = <1>; 1391 #address-cells = <1>;
1162 #size-cells = <0>; 1392 #size-cells = <0>;