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 << 17 battery: battery { << 18 compatible = "simple-battery"; << 19 << 20 charge-full-design-microamp-ho << 21 voltage-min-design-microvolt = << 22 voltage-max-design-microvolt = << 23 }; << 24 }; 16 }; 25 17 26 &display_panel { 18 &display_panel { 27 status = "okay"; 19 status = "okay"; 28 20 29 compatible = "samsung,s6e3fc2x01"; 21 compatible = "samsung,s6e3fc2x01"; 30 }; 22 }; 31 23 32 &i2c4 { << 33 /* nxp,tfa9894 @ 0x34 */ << 34 }; << 35 << 36 &bq27441_fg { << 37 monitored-battery = <&battery>; << 38 }; << 39 << 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 { 24 &rmi4_f12 { 62 touchscreen-y-mm = <148>; 25 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 }; 26 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.