xref: /linux/Documentation/devicetree/bindings/media/qcom,sm6150-camss.yaml (revision c17ee635fd3a482b2ad2bf5e269755c2eae5f25e)
1*c88c5441SWenmeng Liu# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*c88c5441SWenmeng Liu%YAML 1.2
3*c88c5441SWenmeng Liu---
4*c88c5441SWenmeng Liu$id: http://devicetree.org/schemas/media/qcom,sm6150-camss.yaml#
5*c88c5441SWenmeng Liu$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c88c5441SWenmeng Liu
7*c88c5441SWenmeng Liutitle: Qualcomm SM6150 Camera Subsystem (CAMSS)
8*c88c5441SWenmeng Liu
9*c88c5441SWenmeng Liumaintainers:
10*c88c5441SWenmeng Liu  - Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
11*c88c5441SWenmeng Liu
12*c88c5441SWenmeng Liudescription:
13*c88c5441SWenmeng Liu  This binding describes the camera subsystem hardware found on SM6150
14*c88c5441SWenmeng Liu  Qualcomm SoCs. It includes submodules such as CSIPHY (CSI Physical layer)
15*c88c5441SWenmeng Liu  and CSID (CSI Decoder), which comply with the MIPI CSI2 protocol.
16*c88c5441SWenmeng Liu
17*c88c5441SWenmeng Liu  The subsystem also integrates a set of real-time image processing engines
18*c88c5441SWenmeng Liu  and their associated configuration modules, as well as non-real-time engines.
19*c88c5441SWenmeng Liu
20*c88c5441SWenmeng Liuproperties:
21*c88c5441SWenmeng Liu  compatible:
22*c88c5441SWenmeng Liu    const: qcom,sm6150-camss
23*c88c5441SWenmeng Liu
24*c88c5441SWenmeng Liu  reg:
25*c88c5441SWenmeng Liu    items:
26*c88c5441SWenmeng Liu      - description: Registers for CSID 0
27*c88c5441SWenmeng Liu      - description: Registers for CSID 1
28*c88c5441SWenmeng Liu      - description: Registers for CSID Lite
29*c88c5441SWenmeng Liu      - description: Registers for CSIPHY 0
30*c88c5441SWenmeng Liu      - description: Registers for CSIPHY 1
31*c88c5441SWenmeng Liu      - description: Registers for CSIPHY 2
32*c88c5441SWenmeng Liu      - description: Registers for VFE 0
33*c88c5441SWenmeng Liu      - description: Registers for VFE 1
34*c88c5441SWenmeng Liu      - description: Registers for VFE Lite
35*c88c5441SWenmeng Liu      - description: Registers for BPS (Bayer Processing Segment)
36*c88c5441SWenmeng Liu      - description: Registers for CAMNOC
37*c88c5441SWenmeng Liu      - description: Registers for CPAS CDM
38*c88c5441SWenmeng Liu      - description: Registers for CPAS TOP
39*c88c5441SWenmeng Liu      - description: Registers for ICP (Imaging Control Processor) CSR (Control and Status Registers)
40*c88c5441SWenmeng Liu      - description: Registers for ICP QGIC (Qualcomm Generic Interrupt Controller)
41*c88c5441SWenmeng Liu      - description: Registers for ICP SIERRA ((A5 subsystem communication))
42*c88c5441SWenmeng Liu      - description: Registers for IPE (Image Postprocessing Engine) 0
43*c88c5441SWenmeng Liu      - description: Registers for JPEG DMA
44*c88c5441SWenmeng Liu      - description: Registers for JPEG ENC
45*c88c5441SWenmeng Liu      - description: Registers for LRME (Low Resolution Motion Estimation)
46*c88c5441SWenmeng Liu
47*c88c5441SWenmeng Liu  reg-names:
48*c88c5441SWenmeng Liu    items:
49*c88c5441SWenmeng Liu      - const: csid0
50*c88c5441SWenmeng Liu      - const: csid1
51*c88c5441SWenmeng Liu      - const: csid_lite
52*c88c5441SWenmeng Liu      - const: csiphy0
53*c88c5441SWenmeng Liu      - const: csiphy1
54*c88c5441SWenmeng Liu      - const: csiphy2
55*c88c5441SWenmeng Liu      - const: vfe0
56*c88c5441SWenmeng Liu      - const: vfe1
57*c88c5441SWenmeng Liu      - const: vfe_lite
58*c88c5441SWenmeng Liu      - const: bps
59*c88c5441SWenmeng Liu      - const: camnoc
60*c88c5441SWenmeng Liu      - const: cpas_cdm
61*c88c5441SWenmeng Liu      - const: cpas_top
62*c88c5441SWenmeng Liu      - const: icp_csr
63*c88c5441SWenmeng Liu      - const: icp_qgic
64*c88c5441SWenmeng Liu      - const: icp_sierra
65*c88c5441SWenmeng Liu      - const: ipe0
66*c88c5441SWenmeng Liu      - const: jpeg_dma
67*c88c5441SWenmeng Liu      - const: jpeg_enc
68*c88c5441SWenmeng Liu      - const: lrme
69*c88c5441SWenmeng Liu
70*c88c5441SWenmeng Liu  clocks:
71*c88c5441SWenmeng Liu    maxItems: 33
72*c88c5441SWenmeng Liu
73*c88c5441SWenmeng Liu  clock-names:
74*c88c5441SWenmeng Liu    items:
75*c88c5441SWenmeng Liu      - const: gcc_ahb
76*c88c5441SWenmeng Liu      - const: gcc_axi_hf
77*c88c5441SWenmeng Liu      - const: camnoc_axi
78*c88c5441SWenmeng Liu      - const: cpas_ahb
79*c88c5441SWenmeng Liu      - const: csiphy0
80*c88c5441SWenmeng Liu      - const: csiphy0_timer
81*c88c5441SWenmeng Liu      - const: csiphy1
82*c88c5441SWenmeng Liu      - const: csiphy1_timer
83*c88c5441SWenmeng Liu      - const: csiphy2
84*c88c5441SWenmeng Liu      - const: csiphy2_timer
85*c88c5441SWenmeng Liu      - const: soc_ahb
86*c88c5441SWenmeng Liu      - const: vfe0
87*c88c5441SWenmeng Liu      - const: vfe0_axi
88*c88c5441SWenmeng Liu      - const: vfe0_cphy_rx
89*c88c5441SWenmeng Liu      - const: vfe0_csid
90*c88c5441SWenmeng Liu      - const: vfe1
91*c88c5441SWenmeng Liu      - const: vfe1_axi
92*c88c5441SWenmeng Liu      - const: vfe1_cphy_rx
93*c88c5441SWenmeng Liu      - const: vfe1_csid
94*c88c5441SWenmeng Liu      - const: vfe_lite
95*c88c5441SWenmeng Liu      - const: vfe_lite_cphy_rx
96*c88c5441SWenmeng Liu      - const: vfe_lite_csid
97*c88c5441SWenmeng Liu      - const: bps
98*c88c5441SWenmeng Liu      - const: bps_ahb
99*c88c5441SWenmeng Liu      - const: bps_axi
100*c88c5441SWenmeng Liu      - const: bps_areg
101*c88c5441SWenmeng Liu      - const: icp
102*c88c5441SWenmeng Liu      - const: ipe0
103*c88c5441SWenmeng Liu      - const: ipe0_ahb
104*c88c5441SWenmeng Liu      - const: ipe0_areg
105*c88c5441SWenmeng Liu      - const: ipe0_axi
106*c88c5441SWenmeng Liu      - const: jpeg
107*c88c5441SWenmeng Liu      - const: lrme
108*c88c5441SWenmeng Liu
109*c88c5441SWenmeng Liu  interrupts:
110*c88c5441SWenmeng Liu    maxItems: 15
111*c88c5441SWenmeng Liu
112*c88c5441SWenmeng Liu  interrupt-names:
113*c88c5441SWenmeng Liu    items:
114*c88c5441SWenmeng Liu      - const: csid0
115*c88c5441SWenmeng Liu      - const: csid1
116*c88c5441SWenmeng Liu      - const: csid_lite
117*c88c5441SWenmeng Liu      - const: csiphy0
118*c88c5441SWenmeng Liu      - const: csiphy1
119*c88c5441SWenmeng Liu      - const: csiphy2
120*c88c5441SWenmeng Liu      - const: vfe0
121*c88c5441SWenmeng Liu      - const: vfe1
122*c88c5441SWenmeng Liu      - const: vfe_lite
123*c88c5441SWenmeng Liu      - const: camnoc
124*c88c5441SWenmeng Liu      - const: cdm
125*c88c5441SWenmeng Liu      - const: icp
126*c88c5441SWenmeng Liu      - const: jpeg_dma
127*c88c5441SWenmeng Liu      - const: jpeg_enc
128*c88c5441SWenmeng Liu      - const: lrme
129*c88c5441SWenmeng Liu
130*c88c5441SWenmeng Liu  interconnects:
131*c88c5441SWenmeng Liu    maxItems: 4
132*c88c5441SWenmeng Liu
133*c88c5441SWenmeng Liu  interconnect-names:
134*c88c5441SWenmeng Liu    items:
135*c88c5441SWenmeng Liu      - const: ahb
136*c88c5441SWenmeng Liu      - const: hf_0
137*c88c5441SWenmeng Liu      - const: hf_1
138*c88c5441SWenmeng Liu      - const: sf_mnoc
139*c88c5441SWenmeng Liu
140*c88c5441SWenmeng Liu  iommus:
141*c88c5441SWenmeng Liu    items:
142*c88c5441SWenmeng Liu      - description: Camera IFE 0 non-protected stream
143*c88c5441SWenmeng Liu      - description: Camera IFE 1 non-protected stream
144*c88c5441SWenmeng Liu      - description: Camera IFE 3 non-protected stream
145*c88c5441SWenmeng Liu      - description: Camera CDM non-protected stream
146*c88c5441SWenmeng Liu      - description: Camera LRME read non-protected stream
147*c88c5441SWenmeng Liu      - description: Camera IPE 0 read non-protected stream
148*c88c5441SWenmeng Liu      - description: Camera BPS read non-protected stream
149*c88c5441SWenmeng Liu      - description: Camera IPE 0 write non-protected stream
150*c88c5441SWenmeng Liu      - description: Camera BPS write non-protected stream
151*c88c5441SWenmeng Liu      - description: Camera LRME write non-protected stream
152*c88c5441SWenmeng Liu      - description: Camera JPEG read non-protected stream
153*c88c5441SWenmeng Liu      - description: Camera JPEG write non-protected stream
154*c88c5441SWenmeng Liu      - description: Camera ICP stream
155*c88c5441SWenmeng Liu
156*c88c5441SWenmeng Liu  power-domains:
157*c88c5441SWenmeng Liu    items:
158*c88c5441SWenmeng Liu      - description:
159*c88c5441SWenmeng Liu          IFE0 GDSC - Image Front End, Global Distributed Switch Controller.
160*c88c5441SWenmeng Liu      - description:
161*c88c5441SWenmeng Liu          IFE1 GDSC - Image Front End, Global Distributed Switch Controller.
162*c88c5441SWenmeng Liu      - description:
163*c88c5441SWenmeng Liu          Titan GDSC - Titan ISP Block, Global Distributed Switch Controller.
164*c88c5441SWenmeng Liu      - description:
165*c88c5441SWenmeng Liu          Titan BPS - Bayer Processing Segment, Global Distributed Switch Controller.
166*c88c5441SWenmeng Liu      - description:
167*c88c5441SWenmeng Liu          IPE GDSC - Image Postprocessing Engine, Global Distributed Switch Controller.
168*c88c5441SWenmeng Liu
169*c88c5441SWenmeng Liu  power-domain-names:
170*c88c5441SWenmeng Liu    items:
171*c88c5441SWenmeng Liu      - const: ife0
172*c88c5441SWenmeng Liu      - const: ife1
173*c88c5441SWenmeng Liu      - const: top
174*c88c5441SWenmeng Liu      - const: bps
175*c88c5441SWenmeng Liu      - const: ipe
176*c88c5441SWenmeng Liu
177*c88c5441SWenmeng Liu  vdd-csiphy-1p2-supply:
178*c88c5441SWenmeng Liu    description:
179*c88c5441SWenmeng Liu      Phandle to a 1.2V regulator supply to CSI PHYs.
180*c88c5441SWenmeng Liu
181*c88c5441SWenmeng Liu  vdd-csiphy-1p8-supply:
182*c88c5441SWenmeng Liu    description:
183*c88c5441SWenmeng Liu      Phandle to 1.8V regulator supply to CSI PHYs pll block.
184*c88c5441SWenmeng Liu
185*c88c5441SWenmeng Liu  ports:
186*c88c5441SWenmeng Liu    $ref: /schemas/graph.yaml#/properties/ports
187*c88c5441SWenmeng Liu
188*c88c5441SWenmeng Liu    description:
189*c88c5441SWenmeng Liu      CSI input ports.
190*c88c5441SWenmeng Liu
191*c88c5441SWenmeng Liu    patternProperties:
192*c88c5441SWenmeng Liu      "^port@[0-2]$":
193*c88c5441SWenmeng Liu        $ref: /schemas/graph.yaml#/$defs/port-base
194*c88c5441SWenmeng Liu        unevaluatedProperties: false
195*c88c5441SWenmeng Liu
196*c88c5441SWenmeng Liu        description:
197*c88c5441SWenmeng Liu          Input port for receiving CSI data from a CSIPHY.
198*c88c5441SWenmeng Liu
199*c88c5441SWenmeng Liu        properties:
200*c88c5441SWenmeng Liu          endpoint:
201*c88c5441SWenmeng Liu            $ref: video-interfaces.yaml#
202*c88c5441SWenmeng Liu            unevaluatedProperties: false
203*c88c5441SWenmeng Liu
204*c88c5441SWenmeng Liu            properties:
205*c88c5441SWenmeng Liu              data-lanes:
206*c88c5441SWenmeng Liu                minItems: 1
207*c88c5441SWenmeng Liu                maxItems: 4
208*c88c5441SWenmeng Liu
209*c88c5441SWenmeng Liu            required:
210*c88c5441SWenmeng Liu              - data-lanes
211*c88c5441SWenmeng Liu
212*c88c5441SWenmeng Liurequired:
213*c88c5441SWenmeng Liu  - compatible
214*c88c5441SWenmeng Liu  - reg
215*c88c5441SWenmeng Liu  - reg-names
216*c88c5441SWenmeng Liu  - clocks
217*c88c5441SWenmeng Liu  - clock-names
218*c88c5441SWenmeng Liu  - interrupts
219*c88c5441SWenmeng Liu  - interrupt-names
220*c88c5441SWenmeng Liu  - interconnects
221*c88c5441SWenmeng Liu  - interconnect-names
222*c88c5441SWenmeng Liu  - iommus
223*c88c5441SWenmeng Liu  - power-domains
224*c88c5441SWenmeng Liu  - power-domain-names
225*c88c5441SWenmeng Liu
226*c88c5441SWenmeng LiuadditionalProperties: false
227*c88c5441SWenmeng Liu
228*c88c5441SWenmeng Liuexamples:
229*c88c5441SWenmeng Liu  - |
230*c88c5441SWenmeng Liu    #include <dt-bindings/clock/qcom,qcs615-camcc.h>
231*c88c5441SWenmeng Liu    #include <dt-bindings/clock/qcom,qcs615-gcc.h>
232*c88c5441SWenmeng Liu    #include <dt-bindings/clock/qcom,rpmh.h>
233*c88c5441SWenmeng Liu    #include <dt-bindings/interconnect/qcom,icc.h>
234*c88c5441SWenmeng Liu    #include <dt-bindings/interconnect/qcom,qcs615-rpmh.h>
235*c88c5441SWenmeng Liu    #include <dt-bindings/interrupt-controller/arm-gic.h>
236*c88c5441SWenmeng Liu    #include <dt-bindings/power/qcom-rpmpd.h>
237*c88c5441SWenmeng Liu
238*c88c5441SWenmeng Liu    soc {
239*c88c5441SWenmeng Liu        #address-cells = <2>;
240*c88c5441SWenmeng Liu        #size-cells = <2>;
241*c88c5441SWenmeng Liu
242*c88c5441SWenmeng Liu        camss: isp@acb3000 {
243*c88c5441SWenmeng Liu            compatible = "qcom,sm6150-camss";
244*c88c5441SWenmeng Liu
245*c88c5441SWenmeng Liu            reg = <0x0 0x0acb3000 0x0 0x1000>,
246*c88c5441SWenmeng Liu                  <0x0 0x0acba000 0x0 0x1000>,
247*c88c5441SWenmeng Liu                  <0x0 0x0acc8000 0x0 0x1000>,
248*c88c5441SWenmeng Liu                  <0x0 0x0ac65000 0x0 0x1000>,
249*c88c5441SWenmeng Liu                  <0x0 0x0ac66000 0x0 0x1000>,
250*c88c5441SWenmeng Liu                  <0x0 0x0ac67000 0x0 0x1000>,
251*c88c5441SWenmeng Liu                  <0x0 0x0acaf000 0x0 0x4000>,
252*c88c5441SWenmeng Liu                  <0x0 0x0acb6000 0x0 0x4000>,
253*c88c5441SWenmeng Liu                  <0x0 0x0acc4000 0x0 0x4000>,
254*c88c5441SWenmeng Liu                  <0x0 0x0ac6f000 0x0 0x3000>,
255*c88c5441SWenmeng Liu                  <0x0 0x0ac42000 0x0 0x5000>,
256*c88c5441SWenmeng Liu                  <0x0 0x0ac48000 0x0 0x1000>,
257*c88c5441SWenmeng Liu                  <0x0 0x0ac40000 0x0 0x1000>,
258*c88c5441SWenmeng Liu                  <0x0 0x0ac18000 0x0 0x3000>,
259*c88c5441SWenmeng Liu                  <0x0 0x0ac00000 0x0 0x6000>,
260*c88c5441SWenmeng Liu                  <0x0 0x0ac10000 0x0 0x8000>,
261*c88c5441SWenmeng Liu                  <0x0 0x0ac87000 0x0 0x3000>,
262*c88c5441SWenmeng Liu                  <0x0 0x0ac52000 0x0 0x4000>,
263*c88c5441SWenmeng Liu                  <0x0 0x0ac4e000 0x0 0x4000>,
264*c88c5441SWenmeng Liu                  <0x0 0x0ac6b000 0x0 0x0a00>;
265*c88c5441SWenmeng Liu            reg-names = "csid0",
266*c88c5441SWenmeng Liu                        "csid1",
267*c88c5441SWenmeng Liu                        "csid_lite",
268*c88c5441SWenmeng Liu                        "csiphy0",
269*c88c5441SWenmeng Liu                        "csiphy1",
270*c88c5441SWenmeng Liu                        "csiphy2",
271*c88c5441SWenmeng Liu                        "vfe0",
272*c88c5441SWenmeng Liu                        "vfe1",
273*c88c5441SWenmeng Liu                        "vfe_lite",
274*c88c5441SWenmeng Liu                        "bps",
275*c88c5441SWenmeng Liu                        "camnoc",
276*c88c5441SWenmeng Liu                        "cpas_cdm",
277*c88c5441SWenmeng Liu                        "cpas_top",
278*c88c5441SWenmeng Liu                        "icp_csr",
279*c88c5441SWenmeng Liu                        "icp_qgic",
280*c88c5441SWenmeng Liu                        "icp_sierra",
281*c88c5441SWenmeng Liu                        "ipe0",
282*c88c5441SWenmeng Liu                        "jpeg_dma",
283*c88c5441SWenmeng Liu                        "jpeg_enc",
284*c88c5441SWenmeng Liu                        "lrme";
285*c88c5441SWenmeng Liu
286*c88c5441SWenmeng Liu            clocks = <&gcc GCC_CAMERA_AHB_CLK>,
287*c88c5441SWenmeng Liu                     <&gcc GCC_CAMERA_HF_AXI_CLK>,
288*c88c5441SWenmeng Liu                     <&camcc CAM_CC_CAMNOC_AXI_CLK>,
289*c88c5441SWenmeng Liu                     <&camcc CAM_CC_CPAS_AHB_CLK>,
290*c88c5441SWenmeng Liu                     <&camcc CAM_CC_CSIPHY0_CLK>,
291*c88c5441SWenmeng Liu                     <&camcc CAM_CC_CSI0PHYTIMER_CLK>,
292*c88c5441SWenmeng Liu                     <&camcc CAM_CC_CSIPHY1_CLK>,
293*c88c5441SWenmeng Liu                     <&camcc CAM_CC_CSI1PHYTIMER_CLK>,
294*c88c5441SWenmeng Liu                     <&camcc CAM_CC_CSIPHY2_CLK>,
295*c88c5441SWenmeng Liu                     <&camcc CAM_CC_CSI2PHYTIMER_CLK>,
296*c88c5441SWenmeng Liu                     <&camcc CAM_CC_SOC_AHB_CLK>,
297*c88c5441SWenmeng Liu                     <&camcc CAM_CC_IFE_0_CLK>,
298*c88c5441SWenmeng Liu                     <&camcc CAM_CC_IFE_0_AXI_CLK>,
299*c88c5441SWenmeng Liu                     <&camcc CAM_CC_IFE_0_CPHY_RX_CLK>,
300*c88c5441SWenmeng Liu                     <&camcc CAM_CC_IFE_0_CSID_CLK>,
301*c88c5441SWenmeng Liu                     <&camcc CAM_CC_IFE_1_CLK>,
302*c88c5441SWenmeng Liu                     <&camcc CAM_CC_IFE_1_AXI_CLK>,
303*c88c5441SWenmeng Liu                     <&camcc CAM_CC_IFE_1_CPHY_RX_CLK>,
304*c88c5441SWenmeng Liu                     <&camcc CAM_CC_IFE_1_CSID_CLK>,
305*c88c5441SWenmeng Liu                     <&camcc CAM_CC_IFE_LITE_CLK>,
306*c88c5441SWenmeng Liu                     <&camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>,
307*c88c5441SWenmeng Liu                     <&camcc CAM_CC_IFE_LITE_CSID_CLK>,
308*c88c5441SWenmeng Liu                     <&camcc CAM_CC_BPS_CLK>,
309*c88c5441SWenmeng Liu                     <&camcc CAM_CC_BPS_AHB_CLK>,
310*c88c5441SWenmeng Liu                     <&camcc CAM_CC_BPS_AXI_CLK>,
311*c88c5441SWenmeng Liu                     <&camcc CAM_CC_BPS_AREG_CLK>,
312*c88c5441SWenmeng Liu                     <&camcc CAM_CC_ICP_CLK>,
313*c88c5441SWenmeng Liu                     <&camcc CAM_CC_IPE_0_CLK>,
314*c88c5441SWenmeng Liu                     <&camcc CAM_CC_IPE_0_AHB_CLK>,
315*c88c5441SWenmeng Liu                     <&camcc CAM_CC_IPE_0_AREG_CLK>,
316*c88c5441SWenmeng Liu                     <&camcc CAM_CC_IPE_0_AXI_CLK>,
317*c88c5441SWenmeng Liu                     <&camcc CAM_CC_JPEG_CLK>,
318*c88c5441SWenmeng Liu                     <&camcc CAM_CC_LRME_CLK>;
319*c88c5441SWenmeng Liu
320*c88c5441SWenmeng Liu            clock-names = "gcc_ahb",
321*c88c5441SWenmeng Liu                          "gcc_axi_hf",
322*c88c5441SWenmeng Liu                          "camnoc_axi",
323*c88c5441SWenmeng Liu                          "cpas_ahb",
324*c88c5441SWenmeng Liu                          "csiphy0",
325*c88c5441SWenmeng Liu                          "csiphy0_timer",
326*c88c5441SWenmeng Liu                          "csiphy1",
327*c88c5441SWenmeng Liu                          "csiphy1_timer",
328*c88c5441SWenmeng Liu                          "csiphy2",
329*c88c5441SWenmeng Liu                          "csiphy2_timer",
330*c88c5441SWenmeng Liu                          "soc_ahb",
331*c88c5441SWenmeng Liu                          "vfe0",
332*c88c5441SWenmeng Liu                          "vfe0_axi",
333*c88c5441SWenmeng Liu                          "vfe0_cphy_rx",
334*c88c5441SWenmeng Liu                          "vfe0_csid",
335*c88c5441SWenmeng Liu                          "vfe1",
336*c88c5441SWenmeng Liu                          "vfe1_axi",
337*c88c5441SWenmeng Liu                          "vfe1_cphy_rx",
338*c88c5441SWenmeng Liu                          "vfe1_csid",
339*c88c5441SWenmeng Liu                          "vfe_lite",
340*c88c5441SWenmeng Liu                          "vfe_lite_cphy_rx",
341*c88c5441SWenmeng Liu                          "vfe_lite_csid",
342*c88c5441SWenmeng Liu                          "bps",
343*c88c5441SWenmeng Liu                          "bps_ahb",
344*c88c5441SWenmeng Liu                          "bps_axi",
345*c88c5441SWenmeng Liu                          "bps_areg",
346*c88c5441SWenmeng Liu                          "icp",
347*c88c5441SWenmeng Liu                          "ipe0",
348*c88c5441SWenmeng Liu                          "ipe0_ahb",
349*c88c5441SWenmeng Liu                          "ipe0_areg",
350*c88c5441SWenmeng Liu                          "ipe0_axi",
351*c88c5441SWenmeng Liu                          "jpeg",
352*c88c5441SWenmeng Liu                          "lrme";
353*c88c5441SWenmeng Liu
354*c88c5441SWenmeng Liu            interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
355*c88c5441SWenmeng Liu                             &config_noc SLAVE_CAMERA_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
356*c88c5441SWenmeng Liu                            <&mmss_noc MASTER_CAMNOC_HF0 QCOM_ICC_TAG_ALWAYS
357*c88c5441SWenmeng Liu                             &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
358*c88c5441SWenmeng Liu                            <&mmss_noc MASTER_CAMNOC_HF1 QCOM_ICC_TAG_ALWAYS
359*c88c5441SWenmeng Liu                             &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
360*c88c5441SWenmeng Liu                            <&mmss_noc MASTER_CAMNOC_SF QCOM_ICC_TAG_ALWAYS
361*c88c5441SWenmeng Liu                             &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
362*c88c5441SWenmeng Liu            interconnect-names = "ahb",
363*c88c5441SWenmeng Liu                                 "hf_0",
364*c88c5441SWenmeng Liu                                 "hf_1",
365*c88c5441SWenmeng Liu                                 "sf_mnoc";
366*c88c5441SWenmeng Liu
367*c88c5441SWenmeng Liu            interrupts = <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
368*c88c5441SWenmeng Liu                         <GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
369*c88c5441SWenmeng Liu                         <GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
370*c88c5441SWenmeng Liu                         <GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
371*c88c5441SWenmeng Liu                         <GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
372*c88c5441SWenmeng Liu                         <GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
373*c88c5441SWenmeng Liu                         <GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
374*c88c5441SWenmeng Liu                         <GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
375*c88c5441SWenmeng Liu                         <GIC_SPI 469 IRQ_TYPE_EDGE_RISING>,
376*c88c5441SWenmeng Liu                         <GIC_SPI 459 IRQ_TYPE_EDGE_RISING>,
377*c88c5441SWenmeng Liu                         <GIC_SPI 461 IRQ_TYPE_EDGE_RISING>,
378*c88c5441SWenmeng Liu                         <GIC_SPI 463 IRQ_TYPE_EDGE_RISING>,
379*c88c5441SWenmeng Liu                         <GIC_SPI 475 IRQ_TYPE_EDGE_RISING>,
380*c88c5441SWenmeng Liu                         <GIC_SPI 474 IRQ_TYPE_EDGE_RISING>,
381*c88c5441SWenmeng Liu                         <GIC_SPI 476 IRQ_TYPE_EDGE_RISING>;
382*c88c5441SWenmeng Liu            interrupt-names = "csid0",
383*c88c5441SWenmeng Liu                              "csid1",
384*c88c5441SWenmeng Liu                              "csid_lite",
385*c88c5441SWenmeng Liu                              "csiphy0",
386*c88c5441SWenmeng Liu                              "csiphy1",
387*c88c5441SWenmeng Liu                              "csiphy2",
388*c88c5441SWenmeng Liu                              "vfe0",
389*c88c5441SWenmeng Liu                              "vfe1",
390*c88c5441SWenmeng Liu                              "vfe_lite",
391*c88c5441SWenmeng Liu                              "camnoc",
392*c88c5441SWenmeng Liu                              "cdm",
393*c88c5441SWenmeng Liu                              "icp",
394*c88c5441SWenmeng Liu                              "jpeg_dma",
395*c88c5441SWenmeng Liu                              "jpeg_enc",
396*c88c5441SWenmeng Liu                              "lrme";
397*c88c5441SWenmeng Liu
398*c88c5441SWenmeng Liu            iommus = <&apps_smmu 0x0820 0x40>,
399*c88c5441SWenmeng Liu                     <&apps_smmu 0x0840 0x00>,
400*c88c5441SWenmeng Liu                     <&apps_smmu 0x0860 0x40>,
401*c88c5441SWenmeng Liu                     <&apps_smmu 0x0c00 0x00>,
402*c88c5441SWenmeng Liu                     <&apps_smmu 0x0cc0 0x00>,
403*c88c5441SWenmeng Liu                     <&apps_smmu 0x0c80 0x00>,
404*c88c5441SWenmeng Liu                     <&apps_smmu 0x0ca0 0x00>,
405*c88c5441SWenmeng Liu                     <&apps_smmu 0x0d00 0x00>,
406*c88c5441SWenmeng Liu                     <&apps_smmu 0x0d20 0x00>,
407*c88c5441SWenmeng Liu                     <&apps_smmu 0x0d40 0x00>,
408*c88c5441SWenmeng Liu                     <&apps_smmu 0x0d80 0x20>,
409*c88c5441SWenmeng Liu                     <&apps_smmu 0x0da0 0x20>,
410*c88c5441SWenmeng Liu                     <&apps_smmu 0x0de2 0x00>;
411*c88c5441SWenmeng Liu
412*c88c5441SWenmeng Liu            power-domains = <&camcc IFE_0_GDSC>,
413*c88c5441SWenmeng Liu                            <&camcc IFE_1_GDSC>,
414*c88c5441SWenmeng Liu                            <&camcc TITAN_TOP_GDSC>,
415*c88c5441SWenmeng Liu                            <&camcc BPS_GDSC>,
416*c88c5441SWenmeng Liu                            <&camcc IPE_0_GDSC>;
417*c88c5441SWenmeng Liu            power-domain-names = "ife0",
418*c88c5441SWenmeng Liu                                 "ife1",
419*c88c5441SWenmeng Liu                                 "top",
420*c88c5441SWenmeng Liu                                 "bps",
421*c88c5441SWenmeng Liu                                 "ipe";
422*c88c5441SWenmeng Liu
423*c88c5441SWenmeng Liu            vdd-csiphy-1p2-supply = <&vreg_l11a_1p2>;
424*c88c5441SWenmeng Liu            vdd-csiphy-1p8-supply = <&vreg_l12a_1p8>;
425*c88c5441SWenmeng Liu
426*c88c5441SWenmeng Liu            ports {
427*c88c5441SWenmeng Liu                #address-cells = <1>;
428*c88c5441SWenmeng Liu                #size-cells = <0>;
429*c88c5441SWenmeng Liu
430*c88c5441SWenmeng Liu                port@0 {
431*c88c5441SWenmeng Liu                    reg = <0>;
432*c88c5441SWenmeng Liu                    csiphy_ep0: endpoint {
433*c88c5441SWenmeng Liu                        data-lanes = <0 1>;
434*c88c5441SWenmeng Liu                        remote-endpoint = <&sensor_ep>;
435*c88c5441SWenmeng Liu                    };
436*c88c5441SWenmeng Liu                };
437*c88c5441SWenmeng Liu            };
438*c88c5441SWenmeng Liu        };
439*c88c5441SWenmeng Liu    };
440