GNU Linux-libre 6.1.90-gnu
[releases.git] / arch / arm64 / boot / dts / qcom / sdm845-oneplus-enchilada.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * SDM845 OnePlus 6 (enchilada) device tree.
4  *
5  * Copyright (c) 2020, The Linux Foundation. All rights reserved.
6  */
7
8 #include "sdm845-oneplus-common.dtsi"
9
10 / {
11         model = "OnePlus 6";
12         compatible = "oneplus,enchilada", "qcom,sdm845";
13         chassis-type = "handset";
14         qcom,msm-id = <0x141 0x20001>;
15         qcom,board-id = <8 0 17819 22>;
16
17         battery: battery {
18                 compatible = "simple-battery";
19
20                 charge-full-design-microamp-hours = <3300000>;
21                 voltage-min-design-microvolt = <3400000>;
22                 voltage-max-design-microvolt = <4400000>;
23         };
24 };
25
26 &display_panel {
27         status = "okay";
28
29         compatible = "samsung,sofef00";
30 };
31
32 &bq27441_fg {
33         monitored-battery = <&battery>;
34 };