| 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 |
linux,keycodes = <KEY_APPSELECT KEY_BACK>; |
| 79 |
|
| 80 |
vcca-supply = <®_vdd_tsp>; |
| 81 |
vdd-supply = <&pm8916_l6>; |
| 82 |
|
| 83 |
pinctrl-0 = <&tsp_int_default>; |
| 84 |
pinctrl-names = "default"; |
| 85 |
}; |
| 86 |
}; |
| 87 |
|
| 88 |
&gpu { |
| 89 |
status = "okay"; |
| 90 |
}; |
| 91 |
|
| 92 |
&mdss { |
| 93 |
status = "okay"; |
| 94 |
}; |
| 95 |
|
| 96 |
&mdss_dsi0 { |
| 97 |
pinctrl-0 = <&mdss_default>; |
| 98 |
pinctrl-1 = <&mdss_sleep>; |
| 99 |
pinctrl-names = "default", "sleep"; |
| 100 |
|
| 101 |
panel@0 { |
| 102 |
compatible = "samsung,lsl080al03", "samsung,s6d7aa0"; |
| 103 |
reg = <0>; |
| 104 |
|
| 105 |
power-supply = <®_5p4v>; |
| 106 |
vmipi-supply = <&pm8916_l5>; |
| 107 |
reset-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>; |
| 108 |
|
| 109 |
port { |
| 110 |
panel_in: endpoint { |
| 111 |
remote-endpoint = <&mdss_dsi0_out>; |
| 112 |
}; |
| 113 |
}; |
| 114 |
}; |
| 115 |
}; |
| 116 |
|
| 117 |
&mdss_dsi0_out { |
| 118 |
data-lanes = <0 1 2 3>; |
| 119 |
remote-endpoint = <&panel_in>; |
| 120 |
}; |
| 121 |
|
| 122 |
&sound { |
| 123 |
model = "samsung-a2015"; |
| 124 |
pinctrl-0 = <&cdc_pdm_default &sec_mi2s_default &secondary_mic_default>; |
| 125 |
pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_sleep &secondary_mic_default>; |
| 126 |
pinctrl-names = "default", "sleep"; |
| 127 |
}; |
| 128 |
|
| 129 |
&tlmm { |
| 130 |
amp_i2c_default: amp-i2c-default-state { |
| 131 |
pins = "gpio55", "gpio56"; |
| 132 |
function = "gpio"; |
| 133 |
drive-strength = <2>; |
| 134 |
bias-disable; |
| 135 |
}; |
| 136 |
|
| 137 |
buckbooster_en_default: buckbooster-en-default-state { |
| 138 |
pins = "gpio8"; |
| 139 |
function = "gpio"; |
| 140 |
drive-strength = <2>; |
| 141 |
bias-disable; |
| 142 |
}; |
| 143 |
|
| 144 |
mdss_default: mdss-default-state { |
| 145 |
pins = "gpio97"; |
| 146 |
function = "gpio"; |
| 147 |
drive-strength = <8>; |
| 148 |
bias-disable; |
| 149 |
}; |
| 150 |
|
| 151 |
mdss_sleep: mdss-sleep-state { |
| 152 |
pins = "gpio97"; |
| 153 |
function = "gpio"; |
| 154 |
drive-strength = <2>; |
| 155 |
bias-pull-down; |
| 156 |
}; |
| 157 |
|
| 158 |
reg_tsp_en_default: reg-tsp-en-default-state { |
| 159 |
pins = "gpio73"; |
| 160 |
function = "gpio"; |
| 161 |
drive-strength = <2>; |
| 162 |
bias-disable; |
| 163 |
}; |
| 164 |
|
| 165 |
secondary_mic_default: secondary-mic-default-state { |
| 166 |
pins = "gpio98"; |
| 167 |
function = "gpio"; |
| 168 |
drive-strength = <2>; |
| 169 |
bias-disable; |
| 170 |
output-high; |
| 171 |
}; |
| 172 |
|
| 173 |
tsp_int_default: tsp-int-default-state { |
| 174 |
pins = "gpio13"; |
| 175 |
function = "gpio"; |
| 176 |
drive-strength = <2>; |
| 177 |
bias-disable; |
| 178 |
}; |
| 179 |
|
| 180 |
vibrator_en_default: vibrator-en-default-state { |
| 181 |
pins = "gpio76"; |
| 182 |
function = "gpio"; |
| 183 |
drive-strength = <2>; |
| 184 |
bias-disable; |
| 185 |
}; |
| 186 |
}; |