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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/sc8280xp-lenovo-thinkpad-x13s.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/arm64/qcom/sc8280xp-lenovo-thinkpad-x13s.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/qcom/sc8280xp-lenovo-thinkpad-x13s.dts (Version linux-6.9.12)


  1 // SPDX-License-Identifier: BSD-3-Clause            1 // SPDX-License-Identifier: BSD-3-Clause
  2 /*                                                  2 /*
  3  * Copyright (c) 2021, The Linux Foundation. A      3  * Copyright (c) 2021, The Linux Foundation. All rights reserved.
  4  * Copyright (c) 2022, Linaro Limited               4  * Copyright (c) 2022, Linaro Limited
  5  */                                                 5  */
  6                                                     6 
  7 /dts-v1/;                                           7 /dts-v1/;
  8                                                     8 
  9 #include <dt-bindings/iio/qcom,spmi-adc7-pm835      9 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h>
 10 #include <dt-bindings/gpio/gpio.h>                 10 #include <dt-bindings/gpio/gpio.h>
 11 #include <dt-bindings/input/gpio-keys.h>           11 #include <dt-bindings/input/gpio-keys.h>
 12 #include <dt-bindings/input/input.h>               12 #include <dt-bindings/input/input.h>
 13 #include <dt-bindings/leds/common.h>               13 #include <dt-bindings/leds/common.h>
 14 #include <dt-bindings/regulator/qcom,rpmh-regu     14 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
 15                                                    15 
 16 #include "sc8280xp.dtsi"                           16 #include "sc8280xp.dtsi"
 17 #include "sc8280xp-pmics.dtsi"                     17 #include "sc8280xp-pmics.dtsi"
 18                                                    18 
 19 / {                                                19 / {
 20         model = "Lenovo ThinkPad X13s";            20         model = "Lenovo ThinkPad X13s";
 21         compatible = "lenovo,thinkpad-x13s", "     21         compatible = "lenovo,thinkpad-x13s", "qcom,sc8280xp";
 22                                                    22 
 23         aliases {                                  23         aliases {
 24                 i2c4 = &i2c4;                      24                 i2c4 = &i2c4;
 25                 i2c21 = &i2c21;                    25                 i2c21 = &i2c21;
 26                 serial1 = &uart2;                  26                 serial1 = &uart2;
 27         };                                         27         };
 28                                                    28 
 29         wcd938x: audio-codec {                     29         wcd938x: audio-codec {
 30                 compatible = "qcom,wcd9380-cod     30                 compatible = "qcom,wcd9380-codec";
 31                                                    31 
 32                 pinctrl-names = "default";         32                 pinctrl-names = "default";
 33                 pinctrl-0 = <&wcd_default>;        33                 pinctrl-0 = <&wcd_default>;
 34                                                    34 
 35                 reset-gpios = <&tlmm 106 GPIO_     35                 reset-gpios = <&tlmm 106 GPIO_ACTIVE_LOW>;
 36                                                    36 
 37                 vdd-buck-supply = <&vreg_s10b>     37                 vdd-buck-supply = <&vreg_s10b>;
 38                 vdd-rxtx-supply = <&vreg_s10b>     38                 vdd-rxtx-supply = <&vreg_s10b>;
 39                 vdd-io-supply = <&vreg_s10b>;      39                 vdd-io-supply = <&vreg_s10b>;
 40                 vdd-mic-bias-supply = <&vreg_b     40                 vdd-mic-bias-supply = <&vreg_bob>;
 41                                                    41 
 42                 qcom,micbias1-microvolt = <180     42                 qcom,micbias1-microvolt = <1800000>;
 43                 qcom,micbias2-microvolt = <180     43                 qcom,micbias2-microvolt = <1800000>;
 44                 qcom,micbias3-microvolt = <180     44                 qcom,micbias3-microvolt = <1800000>;
 45                 qcom,micbias4-microvolt = <180     45                 qcom,micbias4-microvolt = <1800000>;
 46                 qcom,mbhc-buttons-vthreshold-m     46                 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
 47                 qcom,mbhc-headset-vthreshold-m     47                 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
 48                 qcom,mbhc-headphone-vthreshold     48                 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
 49                 qcom,rx-device = <&wcd_rx>;        49                 qcom,rx-device = <&wcd_rx>;
 50                 qcom,tx-device = <&wcd_tx>;        50                 qcom,tx-device = <&wcd_tx>;
 51                                                    51 
 52                 #sound-dai-cells = <1>;            52                 #sound-dai-cells = <1>;
 53         };                                         53         };
 54                                                    54 
 55         backlight: backlight {                     55         backlight: backlight {
 56                 compatible = "pwm-backlight";      56                 compatible = "pwm-backlight";
 57                 pwms = <&pmc8280c_lpg 3 100000     57                 pwms = <&pmc8280c_lpg 3 1000000>;
 58                 enable-gpios = <&pmc8280_1_gpi     58                 enable-gpios = <&pmc8280_1_gpios 8 GPIO_ACTIVE_HIGH>;
 59                 power-supply = <&vreg_edp_bl>;     59                 power-supply = <&vreg_edp_bl>;
 60                                                    60 
 61                 pinctrl-names = "default";         61                 pinctrl-names = "default";
 62                 pinctrl-0 = <&edp_bl_en>, <&ed     62                 pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>;
 63         };                                         63         };
 64                                                    64 
 65         gpio-keys {                                65         gpio-keys {
 66                 compatible = "gpio-keys";          66                 compatible = "gpio-keys";
 67                                                    67 
 68                 pinctrl-names = "default";         68                 pinctrl-names = "default";
 69                 pinctrl-0 = <&hall_int_n_defau     69                 pinctrl-0 = <&hall_int_n_default>;
 70                                                    70 
 71                 switch-lid {                       71                 switch-lid {
 72                         gpios = <&tlmm 107 GPI     72                         gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
 73                         linux,input-type = <EV     73                         linux,input-type = <EV_SW>;
 74                         linux,code = <SW_LID>;     74                         linux,code = <SW_LID>;
 75                         wakeup-source;             75                         wakeup-source;
 76                         wakeup-event-action =      76                         wakeup-event-action = <EV_ACT_DEASSERTED>;
 77                 };                                 77                 };
 78         };                                         78         };
 79                                                    79 
 80         leds {                                     80         leds {
 81                 compatible = "gpio-leds";          81                 compatible = "gpio-leds";
 82                                                    82 
 83                 pinctrl-names = "default";         83                 pinctrl-names = "default";
 84                 pinctrl-0 = <&cam_indicator_en     84                 pinctrl-0 = <&cam_indicator_en>;
 85                                                    85 
 86                 led-camera-indicator {             86                 led-camera-indicator {
 87                         label = "white:camera-     87                         label = "white:camera-indicator";
 88                         function = LED_FUNCTIO     88                         function = LED_FUNCTION_INDICATOR;
 89                         color = <LED_COLOR_ID_     89                         color = <LED_COLOR_ID_WHITE>;
 90                         gpios = <&tlmm 28 GPIO     90                         gpios = <&tlmm 28 GPIO_ACTIVE_HIGH>;
 91                         linux,default-trigger      91                         linux,default-trigger = "none";
 92                         default-state = "off";     92                         default-state = "off";
 93                         /* Reuse as a panic in     93                         /* Reuse as a panic indicator until we get a "camera on" trigger */
 94                         panic-indicator;           94                         panic-indicator;
 95                 };                                 95                 };
 96         };                                         96         };
 97                                                    97 
 98         pmic-glink {                               98         pmic-glink {
 99                 compatible = "qcom,sc8280xp-pm     99                 compatible = "qcom,sc8280xp-pmic-glink", "qcom,pmic-glink";
100                                                   100 
101                 #address-cells = <1>;             101                 #address-cells = <1>;
102                 #size-cells = <0>;                102                 #size-cells = <0>;
103                 orientation-gpios = <&tlmm 166 << 
104                                     <&tlmm 49  << 
105                                                   103 
106                 connector@0 {                     104                 connector@0 {
107                         compatible = "usb-c-co    105                         compatible = "usb-c-connector";
108                         reg = <0>;                106                         reg = <0>;
109                         power-role = "dual";      107                         power-role = "dual";
110                         data-role = "dual";       108                         data-role = "dual";
111                                                   109 
112                         ports {                   110                         ports {
113                                 #address-cells    111                                 #address-cells = <1>;
114                                 #size-cells =     112                                 #size-cells = <0>;
115                                                   113 
116                                 port@0 {          114                                 port@0 {
117                                         reg =     115                                         reg = <0>;
118                                                   116 
119                                         pmic_g    117                                         pmic_glink_con0_hs: endpoint {
120                                                !! 118                                                 remote-endpoint = <&usb_0_role_switch>;
121                                         };        119                                         };
122                                 };                120                                 };
123                                                   121 
124                                 port@1 {          122                                 port@1 {
125                                         reg =     123                                         reg = <1>;
126                                                   124 
127                                         pmic_g    125                                         pmic_glink_con0_ss: endpoint {
128                                                   126                                                 remote-endpoint = <&usb_0_qmpphy_out>;
129                                         };        127                                         };
130                                 };                128                                 };
131                                                   129 
132                                 port@2 {          130                                 port@2 {
133                                         reg =     131                                         reg = <2>;
134                                                   132 
135                                         pmic_g    133                                         pmic_glink_con0_sbu: endpoint {
136                                                   134                                                 remote-endpoint = <&usb0_sbu_mux>;
137                                         };        135                                         };
138                                 };                136                                 };
139                         };                        137                         };
140                 };                                138                 };
141                                                   139 
142                 connector@1 {                     140                 connector@1 {
143                         compatible = "usb-c-co    141                         compatible = "usb-c-connector";
144                         reg = <1>;                142                         reg = <1>;
145                         power-role = "dual";      143                         power-role = "dual";
146                         data-role = "dual";       144                         data-role = "dual";
147                                                   145 
148                         ports {                   146                         ports {
149                                 #address-cells    147                                 #address-cells = <1>;
150                                 #size-cells =     148                                 #size-cells = <0>;
151                                 port@0 {          149                                 port@0 {
152                                         reg =     150                                         reg = <0>;
153                                                   151 
154                                         pmic_g    152                                         pmic_glink_con1_hs: endpoint {
155                                                !! 153                                                 remote-endpoint = <&usb_1_role_switch>;
156                                         };        154                                         };
157                                 };                155                                 };
158                                                   156 
159                                 port@1 {          157                                 port@1 {
160                                         reg =     158                                         reg = <1>;
161                                                   159 
162                                         pmic_g    160                                         pmic_glink_con1_ss: endpoint {
163                                                   161                                                 remote-endpoint = <&usb_1_qmpphy_out>;
164                                         };        162                                         };
165                                 };                163                                 };
166                                                   164 
167                                 port@2 {          165                                 port@2 {
168                                         reg =     166                                         reg = <2>;
169                                                   167 
170                                         pmic_g    168                                         pmic_glink_con1_sbu: endpoint {
171                                                   169                                                 remote-endpoint = <&usb1_sbu_mux>;
172                                         };        170                                         };
173                                 };                171                                 };
174                         };                        172                         };
175                 };                                173                 };
176         };                                        174         };
177                                                   175 
178         vreg_edp_3p3: regulator-edp-3p3 {         176         vreg_edp_3p3: regulator-edp-3p3 {
179                 compatible = "regulator-fixed"    177                 compatible = "regulator-fixed";
180                                                   178 
181                 regulator-name = "VCC3LCD";       179                 regulator-name = "VCC3LCD";
182                 regulator-min-microvolt = <330    180                 regulator-min-microvolt = <3300000>;
183                 regulator-max-microvolt = <330    181                 regulator-max-microvolt = <3300000>;
184                                                   182 
185                 gpio = <&tlmm 25 GPIO_ACTIVE_H    183                 gpio = <&tlmm 25 GPIO_ACTIVE_HIGH>;
186                 enable-active-high;               184                 enable-active-high;
187                                                   185 
188                 pinctrl-names = "default";        186                 pinctrl-names = "default";
189                 pinctrl-0 = <&edp_reg_en>;        187                 pinctrl-0 = <&edp_reg_en>;
190                                                   188 
191                 regulator-boot-on;                189                 regulator-boot-on;
192         };                                        190         };
193                                                   191 
194         vreg_edp_bl: regulator-edp-bl {           192         vreg_edp_bl: regulator-edp-bl {
195                 compatible = "regulator-fixed"    193                 compatible = "regulator-fixed";
196                                                   194 
197                 regulator-name = "VBL9";          195                 regulator-name = "VBL9";
198                 regulator-min-microvolt = <360    196                 regulator-min-microvolt = <3600000>;
199                 regulator-max-microvolt = <360    197                 regulator-max-microvolt = <3600000>;
200                                                   198 
201                 gpio = <&pmc8280_1_gpios 9 GPI    199                 gpio = <&pmc8280_1_gpios 9 GPIO_ACTIVE_HIGH>;
202                 enable-active-high;               200                 enable-active-high;
203                                                   201 
204                 pinctrl-names = "default";        202                 pinctrl-names = "default";
205                 pinctrl-0 = <&edp_bl_reg_en>;     203                 pinctrl-0 = <&edp_bl_reg_en>;
206                                                   204 
207                 regulator-boot-on;                205                 regulator-boot-on;
208         };                                        206         };
209                                                   207 
210         vreg_misc_3p3: regulator-misc-3p3 {       208         vreg_misc_3p3: regulator-misc-3p3 {
211                 compatible = "regulator-fixed"    209                 compatible = "regulator-fixed";
212                                                   210 
213                 regulator-name = "VCC3B";         211                 regulator-name = "VCC3B";
214                 regulator-min-microvolt = <330    212                 regulator-min-microvolt = <3300000>;
215                 regulator-max-microvolt = <330    213                 regulator-max-microvolt = <3300000>;
216                                                   214 
217                 gpio = <&pmc8280_1_gpios 1 GPI    215                 gpio = <&pmc8280_1_gpios 1 GPIO_ACTIVE_HIGH>;
218                 enable-active-high;               216                 enable-active-high;
219                                                   217 
220                 pinctrl-names = "default";        218                 pinctrl-names = "default";
221                 pinctrl-0 = <&misc_3p3_reg_en>    219                 pinctrl-0 = <&misc_3p3_reg_en>;
222                                                   220 
223                 regulator-boot-on;                221                 regulator-boot-on;
224                 regulator-always-on;              222                 regulator-always-on;
225         };                                        223         };
226                                                   224 
227         vreg_nvme: regulator-nvme {               225         vreg_nvme: regulator-nvme {
228                 compatible = "regulator-fixed"    226                 compatible = "regulator-fixed";
229                                                   227 
230                 regulator-name = "VCC3_SSD";      228                 regulator-name = "VCC3_SSD";
231                 regulator-min-microvolt = <330    229                 regulator-min-microvolt = <3300000>;
232                 regulator-max-microvolt = <330    230                 regulator-max-microvolt = <3300000>;
233                                                   231 
234                 gpio = <&tlmm 135 GPIO_ACTIVE_    232                 gpio = <&tlmm 135 GPIO_ACTIVE_HIGH>;
235                 enable-active-high;               233                 enable-active-high;
236                                                   234 
237                 pinctrl-names = "default";        235                 pinctrl-names = "default";
238                 pinctrl-0 = <&nvme_reg_en>;       236                 pinctrl-0 = <&nvme_reg_en>;
239                                                   237 
240                 regulator-boot-on;                238                 regulator-boot-on;
241         };                                        239         };
242                                                   240 
243         vreg_vph_pwr: regulator-vph-pwr {         241         vreg_vph_pwr: regulator-vph-pwr {
244                 compatible = "regulator-fixed"    242                 compatible = "regulator-fixed";
245                                                   243 
246                 regulator-name = "VPH_VCC3R9";    244                 regulator-name = "VPH_VCC3R9";
247                 regulator-min-microvolt = <390    245                 regulator-min-microvolt = <3900000>;
248                 regulator-max-microvolt = <390    246                 regulator-max-microvolt = <3900000>;
249                                                   247 
250                 regulator-always-on;              248                 regulator-always-on;
251         };                                        249         };
252                                                   250 
253         vreg_wlan: regulator-wlan {               251         vreg_wlan: regulator-wlan {
254                 compatible = "regulator-fixed"    252                 compatible = "regulator-fixed";
255                                                   253 
256                 regulator-name = "VCC_WLAN_3R9    254                 regulator-name = "VCC_WLAN_3R9";
257                 regulator-min-microvolt = <390    255                 regulator-min-microvolt = <3900000>;
258                 regulator-max-microvolt = <390    256                 regulator-max-microvolt = <3900000>;
259                                                   257 
260                 gpio = <&pmr735a_gpios 1 GPIO_    258                 gpio = <&pmr735a_gpios 1 GPIO_ACTIVE_HIGH>;
261                 enable-active-high;               259                 enable-active-high;
262                                                   260 
263                 pinctrl-names = "default";        261                 pinctrl-names = "default";
264                 pinctrl-0 = <&hastings_reg_en>    262                 pinctrl-0 = <&hastings_reg_en>;
265                                                   263 
266                 regulator-boot-on;                264                 regulator-boot-on;
267         };                                        265         };
268                                                   266 
269         vreg_wwan: regulator-wwan {               267         vreg_wwan: regulator-wwan {
270                 compatible = "regulator-fixed"    268                 compatible = "regulator-fixed";
271                                                   269 
272                 regulator-name = "VCC3B_WAN";     270                 regulator-name = "VCC3B_WAN";
273                 regulator-min-microvolt = <330    271                 regulator-min-microvolt = <3300000>;
274                 regulator-max-microvolt = <330    272                 regulator-max-microvolt = <3300000>;
275                                                   273 
276                 gpio = <&pmc8280_2_gpios 1 GPI    274                 gpio = <&pmc8280_2_gpios 1 GPIO_ACTIVE_HIGH>;
277                 enable-active-high;               275                 enable-active-high;
278                                                   276 
279                 pinctrl-names = "default";        277                 pinctrl-names = "default";
280                 pinctrl-0 = <&wwan_sw_en>;        278                 pinctrl-0 = <&wwan_sw_en>;
281                                                   279 
282                 regulator-boot-on;                280                 regulator-boot-on;
283         };                                        281         };
284                                                   282 
285         reserved-memory {                         283         reserved-memory {
286                 gpu_mem: gpu-mem@8bf00000 {       284                 gpu_mem: gpu-mem@8bf00000 {
287                         reg = <0 0x8bf00000 0     285                         reg = <0 0x8bf00000 0 0x2000>;
288                         no-map;                   286                         no-map;
289                 };                                287                 };
290                                                   288 
291                 linux,cma {                       289                 linux,cma {
292                         compatible = "shared-d    290                         compatible = "shared-dma-pool";
293                         size = <0x0 0x8000000>    291                         size = <0x0 0x8000000>;
294                         reusable;                 292                         reusable;
295                         linux,cma-default;        293                         linux,cma-default;
296                 };                                294                 };
297         };                                        295         };
298                                                   296 
299         thermal-zones {                           297         thermal-zones {
300                 pm8008-thermal {               << 
301                         polling-delay-passive  << 
302                         polling-delay = <0>;   << 
303                                                << 
304                         thermal-sensors = <&pm << 
305                                                << 
306                         trips {                << 
307                                 trip0 {        << 
308                                         temper << 
309                                         hyster << 
310                                         type = << 
311                                 };             << 
312                                                << 
313                                 trip1 {        << 
314                                         temper << 
315                                         hyster << 
316                                         type = << 
317                                 };             << 
318                         };                     << 
319                 };                             << 
320                                                << 
321                 skin-temp-thermal {               298                 skin-temp-thermal {
322                         polling-delay-passive     299                         polling-delay-passive = <250>;
323                                                !! 300                         polling-delay = <0>;
324                         thermal-sensors = <&pm    301                         thermal-sensors = <&pmk8280_adc_tm 5>;
325                                                   302 
326                         trips {                   303                         trips {
327                                 skin_temp_aler    304                                 skin_temp_alert0: trip-point0 {
328                                         temper    305                                         temperature = <55000>;
329                                         hyster    306                                         hysteresis = <1000>;
330                                         type =    307                                         type = "passive";
331                                 };                308                                 };
332                                                   309 
333                                 skin_temp_aler    310                                 skin_temp_alert1: trip-point1 {
334                                         temper    311                                         temperature = <58000>;
335                                         hyster    312                                         hysteresis = <1000>;
336                                         type =    313                                         type = "passive";
337                                 };                314                                 };
338                                                   315 
339                                 skin-temp-crit    316                                 skin-temp-crit {
340                                         temper    317                                         temperature = <73000>;
341                                         hyster    318                                         hysteresis = <1000>;
342                                         type =    319                                         type = "critical";
343                                 };                320                                 };
344                         };                        321                         };
345                                                   322 
346                         cooling-maps {            323                         cooling-maps {
347                                 map0 {            324                                 map0 {
348                                         trip =    325                                         trip = <&skin_temp_alert0>;
349                                         coolin    326                                         cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
350                                                   327                                                          <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
351                                                   328                                                          <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
352                                                   329                                                          <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
353                                 };                330                                 };
354                                                   331 
355                                 map1 {            332                                 map1 {
356                                         trip =    333                                         trip = <&skin_temp_alert1>;
357                                         coolin    334                                         cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
358                                                   335                                                          <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
359                                                   336                                                          <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
360                                                   337                                                          <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
361                                 };                338                                 };
362                         };                        339                         };
363                 };                                340                 };
364         };                                        341         };
365                                                   342 
366         usb0-sbu-mux {                            343         usb0-sbu-mux {
367                 compatible = "pericom,pi3usb10    344                 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
368                                                   345 
369                 enable-gpios = <&tlmm 101 GPIO    346                 enable-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>;
370                 select-gpios = <&tlmm 164 GPIO    347                 select-gpios = <&tlmm 164 GPIO_ACTIVE_HIGH>;
371                                                   348 
372                 pinctrl-names = "default";        349                 pinctrl-names = "default";
373                 pinctrl-0 = <&usb0_sbu_default    350                 pinctrl-0 = <&usb0_sbu_default>;
374                                                   351 
375                 mode-switch;                      352                 mode-switch;
376                 orientation-switch;               353                 orientation-switch;
377                                                   354 
378                 port {                            355                 port {
379                         usb0_sbu_mux: endpoint    356                         usb0_sbu_mux: endpoint {
380                                 remote-endpoin    357                                 remote-endpoint = <&pmic_glink_con0_sbu>;
381                         };                        358                         };
382                 };                                359                 };
383         };                                        360         };
384                                                   361 
385         usb1-sbu-mux {                            362         usb1-sbu-mux {
386                 compatible = "pericom,pi3usb10    363                 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
387                                                   364 
388                 enable-gpios = <&tlmm 48 GPIO_    365                 enable-gpios = <&tlmm 48 GPIO_ACTIVE_LOW>;
389                 select-gpios = <&tlmm 47 GPIO_    366                 select-gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
390                                                   367 
391                 pinctrl-names = "default";        368                 pinctrl-names = "default";
392                 pinctrl-0 = <&usb1_sbu_default    369                 pinctrl-0 = <&usb1_sbu_default>;
393                                                   370 
394                 mode-switch;                      371                 mode-switch;
395                 orientation-switch;               372                 orientation-switch;
396                                                   373 
397                 port {                            374                 port {
398                         usb1_sbu_mux: endpoint    375                         usb1_sbu_mux: endpoint {
399                                 remote-endpoin    376                                 remote-endpoint = <&pmic_glink_con1_sbu>;
400                         };                        377                         };
401                 };                                378                 };
402         };                                        379         };
403 };                                                380 };
404                                                   381 
405 &apps_rsc {                                       382 &apps_rsc {
406         regulators-0 {                            383         regulators-0 {
407                 compatible = "qcom,pm8350-rpmh    384                 compatible = "qcom,pm8350-rpmh-regulators";
408                 qcom,pmic-id = "b";               385                 qcom,pmic-id = "b";
409                                                   386 
410                 vdd-l1-l4-supply = <&vreg_s12b    387                 vdd-l1-l4-supply = <&vreg_s12b>;
411                 vdd-l2-l7-supply = <&vreg_bob>    388                 vdd-l2-l7-supply = <&vreg_bob>;
412                 vdd-l3-l5-supply = <&vreg_s11b    389                 vdd-l3-l5-supply = <&vreg_s11b>;
413                 vdd-l6-l9-l10-supply = <&vreg_    390                 vdd-l6-l9-l10-supply = <&vreg_s12b>;
414                 vdd-l8-supply = <&vreg_s12b>;     391                 vdd-l8-supply = <&vreg_s12b>;
415                                                   392 
416                 vreg_s10b: smps10 {               393                 vreg_s10b: smps10 {
417                         regulator-name = "vreg    394                         regulator-name = "vreg_s10b";
418                         regulator-min-microvol    395                         regulator-min-microvolt = <1800000>;
419                         regulator-max-microvol    396                         regulator-max-microvolt = <1800000>;
420                         regulator-initial-mode    397                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
421                         regulator-always-on;      398                         regulator-always-on;
422                 };                                399                 };
423                                                   400 
424                 vreg_s11b: smps11 {               401                 vreg_s11b: smps11 {
425                         regulator-name = "vreg    402                         regulator-name = "vreg_s11b";
426                         regulator-min-microvol    403                         regulator-min-microvolt = <1272000>;
427                         regulator-max-microvol    404                         regulator-max-microvolt = <1272000>;
428                         regulator-initial-mode    405                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
429                         regulator-always-on;      406                         regulator-always-on;
430                 };                                407                 };
431                                                   408 
432                 vreg_s12b: smps12 {               409                 vreg_s12b: smps12 {
433                         regulator-name = "vreg    410                         regulator-name = "vreg_s12b";
434                         regulator-min-microvol    411                         regulator-min-microvolt = <984000>;
435                         regulator-max-microvol    412                         regulator-max-microvolt = <984000>;
436                         regulator-initial-mode    413                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
437                         regulator-always-on;      414                         regulator-always-on;
438                 };                                415                 };
439                                                   416 
440                 vreg_l1b: ldo1 {               << 
441                         regulator-name = "vreg << 
442                         regulator-min-microvol << 
443                         regulator-max-microvol << 
444                         regulator-initial-mode << 
445                 };                             << 
446                                                << 
447                 vreg_l3b: ldo3 {                  417                 vreg_l3b: ldo3 {
448                         regulator-name = "vreg    418                         regulator-name = "vreg_l3b";
449                         regulator-min-microvol    419                         regulator-min-microvolt = <1200000>;
450                         regulator-max-microvol    420                         regulator-max-microvolt = <1200000>;
451                         regulator-initial-mode    421                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
452                         regulator-boot-on;        422                         regulator-boot-on;
453                 };                                423                 };
454                                                   424 
455                 vreg_l4b: ldo4 {                  425                 vreg_l4b: ldo4 {
456                         regulator-name = "vreg    426                         regulator-name = "vreg_l4b";
457                         regulator-min-microvol    427                         regulator-min-microvolt = <912000>;
458                         regulator-max-microvol    428                         regulator-max-microvolt = <912000>;
459                         regulator-initial-mode    429                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
460                 };                                430                 };
461                                                   431 
462                 vreg_l6b: ldo6 {                  432                 vreg_l6b: ldo6 {
463                         regulator-name = "vreg    433                         regulator-name = "vreg_l6b";
464                         regulator-min-microvol    434                         regulator-min-microvolt = <880000>;
465                         regulator-max-microvol    435                         regulator-max-microvolt = <880000>;
466                         regulator-initial-mode    436                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
467                         regulator-boot-on;        437                         regulator-boot-on;
468                 };                                438                 };
469         };                                        439         };
470                                                   440 
471         regulators-1 {                            441         regulators-1 {
472                 compatible = "qcom,pm8350c-rpm    442                 compatible = "qcom,pm8350c-rpmh-regulators";
473                 qcom,pmic-id = "c";               443                 qcom,pmic-id = "c";
474                                                   444 
475                 vdd-bob-supply = <&vreg_vph_pw    445                 vdd-bob-supply = <&vreg_vph_pwr>;
476                 vdd-l1-l12-supply = <&vreg_s1c    446                 vdd-l1-l12-supply = <&vreg_s1c>;
477                 vdd-l2-l8-supply = <&vreg_s1c>    447                 vdd-l2-l8-supply = <&vreg_s1c>;
478                 vdd-l3-l4-l5-l7-l13-supply = <    448                 vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob>;
479                 vdd-l6-l9-l11-supply = <&vreg_    449                 vdd-l6-l9-l11-supply = <&vreg_bob>;
480                 vdd-l10-supply = <&vreg_s11b>;    450                 vdd-l10-supply = <&vreg_s11b>;
481                                                   451 
482                 vreg_s1c: smps1 {                 452                 vreg_s1c: smps1 {
483                         regulator-name = "vreg    453                         regulator-name = "vreg_s1c";
484                         regulator-min-microvol    454                         regulator-min-microvolt = <1880000>;
485                         regulator-max-microvol    455                         regulator-max-microvolt = <1900000>;
486                         regulator-initial-mode    456                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
487                         regulator-always-on;      457                         regulator-always-on;
488                 };                                458                 };
489                                                   459 
490                 vreg_l1c: ldo1 {                  460                 vreg_l1c: ldo1 {
491                         regulator-name = "vreg    461                         regulator-name = "vreg_l1c";
492                         regulator-min-microvol    462                         regulator-min-microvolt = <1800000>;
493                         regulator-max-microvol    463                         regulator-max-microvolt = <1800000>;
494                         regulator-initial-mode    464                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
495                 };                                465                 };
496                                                   466 
497                 vreg_l8c: ldo8 {               << 
498                         regulator-name = "vreg << 
499                         regulator-min-microvol << 
500                         regulator-max-microvol << 
501                         regulator-initial-mode << 
502                 };                             << 
503                                                << 
504                 vreg_l12c: ldo12 {                467                 vreg_l12c: ldo12 {
505                         regulator-name = "vreg    468                         regulator-name = "vreg_l12c";
506                         regulator-min-microvol    469                         regulator-min-microvolt = <1800000>;
507                         regulator-max-microvol    470                         regulator-max-microvolt = <1800000>;
508                         regulator-initial-mode    471                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
509                 };                                472                 };
510                                                   473 
511                 vreg_l13c: ldo13 {                474                 vreg_l13c: ldo13 {
512                         regulator-name = "vreg    475                         regulator-name = "vreg_l13c";
513                         regulator-min-microvol    476                         regulator-min-microvolt = <3072000>;
514                         regulator-max-microvol    477                         regulator-max-microvolt = <3072000>;
515                         regulator-initial-mode    478                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
516                 };                                479                 };
517                                                   480 
518                 vreg_bob: bob {                   481                 vreg_bob: bob {
519                         regulator-name = "vreg    482                         regulator-name = "vreg_bob";
520                         regulator-min-microvol    483                         regulator-min-microvolt = <3008000>;
521                         regulator-max-microvol    484                         regulator-max-microvolt = <3960000>;
522                         regulator-initial-mode    485                         regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
523                         regulator-always-on;      486                         regulator-always-on;
524                 };                                487                 };
525         };                                        488         };
526                                                   489 
527         regulators-2 {                            490         regulators-2 {
528                 compatible = "qcom,pm8350-rpmh    491                 compatible = "qcom,pm8350-rpmh-regulators";
529                 qcom,pmic-id = "d";               492                 qcom,pmic-id = "d";
530                                                   493 
531                 vdd-l1-l4-supply = <&vreg_s11b    494                 vdd-l1-l4-supply = <&vreg_s11b>;
532                 vdd-l2-l7-supply = <&vreg_bob>    495                 vdd-l2-l7-supply = <&vreg_bob>;
533                 vdd-l3-l5-supply = <&vreg_s11b    496                 vdd-l3-l5-supply = <&vreg_s11b>;
534                 vdd-l6-l9-l10-supply = <&vreg_    497                 vdd-l6-l9-l10-supply = <&vreg_s12b>;
535                 vdd-l8-supply = <&vreg_s12b>;     498                 vdd-l8-supply = <&vreg_s12b>;
536                                                   499 
537                 vreg_l2d: ldo2 {               << 
538                         regulator-name = "vreg << 
539                         regulator-min-microvol << 
540                         regulator-max-microvol << 
541                         regulator-initial-mode << 
542                 };                             << 
543                                                << 
544                 vreg_l3d: ldo3 {                  500                 vreg_l3d: ldo3 {
545                         regulator-name = "vreg    501                         regulator-name = "vreg_l3d";
546                         regulator-min-microvol    502                         regulator-min-microvolt = <1200000>;
547                         regulator-max-microvol    503                         regulator-max-microvolt = <1200000>;
548                         regulator-initial-mode    504                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
549                 };                                505                 };
550                                                   506 
551                 vreg_l4d: ldo4 {                  507                 vreg_l4d: ldo4 {
552                         regulator-name = "vreg    508                         regulator-name = "vreg_l4d";
553                         regulator-min-microvol    509                         regulator-min-microvolt = <1200000>;
554                         regulator-max-microvol    510                         regulator-max-microvolt = <1200000>;
555                         regulator-initial-mode    511                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
556                 };                                512                 };
557                                                   513 
558                 vreg_l6d: ldo6 {                  514                 vreg_l6d: ldo6 {
559                         regulator-name = "vreg    515                         regulator-name = "vreg_l6d";
560                         regulator-min-microvol    516                         regulator-min-microvolt = <880000>;
561                         regulator-max-microvol    517                         regulator-max-microvolt = <880000>;
562                         regulator-initial-mode    518                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
563                 };                                519                 };
564                                                   520 
565                 vreg_l7d: ldo7 {                  521                 vreg_l7d: ldo7 {
566                         regulator-name = "vreg    522                         regulator-name = "vreg_l7d";
567                         regulator-min-microvol    523                         regulator-min-microvolt = <3072000>;
568                         regulator-max-microvol    524                         regulator-max-microvolt = <3072000>;
569                         regulator-initial-mode    525                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
570                 };                                526                 };
571                                                   527 
572                 vreg_l8d: ldo8 {               << 
573                         regulator-name = "vreg << 
574                         regulator-min-microvol << 
575                         regulator-max-microvol << 
576                         regulator-initial-mode << 
577                 };                             << 
578                                                << 
579                 vreg_l9d: ldo9 {                  528                 vreg_l9d: ldo9 {
580                         regulator-name = "vreg    529                         regulator-name = "vreg_l9d";
581                         regulator-min-microvol    530                         regulator-min-microvolt = <912000>;
582                         regulator-max-microvol    531                         regulator-max-microvolt = <912000>;
583                         regulator-initial-mode    532                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
584                 };                                533                 };
585                                                << 
586                 vreg_l10d: ldo10 {             << 
587                         regulator-name = "vreg << 
588                         regulator-min-microvol << 
589                         regulator-max-microvol << 
590                         regulator-initial-mode << 
591                 };                             << 
592         };                                     << 
593 };                                             << 
594                                                << 
595 &camss {                                       << 
596         vdda-phy-supply = <&vreg_l6d>;         << 
597         vdda-pll-supply = <&vreg_l4d>;         << 
598                                                << 
599         status = "okay";                       << 
600                                                << 
601         ports {                                << 
602                 port@0 {                       << 
603                         csiphy0_lanes01_ep: en << 
604                                 reg = <0>;     << 
605                                 clock-lanes =  << 
606                                 data-lanes = < << 
607                                 remote-endpoin << 
608                         };                     << 
609                 };                             << 
610         };                                     << 
611 };                                             << 
612                                                << 
613 &cci2 {                                        << 
614         status = "okay";                       << 
615 };                                             << 
616                                                << 
617 &cci2_i2c1 {                                   << 
618         camera@10 {                            << 
619                 compatible = "ovti,ov5675";    << 
620                 reg = <0x10>;                  << 
621                                                << 
622                 reset-gpios = <&tlmm 15 GPIO_A << 
623                 pinctrl-names = "default";     << 
624                 pinctrl-0 = <&cam_rgb_default> << 
625                                                << 
626                 clocks = <&camcc CAMCC_MCLK3_C << 
627                                                << 
628                 orientation = <0>;      /* Fro << 
629                                                << 
630                 avdd-supply = <&vreg_l6q>;     << 
631                 dvdd-supply = <&vreg_l2q>;     << 
632                 dovdd-supply = <&vreg_l7q>;    << 
633                                                << 
634                 port {                         << 
635                         ov5675_ep: endpoint {  << 
636                                 clock-lanes =  << 
637                                 data-lanes = < << 
638                                 link-frequenci << 
639                                 remote-endpoin << 
640                         };                     << 
641                 };                             << 
642                                                << 
643         };                                        534         };
644 };                                                535 };
645                                                   536 
646 &dispcc0 {                                        537 &dispcc0 {
647         status = "okay";                          538         status = "okay";
648 };                                                539 };
649                                                   540 
650 &gpu {                                            541 &gpu {
651         status = "okay";                          542         status = "okay";
652                                                   543 
653         zap-shader {                              544         zap-shader {
654                 memory-region = <&gpu_mem>;       545                 memory-region = <&gpu_mem>;
655                 firmware-name = "qcom/sc8280xp    546                 firmware-name = "qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn";
656         };                                        547         };
657 };                                                548 };
658                                                   549 
659 &mdss0 {                                          550 &mdss0 {
660         status = "okay";                          551         status = "okay";
661 };                                                552 };
662                                                   553 
663 &mdss0_dp0 {                                      554 &mdss0_dp0 {
664         status = "okay";                          555         status = "okay";
665 };                                                556 };
666                                                   557 
667 &mdss0_dp0_out {                                  558 &mdss0_dp0_out {
668         data-lanes = <0 1>;                       559         data-lanes = <0 1>;
669         remote-endpoint = <&usb_0_qmpphy_dp_in    560         remote-endpoint = <&usb_0_qmpphy_dp_in>;
670 };                                                561 };
671                                                   562 
672 &mdss0_dp1 {                                      563 &mdss0_dp1 {
673         status = "okay";                          564         status = "okay";
674 };                                                565 };
675                                                   566 
676 &mdss0_dp1_out {                                  567 &mdss0_dp1_out {
677         data-lanes = <0 1>;                       568         data-lanes = <0 1>;
678         remote-endpoint = <&usb_1_qmpphy_dp_in    569         remote-endpoint = <&usb_1_qmpphy_dp_in>;
679 };                                                570 };
680                                                   571 
681 &mdss0_dp3 {                                      572 &mdss0_dp3 {
682         compatible = "qcom,sc8280xp-edp";         573         compatible = "qcom,sc8280xp-edp";
683         /delete-property/ #sound-dai-cells;       574         /delete-property/ #sound-dai-cells;
684                                                   575 
685         data-lanes = <0 1 2 3>;                   576         data-lanes = <0 1 2 3>;
686                                                   577 
687         status = "okay";                          578         status = "okay";
688                                                   579 
689         aux-bus {                                 580         aux-bus {
690                 panel {                           581                 panel {
691                         compatible = "edp-pane    582                         compatible = "edp-panel";
692                                                   583 
693                         backlight = <&backligh    584                         backlight = <&backlight>;
694                         power-supply = <&vreg_    585                         power-supply = <&vreg_edp_3p3>;
695                                                   586 
696                         port {                    587                         port {
697                                 edp_panel_in:     588                                 edp_panel_in: endpoint {
698                                         remote    589                                         remote-endpoint = <&mdss0_dp3_out>;
699                                 };                590                                 };
700                         };                        591                         };
701                 };                                592                 };
702         };                                        593         };
703                                                   594 
704         ports {                                   595         ports {
705                 port@1 {                          596                 port@1 {
706                         reg = <1>;                597                         reg = <1>;
707                         mdss0_dp3_out: endpoin    598                         mdss0_dp3_out: endpoint {
708                                 remote-endpoin    599                                 remote-endpoint = <&edp_panel_in>;
709                         };                        600                         };
710                 };                                601                 };
711         };                                        602         };
712 };                                                603 };
713                                                   604 
714 &mdss0_dp3_phy {                                  605 &mdss0_dp3_phy {
715         compatible = "qcom,sc8280xp-edp-phy";     606         compatible = "qcom,sc8280xp-edp-phy";
716         vdda-phy-supply = <&vreg_l6b>;            607         vdda-phy-supply = <&vreg_l6b>;
717         vdda-pll-supply = <&vreg_l3b>;            608         vdda-pll-supply = <&vreg_l3b>;
718                                                   609 
719         status = "okay";                          610         status = "okay";
720 };                                                611 };
721                                                   612 
722 &i2c4 {                                           613 &i2c4 {
723         clock-frequency = <400000>;               614         clock-frequency = <400000>;
724                                                   615 
725         pinctrl-names = "default";                616         pinctrl-names = "default";
726         pinctrl-0 = <&i2c4_default>;              617         pinctrl-0 = <&i2c4_default>;
727                                                   618 
728         status = "okay";                          619         status = "okay";
729                                                   620 
730         touchscreen@10 {                          621         touchscreen@10 {
731                 compatible = "elan,ekth5015m",    622                 compatible = "elan,ekth5015m", "elan,ekth6915";
732                 reg = <0x10>;                     623                 reg = <0x10>;
733                                                   624 
734                 interrupts-extended = <&tlmm 1    625                 interrupts-extended = <&tlmm 175 IRQ_TYPE_LEVEL_LOW>;
735                 reset-gpios = <&tlmm 99 (GPIO_    626                 reset-gpios = <&tlmm 99 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
736                 no-reset-on-power-off;            627                 no-reset-on-power-off;
737                                                   628 
738                 vcc33-supply = <&vreg_misc_3p3    629                 vcc33-supply = <&vreg_misc_3p3>;
739                 vccio-supply = <&vreg_misc_3p3    630                 vccio-supply = <&vreg_misc_3p3>;
740                                                   631 
741                 pinctrl-names = "default";        632                 pinctrl-names = "default";
742                 pinctrl-0 = <&ts0_default>;       633                 pinctrl-0 = <&ts0_default>;
743         };                                        634         };
744 };                                                635 };
745                                                   636 
746 &i2c11 {                                       << 
747         clock-frequency = <400000>;            << 
748                                                << 
749         pinctrl-names = "default";             << 
750         pinctrl-0 = <&i2c11_default>;          << 
751                                                << 
752         status = "okay";                       << 
753                                                << 
754         pm8008: pmic@c {                       << 
755                 compatible = "qcom,pm8008";    << 
756                 reg = <0xc>;                   << 
757                                                << 
758                 interrupts-extended = <&tlmm 4 << 
759                 reset-gpios = <&tlmm 42 GPIO_A << 
760                                                << 
761                 vdd-l1-l2-supply = <&vreg_s11b << 
762                 vdd-l3-l4-supply = <&vreg_bob> << 
763                 vdd-l5-supply = <&vreg_bob>;   << 
764                 vdd-l6-supply = <&vreg_bob>;   << 
765                 vdd-l7-supply = <&vreg_bob>;   << 
766                                                << 
767                 pinctrl-names = "default";     << 
768                 pinctrl-0 = <&pm8008_default>; << 
769                                                << 
770                 gpio-controller;               << 
771                 #gpio-cells = <2>;             << 
772                 gpio-ranges = <&pm8008 0 0 2>; << 
773                                                << 
774                 interrupt-controller;          << 
775                 #interrupt-cells = <2>;        << 
776                                                << 
777                 #thermal-sensor-cells = <0>;   << 
778                                                << 
779                 regulators {                   << 
780                         vreg_l1q: ldo1 {       << 
781                                 regulator-name << 
782                                 regulator-min- << 
783                                 regulator-max- << 
784                         };                     << 
785                                                << 
786                         vreg_l2q: ldo2 {       << 
787                                 regulator-name << 
788                                 regulator-min- << 
789                                 regulator-max- << 
790                         };                     << 
791                                                << 
792                         vreg_l3q: ldo3 {       << 
793                                 regulator-name << 
794                                 regulator-min- << 
795                                 regulator-max- << 
796                         };                     << 
797                                                << 
798                         vreg_l4q: ldo4 {       << 
799                                 regulator-name << 
800                                 regulator-min- << 
801                                 regulator-max- << 
802                         };                     << 
803                                                << 
804                         vreg_l5q: ldo5 {       << 
805                                 regulator-name << 
806                                 regulator-min- << 
807                                 regulator-max- << 
808                         };                     << 
809                                                << 
810                         vreg_l6q: ldo6 {       << 
811                                 regulator-name << 
812                                 regulator-min- << 
813                                 regulator-max- << 
814                         };                     << 
815                                                << 
816                         vreg_l7q: ldo7 {       << 
817                                 regulator-name << 
818                                 regulator-min- << 
819                                 regulator-max- << 
820                         };                     << 
821                 };                             << 
822         };                                     << 
823 };                                             << 
824                                                << 
825 &i2c21 {                                          637 &i2c21 {
826         clock-frequency = <400000>;               638         clock-frequency = <400000>;
827                                                   639 
828         pinctrl-names = "default";                640         pinctrl-names = "default";
829         pinctrl-0 = <&i2c21_default>, <&tpad_d    641         pinctrl-0 = <&i2c21_default>, <&tpad_default>;
830                                                   642 
831         status = "okay";                          643         status = "okay";
832                                                   644 
833         touchpad@15 {                             645         touchpad@15 {
834                 compatible = "hid-over-i2c";      646                 compatible = "hid-over-i2c";
835                 reg = <0x15>;                     647                 reg = <0x15>;
836                                                   648 
837                 hid-descr-addr = <0x1>;           649                 hid-descr-addr = <0x1>;
838                 interrupts-extended = <&tlmm 1    650                 interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>;
839                 vdd-supply = <&vreg_misc_3p3>;    651                 vdd-supply = <&vreg_misc_3p3>;
840                 vddl-supply = <&vreg_s10b>;       652                 vddl-supply = <&vreg_s10b>;
841                                                   653 
842                 wakeup-source;                    654                 wakeup-source;
843         };                                        655         };
844                                                   656 
845         touchpad@2c {                             657         touchpad@2c {
846                 compatible = "hid-over-i2c";      658                 compatible = "hid-over-i2c";
847                 reg = <0x2c>;                     659                 reg = <0x2c>;
848                                                   660 
849                 hid-descr-addr = <0x20>;          661                 hid-descr-addr = <0x20>;
850                 interrupts-extended = <&tlmm 1    662                 interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>;
851                 vdd-supply = <&vreg_misc_3p3>;    663                 vdd-supply = <&vreg_misc_3p3>;
852                 vddl-supply = <&vreg_s10b>;       664                 vddl-supply = <&vreg_s10b>;
853                                                   665 
854                 wakeup-source;                    666                 wakeup-source;
855         };                                        667         };
856                                                   668 
857         keyboard@68 {                             669         keyboard@68 {
858                 compatible = "hid-over-i2c";      670                 compatible = "hid-over-i2c";
859                 reg = <0x68>;                     671                 reg = <0x68>;
860                                                   672 
861                 hid-descr-addr = <0x1>;           673                 hid-descr-addr = <0x1>;
862                 interrupts-extended = <&tlmm 1    674                 interrupts-extended = <&tlmm 104 IRQ_TYPE_LEVEL_LOW>;
863                 vdd-supply = <&vreg_misc_3p3>;    675                 vdd-supply = <&vreg_misc_3p3>;
864                 vddl-supply = <&vreg_s10b>;       676                 vddl-supply = <&vreg_s10b>;
865                                                   677 
866                 pinctrl-names = "default";        678                 pinctrl-names = "default";
867                 pinctrl-0 = <&kybd_default>;      679                 pinctrl-0 = <&kybd_default>;
868                                                   680 
869                 wakeup-source;                    681                 wakeup-source;
870         };                                        682         };
871 };                                                683 };
872                                                   684 
873 &pcie2a {                                         685 &pcie2a {
874         perst-gpios = <&tlmm 143 GPIO_ACTIVE_L    686         perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
875         wake-gpios = <&tlmm 145 GPIO_ACTIVE_LO    687         wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
876                                                   688 
877         vddpe-3v3-supply = <&vreg_nvme>;          689         vddpe-3v3-supply = <&vreg_nvme>;
878                                                   690 
879         pinctrl-names = "default";                691         pinctrl-names = "default";
880         pinctrl-0 = <&pcie2a_default>;            692         pinctrl-0 = <&pcie2a_default>;
881                                                   693 
882         status = "okay";                          694         status = "okay";
883 };                                                695 };
884                                                   696 
885 &pcie2a_phy {                                     697 &pcie2a_phy {
886         vdda-phy-supply = <&vreg_l6d>;            698         vdda-phy-supply = <&vreg_l6d>;
887         vdda-pll-supply = <&vreg_l4d>;            699         vdda-pll-supply = <&vreg_l4d>;
888                                                   700 
889         status = "okay";                          701         status = "okay";
890 };                                                702 };
891                                                   703 
892 &pcie3a {                                         704 &pcie3a {
893         perst-gpios = <&tlmm 151 GPIO_ACTIVE_L    705         perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
894         wake-gpios = <&tlmm 148 GPIO_ACTIVE_LO    706         wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
895                                                   707 
896         vddpe-3v3-supply = <&vreg_wwan>;          708         vddpe-3v3-supply = <&vreg_wwan>;
897                                                   709 
898         pinctrl-names = "default";                710         pinctrl-names = "default";
899         pinctrl-0 = <&pcie3a_default>;            711         pinctrl-0 = <&pcie3a_default>;
900                                                   712 
901         status = "okay";                          713         status = "okay";
902 };                                                714 };
903                                                   715 
904 &pcie3a_phy {                                     716 &pcie3a_phy {
905         vdda-phy-supply = <&vreg_l6d>;            717         vdda-phy-supply = <&vreg_l6d>;
906         vdda-pll-supply = <&vreg_l4d>;            718         vdda-pll-supply = <&vreg_l4d>;
907                                                   719 
908         status = "okay";                          720         status = "okay";
909 };                                                721 };
910                                                   722 
911 &pcie4 {                                          723 &pcie4 {
912         max-link-speed = <2>;                     724         max-link-speed = <2>;
913                                                   725 
914         perst-gpios = <&tlmm 141 GPIO_ACTIVE_L    726         perst-gpios = <&tlmm 141 GPIO_ACTIVE_LOW>;
915         wake-gpios = <&tlmm 139 GPIO_ACTIVE_LO    727         wake-gpios = <&tlmm 139 GPIO_ACTIVE_LOW>;
916                                                   728 
917         vddpe-3v3-supply = <&vreg_wlan>;          729         vddpe-3v3-supply = <&vreg_wlan>;
918                                                   730 
919         pinctrl-names = "default";                731         pinctrl-names = "default";
920         pinctrl-0 = <&pcie4_default>;             732         pinctrl-0 = <&pcie4_default>;
921                                                   733 
922         status = "okay";                          734         status = "okay";
923 };                                             << 
924                                                   735 
925 &pcie4_port0 {                                 !! 736         pcie@0 {
926         wifi@0 {                               !! 737                 device_type = "pci";
927                 compatible = "pci17cb,1103";   !! 738                 reg = <0x0 0x0 0x0 0x0 0x0>;
928                 reg = <0x10000 0x0 0x0 0x0 0x0 !! 739                 #address-cells = <3>;
                                                   >> 740                 #size-cells = <2>;
                                                   >> 741                 ranges;
                                                   >> 742 
                                                   >> 743                 bus-range = <0x01 0xff>;
                                                   >> 744 
                                                   >> 745                 wifi@0 {
                                                   >> 746                         compatible = "pci17cb,1103";
                                                   >> 747                         reg = <0x10000 0x0 0x0 0x0 0x0>;
929                                                   748 
930                 qcom,ath11k-calibration-varian !! 749                         qcom,ath11k-calibration-variant = "LE_X13S";
                                                   >> 750                 };
931         };                                        751         };
932 };                                                752 };
933                                                   753 
934 &pcie4_phy {                                      754 &pcie4_phy {
935         vdda-phy-supply = <&vreg_l6d>;            755         vdda-phy-supply = <&vreg_l6d>;
936         vdda-pll-supply = <&vreg_l4d>;            756         vdda-pll-supply = <&vreg_l4d>;
937                                                   757 
938         status = "okay";                          758         status = "okay";
939 };                                                759 };
940                                                   760 
941 &pmc8280c_lpg {                                   761 &pmc8280c_lpg {
942         status = "okay";                          762         status = "okay";
943 };                                                763 };
944                                                   764 
945 &pmk8280_adc_tm {                                 765 &pmk8280_adc_tm {
946         status = "okay";                          766         status = "okay";
947                                                   767 
948         sys-therm@0 {                             768         sys-therm@0 {
949                 reg = <0>;                        769                 reg = <0>;
950                 io-channels = <&pmk8280_vadc P    770                 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM1_100K_PU(1)>;
951                 qcom,hw-settle-time-us = <200>    771                 qcom,hw-settle-time-us = <200>;
952                 qcom,avg-samples = <2>;           772                 qcom,avg-samples = <2>;
953                 qcom,ratiometric;                 773                 qcom,ratiometric;
954         };                                        774         };
955                                                   775 
956         sys-therm@1 {                             776         sys-therm@1 {
957                 reg = <1>;                        777                 reg = <1>;
958                 io-channels = <&pmk8280_vadc P    778                 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM2_100K_PU(1)>;
959                 qcom,hw-settle-time-us = <200>    779                 qcom,hw-settle-time-us = <200>;
960                 qcom,avg-samples = <2>;           780                 qcom,avg-samples = <2>;
961                 qcom,ratiometric;                 781                 qcom,ratiometric;
962         };                                        782         };
963                                                   783 
964         sys-therm@2 {                             784         sys-therm@2 {
965                 reg = <2>;                        785                 reg = <2>;
966                 io-channels = <&pmk8280_vadc P    786                 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM3_100K_PU(1)>;
967                 qcom,hw-settle-time-us = <200>    787                 qcom,hw-settle-time-us = <200>;
968                 qcom,avg-samples = <2>;           788                 qcom,avg-samples = <2>;
969                 qcom,ratiometric;                 789                 qcom,ratiometric;
970         };                                        790         };
971                                                   791 
972         sys-therm@3 {                             792         sys-therm@3 {
973                 reg = <3>;                        793                 reg = <3>;
974                 io-channels = <&pmk8280_vadc P    794                 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM4_100K_PU(1)>;
975                 qcom,hw-settle-time-us = <200>    795                 qcom,hw-settle-time-us = <200>;
976                 qcom,avg-samples = <2>;           796                 qcom,avg-samples = <2>;
977                 qcom,ratiometric;                 797                 qcom,ratiometric;
978         };                                        798         };
979                                                   799 
980         sys-therm@4 {                             800         sys-therm@4 {
981                 reg = <4>;                        801                 reg = <4>;
982                 io-channels = <&pmk8280_vadc P    802                 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM1_100K_PU(3)>;
983                 qcom,hw-settle-time-us = <200>    803                 qcom,hw-settle-time-us = <200>;
984                 qcom,avg-samples = <2>;           804                 qcom,avg-samples = <2>;
985                 qcom,ratiometric;                 805                 qcom,ratiometric;
986         };                                        806         };
987                                                   807 
988         sys-therm@5 {                             808         sys-therm@5 {
989                 reg = <5>;                        809                 reg = <5>;
990                 io-channels = <&pmk8280_vadc P    810                 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM2_100K_PU(3)>;
991                 qcom,hw-settle-time-us = <200>    811                 qcom,hw-settle-time-us = <200>;
992                 qcom,avg-samples = <2>;           812                 qcom,avg-samples = <2>;
993                 qcom,ratiometric;                 813                 qcom,ratiometric;
994         };                                        814         };
995                                                   815 
996         sys-therm@6 {                             816         sys-therm@6 {
997                 reg = <6>;                        817                 reg = <6>;
998                 io-channels = <&pmk8280_vadc P    818                 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM3_100K_PU(3)>;
999                 qcom,hw-settle-time-us = <200>    819                 qcom,hw-settle-time-us = <200>;
1000                 qcom,avg-samples = <2>;          820                 qcom,avg-samples = <2>;
1001                 qcom,ratiometric;                821                 qcom,ratiometric;
1002         };                                       822         };
1003                                                  823 
1004         sys-therm@7 {                            824         sys-therm@7 {
1005                 reg = <7>;                       825                 reg = <7>;
1006                 io-channels = <&pmk8280_vadc     826                 io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM4_100K_PU(3)>;
1007                 qcom,hw-settle-time-us = <200    827                 qcom,hw-settle-time-us = <200>;
1008                 qcom,avg-samples = <2>;          828                 qcom,avg-samples = <2>;
1009                 qcom,ratiometric;                829                 qcom,ratiometric;
1010         };                                       830         };
1011 };                                               831 };
1012                                                  832 
1013 &pmk8280_pon_pwrkey {                            833 &pmk8280_pon_pwrkey {
1014         status = "okay";                         834         status = "okay";
1015 };                                               835 };
1016                                                  836 
1017 &pmk8280_pon_resin {                             837 &pmk8280_pon_resin {
1018         status = "okay";                         838         status = "okay";
1019 };                                               839 };
1020                                                  840 
1021 &pmk8280_rtc {                                   841 &pmk8280_rtc {
1022         nvmem-cells = <&rtc_offset>;             842         nvmem-cells = <&rtc_offset>;
1023         nvmem-cell-names = "offset";             843         nvmem-cell-names = "offset";
1024                                                  844 
1025         status = "okay";                         845         status = "okay";
1026 };                                               846 };
1027                                                  847 
1028 &pmk8280_sdam_6 {                                848 &pmk8280_sdam_6 {
1029         status = "okay";                         849         status = "okay";
1030                                                  850 
1031         rtc_offset: rtc-offset@bc {              851         rtc_offset: rtc-offset@bc {
1032                 reg = <0xbc 0x4>;                852                 reg = <0xbc 0x4>;
1033         };                                       853         };
1034 };                                               854 };
1035                                                  855 
1036 &pmk8280_vadc {                                  856 &pmk8280_vadc {
1037         channel@144 {                            857         channel@144 {
1038                 reg = <PM8350_ADC7_AMUX_THM1_    858                 reg = <PM8350_ADC7_AMUX_THM1_100K_PU(1)>;
1039                 qcom,hw-settle-time = <200>;     859                 qcom,hw-settle-time = <200>;
1040                 qcom,ratiometric;                860                 qcom,ratiometric;
1041                 label = "sys_therm1";            861                 label = "sys_therm1";
1042         };                                       862         };
1043                                                  863 
1044         channel@145 {                            864         channel@145 {
1045                 reg = <PM8350_ADC7_AMUX_THM2_    865                 reg = <PM8350_ADC7_AMUX_THM2_100K_PU(1)>;
1046                 qcom,hw-settle-time = <200>;     866                 qcom,hw-settle-time = <200>;
1047                 qcom,ratiometric;                867                 qcom,ratiometric;
1048                 label = "sys_therm2";            868                 label = "sys_therm2";
1049         };                                       869         };
1050                                                  870 
1051         channel@146 {                            871         channel@146 {
1052                 reg = <PM8350_ADC7_AMUX_THM3_    872                 reg = <PM8350_ADC7_AMUX_THM3_100K_PU(1)>;
1053                 qcom,hw-settle-time = <200>;     873                 qcom,hw-settle-time = <200>;
1054                 qcom,ratiometric;                874                 qcom,ratiometric;
1055                 label = "sys_therm3";            875                 label = "sys_therm3";
1056         };                                       876         };
1057                                                  877 
1058         channel@147 {                            878         channel@147 {
1059                 reg = <PM8350_ADC7_AMUX_THM4_    879                 reg = <PM8350_ADC7_AMUX_THM4_100K_PU(1)>;
1060                 qcom,hw-settle-time = <200>;     880                 qcom,hw-settle-time = <200>;
1061                 qcom,ratiometric;                881                 qcom,ratiometric;
1062                 label = "sys_therm4";            882                 label = "sys_therm4";
1063         };                                       883         };
1064                                                  884 
1065         channel@344 {                            885         channel@344 {
1066                 reg = <PM8350_ADC7_AMUX_THM1_    886                 reg = <PM8350_ADC7_AMUX_THM1_100K_PU(3)>;
1067                 qcom,hw-settle-time = <200>;     887                 qcom,hw-settle-time = <200>;
1068                 qcom,ratiometric;                888                 qcom,ratiometric;
1069                 label = "sys_therm5";            889                 label = "sys_therm5";
1070         };                                       890         };
1071                                                  891 
1072         channel@345 {                            892         channel@345 {
1073                 reg = <PM8350_ADC7_AMUX_THM2_    893                 reg = <PM8350_ADC7_AMUX_THM2_100K_PU(3)>;
1074                 qcom,hw-settle-time = <200>;     894                 qcom,hw-settle-time = <200>;
1075                 qcom,ratiometric;                895                 qcom,ratiometric;
1076                 label = "sys_therm6";            896                 label = "sys_therm6";
1077         };                                       897         };
1078                                                  898 
1079         channel@346 {                            899         channel@346 {
1080                 reg = <PM8350_ADC7_AMUX_THM3_    900                 reg = <PM8350_ADC7_AMUX_THM3_100K_PU(3)>;
1081                 qcom,hw-settle-time = <200>;     901                 qcom,hw-settle-time = <200>;
1082                 qcom,ratiometric;                902                 qcom,ratiometric;
1083                 label = "sys_therm7";            903                 label = "sys_therm7";
1084         };                                       904         };
1085                                                  905 
1086         channel@347 {                            906         channel@347 {
1087                 reg = <PM8350_ADC7_AMUX_THM4_    907                 reg = <PM8350_ADC7_AMUX_THM4_100K_PU(3)>;
1088                 qcom,hw-settle-time = <200>;     908                 qcom,hw-settle-time = <200>;
1089                 qcom,ratiometric;                909                 qcom,ratiometric;
1090                 label = "sys_therm8";            910                 label = "sys_therm8";
1091         };                                       911         };
1092 };                                               912 };
1093                                                  913 
1094 &qup0 {                                          914 &qup0 {
1095         status = "okay";                         915         status = "okay";
1096 };                                               916 };
1097                                                  917 
1098 &qup1 {                                          918 &qup1 {
1099         status = "okay";                         919         status = "okay";
1100 };                                               920 };
1101                                                  921 
1102 &qup2 {                                          922 &qup2 {
1103         status = "okay";                         923         status = "okay";
1104 };                                               924 };
1105                                                  925 
1106 &remoteproc_adsp {                               926 &remoteproc_adsp {
1107         firmware-name = "qcom/sc8280xp/LENOVO    927         firmware-name = "qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn";
1108                                                  928 
1109         status = "okay";                         929         status = "okay";
1110 };                                               930 };
1111                                                  931 
1112 &remoteproc_nsp0 {                               932 &remoteproc_nsp0 {
1113         firmware-name = "qcom/sc8280xp/LENOVO    933         firmware-name = "qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn";
1114                                                  934 
1115         status = "okay";                         935         status = "okay";
1116 };                                               936 };
1117                                                  937 
1118 &rxmacro {                                       938 &rxmacro {
1119         status = "okay";                         939         status = "okay";
1120 };                                               940 };
1121                                                  941 
1122 &sound {                                         942 &sound {
1123         compatible = "qcom,sc8280xp-sndcard";    943         compatible = "qcom,sc8280xp-sndcard";
1124         model = "SC8280XP-LENOVO-X13S";          944         model = "SC8280XP-LENOVO-X13S";
1125         audio-routing =                          945         audio-routing =
1126                 "SpkrLeft IN", "WSA_SPK1 OUT"    946                 "SpkrLeft IN", "WSA_SPK1 OUT",
1127                 "SpkrRight IN", "WSA_SPK2 OUT    947                 "SpkrRight IN", "WSA_SPK2 OUT",
1128                 "IN1_HPHL", "HPHL_OUT",          948                 "IN1_HPHL", "HPHL_OUT",
1129                 "IN2_HPHR", "HPHR_OUT",          949                 "IN2_HPHR", "HPHR_OUT",
1130                 "AMIC2", "MIC BIAS2",            950                 "AMIC2", "MIC BIAS2",
1131                 "VA DMIC0", "MIC BIAS1",         951                 "VA DMIC0", "MIC BIAS1",
1132                 "VA DMIC1", "MIC BIAS1",         952                 "VA DMIC1", "MIC BIAS1",
1133                 "VA DMIC2", "MIC BIAS3",         953                 "VA DMIC2", "MIC BIAS3",
1134                 "VA DMIC0", "VA MIC BIAS1",      954                 "VA DMIC0", "VA MIC BIAS1",
1135                 "VA DMIC1", "VA MIC BIAS1",      955                 "VA DMIC1", "VA MIC BIAS1",
1136                 "VA DMIC2", "VA MIC BIAS3",      956                 "VA DMIC2", "VA MIC BIAS3",
1137                 "TX SWR_ADC1", "ADC2_OUTPUT";    957                 "TX SWR_ADC1", "ADC2_OUTPUT";
1138                                                  958 
1139         wcd-playback-dai-link {                  959         wcd-playback-dai-link {
1140                 link-name = "WCD Playback";      960                 link-name = "WCD Playback";
1141                 cpu {                            961                 cpu {
1142                         sound-dai = <&q6apmbe    962                         sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>;
1143                 };                               963                 };
1144                                                  964 
1145                 codec {                          965                 codec {
1146                         sound-dai = <&wcd938x    966                         sound-dai = <&wcd938x 0>, <&swr1 0>, <&rxmacro 0>;
1147                 };                               967                 };
1148                                                  968 
1149                 platform {                       969                 platform {
1150                         sound-dai = <&q6apm>;    970                         sound-dai = <&q6apm>;
1151                 };                               971                 };
1152         };                                       972         };
1153                                                  973 
1154         wcd-capture-dai-link {                   974         wcd-capture-dai-link {
1155                 link-name = "WCD Capture";       975                 link-name = "WCD Capture";
1156                 cpu {                            976                 cpu {
1157                         sound-dai = <&q6apmbe    977                         sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
1158                 };                               978                 };
1159                                                  979 
1160                 codec {                          980                 codec {
1161                         sound-dai = <&wcd938x    981                         sound-dai = <&wcd938x 1>, <&swr2 0>, <&txmacro 0>;
1162                 };                               982                 };
1163                                                  983 
1164                 platform {                       984                 platform {
1165                         sound-dai = <&q6apm>;    985                         sound-dai = <&q6apm>;
1166                 };                               986                 };
1167         };                                       987         };
1168                                                  988 
1169         wsa-dai-link {                           989         wsa-dai-link {
1170                 link-name = "WSA Playback";      990                 link-name = "WSA Playback";
1171                 cpu {                            991                 cpu {
1172                         sound-dai = <&q6apmbe    992                         sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
1173                 };                               993                 };
1174                                                  994 
1175                 codec {                          995                 codec {
1176                         sound-dai = <&left_sp    996                         sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&wsamacro 0>;
1177                 };                               997                 };
1178                                                  998 
1179                 platform {                       999                 platform {
1180                         sound-dai = <&q6apm>;    1000                         sound-dai = <&q6apm>;
1181                 };                               1001                 };
1182         };                                       1002         };
1183                                                  1003 
1184         va-dai-link {                            1004         va-dai-link {
1185                 link-name = "VA Capture";        1005                 link-name = "VA Capture";
1186                 cpu {                            1006                 cpu {
1187                         sound-dai = <&q6apmbe    1007                         sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
1188                 };                               1008                 };
1189                                                  1009 
1190                 platform {                       1010                 platform {
1191                         sound-dai = <&q6apm>;    1011                         sound-dai = <&q6apm>;
1192                 };                               1012                 };
1193                                                  1013 
1194                 codec {                          1014                 codec {
1195                         sound-dai = <&vamacro    1015                         sound-dai = <&vamacro 0>;
1196                 };                               1016                 };
1197         };                                       1017         };
1198 };                                               1018 };
1199                                                  1019 
1200 &swr0 {                                          1020 &swr0 {
1201         status = "okay";                         1021         status = "okay";
1202                                                  1022 
1203         left_spkr: wsa8830-left@0,1 {            1023         left_spkr: wsa8830-left@0,1 {
1204                 compatible = "sdw10217020200"    1024                 compatible = "sdw10217020200";
1205                 reg = <0 1>;                     1025                 reg = <0 1>;
1206                 pinctrl-names = "default";       1026                 pinctrl-names = "default";
1207                 pinctrl-0 = <&spkr_1_sd_n_def    1027                 pinctrl-0 = <&spkr_1_sd_n_default>;
1208                 powerdown-gpios = <&tlmm 178     1028                 powerdown-gpios = <&tlmm 178 GPIO_ACTIVE_LOW>;
1209                 #thermal-sensor-cells = <0>;     1029                 #thermal-sensor-cells = <0>;
1210                 sound-name-prefix = "SpkrLeft    1030                 sound-name-prefix = "SpkrLeft";
1211                 #sound-dai-cells = <0>;          1031                 #sound-dai-cells = <0>;
1212                 vdd-supply = <&vreg_s10b>;       1032                 vdd-supply = <&vreg_s10b>;
1213         };                                       1033         };
1214                                                  1034 
1215         right_spkr: wsa8830-right@0,2 {          1035         right_spkr: wsa8830-right@0,2 {
1216                 compatible = "sdw10217020200"    1036                 compatible = "sdw10217020200";
1217                 reg = <0 2>;                     1037                 reg = <0 2>;
1218                 pinctrl-names = "default";       1038                 pinctrl-names = "default";
1219                 pinctrl-0 = <&spkr_2_sd_n_def    1039                 pinctrl-0 = <&spkr_2_sd_n_default>;
1220                 powerdown-gpios = <&tlmm 179     1040                 powerdown-gpios = <&tlmm 179 GPIO_ACTIVE_LOW>;
1221                 #thermal-sensor-cells = <0>;     1041                 #thermal-sensor-cells = <0>;
1222                 sound-name-prefix = "SpkrRigh    1042                 sound-name-prefix = "SpkrRight";
1223                 #sound-dai-cells = <0>;          1043                 #sound-dai-cells = <0>;
1224                 vdd-supply = <&vreg_s10b>;       1044                 vdd-supply = <&vreg_s10b>;
1225         };                                       1045         };
1226 };                                               1046 };
1227                                                  1047 
1228 &swr1 {                                          1048 &swr1 {
1229         status = "okay";                         1049         status = "okay";
1230                                                  1050 
1231         wcd_rx: wcd9380-rx@0,4 {                 1051         wcd_rx: wcd9380-rx@0,4 {
1232                 compatible = "sdw20217010d00"    1052                 compatible = "sdw20217010d00";
1233                 reg = <0 4>;                     1053                 reg = <0 4>;
1234                 qcom,rx-port-mapping = <1 2 3    1054                 qcom,rx-port-mapping = <1 2 3 4 5>;
1235         };                                       1055         };
1236 };                                               1056 };
1237                                                  1057 
1238 &swr2 {                                          1058 &swr2 {
1239         status = "okay";                         1059         status = "okay";
1240                                                  1060 
1241         wcd_tx: wcd9380-tx@0,3 {                 1061         wcd_tx: wcd9380-tx@0,3 {
1242                 compatible = "sdw20217010d00"    1062                 compatible = "sdw20217010d00";
1243                 reg = <0 3>;                     1063                 reg = <0 3>;
1244                 qcom,tx-port-mapping = <1 1 2    1064                 qcom,tx-port-mapping = <1 1 2 3>;
1245         };                                       1065         };
1246 };                                               1066 };
1247                                                  1067 
1248 &txmacro {                                       1068 &txmacro {
1249         status = "okay";                         1069         status = "okay";
1250 };                                               1070 };
1251                                                  1071 
1252 &uart2 {                                         1072 &uart2 {
1253         pinctrl-0 = <&uart2_default>;            1073         pinctrl-0 = <&uart2_default>;
1254         pinctrl-names = "default";               1074         pinctrl-names = "default";
1255                                                  1075 
1256         status = "okay";                         1076         status = "okay";
1257                                                  1077 
1258         bluetooth {                              1078         bluetooth {
1259                 compatible = "qcom,wcn6855-bt    1079                 compatible = "qcom,wcn6855-bt";
1260                                                  1080 
1261                 vddio-supply = <&vreg_s10b>;     1081                 vddio-supply = <&vreg_s10b>;
1262                 vddbtcxmx-supply = <&vreg_s12    1082                 vddbtcxmx-supply = <&vreg_s12b>;
1263                 vddrfacmn-supply = <&vreg_s12    1083                 vddrfacmn-supply = <&vreg_s12b>;
1264                 vddrfa0p8-supply = <&vreg_s12    1084                 vddrfa0p8-supply = <&vreg_s12b>;
1265                 vddrfa1p2-supply = <&vreg_s11    1085                 vddrfa1p2-supply = <&vreg_s11b>;
1266                 vddrfa1p7-supply = <&vreg_s1c    1086                 vddrfa1p7-supply = <&vreg_s1c>;
1267                                                  1087 
1268                 max-speed = <3200000>;           1088                 max-speed = <3200000>;
1269                                                  1089 
1270                 enable-gpios = <&tlmm 133 GPI    1090                 enable-gpios = <&tlmm 133 GPIO_ACTIVE_HIGH>;
1271                 swctrl-gpios = <&tlmm 132 GPI    1091                 swctrl-gpios = <&tlmm 132 GPIO_ACTIVE_HIGH>;
1272                                                  1092 
1273                 pinctrl-0 = <&bt_default>;       1093                 pinctrl-0 = <&bt_default>;
1274                 pinctrl-names = "default";       1094                 pinctrl-names = "default";
1275         };                                       1095         };
1276 };                                               1096 };
1277                                                  1097 
1278 &usb_0 {                                         1098 &usb_0 {
1279         status = "okay";                         1099         status = "okay";
1280 };                                               1100 };
1281                                                  1101 
1282 &usb_0_dwc3 {                                    1102 &usb_0_dwc3 {
1283         dr_mode = "host";                        1103         dr_mode = "host";
1284 };                                               1104 };
1285                                                  1105 
1286 &usb_0_dwc3_hs {                              << 
1287         remote-endpoint = <&pmic_glink_con0_h << 
1288 };                                            << 
1289                                               << 
1290 &usb_0_hsphy {                                   1106 &usb_0_hsphy {
1291         vdda-pll-supply = <&vreg_l9d>;           1107         vdda-pll-supply = <&vreg_l9d>;
1292         vdda18-supply = <&vreg_l1c>;             1108         vdda18-supply = <&vreg_l1c>;
1293         vdda33-supply = <&vreg_l7d>;             1109         vdda33-supply = <&vreg_l7d>;
1294                                                  1110 
1295         status = "okay";                         1111         status = "okay";
1296 };                                               1112 };
1297                                                  1113 
1298 &usb_0_qmpphy {                                  1114 &usb_0_qmpphy {
1299         vdda-phy-supply = <&vreg_l9d>;           1115         vdda-phy-supply = <&vreg_l9d>;
1300         vdda-pll-supply = <&vreg_l4d>;           1116         vdda-pll-supply = <&vreg_l4d>;
1301                                                  1117 
1302         orientation-switch;                      1118         orientation-switch;
1303                                                  1119 
1304         status = "okay";                         1120         status = "okay";
1305 };                                               1121 };
1306                                                  1122 
1307 &usb_0_qmpphy_dp_in {                            1123 &usb_0_qmpphy_dp_in {
1308         remote-endpoint = <&mdss0_dp0_out>;      1124         remote-endpoint = <&mdss0_dp0_out>;
1309 };                                               1125 };
1310                                                  1126 
1311 &usb_0_qmpphy_out {                              1127 &usb_0_qmpphy_out {
1312         remote-endpoint = <&pmic_glink_con0_s    1128         remote-endpoint = <&pmic_glink_con0_ss>;
1313 };                                               1129 };
1314                                                  1130 
                                                   >> 1131 &usb_0_role_switch {
                                                   >> 1132         remote-endpoint = <&pmic_glink_con0_hs>;
                                                   >> 1133 };
                                                   >> 1134 
1315 &usb_1 {                                         1135 &usb_1 {
1316         status = "okay";                         1136         status = "okay";
1317 };                                               1137 };
1318                                                  1138 
1319 &usb_1_dwc3 {                                    1139 &usb_1_dwc3 {
1320         dr_mode = "host";                        1140         dr_mode = "host";
1321 };                                               1141 };
1322                                                  1142 
1323 &usb_1_dwc3_hs {                              << 
1324         remote-endpoint = <&pmic_glink_con1_h << 
1325 };                                            << 
1326                                               << 
1327 &usb_1_hsphy {                                   1143 &usb_1_hsphy {
1328         vdda-pll-supply = <&vreg_l4b>;           1144         vdda-pll-supply = <&vreg_l4b>;
1329         vdda18-supply = <&vreg_l1c>;             1145         vdda18-supply = <&vreg_l1c>;
1330         vdda33-supply = <&vreg_l13c>;            1146         vdda33-supply = <&vreg_l13c>;
1331                                                  1147 
1332         status = "okay";                         1148         status = "okay";
1333 };                                               1149 };
1334                                                  1150 
1335 &usb_1_qmpphy {                                  1151 &usb_1_qmpphy {
1336         vdda-phy-supply = <&vreg_l4b>;           1152         vdda-phy-supply = <&vreg_l4b>;
1337         vdda-pll-supply = <&vreg_l3b>;           1153         vdda-pll-supply = <&vreg_l3b>;
1338                                                  1154 
1339         orientation-switch;                      1155         orientation-switch;
1340                                                  1156 
1341         status = "okay";                         1157         status = "okay";
1342 };                                               1158 };
1343                                                  1159 
1344 &usb_1_qmpphy_dp_in {                            1160 &usb_1_qmpphy_dp_in {
1345         remote-endpoint = <&mdss0_dp1_out>;      1161         remote-endpoint = <&mdss0_dp1_out>;
1346 };                                               1162 };
1347                                                  1163 
1348 &usb_1_qmpphy_out {                              1164 &usb_1_qmpphy_out {
1349         remote-endpoint = <&pmic_glink_con1_s    1165         remote-endpoint = <&pmic_glink_con1_ss>;
1350 };                                               1166 };
1351                                                  1167 
1352 &usb_2 {                                      !! 1168 &usb_1_role_switch {
1353         status = "okay";                      !! 1169         remote-endpoint = <&pmic_glink_con1_hs>;
1354 };                                            << 
1355                                               << 
1356 &usb_2_hsphy0 {                               << 
1357         vdda-pll-supply = <&vreg_l1b>;        << 
1358         vdda18-supply = <&vreg_l1c>;          << 
1359         vdda33-supply = <&vreg_l7d>;          << 
1360                                               << 
1361         status = "okay";                      << 
1362 };                                            << 
1363                                               << 
1364 &usb_2_hsphy1 {                               << 
1365         vdda-pll-supply = <&vreg_l8d>;        << 
1366         vdda18-supply = <&vreg_l1c>;          << 
1367         vdda33-supply = <&vreg_l7d>;          << 
1368                                               << 
1369         status = "okay";                      << 
1370 };                                            << 
1371                                               << 
1372 &usb_2_hsphy2 {                               << 
1373         vdda-pll-supply = <&vreg_l10d>;       << 
1374         vdda18-supply = <&vreg_l8c>;          << 
1375         vdda33-supply = <&vreg_l2d>;          << 
1376                                               << 
1377         status = "okay";                      << 
1378 };                                            << 
1379                                               << 
1380 &usb_2_hsphy3 {                               << 
1381         vdda-pll-supply = <&vreg_l10d>;       << 
1382         vdda18-supply = <&vreg_l8c>;          << 
1383         vdda33-supply = <&vreg_l2d>;          << 
1384                                               << 
1385         status = "okay";                      << 
1386 };                                            << 
1387                                               << 
1388 &usb_2_qmpphy0 {                              << 
1389         vdda-phy-supply = <&vreg_l1b>;        << 
1390         vdda-pll-supply = <&vreg_l4d>;        << 
1391                                               << 
1392         status = "okay";                      << 
1393 };                                            << 
1394                                               << 
1395 &usb_2_qmpphy1 {                              << 
1396         vdda-phy-supply = <&vreg_l8d>;        << 
1397         vdda-pll-supply = <&vreg_l4d>;        << 
1398                                               << 
1399         status = "okay";                      << 
1400 };                                               1170 };
1401                                                  1171 
1402 &vamacro {                                       1172 &vamacro {
1403         pinctrl-0 = <&dmic01_default>, <&dmic    1173         pinctrl-0 = <&dmic01_default>, <&dmic23_default>;
1404         pinctrl-names = "default";               1174         pinctrl-names = "default";
1405                                                  1175 
1406         vdd-micb-supply = <&vreg_s10b>;          1176         vdd-micb-supply = <&vreg_s10b>;
1407                                                  1177 
1408         qcom,dmic-sample-rate = <4800000>;       1178         qcom,dmic-sample-rate = <4800000>;
1409                                                  1179 
1410         status = "okay";                         1180         status = "okay";
1411 };                                               1181 };
1412                                                  1182 
1413 &wsamacro {                                      1183 &wsamacro {
1414         status = "okay";                         1184         status = "okay";
1415 };                                               1185 };
1416                                                  1186 
1417 &xo_board_clk {                                  1187 &xo_board_clk {
1418         clock-frequency = <38400000>;            1188         clock-frequency = <38400000>;
1419 };                                               1189 };
1420                                                  1190 
1421 /* PINCTRL */                                    1191 /* PINCTRL */
1422                                                  1192 
1423 &lpass_tlmm {                                    1193 &lpass_tlmm {
1424         status = "okay";                         1194         status = "okay";
1425 };                                               1195 };
1426                                                  1196 
1427 &pmc8280_1_gpios {                               1197 &pmc8280_1_gpios {
1428         edp_bl_en: edp-bl-en-state {             1198         edp_bl_en: edp-bl-en-state {
1429                 pins = "gpio8";                  1199                 pins = "gpio8";
1430                 function = "normal";             1200                 function = "normal";
1431         };                                       1201         };
1432                                                  1202 
1433         edp_bl_reg_en: edp-bl-reg-en-state {     1203         edp_bl_reg_en: edp-bl-reg-en-state {
1434                 pins = "gpio9";                  1204                 pins = "gpio9";
1435                 function = "normal";             1205                 function = "normal";
1436         };                                       1206         };
1437                                                  1207 
1438         misc_3p3_reg_en: misc-3p3-reg-en-stat    1208         misc_3p3_reg_en: misc-3p3-reg-en-state {
1439                 pins = "gpio1";                  1209                 pins = "gpio1";
1440                 function = "normal";             1210                 function = "normal";
1441         };                                       1211         };
1442 };                                               1212 };
1443                                                  1213 
1444 &pmc8280_2_gpios {                               1214 &pmc8280_2_gpios {
1445         wwan_sw_en: wwan-sw-en-state {           1215         wwan_sw_en: wwan-sw-en-state {
1446                 pins = "gpio1";                  1216                 pins = "gpio1";
1447                 function = "normal";             1217                 function = "normal";
1448         };                                       1218         };
1449 };                                               1219 };
1450                                                  1220 
1451 &pmc8280c_gpios {                                1221 &pmc8280c_gpios {
1452         edp_bl_pwm: edp-bl-pwm-state {           1222         edp_bl_pwm: edp-bl-pwm-state {
1453                 pins = "gpio8";                  1223                 pins = "gpio8";
1454                 function = "func1";              1224                 function = "func1";
1455         };                                       1225         };
1456 };                                               1226 };
1457                                                  1227 
1458 &pmr735a_gpios {                                 1228 &pmr735a_gpios {
1459         hastings_reg_en: hastings-reg-en-stat    1229         hastings_reg_en: hastings-reg-en-state {
1460                 pins = "gpio1";                  1230                 pins = "gpio1";
1461                 function = "normal";             1231                 function = "normal";
1462         };                                       1232         };
1463 };                                               1233 };
1464                                                  1234 
1465 &tlmm {                                          1235 &tlmm {
1466         gpio-reserved-ranges = <70 2>, <74 6>    1236         gpio-reserved-ranges = <70 2>, <74 6>, <125 2>, <128 2>, <154 4>;
1467                                                  1237 
1468         bt_default: bt-default-state {           1238         bt_default: bt-default-state {
1469                 hstp-bt-en-pins {                1239                 hstp-bt-en-pins {
1470                         pins = "gpio133";        1240                         pins = "gpio133";
1471                         function = "gpio";       1241                         function = "gpio";
1472                         drive-strength = <16>    1242                         drive-strength = <16>;
1473                         bias-disable;            1243                         bias-disable;
1474                 };                               1244                 };
1475                                                  1245 
1476                 hstp-sw-ctrl-pins {              1246                 hstp-sw-ctrl-pins {
1477                         pins = "gpio132";        1247                         pins = "gpio132";
1478                         function = "gpio";       1248                         function = "gpio";
1479                         bias-pull-down;          1249                         bias-pull-down;
1480                 };                               1250                 };
1481         };                                       1251         };
1482                                                  1252 
1483         cam_indicator_en: cam-indicator-en-st    1253         cam_indicator_en: cam-indicator-en-state {
1484                 pins = "gpio28";                 1254                 pins = "gpio28";
1485                 function = "gpio";               1255                 function = "gpio";
1486                 drive-strength = <2>;            1256                 drive-strength = <2>;
1487                 bias-disable;                    1257                 bias-disable;
1488         };                                       1258         };
1489                                                  1259 
1490         cam_rgb_default: cam-rgb-default-stat << 
1491                 mclk-pins {                   << 
1492                         pins = "gpio17";      << 
1493                         function = "cam_mclk" << 
1494                         drive-strength = <16> << 
1495                         bias-disable;         << 
1496                 };                            << 
1497                                               << 
1498                 sc-rgb-xshut-n-pins {         << 
1499                         pins = "gpio15";      << 
1500                         function = "gpio";    << 
1501                         drive-strength = <2>; << 
1502                         bias-disable;         << 
1503                 };                            << 
1504         };                                    << 
1505                                               << 
1506         edp_reg_en: edp-reg-en-state {           1260         edp_reg_en: edp-reg-en-state {
1507                 pins = "gpio25";                 1261                 pins = "gpio25";
1508                 function = "gpio";               1262                 function = "gpio";
1509                 drive-strength = <16>;           1263                 drive-strength = <16>;
1510                 bias-disable;                    1264                 bias-disable;
1511         };                                       1265         };
1512                                                  1266 
1513         hall_int_n_default: hall-int-n-state     1267         hall_int_n_default: hall-int-n-state {
1514                 pins = "gpio107";                1268                 pins = "gpio107";
1515                 function = "gpio";               1269                 function = "gpio";
1516                 bias-disable;                    1270                 bias-disable;
1517         };                                       1271         };
1518                                                  1272 
1519         i2c4_default: i2c4-default-state {       1273         i2c4_default: i2c4-default-state {
1520                 pins = "gpio171", "gpio172";     1274                 pins = "gpio171", "gpio172";
1521                 function = "qup4";               1275                 function = "qup4";
1522                 drive-strength = <16>;           1276                 drive-strength = <16>;
1523                 bias-disable;                    1277                 bias-disable;
1524         };                                       1278         };
1525                                                  1279 
1526         i2c11_default: i2c11-default-state {  << 
1527                 pins = "gpio18", "gpio19";    << 
1528                 function = "qup11";           << 
1529                 drive-strength = <16>;        << 
1530                 bias-disable;                 << 
1531         };                                    << 
1532                                               << 
1533         i2c21_default: i2c21-default-state {     1280         i2c21_default: i2c21-default-state {
1534                 pins = "gpio81", "gpio82";       1281                 pins = "gpio81", "gpio82";
1535                 function = "qup21";              1282                 function = "qup21";
1536                 drive-strength = <16>;           1283                 drive-strength = <16>;
1537                 bias-disable;                    1284                 bias-disable;
1538         };                                       1285         };
1539                                                  1286 
1540         kybd_default: kybd-default-state {       1287         kybd_default: kybd-default-state {
1541                 disable-pins {                   1288                 disable-pins {
1542                         pins = "gpio102";        1289                         pins = "gpio102";
1543                         function = "gpio";       1290                         function = "gpio";
1544                         output-low;              1291                         output-low;
1545                 };                               1292                 };
1546                                                  1293 
1547                 int-n-pins {                     1294                 int-n-pins {
1548                         pins = "gpio104";        1295                         pins = "gpio104";
1549                         function = "gpio";       1296                         function = "gpio";
1550                         bias-disable;            1297                         bias-disable;
1551                 };                               1298                 };
1552                                                  1299 
1553                 reset-pins {                     1300                 reset-pins {
1554                         pins = "gpio105";        1301                         pins = "gpio105";
1555                         function = "gpio";       1302                         function = "gpio";
1556                         bias-disable;            1303                         bias-disable;
1557                 };                               1304                 };
1558         };                                       1305         };
1559                                                  1306 
1560         nvme_reg_en: nvme-reg-en-state {         1307         nvme_reg_en: nvme-reg-en-state {
1561                 pins = "gpio135";                1308                 pins = "gpio135";
1562                 function = "gpio";               1309                 function = "gpio";
1563                 drive-strength = <2>;            1310                 drive-strength = <2>;
1564                 bias-disable;                    1311                 bias-disable;
1565         };                                       1312         };
1566                                                  1313 
1567         pcie2a_default: pcie2a-default-state     1314         pcie2a_default: pcie2a-default-state {
1568                 clkreq-n-pins {                  1315                 clkreq-n-pins {
1569                         pins = "gpio142";        1316                         pins = "gpio142";
1570                         function = "pcie2a_cl    1317                         function = "pcie2a_clkreq";
1571                         drive-strength = <2>;    1318                         drive-strength = <2>;
1572                         bias-pull-up;            1319                         bias-pull-up;
1573                 };                               1320                 };
1574                                                  1321 
1575                 perst-n-pins {                   1322                 perst-n-pins {
1576                         pins = "gpio143";        1323                         pins = "gpio143";
1577                         function = "gpio";       1324                         function = "gpio";
1578                         drive-strength = <2>;    1325                         drive-strength = <2>;
1579                         bias-disable;         !! 1326                         bias-pull-down;
1580                 };                               1327                 };
1581                                                  1328 
1582                 wake-n-pins {                    1329                 wake-n-pins {
1583                         pins = "gpio145";     !! 1330                        pins = "gpio145";
1584                         function = "gpio";    !! 1331                        function = "gpio";
1585                         drive-strength = <2>; !! 1332                        drive-strength = <2>;
1586                         bias-pull-up;         !! 1333                        bias-pull-up;
1587                 };                            !! 1334                };
1588         };                                       1335         };
1589                                                  1336 
1590         pcie3a_default: pcie3a-default-state     1337         pcie3a_default: pcie3a-default-state {
1591                 clkreq-n-pins {                  1338                 clkreq-n-pins {
1592                         pins = "gpio150";        1339                         pins = "gpio150";
1593                         function = "pcie3a_cl    1340                         function = "pcie3a_clkreq";
1594                         drive-strength = <2>;    1341                         drive-strength = <2>;
1595                         bias-pull-up;            1342                         bias-pull-up;
1596                 };                               1343                 };
1597                                                  1344 
1598                 perst-n-pins {                   1345                 perst-n-pins {
1599                         pins = "gpio151";        1346                         pins = "gpio151";
1600                         function = "gpio";       1347                         function = "gpio";
1601                         drive-strength = <2>;    1348                         drive-strength = <2>;
1602                         bias-disable;         !! 1349                         bias-pull-down;
1603                 };                               1350                 };
1604                                                  1351 
1605                 wake-n-pins {                    1352                 wake-n-pins {
1606                         pins = "gpio148";        1353                         pins = "gpio148";
1607                         function = "gpio";       1354                         function = "gpio";
1608                         drive-strength = <2>;    1355                         drive-strength = <2>;
1609                         bias-pull-up;            1356                         bias-pull-up;
1610                 };                               1357                 };
1611         };                                       1358         };
1612                                                  1359 
1613         pcie4_default: pcie4-default-state {     1360         pcie4_default: pcie4-default-state {
1614                 clkreq-n-pins {                  1361                 clkreq-n-pins {
1615                         pins = "gpio140";        1362                         pins = "gpio140";
1616                         function = "pcie4_clk    1363                         function = "pcie4_clkreq";
1617                         drive-strength = <2>;    1364                         drive-strength = <2>;
1618                         bias-pull-up;            1365                         bias-pull-up;
1619                 };                               1366                 };
1620                                                  1367 
1621                 perst-n-pins {                   1368                 perst-n-pins {
1622                         pins = "gpio141";        1369                         pins = "gpio141";
1623                         function = "gpio";       1370                         function = "gpio";
1624                         drive-strength = <2>;    1371                         drive-strength = <2>;
1625                         bias-disable;         !! 1372                         bias-pull-down;
1626                 };                               1373                 };
1627                                                  1374 
1628                 wake-n-pins {                    1375                 wake-n-pins {
1629                         pins = "gpio139";        1376                         pins = "gpio139";
1630                         function = "gpio";       1377                         function = "gpio";
1631                         drive-strength = <2>;    1378                         drive-strength = <2>;
1632                         bias-pull-up;            1379                         bias-pull-up;
1633                 };                            << 
1634         };                                    << 
1635                                               << 
1636         pm8008_default: pm8008-default-state  << 
1637                 int-pins {                    << 
1638                         pins = "gpio41";      << 
1639                         function = "gpio";    << 
1640                         drive-strength = <2>; << 
1641                         bias-pull-down;       << 
1642                 };                            << 
1643                                               << 
1644                 reset-n-pins {                << 
1645                         pins = "gpio42";      << 
1646                         function = "gpio";    << 
1647                         drive-strength = <2>; << 
1648                         bias-disable;         << 
1649                 };                               1380                 };
1650         };                                       1381         };
1651                                                  1382 
1652         spkr_1_sd_n_default: spkr-1-sd-n-defa    1383         spkr_1_sd_n_default: spkr-1-sd-n-default-state {
1653                 perst-n-pins {                   1384                 perst-n-pins {
1654                         pins = "gpio178";        1385                         pins = "gpio178";
1655                         function = "gpio";       1386                         function = "gpio";
1656                         drive-strength = <16>    1387                         drive-strength = <16>;
1657                         bias-disable;            1388                         bias-disable;
1658                         output-high;             1389                         output-high;
1659                 };                               1390                 };
1660         };                                       1391         };
1661                                                  1392 
1662         spkr_2_sd_n_default: spkr-2-sd-n-defa    1393         spkr_2_sd_n_default: spkr-2-sd-n-default-state {
1663                 perst-n-pins {                   1394                 perst-n-pins {
1664                         pins = "gpio179";        1395                         pins = "gpio179";
1665                         function = "gpio";       1396                         function = "gpio";
1666                         drive-strength = <16>    1397                         drive-strength = <16>;
1667                         bias-disable;            1398                         bias-disable;
1668                         output-high;             1399                         output-high;
1669                 };                               1400                 };
1670         };                                       1401         };
1671                                                  1402 
1672         tpad_default: tpad-default-state {       1403         tpad_default: tpad-default-state {
1673                 int-n-pins {                     1404                 int-n-pins {
1674                         pins = "gpio182";        1405                         pins = "gpio182";
1675                         function = "gpio";       1406                         function = "gpio";
1676                         bias-disable;            1407                         bias-disable;
1677                 };                               1408                 };
1678         };                                       1409         };
1679                                                  1410 
1680         ts0_default: ts0-default-state {         1411         ts0_default: ts0-default-state {
1681                 int-n-pins {                     1412                 int-n-pins {
1682                         pins = "gpio175";        1413                         pins = "gpio175";
1683                         function = "gpio";       1414                         function = "gpio";
1684                         bias-disable;            1415                         bias-disable;
1685                 };                               1416                 };
1686                                                  1417 
1687                 reset-n-pins {                   1418                 reset-n-pins {
1688                         pins = "gpio99";         1419                         pins = "gpio99";
1689                         function = "gpio";       1420                         function = "gpio";
1690                         drive-strength = <2>;    1421                         drive-strength = <2>;
1691                         bias-disable;            1422                         bias-disable;
1692                 };                               1423                 };
1693         };                                       1424         };
1694                                                  1425 
1695         uart2_default: uart2-default-state {     1426         uart2_default: uart2-default-state {
1696                 cts-pins {                       1427                 cts-pins {
1697                         pins = "gpio121";        1428                         pins = "gpio121";
1698                         function = "qup2";       1429                         function = "qup2";
1699                         bias-bus-hold;           1430                         bias-bus-hold;
1700                 };                               1431                 };
1701                                                  1432 
1702                 rts-pins {                       1433                 rts-pins {
1703                         pins = "gpio122";        1434                         pins = "gpio122";
1704                         function = "qup2";       1435                         function = "qup2";
1705                         drive-strength = <2>;    1436                         drive-strength = <2>;
1706                         bias-disable;            1437                         bias-disable;
1707                 };                               1438                 };
1708                                                  1439 
1709                 rx-pins {                        1440                 rx-pins {
1710                         pins = "gpio124";        1441                         pins = "gpio124";
1711                         function = "qup2";       1442                         function = "qup2";
1712                         bias-pull-up;            1443                         bias-pull-up;
1713                 };                               1444                 };
1714                                                  1445 
1715                 tx-pins {                        1446                 tx-pins {
1716                         pins = "gpio123";        1447                         pins = "gpio123";
1717                         function = "qup2";       1448                         function = "qup2";
1718                         drive-strength = <2>;    1449                         drive-strength = <2>;
1719                         bias-disable;            1450                         bias-disable;
1720                 };                               1451                 };
1721         };                                       1452         };
1722                                                  1453 
1723         usb0_sbu_default: usb0-sbu-state {       1454         usb0_sbu_default: usb0-sbu-state {
1724                 oe-n-pins {                      1455                 oe-n-pins {
1725                         pins = "gpio101";        1456                         pins = "gpio101";
1726                         function = "gpio";       1457                         function = "gpio";
1727                         bias-disable;            1458                         bias-disable;
1728                         drive-strength = <16>    1459                         drive-strength = <16>;
1729                         output-high;             1460                         output-high;
1730                 };                               1461                 };
1731                                                  1462 
1732                 sel-pins {                       1463                 sel-pins {
1733                         pins = "gpio164";        1464                         pins = "gpio164";
1734                         function = "gpio";       1465                         function = "gpio";
1735                         bias-disable;            1466                         bias-disable;
1736                         drive-strength = <16>    1467                         drive-strength = <16>;
1737                 };                               1468                 };
1738         };                                       1469         };
1739                                                  1470 
1740         usb1_sbu_default: usb1-sbu-state {       1471         usb1_sbu_default: usb1-sbu-state {
1741                 oe-n-pins {                      1472                 oe-n-pins {
1742                         pins = "gpio48";         1473                         pins = "gpio48";
1743                         function = "gpio";       1474                         function = "gpio";
1744                         bias-disable;            1475                         bias-disable;
1745                         drive-strength = <16>    1476                         drive-strength = <16>;
1746                         output-high;             1477                         output-high;
1747                 };                               1478                 };
1748                                                  1479 
1749                 sel-pins {                       1480                 sel-pins {
1750                         pins = "gpio47";         1481                         pins = "gpio47";
1751                         function = "gpio";       1482                         function = "gpio";
1752                         bias-disable;            1483                         bias-disable;
1753                         drive-strength = <16>    1484                         drive-strength = <16>;
1754                 };                               1485                 };
1755         };                                       1486         };
1756                                                  1487 
1757         wcd_default: wcd-default-state {         1488         wcd_default: wcd-default-state {
1758                 reset-pins {                     1489                 reset-pins {
1759                         pins = "gpio106";        1490                         pins = "gpio106";
1760                         function = "gpio";       1491                         function = "gpio";
1761                         bias-disable;            1492                         bias-disable;
1762                 };                               1493                 };
1763         };                                       1494         };
1764 };                                               1495 };
                                                      

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