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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/sc7280-herobrine.dtsi

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/arm64/qcom/sc7280-herobrine.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/qcom/sc7280-herobrine.dtsi (Version linux-6.4.16)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Google Herobrine baseboard device tree sour      3  * Google Herobrine baseboard device tree source
  4  *                                                  4  *
  5  * The set of things in this file is a bit loo      5  * The set of things in this file is a bit loosely defined. It's roughly
  6  * defined as the set of things that the child      6  * defined as the set of things that the child boards happen to have in
  7  * common. Since all of the child boards start      7  * common. Since all of the child boards started from the same original
  8  * design this is hopefully a large set of thi      8  * design this is hopefully a large set of things but as more derivatives
  9  * appear things may "bubble down" out of this      9  * appear things may "bubble down" out of this file. For things that are
 10  * part of the reference design but might not      10  * part of the reference design but might not exist on child nodes we will
 11  * follow the lead of the SoC dtsi files and l     11  * follow the lead of the SoC dtsi files and leave their status as "disabled".
 12  *                                                 12  *
 13  * Copyright 2022 Google LLC.                      13  * Copyright 2022 Google LLC.
 14  */                                                14  */
 15                                                    15 
 16 #include <dt-bindings/input/gpio-keys.h>           16 #include <dt-bindings/input/gpio-keys.h>
 17 #include <dt-bindings/input/input.h>               17 #include <dt-bindings/input/input.h>
 18 #include <dt-bindings/leds/common.h>               18 #include <dt-bindings/leds/common.h>
 19                                                    19 
 20 #include "sc7280-qcard.dtsi"                       20 #include "sc7280-qcard.dtsi"
 21 #include "sc7280-chrome-common.dtsi"               21 #include "sc7280-chrome-common.dtsi"
 22                                                    22 
 23 / {                                                23 / {
 24         chosen {                                   24         chosen {
 25                 stdout-path = "serial0:115200n     25                 stdout-path = "serial0:115200n8";
 26         };                                         26         };
 27                                                    27 
 28         /*                                         28         /*
 29          * FIXED REGULATORS                        29          * FIXED REGULATORS
 30          *                                         30          *
 31          * Sort order:                             31          * Sort order:
 32          * 1. parents above children.              32          * 1. parents above children.
 33          * 2. higher voltage above lower volta     33          * 2. higher voltage above lower voltage.
 34          * 3. alphabetically by node name.         34          * 3. alphabetically by node name.
 35          */                                        35          */
 36                                                    36 
 37         /* This is the top level supply and va     37         /* This is the top level supply and variable voltage */
 38         ppvar_sys: ppvar-sys-regulator {           38         ppvar_sys: ppvar-sys-regulator {
 39                 compatible = "regulator-fixed"     39                 compatible = "regulator-fixed";
 40                 regulator-name = "ppvar_sys";      40                 regulator-name = "ppvar_sys";
 41                 regulator-always-on;               41                 regulator-always-on;
 42                 regulator-boot-on;                 42                 regulator-boot-on;
 43         };                                         43         };
 44                                                    44 
 45         /* This divides ppvar_sys by 2, so vol     45         /* This divides ppvar_sys by 2, so voltage is variable */
 46         src_vph_pwr: src-vph-pwr-regulator {       46         src_vph_pwr: src-vph-pwr-regulator {
 47                 compatible = "regulator-fixed"     47                 compatible = "regulator-fixed";
 48                 regulator-name = "src_vph_pwr"     48                 regulator-name = "src_vph_pwr";
 49                                                    49 
 50                 /* EC turns on with switchcap_     50                 /* EC turns on with switchcap_on; always on for AP */
 51                 regulator-always-on;               51                 regulator-always-on;
 52                 regulator-boot-on;                 52                 regulator-boot-on;
 53                                                    53 
 54                 vin-supply = <&ppvar_sys>;         54                 vin-supply = <&ppvar_sys>;
 55         };                                         55         };
 56                                                    56 
 57         pp5000_s5: pp5000-s5-regulator {           57         pp5000_s5: pp5000-s5-regulator {
 58                 compatible = "regulator-fixed"     58                 compatible = "regulator-fixed";
 59                 regulator-name = "pp5000_s5";      59                 regulator-name = "pp5000_s5";
 60                                                    60 
 61                 /* EC turns on with en_pp5000_     61                 /* EC turns on with en_pp5000_s5; always on for AP */
 62                 regulator-always-on;               62                 regulator-always-on;
 63                 regulator-boot-on;                 63                 regulator-boot-on;
 64                 regulator-min-microvolt = <500     64                 regulator-min-microvolt = <5000000>;
 65                 regulator-max-microvolt = <500     65                 regulator-max-microvolt = <5000000>;
 66                                                    66 
 67                 vin-supply = <&ppvar_sys>;         67                 vin-supply = <&ppvar_sys>;
 68         };                                         68         };
 69                                                    69 
 70         pp3300_z1: pp3300-z1-regulator {           70         pp3300_z1: pp3300-z1-regulator {
 71                 compatible = "regulator-fixed"     71                 compatible = "regulator-fixed";
 72                 regulator-name = "pp3300_z1";      72                 regulator-name = "pp3300_z1";
 73                                                    73 
 74                 /* EC turns on with en_pp3300_     74                 /* EC turns on with en_pp3300_z1; always on for AP */
 75                 regulator-always-on;               75                 regulator-always-on;
 76                 regulator-boot-on;                 76                 regulator-boot-on;
 77                 regulator-min-microvolt = <330     77                 regulator-min-microvolt = <3300000>;
 78                 regulator-max-microvolt = <330     78                 regulator-max-microvolt = <3300000>;
 79                                                    79 
 80                 vin-supply = <&ppvar_sys>;         80                 vin-supply = <&ppvar_sys>;
 81         };                                         81         };
 82                                                    82 
 83         pp3300_codec: pp3300-codec-regulator {     83         pp3300_codec: pp3300-codec-regulator {
 84                 compatible = "regulator-fixed"     84                 compatible = "regulator-fixed";
 85                 regulator-name = "pp3300_codec     85                 regulator-name = "pp3300_codec";
 86                                                    86 
 87                 regulator-min-microvolt = <330     87                 regulator-min-microvolt = <3300000>;
 88                 regulator-max-microvolt = <330     88                 regulator-max-microvolt = <3300000>;
 89                                                    89 
 90                 gpio = <&tlmm 105 GPIO_ACTIVE_     90                 gpio = <&tlmm 105 GPIO_ACTIVE_HIGH>;
 91                 enable-active-high;                91                 enable-active-high;
 92                 pinctrl-names = "default";         92                 pinctrl-names = "default";
 93                 pinctrl-0 = <&en_pp3300_codec>     93                 pinctrl-0 = <&en_pp3300_codec>;
 94                                                    94 
 95                 vin-supply = <&pp3300_z1>;         95                 vin-supply = <&pp3300_z1>;
 96                 status = "disabled";               96                 status = "disabled";
 97         };                                         97         };
 98                                                    98 
 99         pp3300_left_in_mlb: pp3300-left-in-mlb     99         pp3300_left_in_mlb: pp3300-left-in-mlb-regulator {
100                 compatible = "regulator-fixed"    100                 compatible = "regulator-fixed";
101                 regulator-name = "pp3300_left_    101                 regulator-name = "pp3300_left_in_mlb";
102                                                   102 
103                 regulator-min-microvolt = <330    103                 regulator-min-microvolt = <3300000>;
104                 regulator-max-microvolt = <330    104                 regulator-max-microvolt = <3300000>;
105                                                   105 
106                 gpio = <&tlmm 80 GPIO_ACTIVE_H    106                 gpio = <&tlmm 80 GPIO_ACTIVE_HIGH>;
107                 enable-active-high;               107                 enable-active-high;
108                 pinctrl-names = "default";        108                 pinctrl-names = "default";
109                 pinctrl-0 = <&en_pp3300_dx_edp    109                 pinctrl-0 = <&en_pp3300_dx_edp>;
110                                                   110 
111                 regulator-enable-ramp-delay =     111                 regulator-enable-ramp-delay = <3000>;
112                                                   112 
113                 /*                                113                 /*
114                  * eDP panel specs nearly alwa    114                  * eDP panel specs nearly always have a spec that says you
115                  * shouldn't turn them off an     115                  * shouldn't turn them off an on again without waiting 500ms.
116                  * Add this as a board constra    116                  * Add this as a board constraint since this rail is shared
117                  * between the panel and touch    117                  * between the panel and touchscreen.
118                  */                               118                  */
119                 off-on-delay-us = <500000>;       119                 off-on-delay-us = <500000>;
120                                                   120 
121                 /*                                121                 /*
122                  * Stat the regulator on. This    122                  * Stat the regulator on. This has the advantage of starting
123                  * the slow process of powerin    123                  * the slow process of powering the panel on as soon as we
124                  * probe the regulator. It als    124                  * probe the regulator. It also avoids tripping the
125                  * off-on-delay immediately on    125                  * off-on-delay immediately on every bootup.
126                  */                               126                  */
127                 regulator-boot-on;                127                 regulator-boot-on;
128                                                   128 
129                 vin-supply = <&pp3300_z1>;        129                 vin-supply = <&pp3300_z1>;
130         };                                        130         };
131                                                   131 
132         pp3300_mcu_fp:                            132         pp3300_mcu_fp:
133         pp3300_fp_ls:                             133         pp3300_fp_ls:
134         pp3300_fp_mcu: pp3300-fp-regulator {      134         pp3300_fp_mcu: pp3300-fp-regulator {
135                 compatible = "regulator-fixed"    135                 compatible = "regulator-fixed";
136                 regulator-name = "pp3300_fp";     136                 regulator-name = "pp3300_fp";
137                                                   137 
138                 regulator-min-microvolt = <330    138                 regulator-min-microvolt = <3300000>;
139                 regulator-max-microvolt = <330    139                 regulator-max-microvolt = <3300000>;
140                                                   140 
141                 regulator-boot-on;                141                 regulator-boot-on;
142                 regulator-always-on;              142                 regulator-always-on;
143                                                   143 
144                 /*                                144                 /*
145                  * WARNING: it is intentional     145                  * WARNING: it is intentional that GPIO 77 isn't listed here.
146                  * The userspace script for up    146                  * The userspace script for updating the fingerprint firmware
147                  * needs to control the FP reg    147                  * needs to control the FP regulators during a FW update,
148                  * hence the signal can't be o    148                  * hence the signal can't be owned by the kernel regulator.
149                  */                               149                  */
150                                                   150 
151                 pinctrl-names = "default";        151                 pinctrl-names = "default";
152                 pinctrl-0 = <&en_fp_rails>;       152                 pinctrl-0 = <&en_fp_rails>;
153                                                   153 
154                 vin-supply = <&pp3300_z1>;        154                 vin-supply = <&pp3300_z1>;
155                 status = "disabled";              155                 status = "disabled";
156         };                                        156         };
157                                                   157 
158         pp3300_hub: pp3300-hub-regulator {        158         pp3300_hub: pp3300-hub-regulator {
159                 compatible = "regulator-fixed"    159                 compatible = "regulator-fixed";
160                 regulator-name = "pp3300_hub";    160                 regulator-name = "pp3300_hub";
161                                                   161 
162                 regulator-min-microvolt = <330    162                 regulator-min-microvolt = <3300000>;
163                 regulator-max-microvolt = <330    163                 regulator-max-microvolt = <3300000>;
164                                                   164 
165                 /* The BIOS leaves this regula    165                 /* The BIOS leaves this regulator on */
166                 regulator-boot-on;                166                 regulator-boot-on;
167                                                   167 
168                 gpio = <&tlmm 157 GPIO_ACTIVE_    168                 gpio = <&tlmm 157 GPIO_ACTIVE_HIGH>;
169                 enable-active-high;               169                 enable-active-high;
170                 pinctrl-names = "default";        170                 pinctrl-names = "default";
171                 pinctrl-0 = <&hub_en>;            171                 pinctrl-0 = <&hub_en>;
172                                                   172 
173                 vin-supply = <&pp3300_z1>;        173                 vin-supply = <&pp3300_z1>;
174         };                                        174         };
175                                                   175 
176         pp3300_tp: pp3300-tp-regulator {          176         pp3300_tp: pp3300-tp-regulator {
177                 compatible = "regulator-fixed"    177                 compatible = "regulator-fixed";
178                 regulator-name = "pp3300_tp";     178                 regulator-name = "pp3300_tp";
179                                                   179 
180                 regulator-min-microvolt = <330    180                 regulator-min-microvolt = <3300000>;
181                 regulator-max-microvolt = <330    181                 regulator-max-microvolt = <3300000>;
182                                                   182 
183                 /* AP turns on with PP1800_L18    183                 /* AP turns on with PP1800_L18B_S0; always on for AP */
184                 regulator-always-on;              184                 regulator-always-on;
185                 regulator-boot-on;                185                 regulator-boot-on;
186                                                   186 
187                 vin-supply = <&pp3300_z1>;        187                 vin-supply = <&pp3300_z1>;
188         };                                        188         };
189                                                   189 
190         pp3300_ssd: pp3300-ssd-regulator {        190         pp3300_ssd: pp3300-ssd-regulator {
191                 compatible = "regulator-fixed"    191                 compatible = "regulator-fixed";
192                 regulator-name = "pp3300_ssd";    192                 regulator-name = "pp3300_ssd";
193                                                   193 
194                 regulator-min-microvolt = <330    194                 regulator-min-microvolt = <3300000>;
195                 regulator-max-microvolt = <330    195                 regulator-max-microvolt = <3300000>;
196                                                   196 
197                 gpio = <&tlmm 51 GPIO_ACTIVE_H    197                 gpio = <&tlmm 51 GPIO_ACTIVE_HIGH>;
198                 enable-active-high;               198                 enable-active-high;
199                 pinctrl-names = "default";        199                 pinctrl-names = "default";
200                 pinctrl-0 = <&ssd_en>;            200                 pinctrl-0 = <&ssd_en>;
201                                                   201 
202                 /*                                202                 /*
203                  * The bootloaer may have left    203                  * The bootloaer may have left PCIe configured. Powering this
204                  * off while the PCIe clocks a    204                  * off while the PCIe clocks are still running isn't great,
205                  * so it's better to default t    205                  * so it's better to default to this regulator being on.
206                  */                               206                  */
207                 regulator-boot-on;                207                 regulator-boot-on;
208                                                   208 
209                 vin-supply = <&pp3300_z1>;        209                 vin-supply = <&pp3300_z1>;
210         };                                        210         };
211                                                   211 
212         pp2850_vcm_wf_cam: pp2850-vcm-wf-cam-r    212         pp2850_vcm_wf_cam: pp2850-vcm-wf-cam-regulator {
213                 compatible = "regulator-fixed"    213                 compatible = "regulator-fixed";
214                 regulator-name = "pp2850_vcm_w    214                 regulator-name = "pp2850_vcm_wf_cam";
215                                                   215 
216                 regulator-min-microvolt = <285    216                 regulator-min-microvolt = <2850000>;
217                 regulator-max-microvolt = <285    217                 regulator-max-microvolt = <2850000>;
218                                                   218 
219                 gpio = <&tlmm 119 GPIO_ACTIVE_    219                 gpio = <&tlmm 119 GPIO_ACTIVE_HIGH>;
220                 enable-active-high;               220                 enable-active-high;
221                 pinctrl-names = "default";        221                 pinctrl-names = "default";
222                 pinctrl-0 = <&wf_cam_en>;         222                 pinctrl-0 = <&wf_cam_en>;
223                                                   223 
224                 vin-supply = <&pp3300_z1>;        224                 vin-supply = <&pp3300_z1>;
225                 status = "disabled";              225                 status = "disabled";
226         };                                        226         };
227                                                   227 
228         pp2850_wf_cam: pp2850-wf-cam-regulator    228         pp2850_wf_cam: pp2850-wf-cam-regulator {
229                 compatible = "regulator-fixed"    229                 compatible = "regulator-fixed";
230                 regulator-name = "pp2850_wf_ca    230                 regulator-name = "pp2850_wf_cam";
231                                                   231 
232                 regulator-min-microvolt = <285    232                 regulator-min-microvolt = <2850000>;
233                 regulator-max-microvolt = <285    233                 regulator-max-microvolt = <2850000>;
234                                                   234 
235                 gpio = <&tlmm 119 GPIO_ACTIVE_    235                 gpio = <&tlmm 119 GPIO_ACTIVE_HIGH>;
236                 enable-active-high;               236                 enable-active-high;
237                 /*                                237                 /*
238                  * The pinconf can only be ref    238                  * The pinconf can only be referenced once so we put it on the
239                  * first regulator and comment    239                  * first regulator and comment it out here.
240                  *                                240                  *
241                  * pinctrl-names = "default";     241                  * pinctrl-names = "default";
242                  * pinctrl-0 = <&wf_cam_en>;      242                  * pinctrl-0 = <&wf_cam_en>;
243                  */                               243                  */
244                                                   244 
245                 vin-supply = <&pp3300_z1>;        245                 vin-supply = <&pp3300_z1>;
246                 status = "disabled";              246                 status = "disabled";
247         };                                        247         };
248                                                   248 
249         pp1800_fp: pp1800-fp-regulator {          249         pp1800_fp: pp1800-fp-regulator {
250                 compatible = "regulator-fixed"    250                 compatible = "regulator-fixed";
251                 regulator-name = "pp1800_fp";     251                 regulator-name = "pp1800_fp";
252                                                   252 
253                 regulator-min-microvolt = <180    253                 regulator-min-microvolt = <1800000>;
254                 regulator-max-microvolt = <180    254                 regulator-max-microvolt = <1800000>;
255                                                   255 
256                 regulator-boot-on;                256                 regulator-boot-on;
257                 regulator-always-on;              257                 regulator-always-on;
258                                                   258 
259                 /*                                259                 /*
260                  * WARNING: it is intentional     260                  * WARNING: it is intentional that GPIO 77 isn't listed here.
261                  * The userspace script for up    261                  * The userspace script for updating the fingerprint firmware
262                  * needs to control the FP reg    262                  * needs to control the FP regulators during a FW update,
263                  * hence the signal can't be o    263                  * hence the signal can't be owned by the kernel regulator.
264                  */                               264                  */
265                                                   265 
266                 pinctrl-names = "default";        266                 pinctrl-names = "default";
267                 pinctrl-0 = <&en_fp_rails>;       267                 pinctrl-0 = <&en_fp_rails>;
268                                                   268 
269                 vin-supply = <&pp1800_l18b_s0>    269                 vin-supply = <&pp1800_l18b_s0>;
270                 status = "disabled";              270                 status = "disabled";
271         };                                        271         };
272                                                   272 
273         pp1800_wf_cam: pp1800-wf-cam-regulator    273         pp1800_wf_cam: pp1800-wf-cam-regulator {
274                 compatible = "regulator-fixed"    274                 compatible = "regulator-fixed";
275                 regulator-name = "pp1800_wf_ca    275                 regulator-name = "pp1800_wf_cam";
276                                                   276 
277                 regulator-min-microvolt = <180    277                 regulator-min-microvolt = <1800000>;
278                 regulator-max-microvolt = <180    278                 regulator-max-microvolt = <1800000>;
279                                                   279 
280                 gpio = <&tlmm 119 GPIO_ACTIVE_    280                 gpio = <&tlmm 119 GPIO_ACTIVE_HIGH>;
281                 enable-active-high;               281                 enable-active-high;
282                 /*                                282                 /*
283                  * The pinconf can only be ref    283                  * The pinconf can only be referenced once so we put it on the
284                  * first regulator and comment    284                  * first regulator and comment it out here.
285                  *                                285                  *
286                  * pinctrl-names = "default";     286                  * pinctrl-names = "default";
287                  * pinctrl-0 = <&wf_cam_en>;      287                  * pinctrl-0 = <&wf_cam_en>;
288                  */                               288                  */
289                                                   289 
290                 vin-supply = <&vreg_l19b_s0>;     290                 vin-supply = <&vreg_l19b_s0>;
291                 status = "disabled";              291                 status = "disabled";
292         };                                        292         };
293                                                   293 
294         pp1200_wf_cam: pp1200-wf-cam-regulator    294         pp1200_wf_cam: pp1200-wf-cam-regulator {
295                 compatible = "regulator-fixed"    295                 compatible = "regulator-fixed";
296                 regulator-name = "pp1200_wf_ca    296                 regulator-name = "pp1200_wf_cam";
297                                                   297 
298                 regulator-min-microvolt = <120    298                 regulator-min-microvolt = <1200000>;
299                 regulator-max-microvolt = <120    299                 regulator-max-microvolt = <1200000>;
300                                                   300 
301                 gpio = <&tlmm 119 GPIO_ACTIVE_    301                 gpio = <&tlmm 119 GPIO_ACTIVE_HIGH>;
302                 enable-active-high;               302                 enable-active-high;
303                 /*                                303                 /*
304                  * The pinconf can only be ref    304                  * The pinconf can only be referenced once so we put it on the
305                  * first regulator and comment    305                  * first regulator and comment it out here.
306                  *                                306                  *
307                  * pinctrl-names = "default";     307                  * pinctrl-names = "default";
308                  * pinctrl-0 = <&wf_cam_en>;      308                  * pinctrl-0 = <&wf_cam_en>;
309                  */                               309                  */
310                                                   310 
311                 vin-supply = <&pp3300_z1>;        311                 vin-supply = <&pp3300_z1>;
312                 status = "disabled";              312                 status = "disabled";
313         };                                        313         };
314                                                   314 
315         /* BOARD-SPECIFIC TOP LEVEL NODES */      315         /* BOARD-SPECIFIC TOP LEVEL NODES */
316                                                   316 
317         max98360a: audio-codec-0 {                317         max98360a: audio-codec-0 {
318                 compatible = "maxim,max98360a"    318                 compatible = "maxim,max98360a";
319                 pinctrl-names = "default";        319                 pinctrl-names = "default";
320                 pinctrl-0 = <&amp_en>;            320                 pinctrl-0 = <&amp_en>;
321                 sdmode-gpios = <&tlmm 63 GPIO_    321                 sdmode-gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
322                 #sound-dai-cells = <0>;           322                 #sound-dai-cells = <0>;
323         };                                        323         };
324                                                   324 
325         pwmleds: pwmleds {                        325         pwmleds: pwmleds {
326                 compatible = "pwm-leds";          326                 compatible = "pwm-leds";
327                 status = "disabled";              327                 status = "disabled";
328                 keyboard_backlight: led-0 {       328                 keyboard_backlight: led-0 {
329                         label = "cros_ec::kbd_    329                         label = "cros_ec::kbd_backlight";
330                         function = LED_FUNCTIO    330                         function = LED_FUNCTION_KBD_BACKLIGHT;
331                         pwms = <&cros_ec_pwm 0    331                         pwms = <&cros_ec_pwm 0>;
332                         max-brightness = <1023    332                         max-brightness = <1023>;
333                 };                                333                 };
334         };                                        334         };
335 };                                                335 };
336                                                   336 
337 /*                                                337 /*
338  * ADJUSTMENTS TO QCARD REGULATORS                338  * ADJUSTMENTS TO QCARD REGULATORS
339  *                                                339  *
340  * Mostly this is just board-local names for r    340  * Mostly this is just board-local names for regulators that come from
341  * Qcard, but this also has some minor regulat    341  * Qcard, but this also has some minor regulator overrides.
342  *                                                342  *
343  * Names are only listed here if regulators go    343  * Names are only listed here if regulators go somewhere other than a
344  * testpoint.                                     344  * testpoint.
345  */                                               345  */
346                                                   346 
347 /* From Qcard to our board; ordered by PMIC-ID    347 /* From Qcard to our board; ordered by PMIC-ID / rail number */
348                                                   348 
349 pp1256_s8b: &vreg_s8b_1p256 {};                   349 pp1256_s8b: &vreg_s8b_1p256 {};
350                                                   350 
351 pp1800_l18b_s0: &vreg_l18b_1p8 {};                351 pp1800_l18b_s0: &vreg_l18b_1p8 {};
352 pp1800_l18b:    &vreg_l18b_1p8 {};                352 pp1800_l18b:    &vreg_l18b_1p8 {};
353                                                   353 
354 vreg_l19b_s0: &vreg_l19b_1p8 {};                  354 vreg_l19b_s0: &vreg_l19b_1p8 {};
355                                                   355 
356 pp1800_alc5682: &vreg_l2c_1p8 {};                 356 pp1800_alc5682: &vreg_l2c_1p8 {};
357 pp1800_l2c:     &vreg_l2c_1p8 {};                 357 pp1800_l2c:     &vreg_l2c_1p8 {};
358                                                   358 
359 vreg_l4c: &vreg_l4c_1p8_3p0 {};                   359 vreg_l4c: &vreg_l4c_1p8_3p0 {};
360                                                   360 
361 ppvar_l6c: &vreg_l6c_2p96 {};                     361 ppvar_l6c: &vreg_l6c_2p96 {};
362                                                   362 
363 pp3000_l7c: &vreg_l7c_3p0 {};                     363 pp3000_l7c: &vreg_l7c_3p0 {};
364                                                   364 
365 pp1800_prox: &vreg_l8c_1p8 {};                    365 pp1800_prox: &vreg_l8c_1p8 {};
366 pp1800_l8c:  &vreg_l8c_1p8 {};                    366 pp1800_l8c:  &vreg_l8c_1p8 {};
367                                                   367 
368 pp2950_l9c: &vreg_l9c_2p96 {};                    368 pp2950_l9c: &vreg_l9c_2p96 {};
369                                                   369 
370 pp1800_lcm:  &vreg_l12c_1p8 {};                   370 pp1800_lcm:  &vreg_l12c_1p8 {};
371 pp1800_mipi: &vreg_l12c_1p8 {};                   371 pp1800_mipi: &vreg_l12c_1p8 {};
372 pp1800_l12c: &vreg_l12c_1p8 {};                   372 pp1800_l12c: &vreg_l12c_1p8 {};
373                                                   373 
374 pp3300_lcm:  &vreg_l13c_3p0 {};                   374 pp3300_lcm:  &vreg_l13c_3p0 {};
375 pp3300_mipi: &vreg_l13c_3p0 {};                   375 pp3300_mipi: &vreg_l13c_3p0 {};
376 pp3300_l13c: &vreg_l13c_3p0 {};                   376 pp3300_l13c: &vreg_l13c_3p0 {};
377                                                   377 
378 /* From our board to Qcard; ordered same as no    378 /* From our board to Qcard; ordered same as node definition above */
379                                                   379 
380 vreg_edp_bl: &ppvar_sys {};                       380 vreg_edp_bl: &ppvar_sys {};
381                                                   381 
382 ts_avdd:      &pp3300_left_in_mlb {};             382 ts_avdd:      &pp3300_left_in_mlb {};
383 vreg_edp_3p3: &pp3300_left_in_mlb {};             383 vreg_edp_3p3: &pp3300_left_in_mlb {};
384                                                   384 
385 /* Regulator overrides from Qcard */              385 /* Regulator overrides from Qcard */
386                                                   386 
387 /*                                                387 /*
388  * Herobrine boards only use l2c to power an e    388  * Herobrine boards only use l2c to power an external audio codec (like
389  * alc5682) and we want that to be at 1.8V, no    389  * alc5682) and we want that to be at 1.8V, not at some slightly lower voltage.
390  */                                               390  */
391 &vreg_l2c_1p8 {                                   391 &vreg_l2c_1p8 {
392         regulator-min-microvolt = <1800000>;      392         regulator-min-microvolt = <1800000>;
393 };                                                393 };
394                                                   394 
395 /* ADDITIONS TO NODES DEFINED IN PARENT DEVICE    395 /* ADDITIONS TO NODES DEFINED IN PARENT DEVICE TREE FILES */
396                                                   396 
397 &edp_panel {                                      397 &edp_panel {
398         /* Our board provides power to the qca    398         /* Our board provides power to the qcard for the eDP panel. */
399         power-supply = <&vreg_edp_3p3>;           399         power-supply = <&vreg_edp_3p3>;
400 };                                                400 };
401                                                   401 
402 ap_sar_sensor_i2c: &i2c1 {                        402 ap_sar_sensor_i2c: &i2c1 {
403         clock-frequency = <400000>;               403         clock-frequency = <400000>;
404         status = "disabled";                      404         status = "disabled";
405                                                   405 
406         ap_sar_sensor0: proximity@28 {            406         ap_sar_sensor0: proximity@28 {
407                 compatible = "semtech,sx9324";    407                 compatible = "semtech,sx9324";
408                 reg = <0x28>;                     408                 reg = <0x28>;
409                 #io-channel-cells = <1>;          409                 #io-channel-cells = <1>;
410                 pinctrl-names = "default";        410                 pinctrl-names = "default";
411                 pinctrl-0 = <&sar0_irq_odl>;      411                 pinctrl-0 = <&sar0_irq_odl>;
412                                                   412 
413                 interrupt-parent = <&tlmm>;       413                 interrupt-parent = <&tlmm>;
414                 interrupts = <141 IRQ_TYPE_LEV    414                 interrupts = <141 IRQ_TYPE_LEVEL_LOW>;
415                                                   415 
416                 vdd-supply = <&pp1800_prox>;      416                 vdd-supply = <&pp1800_prox>;
417                                                   417 
418                 label = "proximity-wifi_cellul    418                 label = "proximity-wifi_cellular-0";
419                 status = "disabled";              419                 status = "disabled";
420         };                                        420         };
421                                                   421 
422         ap_sar_sensor1: proximity@2c {            422         ap_sar_sensor1: proximity@2c {
423                 compatible = "semtech,sx9324";    423                 compatible = "semtech,sx9324";
424                 reg = <0x2c>;                     424                 reg = <0x2c>;
425                 #io-channel-cells = <1>;          425                 #io-channel-cells = <1>;
426                 pinctrl-names = "default";        426                 pinctrl-names = "default";
427                 pinctrl-0 = <&sar1_irq_odl>;      427                 pinctrl-0 = <&sar1_irq_odl>;
428                                                   428 
429                 interrupt-parent = <&tlmm>;       429                 interrupt-parent = <&tlmm>;
430                 interrupts = <140 IRQ_TYPE_LEV    430                 interrupts = <140 IRQ_TYPE_LEVEL_LOW>;
431                                                   431 
432                 vdd-supply = <&pp1800_prox>;      432                 vdd-supply = <&pp1800_prox>;
433                                                   433 
434                 label = "proximity-wifi_cellul    434                 label = "proximity-wifi_cellular-1";
435                 status = "disabled";              435                 status = "disabled";
436         };                                        436         };
437 };                                                437 };
438                                                   438 
439 ap_i2c_tpm: &i2c14 {                              439 ap_i2c_tpm: &i2c14 {
440         status = "okay";                          440         status = "okay";
441         clock-frequency = <400000>;               441         clock-frequency = <400000>;
442                                                   442 
443         tpm@50 {                                  443         tpm@50 {
444                 compatible = "google,cr50";       444                 compatible = "google,cr50";
445                 reg = <0x50>;                     445                 reg = <0x50>;
446                                                   446 
447                 pinctrl-names = "default";        447                 pinctrl-names = "default";
448                 pinctrl-0 = <&gsc_ap_int_odl>;    448                 pinctrl-0 = <&gsc_ap_int_odl>;
449                                                   449 
450                 interrupt-parent = <&tlmm>;       450                 interrupt-parent = <&tlmm>;
451                 interrupts = <104 IRQ_TYPE_EDG    451                 interrupts = <104 IRQ_TYPE_EDGE_RISING>;
452         };                                        452         };
453 };                                                453 };
454                                                   454 
455 &mdss {                                           455 &mdss {
456         status = "okay";                          456         status = "okay";
457 };                                                457 };
458                                                   458 
459 &mdss_dp {                                        459 &mdss_dp {
460         status = "okay";                          460         status = "okay";
461         pinctrl-names = "default";                461         pinctrl-names = "default";
462         pinctrl-0 = <&dp_hot_plug_det>;           462         pinctrl-0 = <&dp_hot_plug_det>;
463 };                                                463 };
464                                                   464 
465 &mdss_dp_out {                                    465 &mdss_dp_out {
466         data-lanes = <0 1>;                       466         data-lanes = <0 1>;
467         link-frequencies = /bits/ 64 <16200000    467         link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000>;
468 };                                                468 };
469                                                   469 
                                                   >> 470 &mdss_mdp {
                                                   >> 471         status = "okay";
                                                   >> 472 };
                                                   >> 473 
