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 { << 39 compatible = "i2c-gpio"; << 40 sda-gpios = <&tlmm 55 (GPIO_AC << 41 scl-gpios = <&tlmm 56 (GPIO_AC << 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,tfa9 << 51 reg = <0x34>; << 52 vddd-supply = <&pm8916 << 53 sound-name-prefix = "S << 54 #sound-dai-cells = <0> << 55 }; << 56 }; << 57 << 58 vibrator { 38 vibrator { 59 compatible = "gpio-vibrator"; 39 compatible = "gpio-vibrator"; 60 enable-gpios = <&tlmm 76 GPIO_ 40 enable-gpios = <&tlmm 76 GPIO_ACTIVE_HIGH>; 61 41 62 pinctrl-0 = <&vibrator_en_defa 42 pinctrl-0 = <&vibrator_en_default>; 63 pinctrl-names = "default"; 43 pinctrl-names = "default"; 64 }; 44 }; 65 }; 45 }; 66 46 67 &blsp_i2c5 { 47 &blsp_i2c5 { 68 status = "okay"; 48 status = "okay"; 69 49 70 touchscreen@20 { 50 touchscreen@20 { 71 compatible = "zinitix,bt532"; 51 compatible = "zinitix,bt532"; 72 reg = <0x20>; 52 reg = <0x20>; 73 interrupt-parent = <&tlmm>; 53 interrupt-parent = <&tlmm>; 74 interrupts = <13 IRQ_TYPE_EDGE 54 interrupts = <13 IRQ_TYPE_EDGE_FALLING>; 75 55 76 touchscreen-size-x = <768>; 56 touchscreen-size-x = <768>; 77 touchscreen-size-y = <1024>; 57 touchscreen-size-y = <1024>; 78 linux,keycodes = <KEY_APPSELEC << 79 58 80 vcca-supply = <®_vdd_tsp>; 59 vcca-supply = <®_vdd_tsp>; 81 vdd-supply = <&pm8916_l6>; 60 vdd-supply = <&pm8916_l6>; 82 61 83 pinctrl-0 = <&tsp_int_default> 62 pinctrl-0 = <&tsp_int_default>; 84 pinctrl-names = "default"; 63 pinctrl-names = "default"; 85 }; 64 }; 86 }; 65 }; 87 66 88 &gpu { << 89 status = "okay"; << 90 }; << 91 << 92 &mdss { 67 &mdss { 93 status = "okay"; 68 status = "okay"; 94 }; 69 }; 95 70 96 &mdss_dsi0 { 71 &mdss_dsi0 { 97 pinctrl-0 = <&mdss_default>; 72 pinctrl-0 = <&mdss_default>; 98 pinctrl-1 = <&mdss_sleep>; 73 pinctrl-1 = <&mdss_sleep>; 99 pinctrl-names = "default", "sleep"; 74 pinctrl-names = "default", "sleep"; 100 75 101 panel@0 { 76 panel@0 { 102 compatible = "samsung,lsl080al 77 compatible = "samsung,lsl080al03", "samsung,s6d7aa0"; 103 reg = <0>; 78 reg = <0>; 104 79 105 power-supply = <®_5p4v>; 80 power-supply = <®_5p4v>; 106 vmipi-supply = <&pm8916_l5>; 81 vmipi-supply = <&pm8916_l5>; 107 reset-gpios = <&tlmm 97 GPIO_A 82 reset-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>; 108 83 109 port { 84 port { 110 panel_in: endpoint { 85 panel_in: endpoint { 111 remote-endpoin 86 remote-endpoint = <&mdss_dsi0_out>; 112 }; 87 }; 113 }; 88 }; 114 }; 89 }; 115 }; 90 }; 116 91 117 &mdss_dsi0_out { 92 &mdss_dsi0_out { 118 data-lanes = <0 1 2 3>; 93 data-lanes = <0 1 2 3>; 119 remote-endpoint = <&panel_in>; 94 remote-endpoint = <&panel_in>; 120 }; 95 }; 121 96 122 &sound { << 123 model = "samsung-a2015"; << 124 pinctrl-0 = <&cdc_pdm_default &sec_mi2 << 125 pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_ << 126 pinctrl-names = "default", "sleep"; << 127 }; << 128 << 129 &tlmm { 97 &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 98 buckbooster_en_default: buckbooster-en-default-state { 138 pins = "gpio8"; 99 pins = "gpio8"; 139 function = "gpio"; 100 function = "gpio"; 140 drive-strength = <2>; 101 drive-strength = <2>; 141 bias-disable; 102 bias-disable; 142 }; 103 }; 143 104 144 mdss_default: mdss-default-state { 105 mdss_default: mdss-default-state { 145 pins = "gpio97"; 106 pins = "gpio97"; 146 function = "gpio"; 107 function = "gpio"; 147 drive-strength = <8>; 108 drive-strength = <8>; 148 bias-disable; 109 bias-disable; 149 }; 110 }; 150 111 151 mdss_sleep: mdss-sleep-state { 112 mdss_sleep: mdss-sleep-state { 152 pins = "gpio97"; 113 pins = "gpio97"; 153 function = "gpio"; 114 function = "gpio"; 154 drive-strength = <2>; 115 drive-strength = <2>; 155 bias-pull-down; 116 bias-pull-down; 156 }; 117 }; 157 118 158 reg_tsp_en_default: reg-tsp-en-default 119 reg_tsp_en_default: reg-tsp-en-default-state { 159 pins = "gpio73"; 120 pins = "gpio73"; 160 function = "gpio"; 121 function = "gpio"; 161 drive-strength = <2>; 122 drive-strength = <2>; 162 bias-disable; 123 bias-disable; 163 }; << 164 << 165 secondary_mic_default: secondary-mic-d << 166 pins = "gpio98"; << 167 function = "gpio"; << 168 drive-strength = <2>; << 169 bias-disable; << 170 output-high; << 171 }; 124 }; 172 125 173 tsp_int_default: tsp-int-default-state 126 tsp_int_default: tsp-int-default-state { 174 pins = "gpio13"; 127 pins = "gpio13"; 175 function = "gpio"; 128 function = "gpio"; 176 drive-strength = <2>; 129 drive-strength = <2>; 177 bias-disable; 130 bias-disable; 178 }; 131 }; 179 132 180 vibrator_en_default: vibrator-en-defau 133 vibrator_en_default: vibrator-en-default-state { 181 pins = "gpio76"; 134 pins = "gpio76"; 182 function = "gpio"; 135 function = "gpio"; 183 drive-strength = <2>; 136 drive-strength = <2>; 184 bias-disable; 137 bias-disable; 185 }; 138 }; 186 }; 139 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.