1// SPDX-License-Identifier: GPL-2.0 2/* 3 * SDM845 OnePlus 6T (fajita) 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 6T"; 12 compatible = "oneplus,fajita", "qcom,sdm845"; 13 chassis-type = "handset"; 14 qcom,msm-id = <0x141 0x20001>; 15 qcom,board-id = <8 0 18801 41>; 16 17 battery: battery { 18 compatible = "simple-battery"; 19 20 charge-full-design-microamp-hours = <3700000>; 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,s6e3fc2x01"; 30}; 31 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 51/* 52 * The TFA9894 codec is currently unsupported. 53 * We need to delete the node to allow the soundcard 54 * to probe for headphones/earpiece. 55 */ 56/delete-node/ &speaker_playback_dai; 57 58&rmi4_f12 { 59 touchscreen-y-mm = <148>; 60}; 61 62&wcd9340 { 63 qcom,micbias1-microvolt = <2700000>; 64 qcom,micbias2-microvolt = <2700000>; 65 qcom,micbias3-microvolt = <2700000>; 66 qcom,micbias4-microvolt = <2700000>; 67}; 68