1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /* 2 /* 3 * SDM845 OnePlus 6T (fajita) device tree. 3 * SDM845 OnePlus 6T (fajita) device tree. 4 * 4 * 5 * Copyright (c) 2020, The Linux Foundation. A 5 * Copyright (c) 2020, The Linux Foundation. All rights reserved. 6 */ 6 */ 7 7 8 #include "sdm845-oneplus-common.dtsi" 8 #include "sdm845-oneplus-common.dtsi" 9 9 10 / { 10 / { 11 model = "OnePlus 6T"; 11 model = "OnePlus 6T"; 12 compatible = "oneplus,fajita", "qcom,s 12 compatible = "oneplus,fajita", "qcom,sdm845"; 13 chassis-type = "handset"; 13 chassis-type = "handset"; 14 qcom,msm-id = <0x141 0x20001>; 14 qcom,msm-id = <0x141 0x20001>; 15 qcom,board-id = <8 0 18801 41>; 15 qcom,board-id = <8 0 18801 41>; 16 16 17 battery: battery { 17 battery: battery { 18 compatible = "simple-battery"; 18 compatible = "simple-battery"; 19 19 20 charge-full-design-microamp-ho 20 charge-full-design-microamp-hours = <3700000>; 21 voltage-min-design-microvolt = 21 voltage-min-design-microvolt = <3400000>; 22 voltage-max-design-microvolt = 22 voltage-max-design-microvolt = <4400000>; 23 }; 23 }; 24 }; 24 }; 25 25 26 &display_panel { 26 &display_panel { 27 status = "okay"; 27 status = "okay"; 28 28 29 compatible = "samsung,s6e3fc2x01"; 29 compatible = "samsung,s6e3fc2x01"; 30 }; 30 }; 31 31 32 &i2c4 { << 33 /* nxp,tfa9894 @ 0x34 */ << 34 }; << 35 << 36 &bq27441_fg { 32 &bq27441_fg { 37 monitored-battery = <&battery>; 33 monitored-battery = <&battery>; 38 }; 34 }; 39 35 40 &sound { << 41 model = "OnePlus 6T"; << 42 audio-routing = "RX_BIAS", "MCLK", << 43 "AMIC1", "MIC BIAS3", << 44 "AMIC2", "MIC BIAS2", << 45 "AMIC3", "MIC BIAS4", << 46 "AMIC4", "MIC BIAS1", << 47 "AMIC5", "MIC BIAS3"; << 48 }; << 49 << 50 &pmi8998_charger { << 51 monitored-battery = <&battery>; << 52 }; << 53 << 54 /* << 55 * The TFA9894 codec is currently unsupported. << 56 * We need to delete the node to allow the sou << 57 * to probe for headphones/earpiece. << 58 */ << 59 /delete-node/ &speaker_playback_dai; << 60 << 61 &rmi4_f12 { 36 &rmi4_f12 { 62 touchscreen-y-mm = <148>; 37 touchscreen-y-mm = <148>; 63 }; << 64 << 65 &wcd9340 { << 66 qcom,micbias1-microvolt = <2700000>; << 67 qcom,micbias2-microvolt = <2700000>; << 68 qcom,micbias3-microvolt = <2700000>; << 69 qcom,micbias4-microvolt = <2700000>; << 70 }; 38 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.