blob: 91e67ed5ba19f2ea0660ea9c0f564aa0142921d4 [file] [log] [blame]
/*
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "sdm439-qrd.dtsi"
#include "sdm429w-pm660.dtsi"
#include "sdm429w-camera-sensor-spyro.dtsi"
&cdc_pdm_lines_act {
mux {
pins = "gpio68", "gpio73", "gpio74";
function = "cdc_pdm0";
};
config {
pins = "gpio68", "gpio73", "gpio74";
drive-strength = <16>;
};
};
&cdc_pdm_lines_sus {
mux {
pins = "gpio68", "gpio73", "gpio74";
function = "cdc_pdm0";
};
config {
pins = "gpio68", "gpio73", "gpio74";
drive-strength = <2>;
bias-disable;
};
};
&mdss_dsi0 {
qcom,dsi-pref-prim-pan = <&dsi_hx8399c_hd_vid>;
};
&soc {
/delete-node/ qcom,spm@b1d2000;
qcom,spm@b1d2000 {
compatible = "qcom,spm-v2";
#address-cells = <1>;
#size-cells = <1>;
reg = <0xb1d2000 0x1000>;
qcom,name = "system-cci";
qcom,saw2-ver-reg = <0xfd0>;
qcom,saw2-cfg = <0x14>;
qcom,saw2-spm-dly= <0x3C102800>;
qcom,saw2-spm-ctl = <0xe>;
qcom,cpu-vctl-list = <&CPU0 &CPU1 &CPU2 &CPU3>;
qcom,vctl-timeout-us = <500>;
qcom,vctl-port = <0x0>;
qcom,vctl-port-ub = <0x1>;
qcom,pfm-port = <0x2>;
};
};
&dsi_hx8399c_hd_vid {
qcom,mdss-dsi-on-command = [
39 01 00 00 00 00 04
b9 ff 83 99
39 01 00 00 00 00 02
d2 88
39 01 00 00 00 00 0c
b1 02 04 72 92 01
32 aa 11 11 52 57
39 01 00 00 00 00 10
b2 00 80 80 cc 05 07 5a
11 10 10 00 1e 70 03 d4
39 01 00 00 00 00 2d
b4 00 ff 59 59 01 ab 00
00 09 00 03 05 00 28 03
0b 0d 21 03 02 00 0c a3
80 59 59 02 ab 00 00 09
00 03 05 00 28 03 0b 0d
02 00 0c a3 01
39 01 00 00 05 00 22
d3 00 0c 03 03 00 00 10
10 00 00 03 00 03 00 08
78 08 78 00 00 00 00 00
24 02 05 05 03 00 00 00
05 40
39 01 00 00 05 00 21
d5 20 20 19 19 18 18 02
03 00 01 24 24 18 18 18
18 24 24 00 00 00 00 00
00 00 00 2f 2f 30 30 31
31
39 01 00 00 05 00 21
d6 24 24 18 18 19 19 01
00 03 02 24 24 18 18 18
18 20 20 40 40 40 40 40
40 40 40 2f 2f 30 30 31
31
39 01 00 00 00 00 02
bd 00
39 01 00 00 00 00 11
d8 aa aa aa aa aa aa aa
aa aa ba aa aa aa ba aa
aa
39 01 00 00 00 00 02
bd 01
39 01 00 00 00 00 11
d8 00 00 00 00 00 00 00
00 82 ea aa aa 82 ea aa
aa
39 01 00 00 00 00 02
bd 02
39 01 00 00 00 00 09
d8 ff ff c0 3f ff ff c0
3f
39 01 00 00 00 00 02
bd 00
39 01 00 00 05 00 37
e0 01 21 31 2d 66 6f 7b
75 7a 81 86 89 8c 90 95
97 9a a1 a2 aa 9e ad b0
5b 57 63 7a 01 21 31 2d
66 6f 7b 75 7a 81 86 89
8c 90 95 97 9a a1 a2 aa
9e ad b0 5b 57 63 7a
39 01 00 00 00 00 03
b6 7e 7e
39 01 00 00 00 00 02
cc 08
39 01 00 00 00 00 02
35 00
39 01 00 00 00 00 02
dd 03
05 01 00 00 78 00 02 11 00
05 01 00 00 05 00 02 29 00];
qcom,mdss-dsi-reset-sequence = <1 2>, <0 5>, <1 10>;
};
&firmware {
android {
compatible = "android,firmware";
vbmeta {
compatible = "android,vbmeta";
parts = "vbmeta,boot,system,vendor,dtbo,recovery";
};
fstab {
compatible = "android,fstab";
vendor {
compatible = "android,vendor";
dev = "/dev/block/platform/soc/7824900.sdhci/by-name/vendor";
type = "ext4";
mnt_flags = "ro,barrier=1,discard";
fsmgr_flags = "wait,avb";
status = "ok";
};
system {
compatible = "android,system";
dev = "/dev/block/platform/soc/7824900.sdhci/by-name/system";
type = "ext4";
mnt_flags = "ro,barrier=1,discard";
fsmgr_flags = "wait,avb";
status = "ok";
};
};
};
};
&modem_mem {
reg = <0x0 0x86800000 0x0 0x5000000>;
};
&adsp_fw_mem {
reg = <0x0 0x8b800000 0x0 0x1400000>;
};
&wcnss_fw_mem {
reg = <0x0 0x8cc00000 0x0 0x700000>;
};
&int_codec {
compatible = "qcom,msm8952-dig-asoc-snd";
status = "okay";
qcom,model = "sdm429-qrd-snd-card";
qcom,msm-ext-pa = "quaternary";
/delete-property/ qcom,split-a2dp;
asoc-wsa-codec-names;
asoc-wsa-codec-prefixes;
qcom,audio-routing =
"CDC_CONN", "MCLK",
"QUAT_MI2S_RX", "DIGITAL_REGULATOR",
"TX_I2S_CLK", "DIGITAL_REGULATOR",
"DMIC1", "Digital Mic1",
"DMIC2", "Digital Mic2";
qcom,cdc-dmic-gpios = <&cdc_dmic_gpios>;
qcom,quat-mi2s-gpios = <&cdc_quat_mi2s_gpios>;
qcom,msm-gpios =
"quat_i2s",
"dmic";
qcom,pinctrl-names =
"all_off",
"quat_i2s_act",
"dmic_act",
"quat_i2s_dmic_act";
pinctrl-names =
"all_off",
"quat_i2s_act",
"dmic_act",
"quat_i2s_dmic_act";
pinctrl-0 = <&quat_mi2s_sleep &quat_mi2s_din_sleep
&cdc_dmic0_clk_sus &cdc_dmic0_data_sus>;
pinctrl-1 = <&quat_mi2s_active &quat_mi2s_din_active
&cdc_dmic0_clk_sus &cdc_dmic0_data_sus>;
pinctrl-2 = <&quat_mi2s_sleep &quat_mi2s_din_sleep
&cdc_dmic0_clk_act &cdc_dmic0_data_act>;
pinctrl-3 = <&quat_mi2s_active &quat_mi2s_din_active
&cdc_dmic0_clk_act &cdc_dmic0_data_act>;
/delete-property/qcom,cdc-us-euro-gpios;
asoc-codec = <&stub_codec>, <&msm_dig_codec>;
asoc-codec-names = "msm-stub-codec.1", "msm-dig-codec";
};
&soc {
msm_dig_codec: msm_dig_codec {
compatible = "qcom,msm-digital-codec";
reg = <0xc0f0000 0x0>;
qcom,no-analog-codec;
cdc-vdd-digital-supply = <&pm660_l9>;
qcom,cdc-vdd-digital-voltage = <1800000 1800000>;
qcom,cdc-vdd-digital-current = <10000>;
qcom,cdc-on-demand-supplies = "cdc-vdd-digital";
};
cdc_dmic_gpios: cdc_dmic_pinctrl {
compatible = "qcom,msm-cdc-pinctrl";
pinctrl-names = "aud_active", "aud_sleep";
pinctrl-0 = <&cdc_dmic0_clk_act &cdc_dmic0_data_act>;
pinctrl-1 = <&cdc_dmic0_clk_sus &cdc_dmic0_data_sus>;
};
cdc_quat_mi2s_gpios: msm_cdc_pinctrl_quat {
compatible = "qcom,msm-cdc-pinctrl";
pinctrl-names = "aud_active", "aud_sleep";
pinctrl-0 = <&quat_mi2s_active &quat_mi2s_din_active>;
pinctrl-1 = <&quat_mi2s_sleep &quat_mi2s_din_sleep>;
};
};
&wsa881x_i2c_f {
status = "disabled";
};
&wsa881x_i2c_45 {
status = "disabled";
};