blob: 4987daecd10dd46881b14d151718dd13c18839f8 [file] [log] [blame]
Su Liue5bdf002013-03-22 15:33:41 -07001/*
2 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Syed Rameez Mustafa878892c2012-08-23 17:30:32 -07003 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070014&soc {
Su Liue5bdf002013-03-22 15:33:41 -070015 qcom,msm-cam@fd8c0000 {
16 compatible = "qcom,msm-cam";
17 reg = <0xfd8c0000 0x10000>;
18 reg-names = "msm-cam";
19 };
20
21 qcom,csiphy@fda0ac00 {
22 cell-index = <0>;
23 compatible = "qcom,csiphy";
Su Liu9e7c6f32013-04-25 00:02:27 -070024 reg = <0xfda0ac00 0x200>,
25 <0xfda00030 0x4>;
26 reg-names = "csiphy", "csiphy_clk_mux";
Su Liue5bdf002013-03-22 15:33:41 -070027 interrupts = <0 78 0>;
28 interrupt-names = "csiphy";
29 };
30
31 qcom,csiphy@fda0b000 {
32 cell-index = <1>;
33 compatible = "qcom,csiphy";
Su Liu9e7c6f32013-04-25 00:02:27 -070034 reg = <0xfda0b000 0x200>,
35 <0xfda00038 0x4>;
36 reg-names = "csiphy", "csiphy_clk_mux";
Su Liue5bdf002013-03-22 15:33:41 -070037 interrupts = <0 79 0>;
38 interrupt-names = "csiphy";
39 };
40
41 qcom,csid@fda08000 {
42 cell-index = <0>;
43 compatible = "qcom,csid";
44 reg = <0xfda08000 0x100>;
45 reg-names = "csid";
46 interrupts = <0 51 0>;
47 interrupt-names = "csid";
48 qcom,csi-vdd-voltage = <1200000>;
49 qcom,mipi-csi-vdd-supply = <&pm8226_l4>;
50 };
51
52 qcom,csid@fda08400 {
53 cell-index = <1>;
54 compatible = "qcom,csid";
55 reg = <0xfda08400 0x100>;
56 reg-names = "csid";
57 interrupts = <0 52 0>;
58 interrupt-names = "csid";
59 qcom,csi-vdd-voltage = <1200000>;
60 qcom,mipi-csi-vdd-supply = <&pm8226_l4>;
61 };
62
63 qcom,ispif@fda0a000 {
64 cell-index = <0>;
65 compatible = "qcom,ispif";
Su Liu9e7c6f32013-04-25 00:02:27 -070066 reg = <0xfda0a000 0x500>,
67 <0xfda00020 0x10>;
68 reg-names = "ispif", "csi_clk_mux";
Su Liue5bdf002013-03-22 15:33:41 -070069 interrupts = <0 55 0>;
70 interrupt-names = "ispif";
71 };
72
73 qcom,vfe@fda10000 {
74 cell-index = <0>;
75 compatible = "qcom,vfe40";
76 reg = <0xfda10000 0x1000>,
Slavi Dimitrov8dec27c2013-07-25 00:16:18 -070077 <0xfda40000 0x200>,
78 <0xfd4a8000 0x4>;
79 reg-names = "vfe", "vfe_vbif", "tcsr";
Su Liue5bdf002013-03-22 15:33:41 -070080 interrupts = <0 57 0>;
81 interrupt-names = "vfe";
82 vdd-supply = <&gdsc_vfe>;
83 };
84
85 qcom,jpeg@fda1c000 {
86 cell-index = <0>;
87 compatible = "qcom,jpeg";
88 reg = <0xfda1c000 0x400>;
89 reg-names = "jpeg";
90 interrupts = <0 59 0>;
91 interrupt-names = "jpeg";
92 vdd-supply = <&gdsc_jpeg>;
93 };
94
95 qcom,irqrouter@fda00000 {
96 cell-index = <0>;
97 compatible = "qcom,irqrouter";
98 reg = <0xfda00000 0x100>;
99 reg-names = "irqrouter";
100 };
101
Su Liu9a3ad3c2013-03-22 15:39:57 -0700102 qcom,cpp@fda04000 {
103 cell-index = <0>;
104 compatible = "qcom,cpp";
105 reg = <0xfda04000 0x100>,
106 <0xfda40000 0x200>,
Iliya Varadzhakov9f9b2362013-08-23 10:03:31 -0700107 <0xfda18000 0x018>;
Su Liu9a3ad3c2013-03-22 15:39:57 -0700108 reg-names = "cpp", "cpp_vbif", "cpp_hw";
109 interrupts = <0 49 0>;
110 interrupt-names = "cpp";
111 vdd-supply = <&gdsc_vfe>;
112 };
113
Su Liue5bdf002013-03-22 15:33:41 -0700114 cci: qcom,cci@fda0c000 {
115 cell-index = <0>;
116 compatible = "qcom,cci";
117 reg = <0xfda0c000 0x1000>;
118 #address-cells = <1>;
119 #size-cells = <0>;
120 reg-names = "cci";
121 interrupts = <0 50 0>;
122 interrupt-names = "cci";
123 gpios = <&msmgpio 29 0>,
124 <&msmgpio 30 0>;
125 qcom,gpio-tbl-num = <0 1>;
126 qcom,gpio-tbl-flags = <1 1>;
127 qcom,gpio-tbl-label = "CCI_I2C_DATA0",
128 "CCI_I2C_CLK0";
Vasko Kalanoski18ba0d42013-04-15 21:18:54 -0700129 master0: qcom,cci-master0 {
130 status = "disabled";
131 };
132 master1: qcom,cci-master1 {
133 status = "disabled";
134 };
Syed Rameez Mustafa878892c2012-08-23 17:30:32 -0700135 };
136};
Vasko Kalanoski18ba0d42013-04-15 21:18:54 -0700137
138&master0 {
139 qcom,hw-thigh = <78>;
140 qcom,hw-tlow = <114>;
141 qcom,hw-tsu-sto = <28>;
142 qcom,hw-tsu-sta = <28>;
143 qcom,hw-thd-dat = <10>;
144 qcom,hw-thd-sta = <77>;
145 qcom,hw-tbuf = <118>;
146 qcom,hw-scl-stretch-en = <0>;
147 qcom,hw-trdhld = <6>;
148 qcom,hw-tsp = <1>;
149 status = "ok";
150};
151
152&master1 {
153 qcom,hw-thigh = <78>;
154 qcom,hw-tlow = <114>;
155 qcom,hw-tsu-sto = <28>;
156 qcom,hw-tsu-sta = <28>;
157 qcom,hw-thd-dat = <10>;
158 qcom,hw-thd-sta = <77>;
159 qcom,hw-tbuf = <118>;
160 qcom,hw-scl-stretch-en = <0>;
161 qcom,hw-trdhld = <6>;
162 qcom,hw-tsp = <1>;
163 status = "ok";
164};