~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/qcom/qcom-apq8026-samsung-milletwifi.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm/qcom/qcom-apq8026-samsung-milletwifi.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm/qcom/qcom-apq8026-samsung-milletwifi.dts (Architecture mips)


  1 // SPDX-License-Identifier: BSD-3-Clause            1 // SPDX-License-Identifier: BSD-3-Clause
  2 /*                                                  2 /*
  3  * Copyright (c) 2022, Matti Lehtimäki <matti.      3  * Copyright (c) 2022, Matti Lehtimäki <matti.lehtimaki@gmail.com>
  4  * Copyright (c) 2023, Bryant Mairs <bryant@mai      4  * Copyright (c) 2023, Bryant Mairs <bryant@mai.rs>
  5  */                                                 5  */
  6                                                     6 
  7 /dts-v1/;                                           7 /dts-v1/;
  8                                                     8 
  9 #include <dt-bindings/input/input.h>                9 #include <dt-bindings/input/input.h>
 10 #include <dt-bindings/power/summit,smb347-char     10 #include <dt-bindings/power/summit,smb347-charger.h>
 11 #include "qcom-msm8226.dtsi"                       11 #include "qcom-msm8226.dtsi"
 12 #include "pm8226.dtsi"                             12 #include "pm8226.dtsi"
 13                                                    13 
 14 /delete-node/ &adsp_region;                        14 /delete-node/ &adsp_region;
 15 /delete-node/ &smem_region;                        15 /delete-node/ &smem_region;
 16                                                    16 
 17 / {                                                17 / {
 18         model = "Samsung Galaxy Tab 4 8.0 Wi-F     18         model = "Samsung Galaxy Tab 4 8.0 Wi-Fi";
 19         compatible = "samsung,milletwifi", "qc     19         compatible = "samsung,milletwifi", "qcom,apq8026";
 20         chassis-type = "tablet";                   20         chassis-type = "tablet";
 21                                                    21 
 22         aliases {                                  22         aliases {
 23                 display0 = &framebuffer0;          23                 display0 = &framebuffer0;
 24                 mmc0 = &sdhc_1; /* SDC1 eMMC s     24                 mmc0 = &sdhc_1; /* SDC1 eMMC slot */
 25                 mmc1 = &sdhc_2; /* SDC2 SD car     25                 mmc1 = &sdhc_2; /* SDC2 SD card slot */
 26         };                                         26         };
 27                                                    27 
 28         chosen {                                   28         chosen {
 29                 #address-cells = <1>;              29                 #address-cells = <1>;
 30                 #size-cells = <1>;                 30                 #size-cells = <1>;
 31                 ranges;                            31                 ranges;
 32                                                    32 
 33                 stdout-path = "display0";          33                 stdout-path = "display0";
 34                                                    34 
 35                 framebuffer0: framebuffer@3200     35                 framebuffer0: framebuffer@3200000 {
 36                         compatible = "simple-f     36                         compatible = "simple-framebuffer";
 37                         reg = <0x03200000 0x80     37                         reg = <0x03200000 0x800000>;
 38                         width = <800>;             38                         width = <800>;
 39                         height = <1280>;           39                         height = <1280>;
 40                         stride = <(800 * 3)>;      40                         stride = <(800 * 3)>;
 41                         format = "r8g8b8";         41                         format = "r8g8b8";
 42                 };                                 42                 };
 43         };                                         43         };
 44                                                    44 
 45         gpio-hall-sensor {                         45         gpio-hall-sensor {
 46                 compatible = "gpio-keys";          46                 compatible = "gpio-keys";
 47                                                    47 
 48                 event-hall-sensor {                48                 event-hall-sensor {
 49                         label = "Cover";           49                         label = "Cover";
 50                         gpios = <&tlmm 37 GPIO     50                         gpios = <&tlmm 37 GPIO_ACTIVE_LOW>;
 51                         linux,input-type = <EV     51                         linux,input-type = <EV_SW>;
 52                         linux,code = <SW_LID>;     52                         linux,code = <SW_LID>;
 53                         debounce-interval = <1     53                         debounce-interval = <15>;
 54                         linux,can-disable;         54                         linux,can-disable;
 55                         wakeup-source;             55                         wakeup-source;
 56                 };                                 56                 };
 57         };                                         57         };
 58                                                    58 
 59         gpio-keys {                                59         gpio-keys {
 60                 compatible = "gpio-keys";          60                 compatible = "gpio-keys";
 61                 autorepeat;                        61                 autorepeat;
 62                                                    62 
 63                 key-home {                         63                 key-home {
 64                         label = "Home";            64                         label = "Home";
 65                         gpios = <&tlmm 108 GPI     65                         gpios = <&tlmm 108 GPIO_ACTIVE_LOW>;
 66                         linux,code = <KEY_HOME     66                         linux,code = <KEY_HOMEPAGE>;
 67                         debounce-interval = <1     67                         debounce-interval = <15>;
 68                 };                                 68                 };
 69                                                    69 
 70                 key-volume-down {                  70                 key-volume-down {
 71                         label = "Volume Down";     71                         label = "Volume Down";
 72                         gpios = <&tlmm 107 GPI     72                         gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
 73                         linux,code = <KEY_VOLU     73                         linux,code = <KEY_VOLUMEDOWN>;
 74                         debounce-interval = <1     74                         debounce-interval = <15>;
 75                 };                                 75                 };
 76                                                    76 
 77                 key-volume-up {                    77                 key-volume-up {
 78                         label = "Volume Up";       78                         label = "Volume Up";
 79                         gpios = <&tlmm 106 GPI     79                         gpios = <&tlmm 106 GPIO_ACTIVE_LOW>;
 80                         linux,code = <KEY_VOLU     80                         linux,code = <KEY_VOLUMEUP>;
 81                         debounce-interval = <1     81                         debounce-interval = <15>;
 82                 };                                 82                 };
 83         };                                         83         };
 84                                                    84 
 85         i2c-backlight {                            85         i2c-backlight {
 86                 compatible = "i2c-gpio";           86                 compatible = "i2c-gpio";
 87                 sda-gpios = <&tlmm 20 (GPIO_AC     87                 sda-gpios = <&tlmm 20 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
 88                 scl-gpios = <&tlmm 21 (GPIO_AC     88                 scl-gpios = <&tlmm 21 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
 89                                                    89 
 90                 pinctrl-0 = <&backlight_i2c_de     90                 pinctrl-0 = <&backlight_i2c_default_state>;
 91                 pinctrl-names = "default";         91                 pinctrl-names = "default";
 92                                                    92 
 93                 i2c-gpio,delay-us = <4>;           93                 i2c-gpio,delay-us = <4>;
 94                                                    94 
 95                 #address-cells = <1>;              95                 #address-cells = <1>;
 96                 #size-cells = <0>;                 96                 #size-cells = <0>;
 97                                                    97 
 98                 backlight@2c {                     98                 backlight@2c {
 99                         compatible = "ti,lp855     99                         compatible = "ti,lp8556";
100                         reg = <0x2c>;             100                         reg = <0x2c>;
101                         enable-supply = <&reg_    101                         enable-supply = <&reg_backlight_vddio>;
102                                                   102 
103                         dev-ctrl = /bits/ 8 <0    103                         dev-ctrl = /bits/ 8 <0x80>;
104                         init-brt = /bits/ 8 <0    104                         init-brt = /bits/ 8 <0x3f>;
105                                                   105 
106                         /*                        106                         /*
107                          * Change transition d    107                          * Change transition duration: 200ms, Change
108                          * transition strength    108                          * transition strength: heavy, PWM hysteresis:
109                          * 1-bit w/ 8-bit reso    109                          * 1-bit w/ 8-bit resolution
110                          */                       110                          */
111                         rom-a3h {                 111                         rom-a3h {
112                                 rom-addr = /bi    112                                 rom-addr = /bits/ 8 <0xa3>;
113                                 rom-val = /bit    113                                 rom-val = /bits/ 8 <0x5e>;
114                         };                        114                         };
115                                                   115 
116                         /*                        116                         /*
117                          * PWM phase configura    117                          * PWM phase configuration: 3-phase/3 drivers
118                          * (0, 120deg, 240deg,    118                          * (0, 120deg, 240deg, -, -, -),
119                          * PWM frequency: 9616    119                          * PWM frequency: 9616Hz (10-bit)
120                          */                       120                          */
121                         rom-a5h {                 121                         rom-a5h {
122                                 rom-addr = /bi    122                                 rom-addr = /bits/ 8 <0xa5>;
123                                 rom-val = /bit    123                                 rom-val = /bits/ 8 <0x34>;
124                         };                        124                         };
125                                                   125 
126                         /*                        126                         /*
127                          * Enable LED drivers     127                          * Enable LED drivers 2 & 3, Boot inductor
128                          * current limit: 1.5A    128                          * current limit: 1.5A/2.6A
129                          */                       129                          */
130                         rom-a7h {                 130                         rom-a7h {
131                                 rom-addr = /bi    131                                 rom-addr = /bits/ 8 <0xa7>;
132                                 rom-val = /bit    132                                 rom-val = /bits/ 8 <0xfa>;
133                         };                        133                         };
134                 };                                134                 };
135         };                                        135         };
136                                                   136 
137         reg_backlight_vddio: regulator-backlig    137         reg_backlight_vddio: regulator-backlight-vddio {
138                 compatible = "regulator-fixed"    138                 compatible = "regulator-fixed";
139                 regulator-name = "backlight_vd    139                 regulator-name = "backlight_vddio";
140                 regulator-min-microvolt = <180    140                 regulator-min-microvolt = <1800000>;
141                 regulator-max-microvolt = <180    141                 regulator-max-microvolt = <1800000>;
142                                                   142 
143                 gpio = <&tlmm 74 GPIO_ACTIVE_H    143                 gpio = <&tlmm 74 GPIO_ACTIVE_HIGH>;
144                 enable-active-high;               144                 enable-active-high;
145                                                   145 
146                 pinctrl-0 = <&backlight_vddio_    146                 pinctrl-0 = <&backlight_vddio_default_state>;
147                 pinctrl-names = "default";        147                 pinctrl-names = "default";
148         };                                        148         };
149                                                   149 
150         reg_tsp_1p8v: regulator-tsp-1p8v {        150         reg_tsp_1p8v: regulator-tsp-1p8v {
151                 compatible = "regulator-fixed"    151                 compatible = "regulator-fixed";
152                 regulator-name = "tsp_1p8v";      152                 regulator-name = "tsp_1p8v";
153                 regulator-min-microvolt = <180    153                 regulator-min-microvolt = <1800000>;
154                 regulator-max-microvolt = <180    154                 regulator-max-microvolt = <1800000>;
155                                                   155 
156                 gpio = <&tlmm 114 GPIO_ACTIVE_    156                 gpio = <&tlmm 114 GPIO_ACTIVE_HIGH>;
157                 enable-active-high;               157                 enable-active-high;
158                                                   158 
159                 pinctrl-0 = <&tsp_en1_default_    159                 pinctrl-0 = <&tsp_en1_default_state>;
160                 pinctrl-names = "default";        160                 pinctrl-names = "default";
161         };                                        161         };
162                                                   162 
163         reg_tsp_3p3v: regulator-tsp-3p3v {        163         reg_tsp_3p3v: regulator-tsp-3p3v {
164                 compatible = "regulator-fixed"    164                 compatible = "regulator-fixed";
165                 regulator-name = "tsp_3p3v";      165                 regulator-name = "tsp_3p3v";
166                 regulator-min-microvolt = <330    166                 regulator-min-microvolt = <3300000>;
167                 regulator-max-microvolt = <330    167                 regulator-max-microvolt = <3300000>;
168                                                   168 
169                 gpio = <&tlmm 31 GPIO_ACTIVE_H    169                 gpio = <&tlmm 31 GPIO_ACTIVE_HIGH>;
170                 enable-active-high;               170                 enable-active-high;
171                                                   171 
172                 pinctrl-0 = <&tsp_en_default_s    172                 pinctrl-0 = <&tsp_en_default_state>;
173                 pinctrl-names = "default";        173                 pinctrl-names = "default";
174         };                                        174         };
175                                                   175 
176         reserved-memory {                         176         reserved-memory {
177                 #address-cells = <1>;             177                 #address-cells = <1>;
178                 #size-cells = <1>;                178                 #size-cells = <1>;
179                 ranges;                           179                 ranges;
180                                                   180 
181                 framebuffer@3200000 {             181                 framebuffer@3200000 {
182                         reg = <0x03200000 0x80    182                         reg = <0x03200000 0x800000>;
183                         no-map;                   183                         no-map;
184                 };                                184                 };
185                                                   185 
186                 mpss_region: mpss@8400000 {       186                 mpss_region: mpss@8400000 {
187                         reg = <0x08400000 0x1f    187                         reg = <0x08400000 0x1f00000>;
188                         no-map;                   188                         no-map;
189                 };                                189                 };
190                                                   190 
191                 mba_region: mba@a300000 {         191                 mba_region: mba@a300000 {
192                         reg = <0x0a300000 0x10    192                         reg = <0x0a300000 0x100000>;
193                         no-map;                   193                         no-map;
194                 };                                194                 };
195                                                   195 
196                 reserved@cb00000 {                196                 reserved@cb00000 {
197                         reg = <0x0cb00000 0x70    197                         reg = <0x0cb00000 0x700000>;
198                         no-map;                   198                         no-map;
199                 };                                199                 };
200                                                   200 
201                 wcnss_region: wcnss@d200000 {     201                 wcnss_region: wcnss@d200000 {
202                         reg = <0x0d200000 0x70    202                         reg = <0x0d200000 0x700000>;
203                         no-map;                   203                         no-map;
204                 };                                204                 };
205                                                   205 
206                 adsp_region: adsp@d900000 {       206                 adsp_region: adsp@d900000 {
207                         reg = <0x0d900000 0x18    207                         reg = <0x0d900000 0x1800000>;
208                         no-map;                   208                         no-map;
209                 };                                209                 };
210                                                   210 
211                 venus@f100000 {                   211                 venus@f100000 {
212                         reg = <0x0f100000 0x50    212                         reg = <0x0f100000 0x500000>;
213                         no-map;                   213                         no-map;
214                 };                                214                 };
215                                                   215 
216                 smem_region: smem@fa00000 {       216                 smem_region: smem@fa00000 {
217                         reg = <0x0fa00000 0x10    217                         reg = <0x0fa00000 0x100000>;
218                         no-map;                   218                         no-map;
219                 };                                219                 };
220                                                   220 
221                 reserved@fb00000 {                221                 reserved@fb00000 {
222                         reg = <0x0fb00000 0x26    222                         reg = <0x0fb00000 0x260000>;
223                         no-map;                   223                         no-map;
224                 };                                224                 };
225                                                   225 
226                 rfsa@fd60000 {                    226                 rfsa@fd60000 {
227                         reg = <0x0fd60000 0x20    227                         reg = <0x0fd60000 0x20000>;
228                         no-map;                   228                         no-map;
229                 };                                229                 };
230                                                   230 
231                 rmtfs@fd80000 {                   231                 rmtfs@fd80000 {
232                         compatible = "qcom,rmt    232                         compatible = "qcom,rmtfs-mem";
233                         reg = <0x0fd80000 0x18    233                         reg = <0x0fd80000 0x180000>;
234                         no-map;                   234                         no-map;
235                                                   235 
236                         qcom,client-id = <1>;     236                         qcom,client-id = <1>;
237                 };                                237                 };
238         };                                        238         };
239 };                                                239 };
240                                                   240 
241 &blsp1_i2c2 {                                     241 &blsp1_i2c2 {
242         status = "okay";                          242         status = "okay";
243                                                   243 
244         accelerometer@1d {                        244         accelerometer@1d {
245                 compatible = "st,lis2hh12";       245                 compatible = "st,lis2hh12";
246                 reg = <0x1d>;                     246                 reg = <0x1d>;
247                                                   247 
248                 interrupts-extended = <&tlmm 5    248                 interrupts-extended = <&tlmm 54 IRQ_TYPE_LEVEL_HIGH>;
249                                                   249 
250                 pinctrl-0 = <&accel_int_defaul    250                 pinctrl-0 = <&accel_int_default_state>;
251                 pinctrl-names = "default";        251                 pinctrl-names = "default";
252                                                   252 
253                 vdd-supply = <&pm8226_l19>;       253                 vdd-supply = <&pm8226_l19>;
254                 vddio-supply = <&pm8226_lvs1>;    254                 vddio-supply = <&pm8226_lvs1>;
255                                                   255 
256                 mount-matrix = "0", "1", "0",     256                 mount-matrix = "0", "1", "0",
257                                "-1", "0", "0",    257                                "-1", "0", "0",
258                                "0", "0", "1";     258                                "0", "0", "1";
259                                                   259 
260                 st,drdy-int-pin = <1>;            260                 st,drdy-int-pin = <1>;
261         };                                        261         };
262 };                                                262 };
263                                                   263 
264 &blsp1_i2c3 {                                     264 &blsp1_i2c3 {
265         status = "okay";                          265         status = "okay";
266                                                   266 
267         charger@6a {                              267         charger@6a {
268                 compatible = "summit,smb358";     268                 compatible = "summit,smb358";
269                 reg = <0x6a>;                     269                 reg = <0x6a>;
270                                                   270 
271                 interrupts-extended = <&tlmm 1    271                 interrupts-extended = <&tlmm 115 IRQ_TYPE_EDGE_FALLING>;
272                                                   272 
273                 pinctrl-0 = <&charger_int_defa    273                 pinctrl-0 = <&charger_int_default_state>;
274                 pinctrl-names = "default";        274                 pinctrl-names = "default";
275                                                   275 
276                 summit,enable-usb-charging;       276                 summit,enable-usb-charging;
277                 summit,enable-charge-control =    277                 summit,enable-charge-control = <SMB3XX_CHG_ENABLE_SW>;
278                 summit,fast-voltage-threshold-    278                 summit,fast-voltage-threshold-microvolt = <3000000>;
279                 summit,chip-temperature-thresh    279                 summit,chip-temperature-threshold-celsius = <130>;
280                 summit,usb-current-limit-micro    280                 summit,usb-current-limit-microamp = <1500000>;
281         };                                        281         };
282 };                                                282 };
283                                                   283 
284 &blsp1_i2c4 {                                     284 &blsp1_i2c4 {
285         status = "okay";                          285         status = "okay";
286                                                   286 
287         muic: usb-switch@25 {                     287         muic: usb-switch@25 {
288                 compatible = "siliconmitus,sm5    288                 compatible = "siliconmitus,sm5502-muic";
289                 reg = <0x25>;                     289                 reg = <0x25>;
290                                                   290 
291                 interrupts-extended = <&tlmm 6    291                 interrupts-extended = <&tlmm 67 IRQ_TYPE_EDGE_FALLING>;
292                                                   292 
293                 pinctrl-0 = <&muic_int_default    293                 pinctrl-0 = <&muic_int_default_state>;
294                 pinctrl-names = "default";        294                 pinctrl-names = "default";
295         };                                        295         };
296 };                                                296 };
297                                                   297 
298 &blsp1_i2c5 {                                     298 &blsp1_i2c5 {
299         status = "okay";                          299         status = "okay";
300                                                   300 
301         touchscreen@48 {                          301         touchscreen@48 {
302                 compatible = "melfas,mms252",     302                 compatible = "melfas,mms252", "melfas,mms114";
303                 reg = <0x48>;                     303                 reg = <0x48>;
304                 interrupts-extended = <&tlmm 1    304                 interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>;
305                 touchscreen-size-x = <800>;       305                 touchscreen-size-x = <800>;
306                 touchscreen-size-y = <1280>;      306                 touchscreen-size-y = <1280>;
307                 avdd-supply = <&reg_tsp_3p3v>;    307                 avdd-supply = <&reg_tsp_3p3v>;
308                 vdd-supply = <&reg_tsp_1p8v>;     308                 vdd-supply = <&reg_tsp_1p8v>;
309                 linux,keycodes = <KEY_APPSELEC    309                 linux,keycodes = <KEY_APPSELECT KEY_BACK>;
310                                                   310 
311                 pinctrl-0 = <&tsp_int_rst_defa    311                 pinctrl-0 = <&tsp_int_rst_default_state>;
312                 pinctrl-names = "default";        312                 pinctrl-names = "default";
313         };                                        313         };
314 };                                                314 };
315                                                   315 
316 &rpm_requests {                                   316 &rpm_requests {
317         regulators {                              317         regulators {
318                 compatible = "qcom,rpm-pm8226-    318                 compatible = "qcom,rpm-pm8226-regulators";
319                                                   319 
320                 pm8226_s3: s3 {                   320                 pm8226_s3: s3 {
321                         regulator-min-microvol    321                         regulator-min-microvolt = <1200000>;
322                         regulator-max-microvol    322                         regulator-max-microvolt = <1300000>;
323                 };                                323                 };
324                                                   324 
325                 pm8226_s4: s4 {                   325                 pm8226_s4: s4 {
326                         regulator-min-microvol    326                         regulator-min-microvolt = <1800000>;
327                         regulator-max-microvol    327                         regulator-max-microvolt = <1800000>;
328                 };                                328                 };
329                                                   329 
330                 pm8226_s5: s5 {                   330                 pm8226_s5: s5 {
331                         regulator-min-microvol    331                         regulator-min-microvolt = <1150000>;
332                         regulator-max-microvol    332                         regulator-max-microvolt = <1150000>;
333                 };                                333                 };
334                                                   334 
335                 pm8226_l1: l1 {                   335                 pm8226_l1: l1 {
336                         regulator-min-microvol    336                         regulator-min-microvolt = <1225000>;
337                         regulator-max-microvol    337                         regulator-max-microvolt = <1225000>;
338                 };                                338                 };
339                                                   339 
340                 pm8226_l2: l2 {                   340                 pm8226_l2: l2 {
341                         regulator-min-microvol    341                         regulator-min-microvolt = <1200000>;
342                         regulator-max-microvol    342                         regulator-max-microvolt = <1200000>;
343                 };                                343                 };
344                                                   344 
345                 pm8226_l3: l3 {                   345                 pm8226_l3: l3 {
346                         regulator-min-microvol    346                         regulator-min-microvolt = <750000>;
347                         regulator-max-microvol    347                         regulator-max-microvolt = <1337500>;
348                         regulator-always-on;      348                         regulator-always-on;
349                 };                                349                 };
350                                                   350 
351                 pm8226_l4: l4 {                   351                 pm8226_l4: l4 {
352                         regulator-min-microvol    352                         regulator-min-microvolt = <1200000>;
353                         regulator-max-microvol    353                         regulator-max-microvolt = <1200000>;
354                 };                                354                 };
355                                                   355 
356                 pm8226_l5: l5 {                   356                 pm8226_l5: l5 {
357                         regulator-min-microvol    357                         regulator-min-microvolt = <1200000>;
358                         regulator-max-microvol    358                         regulator-max-microvolt = <1200000>;
359                 };                                359                 };
360                                                   360 
361                 pm8226_l6: l6 {                   361                 pm8226_l6: l6 {
362                         regulator-min-microvol    362                         regulator-min-microvolt = <1800000>;
363                         regulator-max-microvol    363                         regulator-max-microvolt = <1800000>;
364                         regulator-always-on;      364                         regulator-always-on;
365                 };                                365                 };
366                                                   366 
367                 pm8226_l7: l7 {                   367                 pm8226_l7: l7 {
368                         regulator-min-microvol    368                         regulator-min-microvolt = <1850000>;
369                         regulator-max-microvol    369                         regulator-max-microvolt = <1850000>;
370                 };                                370                 };
371                                                   371 
372                 pm8226_l8: l8 {                   372                 pm8226_l8: l8 {
373                         regulator-min-microvol    373                         regulator-min-microvolt = <1800000>;
374                         regulator-max-microvol    374                         regulator-max-microvolt = <1800000>;
375                         regulator-always-on;      375                         regulator-always-on;
376                 };                                376                 };
377                                                   377 
378                 pm8226_l9: l9 {                   378                 pm8226_l9: l9 {
379                         regulator-min-microvol    379                         regulator-min-microvolt = <2050000>;
380                         regulator-max-microvol    380                         regulator-max-microvolt = <2050000>;
381                 };                                381                 };
382                                                   382 
383                 pm8226_l10: l10 {                 383                 pm8226_l10: l10 {
384                         regulator-min-microvol    384                         regulator-min-microvolt = <1800000>;
385                         regulator-max-microvol    385                         regulator-max-microvolt = <1800000>;
386                 };                                386                 };
387                                                   387 
388                 pm8226_l12: l12 {                 388                 pm8226_l12: l12 {
389                         regulator-min-microvol    389                         regulator-min-microvolt = <1800000>;
390                         regulator-max-microvol    390                         regulator-max-microvolt = <1800000>;
391                 };                                391                 };
392                                                   392 
393                 pm8226_l14: l14 {                 393                 pm8226_l14: l14 {
394                         regulator-min-microvol    394                         regulator-min-microvolt = <2750000>;
395                         regulator-max-microvol    395                         regulator-max-microvolt = <2750000>;
396                 };                                396                 };
397                                                   397 
398                 pm8226_l15: l15 {                 398                 pm8226_l15: l15 {
399                         regulator-min-microvol    399                         regulator-min-microvolt = <1800000>;
400                         regulator-max-microvol    400                         regulator-max-microvolt = <3300000>;
401                 };                                401                 };
402                                                   402 
403                 pm8226_l16: l16 {                 403                 pm8226_l16: l16 {
404                         regulator-min-microvol    404                         regulator-min-microvolt = <3000000>;
405                         regulator-max-microvol    405                         regulator-max-microvolt = <3350000>;
406                 };                                406                 };
407                                                   407 
408                 pm8226_l17: l17 {                 408                 pm8226_l17: l17 {
409                         regulator-min-microvol    409                         regulator-min-microvolt = <2950000>;
410                         regulator-max-microvol    410                         regulator-max-microvolt = <2950000>;
411                                                   411 
412                         regulator-system-load     412                         regulator-system-load = <200000>;
413                         regulator-allow-set-lo    413                         regulator-allow-set-load;
414                         regulator-always-on;      414                         regulator-always-on;
415                 };                                415                 };
416                                                   416 
417                 pm8226_l18: l18 {                 417                 pm8226_l18: l18 {
418                         regulator-min-microvol    418                         regulator-min-microvolt = <2950000>;
419                         regulator-max-microvol    419                         regulator-max-microvolt = <2950000>;
420                 };                                420                 };
421                                                   421 
422                 pm8226_l19: l19 {                 422                 pm8226_l19: l19 {
423                         regulator-min-microvol    423                         regulator-min-microvolt = <2850000>;
424                         regulator-max-microvol    424                         regulator-max-microvolt = <3000000>;
425                 };                                425                 };
426                                                   426 
427                 pm8226_l20: l20 {                 427                 pm8226_l20: l20 {
428                         regulator-min-microvol    428                         regulator-min-microvolt = <3075000>;
429                         regulator-max-microvol    429                         regulator-max-microvolt = <3075000>;
430                 };                                430                 };
431                                                   431 
432                 pm8226_l21: l21 {                 432                 pm8226_l21: l21 {
433                         regulator-min-microvol    433                         regulator-min-microvolt = <1800000>;
434                         regulator-max-microvol    434                         regulator-max-microvolt = <2950000>;
435                 };                                435                 };
436                                                   436 
437                 pm8226_l22: l22 {                 437                 pm8226_l22: l22 {
438                         regulator-min-microvol    438                         regulator-min-microvolt = <1800000>;
439                         regulator-max-microvol    439                         regulator-max-microvolt = <3000000>;
440                 };                                440                 };
441                                                   441 
442                 pm8226_l23: l23 {                 442                 pm8226_l23: l23 {
443                         regulator-min-microvol    443                         regulator-min-microvolt = <1800000>;
444                         regulator-max-microvol    444                         regulator-max-microvolt = <3300000>;
445                 };                                445                 };
446                                                   446 
447                 pm8226_l24: l24 {                 447                 pm8226_l24: l24 {
448                         regulator-min-microvol    448                         regulator-min-microvolt = <1300000>;
449                         regulator-max-microvol    449                         regulator-max-microvolt = <1350000>;
450                 };                                450                 };
451                                                   451 
452                 pm8226_l25: l25 {                 452                 pm8226_l25: l25 {
453                         regulator-min-microvol    453                         regulator-min-microvolt = <1775000>;
454                         regulator-max-microvol    454                         regulator-max-microvolt = <2125000>;
455                 };                                455                 };
456                                                   456 
457                 pm8226_l26: l26 {                 457                 pm8226_l26: l26 {
458                         regulator-min-microvol    458                         regulator-min-microvolt = <1225000>;
459                         regulator-max-microvol    459                         regulator-max-microvolt = <1300000>;
460                 };                                460                 };
461                                                   461 
462                 pm8226_l27: l27 {                 462                 pm8226_l27: l27 {
463                         regulator-min-microvol    463                         regulator-min-microvolt = <1800000>;
464                         regulator-max-microvol    464                         regulator-max-microvolt = <1800000>;
465                 };                                465                 };
466                                                   466 
467                 pm8226_l28: l28 {                 467                 pm8226_l28: l28 {
468                         regulator-min-microvol    468                         regulator-min-microvolt = <1800000>;
469                         regulator-max-microvol    469                         regulator-max-microvolt = <2950000>;
470                 };                                470                 };
471                                                   471 
472                 pm8226_lvs1: lvs1 {};             472                 pm8226_lvs1: lvs1 {};
473         };                                        473         };
474 };                                                474 };
475                                                   475 
476 &sdhc_1 {                                         476 &sdhc_1 {
477         vmmc-supply = <&pm8226_l17>;              477         vmmc-supply = <&pm8226_l17>;
478         vqmmc-supply = <&pm8226_l6>;              478         vqmmc-supply = <&pm8226_l6>;
479                                                   479 
480         bus-width = <8>;                          480         bus-width = <8>;
481         non-removable;                            481         non-removable;
482                                                   482 
483         status = "okay";                          483         status = "okay";
484 };                                                484 };
485                                                   485 
486 &sdhc_2 {                                         486 &sdhc_2 {
487         vmmc-supply = <&pm8226_l18>;              487         vmmc-supply = <&pm8226_l18>;
488         vqmmc-supply = <&pm8226_l21>;             488         vqmmc-supply = <&pm8226_l21>;
489                                                   489 
490         bus-width = <4>;                          490         bus-width = <4>;
491         cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;    491         cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
492                                                   492 
493         pinctrl-0 = <&sdhc2_default_state>, <&    493         pinctrl-0 = <&sdhc2_default_state>, <&sdc2_cd_default_state>;
494         pinctrl-names = "default";                494         pinctrl-names = "default";
495                                                   495 
496         status = "okay";                          496         status = "okay";
497 };                                                497 };
498                                                   498 
499 &tlmm {                                           499 &tlmm {
500         accel_int_default_state: accel-int-def    500         accel_int_default_state: accel-int-default-state {
501                 pins = "gpio54";                  501                 pins = "gpio54";
502                 function = "gpio";                502                 function = "gpio";
503                 drive-strength = <2>;             503                 drive-strength = <2>;
504                 bias-disable;                     504                 bias-disable;
505         };                                        505         };
506                                                   506 
507         backlight_i2c_default_state: backlight    507         backlight_i2c_default_state: backlight-i2c-default-state {
508                 pins = "gpio20", "gpio21";        508                 pins = "gpio20", "gpio21";
509                 function = "gpio";                509                 function = "gpio";
510                 drive-strength = <2>;             510                 drive-strength = <2>;
511                 bias-disable;                     511                 bias-disable;
512         };                                        512         };
513                                                   513 
514         backlight_vddio_default_state: backlig    514         backlight_vddio_default_state: backlight-vddio-default-state {
515                 pins = "gpio74";                  515                 pins = "gpio74";
516                 function = "gpio";                516                 function = "gpio";
517                 drive-strength = <2>;             517                 drive-strength = <2>;
518                 bias-disable;                     518                 bias-disable;
519         };                                        519         };
520                                                   520 
521         charger_int_default_state: charger-int    521         charger_int_default_state: charger-int-default-state {
522                 pins = "gpio115";                 522                 pins = "gpio115";
523                 function = "gpio";                523                 function = "gpio";
524                 drive-strength = <2>;             524                 drive-strength = <2>;
525                 bias-disable;                     525                 bias-disable;
526         };                                        526         };
527                                                   527 
528         muic_int_default_state: muic-int-defau    528         muic_int_default_state: muic-int-default-state {
529                 pins = "gpio67";                  529                 pins = "gpio67";
530                 function = "gpio";                530                 function = "gpio";
531                 drive-strength = <2>;             531                 drive-strength = <2>;
532                 bias-disable;                     532                 bias-disable;
533         };                                        533         };
534                                                   534 
535         sdc2_cd_default_state: sdc2-cd-default    535         sdc2_cd_default_state: sdc2-cd-default-state {
536                 pins = "gpio38";                  536                 pins = "gpio38";
537                 function = "gpio";                537                 function = "gpio";
538                 drive-strength = <2>;             538                 drive-strength = <2>;
539                 bias-disable;                     539                 bias-disable;
540         };                                        540         };
541                                                   541 
542         tsp_en_default_state: tsp-en-default-s    542         tsp_en_default_state: tsp-en-default-state {
543                 pins = "gpio31";                  543                 pins = "gpio31";
544                 function = "gpio";                544                 function = "gpio";
545                 drive-strength = <2>;             545                 drive-strength = <2>;
546                 bias-disable;                     546                 bias-disable;
547         };                                        547         };
548                                                   548 
549         tsp_en1_default_state: tsp-en1-default    549         tsp_en1_default_state: tsp-en1-default-state {
550                 pins = "gpio114";                 550                 pins = "gpio114";
551                 function = "gpio";                551                 function = "gpio";
552                 drive-strength = <2>;             552                 drive-strength = <2>;
553                 bias-disable;                     553                 bias-disable;
554         };                                        554         };
555                                                   555 
556         tsp_int_rst_default_state: tsp-int-rst    556         tsp_int_rst_default_state: tsp-int-rst-default-state {
557                 pins = "gpio17";                  557                 pins = "gpio17";
558                 function = "gpio";                558                 function = "gpio";
559                 drive-strength = <10>;            559                 drive-strength = <10>;
560                 bias-pull-up;                     560                 bias-pull-up;
561         };                                        561         };
562 };                                                562 };
563                                                   563 
564 &usb {                                            564 &usb {
565         extcon = <&muic>, <&muic>;                565         extcon = <&muic>, <&muic>;
566         status = "okay";                          566         status = "okay";
567 };                                                567 };
568                                                   568 
569 &usb_hs_phy {                                     569 &usb_hs_phy {
570         extcon = <&muic>;                         570         extcon = <&muic>;
571         v1p8-supply = <&pm8226_l10>;              571         v1p8-supply = <&pm8226_l10>;
572         v3p3-supply = <&pm8226_l20>;              572         v3p3-supply = <&pm8226_l20>;
573 };                                                573 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php