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