1// SPDX-License-Identifier: GPL-2.0-only 2 3/dts-v1/; 4 5#include "msm8916-samsung-gt5-common.dtsi" 6 7/ { 8 model = "Samsung Galaxy Tab A 8.0 (2015)"; 9 compatible = "samsung,gt58", "qcom,msm8916"; 10 chassis-type = "tablet"; 11 12 reg_5p4v: regulator-5p4v { 13 compatible = "regulator-fixed"; 14 regulator-name = "vlcd_5p4v"; 15 regulator-min-microvolt = <5400000>; 16 regulator-max-microvolt = <5400000>; 17 18 gpio = <&tlmm 8 GPIO_ACTIVE_HIGH>; 19 enable-active-high; 20 21 pinctrl-0 = <&buckbooster_en_default>; 22 pinctrl-names = "default"; 23 }; 24 25 reg_vdd_tsp: regulator-vdd-tsp { 26 compatible = "regulator-fixed"; 27 regulator-name = "vdd_tsp"; 28 regulator-min-microvolt = <3300000>; 29 regulator-max-microvolt = <3300000>; 30 31 gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>; 32 enable-active-high; 33 34 pinctrl-0 = <®_tsp_en_default>; 35 pinctrl-names = "default"; 36 }; 37 38 i2c-amplifier { 39 compatible = "i2c-gpio"; 40 sda-gpios = <&tlmm 55 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 41 scl-gpios = <&tlmm 56 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 42 43 pinctrl-0 = <&_i2c_default>; 44 pinctrl-names = "default"; 45 46 #address-cells = <1>; 47 #size-cells = <0>; 48 49 speaker_codec: audio-codec@34 { 50 compatible = "nxp,tfa9895"; 51 reg = <0x34>; 52 vddd-supply = <&pm8916_l5>; 53 sound-name-prefix = "Speaker"; 54 #sound-dai-cells = <0>; 55 }; 56 }; 57 58 vibrator { 59 compatible = "gpio-vibrator"; 60 enable-gpios = <&tlmm 76 GPIO_ACTIVE_HIGH>; 61 62 pinctrl-0 = <&vibrator_en_default>; 63 pinctrl-names = "default"; 64 }; 65}; 66 67&blsp_i2c5 { 68 status = "okay"; 69 70 touchscreen@20 { 71 compatible = "zinitix,bt532"; 72 reg = <0x20>; 73 interrupt-parent = <&tlmm>; 74 interrupts = <13 IRQ_TYPE_EDGE_FALLING>; 75 76 touchscreen-size-x = <768>; 77 touchscreen-size-y = <1024>; 78 79 vcca-supply = <®_vdd_tsp>; 80 vdd-supply = <&pm8916_l6>; 81 82 pinctrl-0 = <&tsp_int_default>; 83 pinctrl-names = "default"; 84 }; 85}; 86 87&gpu { 88 status = "okay"; 89}; 90 91&mdss { 92 status = "okay"; 93}; 94 95&mdss_dsi0 { 96 pinctrl-0 = <&mdss_default>; 97 pinctrl-1 = <&mdss_sleep>; 98 pinctrl-names = "default", "sleep"; 99 100 panel@0 { 101 compatible = "samsung,lsl080al03", "samsung,s6d7aa0"; 102 reg = <0>; 103 104 power-supply = <®_5p4v>; 105 vmipi-supply = <&pm8916_l5>; 106 reset-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>; 107 108 port { 109 panel_in: endpoint { 110 remote-endpoint = <&mdss_dsi0_out>; 111 }; 112 }; 113 }; 114}; 115 116&mdss_dsi0_out { 117 data-lanes = <0 1 2 3>; 118 remote-endpoint = <&panel_in>; 119}; 120 121&sound { 122 model = "samsung-a2015"; 123 pinctrl-0 = <&cdc_pdm_default &sec_mi2s_default &secondary_mic_default>; 124 pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_sleep &secondary_mic_default>; 125 pinctrl-names = "default", "sleep"; 126}; 127 128&tlmm { 129 amp_i2c_default: amp-i2c-default-state { 130 pins = "gpio55", "gpio56"; 131 function = "gpio"; 132 drive-strength = <2>; 133 bias-disable; 134 }; 135 136 buckbooster_en_default: buckbooster-en-default-state { 137 pins = "gpio8"; 138 function = "gpio"; 139 drive-strength = <2>; 140 bias-disable; 141 }; 142 143 mdss_default: mdss-default-state { 144 pins = "gpio97"; 145 function = "gpio"; 146 drive-strength = <8>; 147 bias-disable; 148 }; 149 150 mdss_sleep: mdss-sleep-state { 151 pins = "gpio97"; 152 function = "gpio"; 153 drive-strength = <2>; 154 bias-pull-down; 155 }; 156 157 reg_tsp_en_default: reg-tsp-en-default-state { 158 pins = "gpio73"; 159 function = "gpio"; 160 drive-strength = <2>; 161 bias-disable; 162 }; 163 164 secondary_mic_default: secondary-mic-default-state { 165 pins = "gpio98"; 166 function = "gpio"; 167 drive-strength = <2>; 168 bias-disable; 169 output-high; 170 }; 171 172 tsp_int_default: tsp-int-default-state { 173 pins = "gpio13"; 174 function = "gpio"; 175 drive-strength = <2>; 176 bias-disable; 177 }; 178 179 vibrator_en_default: vibrator-en-default-state { 180 pins = "gpio76"; 181 function = "gpio"; 182 drive-strength = <2>; 183 bias-disable; 184 }; 185}; 186