470 /* NVMe drive, enabled on a per-board basis */    474 /* NVMe drive, enabled on a per-board basis */
471 &pcie1 {                                          475 &pcie1 {
472         pinctrl-names = "default";                476         pinctrl-names = "default";
473         pinctrl-0 = <&pcie1_clkreq_n>, <&ssd_r    477         pinctrl-0 = <&pcie1_clkreq_n>, <&ssd_rst_l>, <&pe_wake_odl>;
474                                                   478 
475         perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW    479         perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
476         vddpe-3v3-supply = <&pp3300_ssd>;         480         vddpe-3v3-supply = <&pp3300_ssd>;
477 };                                                481 };
478                                                   482 
479 &pm8350c_pwm {                                    483 &pm8350c_pwm {
480         status = "okay";                          484         status = "okay";
481 };                                                485 };
482                                                   486 
483 &pm8350c_pwm_backlight {                          487 &pm8350c_pwm_backlight {
484         status = "okay";                          488         status = "okay";
485                                                   489 
486         /* Our board provides power to the qca    490         /* Our board provides power to the qcard for the backlight */
487         power-supply = <&vreg_edp_bl>;            491         power-supply = <&vreg_edp_bl>;
488 };                                                492 };
489                                                   493 
490 &pmk8350_rtc {                                    494 &pmk8350_rtc {
491         status = "disabled";                      495         status = "disabled";
492 };                                                496 };
493                                                   497 
494 &qupv3_id_0 {                                     498 &qupv3_id_0 {
495         status = "okay";                          499         status = "okay";
496 };                                                500 };
497                                                   501 
498 &qupv3_id_1 {                                     502 &qupv3_id_1 {
499         status = "okay";                          503         status = "okay";
500 };                                                504 };
501                                                   505 
502 /* SD Card, enabled on a per-board basis */       506 /* SD Card, enabled on a per-board basis */
503 &sdhc_2 {                                         507 &sdhc_2 {
504         pinctrl-0 = <&sdc2_clk>, <&sdc2_cmd>,     508         pinctrl-0 = <&sdc2_clk>, <&sdc2_cmd>, <&sdc2_data>, <&sd_cd_odl>;
505         pinctrl-1 = <&sdc2_clk_sleep>, <&sdc2_    509         pinctrl-1 = <&sdc2_clk_sleep>, <&sdc2_cmd_sleep>, <&sdc2_data_sleep>, <&sd_cd_odl>;
506                                                   510 
507         vmmc-supply = <&pp2950_l9c>;              511         vmmc-supply = <&pp2950_l9c>;
508         vqmmc-supply = <&ppvar_l6c>;              512         vqmmc-supply = <&ppvar_l6c>;
509                                                   513 
510         cd-gpios = <&tlmm 91 GPIO_ACTIVE_LOW>;    514         cd-gpios = <&tlmm 91 GPIO_ACTIVE_LOW>;
511 };                                                515 };
512                                                   516 
513 &spi_flash {                                      517 &spi_flash {
514         spi-max-frequency = <50000000>;           518         spi-max-frequency = <50000000>;
515 };                                                519 };
516                                                   520 
517 /* Fingerprint, enabled on a per-board basis *    521 /* Fingerprint, enabled on a per-board basis */
518 ap_spi_fp: &spi9 {                                522 ap_spi_fp: &spi9 {
519         pinctrl-0 = <&qup_spi9_data_clk>, <&qu    523         pinctrl-0 = <&qup_spi9_data_clk>, <&qup_spi9_cs_gpio_init_high>, <&qup_spi9_cs_gpio>;
520                                                   524 
521         cs-gpios = <&tlmm 39 GPIO_ACTIVE_LOW>;    525         cs-gpios = <&tlmm 39 GPIO_ACTIVE_LOW>;
522                                                   526 
523         cros_ec_fp: ec@0 {                        527         cros_ec_fp: ec@0 {
524                 compatible = "google,cros-ec-f    528                 compatible = "google,cros-ec-fp", "google,cros-ec-spi";
525                 reg = <0>;                        529                 reg = <0>;
526                 interrupt-parent = <&tlmm>;       530                 interrupt-parent = <&tlmm>;
527                 interrupts = <61 IRQ_TYPE_LEVE    531                 interrupts = <61 IRQ_TYPE_LEVEL_LOW>;
528                 pinctrl-names = "default";        532                 pinctrl-names = "default";
529                 pinctrl-0 = <&fp_to_ap_irq_l>,    533                 pinctrl-0 = <&fp_to_ap_irq_l>, <&fp_rst_l>, <&fpmcu_boot0>;
530                 boot0-gpios = <&tlmm 68 GPIO_A    534                 boot0-gpios = <&tlmm 68 GPIO_ACTIVE_HIGH>;
531                 reset-gpios = <&tlmm 78 GPIO_A    535                 reset-gpios = <&tlmm 78 GPIO_ACTIVE_LOW>;
532                 spi-max-frequency = <3000000>;    536                 spi-max-frequency = <3000000>;
533                 vdd-supply = <&pp3300_fp_mcu>;    537                 vdd-supply = <&pp3300_fp_mcu>;
534         };                                        538         };
535 };                                                539 };
536                                                   540 
537 ap_ec_spi: &spi10 {                               541 ap_ec_spi: &spi10 {
538         status = "okay";                          542         status = "okay";
539         pinctrl-0 = <&qup_spi10_data_clk>, <&q    543         pinctrl-0 = <&qup_spi10_data_clk>, <&qup_spi10_cs_gpio_init_high>, <&qup_spi10_cs_gpio>;
540                                                   544 
541         cs-gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;    545         cs-gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
542                                                   546 
543         cros_ec: ec@0 {                           547         cros_ec: ec@0 {
544                 compatible = "google,cros-ec-s    548                 compatible = "google,cros-ec-spi";
545                 reg = <0>;                        549                 reg = <0>;
546                 interrupt-parent = <&tlmm>;       550                 interrupt-parent = <&tlmm>;
547                 interrupts = <18 IRQ_TYPE_LEVE    551                 interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
548                 pinctrl-names = "default";        552                 pinctrl-names = "default";
549                 pinctrl-0 = <&ap_ec_int_l>;       553                 pinctrl-0 = <&ap_ec_int_l>;
550                 spi-max-frequency = <3000000>;    554                 spi-max-frequency = <3000000>;
551                 wakeup-source;                 << 
552                                                   555 
553                 cros_ec_pwm: pwm {                556                 cros_ec_pwm: pwm {
554                         compatible = "google,c    557                         compatible = "google,cros-ec-pwm";
555                         #pwm-cells = <1>;         558                         #pwm-cells = <1>;
556                 };                                559                 };
557                                                   560 
558                 i2c_tunnel: i2c-tunnel {          561                 i2c_tunnel: i2c-tunnel {
559                         compatible = "google,c    562                         compatible = "google,cros-ec-i2c-tunnel";
560                         google,remote-bus = <0    563                         google,remote-bus = <0>;
561                         #address-cells = <1>;     564                         #address-cells = <1>;
562                         #size-cells = <0>;        565                         #size-cells = <0>;
563                 };                                566                 };
564                                                   567 
565                 typec {                           568                 typec {
566                         compatible = "google,c    569                         compatible = "google,cros-ec-typec";
567                         #address-cells = <1>;     570                         #address-cells = <1>;
568                         #size-cells = <0>;        571                         #size-cells = <0>;
569                                                   572 
570                         usb_c0: connector@0 {     573                         usb_c0: connector@0 {
571                                 compatible = "    574                                 compatible = "usb-c-connector";
572                                 reg = <0>;        575                                 reg = <0>;
573                                 label = "left"    576                                 label = "left";
574                                 power-role = "    577                                 power-role = "dual";
575                                 data-role = "h    578                                 data-role = "host";
576                                 try-power-role    579                                 try-power-role = "source";
577                         };                        580                         };
578                                                   581 
579                         usb_c1: connector@1 {     582                         usb_c1: connector@1 {
580                                 compatible = "    583                                 compatible = "usb-c-connector";
581                                 reg = <1>;        584                                 reg = <1>;
582                                 label = "right    585                                 label = "right";
583                                 power-role = "    586                                 power-role = "dual";
584                                 data-role = "h    587                                 data-role = "host";
585                                 try-power-role    588                                 try-power-role = "source";
586                         };                        589                         };
587                 };                                590                 };
588         };                                        591         };
589 };                                                592 };
590                                                   593 
591 #include <arm/cros-ec-keyboard.dtsi>              594 #include <arm/cros-ec-keyboard.dtsi>
592 #include <arm/cros-ec-sbs.dtsi>                   595 #include <arm/cros-ec-sbs.dtsi>
593                                                   596 
594 &keyboard_controller {                            597 &keyboard_controller {
595         function-row-physmap = <                  598         function-row-physmap = <
596                 MATRIX_KEY(0x00, 0x02, 0)         599                 MATRIX_KEY(0x00, 0x02, 0)       /* T1 */
597                 MATRIX_KEY(0x03, 0x02, 0)         600                 MATRIX_KEY(0x03, 0x02, 0)       /* T2 */
598                 MATRIX_KEY(0x02, 0x02, 0)         601                 MATRIX_KEY(0x02, 0x02, 0)       /* T3 */
599                 MATRIX_KEY(0x01, 0x02, 0)         602                 MATRIX_KEY(0x01, 0x02, 0)       /* T4 */
600                 MATRIX_KEY(0x03, 0x04, 0)         603                 MATRIX_KEY(0x03, 0x04, 0)       /* T5 */
601                 MATRIX_KEY(0x02, 0x04, 0)         604                 MATRIX_KEY(0x02, 0x04, 0)       /* T6 */
602                 MATRIX_KEY(0x01, 0x04, 0)         605                 MATRIX_KEY(0x01, 0x04, 0)       /* T7 */
603                 MATRIX_KEY(0x02, 0x09, 0)         606                 MATRIX_KEY(0x02, 0x09, 0)       /* T8 */
604                 MATRIX_KEY(0x01, 0x09, 0)         607                 MATRIX_KEY(0x01, 0x09, 0)       /* T9 */
605                 MATRIX_KEY(0x00, 0x04, 0)         608                 MATRIX_KEY(0x00, 0x04, 0)       /* T10 */
606         >;                                        609         >;
607         linux,keymap = <                          610         linux,keymap = <
608                 MATRIX_KEY(0x00, 0x02, KEY_BAC    611                 MATRIX_KEY(0x00, 0x02, KEY_BACK)
609                 MATRIX_KEY(0x03, 0x02, KEY_REF    612                 MATRIX_KEY(0x03, 0x02, KEY_REFRESH)
610                 MATRIX_KEY(0x02, 0x02, KEY_ZOO    613                 MATRIX_KEY(0x02, 0x02, KEY_ZOOM)
611                 MATRIX_KEY(0x01, 0x02, KEY_SCA    614                 MATRIX_KEY(0x01, 0x02, KEY_SCALE)
612                 MATRIX_KEY(0x03, 0x04, KEY_SYS    615                 MATRIX_KEY(0x03, 0x04, KEY_SYSRQ)
613                 MATRIX_KEY(0x02, 0x04, KEY_BRI    616                 MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN)
614                 MATRIX_KEY(0x01, 0x04, KEY_BRI    617                 MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP)
615                 MATRIX_KEY(0x02, 0x09, KEY_MUT    618                 MATRIX_KEY(0x02, 0x09, KEY_MUTE)
616                 MATRIX_KEY(0x01, 0x09, KEY_VOL    619                 MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN)
617                 MATRIX_KEY(0x00, 0x04, KEY_VOL    620                 MATRIX_KEY(0x00, 0x04, KEY_VOLUMEUP)
618                                                   621 
619                 CROS_STD_MAIN_KEYMAP              622                 CROS_STD_MAIN_KEYMAP
620         >;                                        623         >;
621 };                                                624 };
622                                                   625 
623 &usb_1 {                                          626 &usb_1 {
624         status = "okay";                          627         status = "okay";
625 };                                                628 };
626                                                   629 
627 &usb_1_dwc3 {                                     630 &usb_1_dwc3 {
628         dr_mode = "host";                         631         dr_mode = "host";
629                                                   632 
630         #address-cells = <1>;                     633         #address-cells = <1>;
631         #size-cells = <0>;                        634         #size-cells = <0>;
632                                                   635 
633         /* 2.x hub on port 1 */                   636         /* 2.x hub on port 1 */
634         usb_hub_2_x: hub@1 {                      637         usb_hub_2_x: hub@1 {
635                 compatible = "usbbda,5411";       638                 compatible = "usbbda,5411";
636                 reg = <1>;                        639                 reg = <1>;
637                 vdd-supply = <&pp3300_hub>;       640                 vdd-supply = <&pp3300_hub>;
638                 peer-hub = <&usb_hub_3_x>;        641                 peer-hub = <&usb_hub_3_x>;
639         };                                        642         };
640                                                   643 
641         /* 3.x hub on port 2 */                   644         /* 3.x hub on port 2 */
642         usb_hub_3_x: hub@2 {                      645         usb_hub_3_x: hub@2 {
643                 compatible = "usbbda,411";        646                 compatible = "usbbda,411";
644                 reg = <2>;                        647                 reg = <2>;
645                 vdd-supply = <&pp3300_hub>;       648                 vdd-supply = <&pp3300_hub>;
646                 peer-hub = <&usb_hub_2_x>;        649                 peer-hub = <&usb_hub_2_x>;
647         };                                        650         };
648 };                                                651 };
649                                                   652 
650 &usb_1_hsphy {                                    653 &usb_1_hsphy {
651         status = "okay";                          654         status = "okay";
652                                                   655 
653         qcom,hs-rise-fall-time-bp = <0>;          656         qcom,hs-rise-fall-time-bp = <0>;
654         qcom,squelch-detector-bp = <(-2090)>;     657         qcom,squelch-detector-bp = <(-2090)>;
655         qcom,hs-disconnect-bp = <1743>;           658         qcom,hs-disconnect-bp = <1743>;
656         qcom,hs-amplitude-bp = <1780>;            659         qcom,hs-amplitude-bp = <1780>;
657         qcom,hs-crossover-voltage-microvolt =     660         qcom,hs-crossover-voltage-microvolt = <(-31000)>;
658         qcom,hs-output-impedance-micro-ohms =     661         qcom,hs-output-impedance-micro-ohms = <2600000>;
659 };                                                662 };
660                                                   663 
661 &usb_1_qmpphy {                                   664 &usb_1_qmpphy {
662         status = "okay";                          665         status = "okay";
663 };                                                666 };
664                                                   667 
665 /* PINCTRL - ADDITIONS TO NODES IN PARENT DEVI    668 /* PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES */
666                                                   669 
667 &dp_hot_plug_det {                                670 &dp_hot_plug_det {
668         bias-disable;                             671         bias-disable;
669 };                                                672 };
670                                                   673 
671 &mi2s1_data0 {                                    674 &mi2s1_data0 {
672         drive-strength = <6>;                     675         drive-strength = <6>;
673         bias-disable;                             676         bias-disable;
674 };                                                677 };
675                                                   678 
676 &mi2s1_sclk {                                     679 &mi2s1_sclk {
677         drive-strength = <6>;                     680         drive-strength = <6>;
678         bias-disable;                             681         bias-disable;
679 };                                                682 };
680                                                   683 
681 &mi2s1_ws {                                       684 &mi2s1_ws {
682         drive-strength = <6>;                     685         drive-strength = <6>;
683         bias-disable;                             686         bias-disable;
684 };                                                687 };
685                                                   688 
686 &pcie1_clkreq_n {                                 689 &pcie1_clkreq_n {
687         bias-pull-up;                             690         bias-pull-up;
688         drive-strength = <2>;                     691         drive-strength = <2>;
689 };                                                692 };
690                                                   693 
691 &qspi_cs0 {                                       694 &qspi_cs0 {
692         bias-disable;           /* External pu    695         bias-disable;           /* External pullup */
693         drive-strength = <8>;                     696         drive-strength = <8>;
694 };                                                697 };
695                                                   698 
696 &qspi_clk {                                       699 &qspi_clk {
697         bias-pull-down;         /* No external    700         bias-pull-down;         /* No external pulls */
698         drive-strength = <8>;                     701         drive-strength = <8>;
699 };                                                702 };
700                                                   703 
701 &qspi_data0 {                                     704 &qspi_data0 {
702         bias-pull-down;         /* No external    705         bias-pull-down;         /* No external pulls */
703         drive-strength = <8>;                     706         drive-strength = <8>;
704 };                                                707 };
705                                                   708 
706 &qspi_data1 {                                     709 &qspi_data1 {
707         bias-disable;           /* External pu    710         bias-disable;           /* External pulldown */
708         drive-strength = <8>;                     711         drive-strength = <8>;
709 };                                                712 };
710                                                   713 
711 /* For ap_tp_i2c */                               714 /* For ap_tp_i2c */
712 &qup_i2c0_data_clk {                              715 &qup_i2c0_data_clk {
713         /* Has external pull */                   716         /* Has external pull */
714         bias-disable;                             717         bias-disable;
715         drive-strength = <2>;                     718         drive-strength = <2>;
716 };                                                719 };
717                                                   720 
718 /* For ap_i2c_tpm */                              721 /* For ap_i2c_tpm */
719 &qup_i2c14_data_clk {                             722 &qup_i2c14_data_clk {
720         /* Has external pull */                   723         /* Has external pull */
721         bias-disable;                             724         bias-disable;
722         drive-strength = <2>;                     725         drive-strength = <2>;
723 };                                                726 };
724                                                   727 
725 /* For ap_spi_fp */                               728 /* For ap_spi_fp */
726 &qup_spi9_data_clk {                              729 &qup_spi9_data_clk {
727         bias-disable;                             730         bias-disable;
728         drive-strength = <2>;                     731         drive-strength = <2>;
729 };                                                732 };
730                                                   733 
731 /* For ap_spi_fp */                               734 /* For ap_spi_fp */
732 &qup_spi9_cs_gpio {                               735 &qup_spi9_cs_gpio {
733         bias-disable;                             736         bias-disable;
734         drive-strength = <2>;                     737         drive-strength = <2>;
735 };                                                738 };
736                                                   739 
737 /* For ap_ec_spi */                               740 /* For ap_ec_spi */
738 &qup_spi10_data_clk {                             741 &qup_spi10_data_clk {
739         bias-disable;                             742         bias-disable;
740         drive-strength = <2>;                     743         drive-strength = <2>;
741 };                                                744 };
742                                                   745 
743 /* For ap_ec_spi */                               746 /* For ap_ec_spi */
744 &qup_spi10_cs_gpio {                              747 &qup_spi10_cs_gpio {
745         bias-disable;                             748         bias-disable;
746         drive-strength = <2>;                     749         drive-strength = <2>;
747 };                                                750 };
748                                                   751 
749 /* For uart_dbg */                                752 /* For uart_dbg */
750 &qup_uart5_rx {                                   753 &qup_uart5_rx {
751         bias-pull-up;                             754         bias-pull-up;
752 };                                                755 };
753                                                   756 
754 /* For uart_dbg */                                757 /* For uart_dbg */
755 &qup_uart5_tx {                                   758 &qup_uart5_tx {
756         bias-disable;                             759         bias-disable;
757         drive-strength = <2>;                     760         drive-strength = <2>;
758 };                                                761 };
759                                                   762 
760 &sdc2_clk {                                       763 &sdc2_clk {
761         bias-disable;                             764         bias-disable;
762         drive-strength = <16>;                    765         drive-strength = <16>;
763 };                                                766 };
764                                                   767 
765 &sdc2_cmd {                                       768 &sdc2_cmd {
766         bias-pull-up;                             769         bias-pull-up;
767         drive-strength = <10>;                    770         drive-strength = <10>;
768 };                                                771 };
769                                                   772 
770 &sdc2_data {                                      773 &sdc2_data {
771         bias-pull-up;                             774         bias-pull-up;
772         drive-strength = <10>;                    775         drive-strength = <10>;
773 };                                                776 };
774                                                   777 
775 /* PINCTRL - board-specific pinctrl */            778 /* PINCTRL - board-specific pinctrl */
776                                                   779 
777 &pm7325_gpios {                                   780 &pm7325_gpios {
778         /*                                        781         /*
779          * On a quick glance it might look lik    782          * On a quick glance it might look like KYPD_VOL_UP_N is used, but
780          * that only passes through to a debug    783          * that only passes through to a debug connector and not to the actual
781          * volume up key.                         784          * volume up key.
782          */                                       785          */
783         status = "disabled"; /* No GPIOs are c    786         status = "disabled"; /* No GPIOs are connected */
784 };                                                787 };
785                                                   788 
786 &pmk8350_gpios {                                  789 &pmk8350_gpios {
787         status = "disabled"; /* No GPIOs are c    790         status = "disabled"; /* No GPIOs are connected */
788 };                                                791 };
789                                                   792 
790 &tlmm {                                           793 &tlmm {
791         /* pinctrl settings for pins that have    794         /* pinctrl settings for pins that have no real owners. */
792         pinctrl-names = "default";                795         pinctrl-names = "default";
793         pinctrl-0 = <&bios_flash_wp_od>;          796         pinctrl-0 = <&bios_flash_wp_od>;
794                                                   797 
795         amp_en: amp-en-state {                    798         amp_en: amp-en-state {
796                 pins = "gpio63";                  799                 pins = "gpio63";
797                 function = "gpio";                800                 function = "gpio";
798                 bias-disable;                     801                 bias-disable;
799                 drive-strength = <2>;             802                 drive-strength = <2>;
800         };                                        803         };
801                                                   804 
802         ap_ec_int_l: ap-ec-int-l-state {          805         ap_ec_int_l: ap-ec-int-l-state {
803                 pins = "gpio18";                  806                 pins = "gpio18";
804                 function = "gpio";                807                 function = "gpio";
805                 bias-pull-up;                     808                 bias-pull-up;
806         };                                        809         };
807                                                   810 
808         bios_flash_wp_od: bios-flash-wp-od-sta    811         bios_flash_wp_od: bios-flash-wp-od-state {
809                 pins = "gpio16";                  812                 pins = "gpio16";
810                 function = "gpio";                813                 function = "gpio";
811                 /* Has external pull */           814                 /* Has external pull */
812                 bias-disable;                     815                 bias-disable;
813         };                                        816         };
814                                                   817 
815         en_fp_rails: en-fp-rails-state {          818         en_fp_rails: en-fp-rails-state {
816                 pins = "gpio77";                  819                 pins = "gpio77";
817                 function = "gpio";                820                 function = "gpio";
818                 bias-disable;                     821                 bias-disable;
819                 drive-strength = <2>;             822                 drive-strength = <2>;
820                 output-high;                      823                 output-high;
821         };                                        824         };
822                                                   825 
823         en_pp3300_codec: en-pp3300-codec-state    826         en_pp3300_codec: en-pp3300-codec-state {
824                 pins = "gpio105";                 827                 pins = "gpio105";
825                 function = "gpio";                828                 function = "gpio";
826                 bias-disable;                     829                 bias-disable;
827                 drive-strength = <2>;             830                 drive-strength = <2>;
828         };                                        831         };
829                                                   832 
830         en_pp3300_dx_edp: en-pp3300-dx-edp-sta    833         en_pp3300_dx_edp: en-pp3300-dx-edp-state {
831                 pins = "gpio80";                  834                 pins = "gpio80";
832                 function = "gpio";                835                 function = "gpio";
833                 bias-disable;                     836                 bias-disable;
834                 drive-strength = <2>;             837                 drive-strength = <2>;
835         };                                        838         };
836                                                   839 
837         fp_rst_l: fp-rst-l-state {                840         fp_rst_l: fp-rst-l-state {
838                 pins = "gpio78";                  841                 pins = "gpio78";
839                 function = "gpio";                842                 function = "gpio";
840                 bias-disable;                     843                 bias-disable;
841                 drive-strength = <2>;             844                 drive-strength = <2>;
842         };                                        845         };
843                                                   846 
844         fp_to_ap_irq_l: fp-to-ap-irq-l-state {    847         fp_to_ap_irq_l: fp-to-ap-irq-l-state {
845                 pins = "gpio61";                  848                 pins = "gpio61";
846                 function = "gpio";                849                 function = "gpio";
847                 /* Has external pullup */         850                 /* Has external pullup */
848                 bias-disable;                     851                 bias-disable;
849         };                                        852         };
850                                                   853 
851         fpmcu_boot0: fpmcu-boot0-state {          854         fpmcu_boot0: fpmcu-boot0-state {
852                 pins = "gpio68";                  855                 pins = "gpio68";
853                 function = "gpio";                856                 function = "gpio";
854                 bias-disable;                     857                 bias-disable;
855         };                                        858         };
856                                                   859 
857         gsc_ap_int_odl: gsc-ap-int-odl-state {    860         gsc_ap_int_odl: gsc-ap-int-odl-state {
858                 pins = "gpio104";                 861                 pins = "gpio104";
859                 function = "gpio";                862                 function = "gpio";
860                 bias-pull-up;                     863                 bias-pull-up;
861         };                                        864         };
862                                                   865 
863         hp_irq: hp-irq-state {                    866         hp_irq: hp-irq-state {
864                 pins = "gpio101";                 867                 pins = "gpio101";
865                 function = "gpio";                868                 function = "gpio";
866                 bias-pull-up;                     869                 bias-pull-up;
867         };                                        870         };
868                                                   871 
869         hub_en: hub-en-state {                    872         hub_en: hub-en-state {
870                 pins = "gpio157";                 873                 pins = "gpio157";
871                 function = "gpio";                874                 function = "gpio";
872                 bias-disable;                     875                 bias-disable;
873                 drive-strength = <2>;             876                 drive-strength = <2>;
874         };                                        877         };
875                                                   878 
876         pe_wake_odl: pe-wake-odl-state {          879         pe_wake_odl: pe-wake-odl-state {
877                 pins = "gpio3";                   880                 pins = "gpio3";
878                 function = "gpio";                881                 function = "gpio";
879                 /* Has external pull */           882                 /* Has external pull */
880                 bias-disable;                     883                 bias-disable;
881                 drive-strength = <2>;             884                 drive-strength = <2>;
882         };                                        885         };
883                                                   886 
884         /* For ap_spi_fp */                       887         /* For ap_spi_fp */
885         qup_spi9_cs_gpio_init_high: qup-spi9-c    888         qup_spi9_cs_gpio_init_high: qup-spi9-cs-gpio-init-high-state {
886                 pins = "gpio39";                  889                 pins = "gpio39";
887                 function = "gpio";                890                 function = "gpio";
888                 output-high;                      891                 output-high;
889         };                                        892         };
890                                                   893 
891         /* For ap_ec_spi */                       894         /* For ap_ec_spi */
892         qup_spi10_cs_gpio_init_high: qup-spi10    895         qup_spi10_cs_gpio_init_high: qup-spi10-cs-gpio-init-high-state {
893                 pins = "gpio43";                  896                 pins = "gpio43";
894                 function = "gpio";                897                 function = "gpio";
895                 output-high;                      898                 output-high;
896         };                                        899         };
897                                                   900 
898         sar0_irq_odl: sar0-irq-odl-state {        901         sar0_irq_odl: sar0-irq-odl-state {
899                 pins = "gpio141";                 902                 pins = "gpio141";
900                 function = "gpio";                903                 function = "gpio";
901                 bias-pull-up;                     904                 bias-pull-up;
902         };                                        905         };
903                                                   906 
904         sar1_irq_odl: sar1-irq-odl-state {        907         sar1_irq_odl: sar1-irq-odl-state {
905                 pins = "gpio140";                 908                 pins = "gpio140";
906                 function = "gpio";                909                 function = "gpio";
907                 bias-pull-up;                     910                 bias-pull-up;
908         };                                        911         };
909                                                   912 
910         sd_cd_odl: sd-cd-odl-state {              913         sd_cd_odl: sd-cd-odl-state {
911                 pins = "gpio91";                  914                 pins = "gpio91";
912                 function = "gpio";                915                 function = "gpio";
913                 bias-pull-up;                     916                 bias-pull-up;
914         };                                        917         };
915                                                   918 
916         ssd_en: ssd-en-state {                    919         ssd_en: ssd-en-state {
917                 pins = "gpio51";                  920                 pins = "gpio51";
918                 function = "gpio";                921                 function = "gpio";
919                 bias-disable;                     922                 bias-disable;
920                 drive-strength = <2>;             923                 drive-strength = <2>;
921         };                                        924         };
922                                                   925 
923         ssd_rst_l: ssd-rst-l-state {              926         ssd_rst_l: ssd-rst-l-state {
924                 pins = "gpio2";                   927                 pins = "gpio2";
925                 function = "gpio";                928                 function = "gpio";
926                 bias-disable;                     929                 bias-disable;
927                 drive-strength = <2>;             930                 drive-strength = <2>;
928                 output-low;                       931                 output-low;
929         };                                        932         };
930                                                   933 
931         tp_int_odl: tp-int-odl-state {            934         tp_int_odl: tp-int-odl-state {
932                 pins = "gpio7";                   935                 pins = "gpio7";
933                 function = "gpio";                936                 function = "gpio";
934                 /* Has external pullup */         937                 /* Has external pullup */
935                 bias-disable;                     938                 bias-disable;
936         };                                        939         };
937                                                   940 
938         wf_cam_en: wf-cam-en-state {              941         wf_cam_en: wf-cam-en-state {
939                 pins = "gpio119";                 942                 pins = "gpio119";
940                 function = "gpio";                943                 function = "gpio";
941                 /* Has external pulldown */       944                 /* Has external pulldown */
942                 bias-disable;                     945                 bias-disable;
943                 drive-strength = <2>;             946                 drive-strength = <2>;
944         };                                        947         };
945 };                                                948 };
                                                      

~ [ 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