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