| 1 |
// SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
/dts-v1/; |
| 4 |
|
| 5 |
#include "sdm845-google-common.dtsi" |
| 6 |
|
| 7 |
/ { |
| 8 |
model = "Google Pixel 3"; |
| 9 |
compatible = "google,blueline", "qcom,sdm845"; |
| 10 |
}; |
| 11 |
|
| 12 |
&battery { |
| 13 |
charge-full-design-microamp-hours = <2970000>; |
| 14 |
voltage-min-design-microvolt = <3600000>; |
| 15 |
voltage-max-design-microvolt = <4400000>; |
| 16 |
}; |
| 17 |
|
| 18 |
&framebuffer0 { |
| 19 |
width = <1080>; |
| 20 |
height = <2160>; |
| 21 |
stride = <(1080 * 4)>; |
| 22 |
}; |
| 23 |
|
| 24 |
&i2c2 { |
| 25 |
clock-frequency = <1000000>; |
| 26 |
|
| 27 |
status = "okay"; |
| 28 |
|
| 29 |
/* ST,FTS @ 49 */ |
| 30 |
}; |
| 31 |
|
| 32 |
&mdss_dsi0 { |
| 33 |
vdda-supply = <&vdda_mipi_dsi0_1p2>; |
| 34 |
|
| 35 |
status = "okay"; |
| 36 |
|
| 37 |
panel@0 { |
| 38 |
compatible = "lg,sw43408-lh546wf1-ed01", "lg,sw43408"; |
| 39 |
reg = <0>; |
| 40 |
|
| 41 |
vddi-supply = <&vreg_l14a_1p8>; |
| 42 |
vpnl-supply = <&vreg_l28a_3p0>; |
| 43 |
|
| 44 |
reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; |
| 45 |
|
| 46 |
pinctrl-0 = <&panel_default>; |
| 47 |
pinctrl-names = "default"; |
| 48 |
|
| 49 |
port { |
| 50 |
panel_in: endpoint { |
| 51 |
remote-endpoint = <&mdss_dsi0_out>; |
| 52 |
}; |
| 53 |
}; |
| 54 |
}; |
| 55 |
}; |
| 56 |
|
| 57 |
&mdss_dsi0_out { |
| 58 |
data-lanes = <0 1 2 3>; |
| 59 |
remote-endpoint = <&panel_in>; |
| 60 |
qcom,te-source = "mdp_vsync_e"; |
| 61 |
}; |
| 62 |
|
| 63 |
&mdss_dsi0_phy { |
| 64 |
vdds-supply = <&vdda_mipi_dsi0_pll>; |
| 65 |
|
| 66 |
status = "okay"; |
| 67 |
}; |
| 68 |
|
| 69 |
&tlmm { |
| 70 |
panel_default: panel-default-state { |
| 71 |
reset-pins { |
| 72 |
pins = "gpio6"; |
| 73 |
function = "gpio"; |
| 74 |
drive-strength = <8>; |
| 75 |
bias-disable; |
| 76 |
}; |
| 77 |
|
| 78 |
te-pins { |
| 79 |
pins = "gpio12"; |
| 80 |
function = "mdp_vsync"; |
| 81 |
drive-strength = <2>; |
| 82 |
bias-pull-down; |
| 83 |
}; |
| 84 |
}; |
| 85 |
}; |
| 86 |
|
| 87 |
&wifi { |
| 88 |
qcom,calibration-variant = "Google_blueline"; |
| 89 |
}; |