blob: 47ea8f390a78d1e51c6700752d17dae3ec6474c4 [file] [log] [blame]
Kaushal Kumard9b746b2017-09-19 18:19:31 +05301/*
Bhasker Reddy Komatireddy5e5dc652018-07-16 17:25:01 +05302 * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
Kaushal Kumard9b746b2017-09-19 18:19:31 +05303 *
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
14
15/dts-v1/;
16
17#include "qcs605.dtsi"
18#include "sdm670-mtp.dtsi"
19#include "sdm670-external-codec.dtsi"
20
21/ {
22 model = "Qualcomm Technologies, Inc. QCS605 PM660 + PM660L Ext. Audio Codec MTP";
23 compatible = "qcom,qcs605-mtp", "qcom,qcs605", "qcom,mtp";
24 qcom,board-id = <8 1>;
25 qcom,pmic-id = <0x0001001b 0x0101011a 0x0 0x0>,
26 <0x0001001b 0x0102001a 0x0 0x0>,
27 <0x0001001b 0x0201011a 0x0 0x0>;
28};
Bhasker Reddy Komatireddy5e5dc652018-07-16 17:25:01 +053029
30&cam_cci {
31 /delete-node/ qcom,cam-sensor@1;
32 qcom,cam-sensor@1 {
33 cell-index = <1>;
34 compatible = "qcom,cam-sensor";
35 reg = <0x1>;
36 csiphy-sd-index = <1>;
37 sensor-position-roll = <90>;
38 sensor-position-pitch = <0>;
39 sensor-position-yaw = <180>;
40 eeprom-src = <&eeprom_rear_aux>;
41 cam_vio-supply = <&camera_vio_ldo>;
42 cam_vana-supply = <&camera_vana_ldo>;
43 cam_vdig-supply = <&camera_ldo>;
44 cam_clk-supply = <&titan_top_gdsc>;
45 regulator-names = "cam_vdig", "cam_vio", "cam_vana",
46 "cam_clk";
47 rgltr-cntrl-support;
48 rgltr-min-voltage = <1352000 1800000 2850000 0>;
49 rgltr-max-voltage = <1352000 1800000 2850000 0>;
50 rgltr-load-current = <105000 0 80000 0>;
51 gpio-no-mux = <0>;
52 pinctrl-names = "cam_default", "cam_suspend";
53 pinctrl-0 = <&cam_sensor_mclk0_active
54 &cam_sensor_rear2_active>;
55 pinctrl-1 = <&cam_sensor_mclk0_suspend
56 &cam_sensor_rear2_suspend>;
57 gpios = <&tlmm 13 0>,
58 <&tlmm 28 0>;
59 gpio-reset = <1>;
60 gpio-req-tbl-num = <0 1>;
61 gpio-req-tbl-flags = <1 0>;
62 gpio-req-tbl-label = "CAMIF_MCLK0",
63 "CAM_RESET1";
64 sensor-mode = <0>;
65 cci-master = <1>;
66 status = "ok";
67 clocks = <&clock_camcc CAM_CC_MCLK0_CLK>;
68 clock-names = "cam_clk";
69 clock-cntl-level = "turbo";
70 clock-rates = <24000000>;
71 };
72};