Stepan Moskovchenko | 1b6dac6 | 2013-01-15 18:48:51 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2013, The Linux Foundation. All rights reserved. |
| 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 | * As a general rule, only version-specific property overrides should be placed |
| 15 | * inside this file. However, device definitions should be placed inside the |
| 16 | * msm8974.dtsi file. |
| 17 | */ |
| 18 | |
| 19 | /include/ "msm8974.dtsi" |
Olav Haugan | 8e32a99 | 2013-01-31 11:42:28 -0800 | [diff] [blame] | 20 | /include/ "msm8974-v2-iommu.dtsi" |
Shalaj Jain | 300e5ce | 2013-02-09 16:15:56 -0800 | [diff] [blame] | 21 | /include/ "msm8974-v2-iommu-domains.dtsi" |
Mahesh Sivasubramanian | 84c31c9 | 2013-03-06 18:19:49 -0700 | [diff] [blame] | 22 | /include/ "msm8974-v2-pm.dtsi" |
Abhimanyu Kapur | 032b1f4 | 2013-01-18 00:10:50 -0800 | [diff] [blame] | 23 | |
| 24 | / { |
Manu Gautam | 8a7a8f1 | 2013-01-22 13:56:29 +0530 | [diff] [blame] | 25 | android_usb@fe8050c8 { |
| 26 | compatible = "qcom,android-usb"; |
| 27 | reg = <0xfe8050c8 0xc8>; |
| 28 | qcom,android-usb-swfi-latency = <1>; |
| 29 | }; |
| 30 | |
Abhimanyu Kapur | 032b1f4 | 2013-01-18 00:10:50 -0800 | [diff] [blame] | 31 | qcom,msm-imem@fe805000 { |
| 32 | compatible = "qcom,msm-imem"; |
| 33 | reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ |
| 34 | }; |
| 35 | }; |
Jordan Crouse | c13e9e9 | 2013-01-29 10:13:36 -0700 | [diff] [blame] | 36 | |
| 37 | /* GPU overrides */ |
| 38 | &msm_gpu { |
| 39 | /* Updated chip ID */ |
| 40 | qcom,chipid = <0x03030001>; |
| 41 | |
| 42 | /* Updated bus bandwidth requirements */ |
| 43 | qcom,msm-bus,vectors-KBps = |
| 44 | /* Off */ |
| 45 | <26 512 0 0>, <89 604 0 0>, |
| 46 | /* SVS */ |
Lucille Sylvester | 395e6ce | 2013-01-18 17:09:02 -0700 | [diff] [blame] | 47 | <26 512 0 2400000>, <89 604 0 3000000>, |
| 48 | /* Nominal / SVS */ |
| 49 | <26 512 0 4656000>, <89 604 0 3000000>, |
Jordan Crouse | c13e9e9 | 2013-01-29 10:13:36 -0700 | [diff] [blame] | 50 | /* Nominal */ |
Suman Tatiraju | 392822d | 2013-03-27 11:26:24 -0700 | [diff] [blame] | 51 | <26 512 0 4656000>, <89 604 0 5120000>, |
Lucille Sylvester | 395e6ce | 2013-01-18 17:09:02 -0700 | [diff] [blame] | 52 | /* Turbo / Nominal */ |
Suman Tatiraju | 392822d | 2013-03-27 11:26:24 -0700 | [diff] [blame] | 53 | <26 512 0 7464000>, <89 604 0 5120000>, |
Jordan Crouse | c13e9e9 | 2013-01-29 10:13:36 -0700 | [diff] [blame] | 54 | /* Turbo */ |
| 55 | <26 512 0 7464000>, <89 604 0 6400000>; |
| 56 | }; |
Adrian Salido-Moreno | 42559bc | 2013-02-07 14:34:45 -0800 | [diff] [blame] | 57 | |
| 58 | &mdss_mdp { |
| 59 | qcom,vbif-settings = <0x0004 0x00000001>; |
Adrian Salido-Moreno | 42559bc | 2013-02-07 14:34:45 -0800 | [diff] [blame] | 60 | |
| 61 | qcom,mdss-wb-off = <0x00011100 0x00011500 |
| 62 | 0x00011900 0x00011D00 0x00012100>; |
| 63 | qcom,mdss-intf-off = <0x00012500 0x00012700 |
| 64 | 0x00012900 0x00012b00>; |
Siddhartha Agrawal | 98f415c | 2013-03-26 16:58:01 -0700 | [diff] [blame] | 65 | qcom,mdss-pingpong-off = <0x00012D00 0x00012E00 0x00012F00>; |
Sree Sesha Aravind Vadrevu | 30b5370 | 2013-04-09 16:37:47 -0700 | [diff] [blame] | 66 | qcom,mdss-has-bwc; |
Sree Sesha Aravind Vadrevu | 691d581 | 2013-04-09 21:34:28 -0700 | [diff] [blame] | 67 | qcom,mdss-has-decimation; |
Carl Vanderlip | 79fd23e | 2013-04-24 10:12:09 -0700 | [diff] [blame] | 68 | qcom,mdss-ad-off = <0x0013100 0x00013300>; |
Adrian Salido-Moreno | 42559bc | 2013-02-07 14:34:45 -0800 | [diff] [blame] | 69 | }; |
Vinay Kalia | b35a018 | 2013-02-16 16:44:34 -0800 | [diff] [blame] | 70 | |
Ujwal Patel | 47c187d | 2013-04-03 19:26:52 -0700 | [diff] [blame] | 71 | &mdss_hdmi_tx { |
| 72 | reg = <0xfd922100 0x370>, |
| 73 | <0xfd922500 0x7C>, |
| 74 | <0xfc4b8000 0x60F0>; |
| 75 | reg-names = "core_physical", "phy_physical", "qfprom_physical"; |
| 76 | }; |
| 77 | |
Vinay Kalia | b35a018 | 2013-02-16 16:44:34 -0800 | [diff] [blame] | 78 | &msm_vidc { |
| 79 | qcom,vidc-ns-map = <0x40000000 0x40000000>; |
| 80 | qcom,load-freq-tbl = <979200 465000000>, |
| 81 | <783360 465000000>, |
| 82 | <489600 266670000>, |
| 83 | <244800 133330000>; |
| 84 | qcom,reg-presets = <0x80070 0x11FFF>, |
| 85 | <0x80074 0xA4>, |
| 86 | <0x800A8 0x1FFF>, |
| 87 | <0x80124 0x3>, |
| 88 | <0xE0020 0x5555556>, |
| 89 | <0xE0024 0x0>; |
| 90 | qcom,bus-ports = <1>; |
| 91 | qcom,enc-ocmem-ab-ib = <0 0>, |
| 92 | <138000 1034000>, |
| 93 | <414000 1034000>, |
| 94 | <940000 1034000>, |
| 95 | <1880000 2068000>, |
| 96 | <3008000 3309000>, |
| 97 | <3760000 4136000>, |
| 98 | <4468000 2457000>; |
| 99 | qcom,dec-ocmem-ab-ib = <0 0>, |
| 100 | <176000 519000>, |
| 101 | <456000 519000>, |
| 102 | <864000 519000>, |
| 103 | <1728000 1038000>, |
| 104 | <2766000 1661000>, |
| 105 | <3456000 2076000>, |
| 106 | <3662000 2198000>; |
| 107 | qcom,enc-ddr-ab-ib = <0 0>, |
| 108 | <60000 302000>, |
| 109 | <182000 302000>, |
| 110 | <402000 302000>, |
| 111 | <804000 604000>, |
| 112 | <1288000 967000>, |
| 113 | <2340000 1404000>, |
| 114 | <24940000 1496000>; |
| 115 | qcom,dec-ddr-ab-ib = <0 0>, |
| 116 | <104000 303000>, |
| 117 | <268000 303000>, |
| 118 | <506000 303000>, |
| 119 | <1012000 606000>, |
| 120 | <1620000 970000>, |
| 121 | <2024000 1212000>, |
| 122 | <2132000 1279000>; |
Shalaj Jain | c2feb4d | 2013-02-12 13:44:00 -0800 | [diff] [blame] | 123 | qcom,iommu-groups = <&venus_domain_ns &venus_domain_sec_bitstream |
| 124 | &venus_domain_sec_pixel &venus_domain_sec_non_pixel>; |
| 125 | qcom,iommu-group-buffer-types = <0xfff 0x91 0x42 0x120>; |
| 126 | qcom,buffer-type-tz-usage-table = <0x91 0x1>, |
| 127 | <0x42 0x2>, |
| 128 | <0x120 0x3>; |
Vinay Kalia | b35a018 | 2013-02-16 16:44:34 -0800 | [diff] [blame] | 129 | }; |
Abhijeet Dharmapurikar | 46a7ad3 | 2013-02-23 12:50:19 -0800 | [diff] [blame] | 130 | |
| 131 | &krait_pdn { |
| 132 | qcom,use-phase-switching; |
| 133 | }; |