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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/sm8550-hdk.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/sm8550-hdk.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/qcom/sm8550-hdk.dts (Version linux-6.10.14)


  1 // SPDX-License-Identifier: BSD-3-Clause            1 // SPDX-License-Identifier: BSD-3-Clause
  2 /*                                                  2 /*
  3  * Copyright (c) 2024 Linaro Limited                3  * Copyright (c) 2024 Linaro Limited
  4  */                                                 4  */
  5                                                     5 
  6 /dts-v1/;                                           6 /dts-v1/;
  7                                                     7 
  8 #include <dt-bindings/leds/common.h>                8 #include <dt-bindings/leds/common.h>
  9 #include <dt-bindings/regulator/qcom,rpmh-regu      9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
 10 #include "sm8550.dtsi"                             10 #include "sm8550.dtsi"
 11 #include "pm8010.dtsi"                             11 #include "pm8010.dtsi"
 12 #include "pm8550.dtsi"                             12 #include "pm8550.dtsi"
 13 #include "pm8550b.dtsi"                            13 #include "pm8550b.dtsi"
 14 #define PMK8550VE_SID 5                            14 #define PMK8550VE_SID 5
 15 #include "pm8550ve.dtsi"                           15 #include "pm8550ve.dtsi"
 16 #include "pm8550vs.dtsi"                           16 #include "pm8550vs.dtsi"
 17 #include "pmk8550.dtsi"                            17 #include "pmk8550.dtsi"
 18 #include "pmr735d_a.dtsi"                          18 #include "pmr735d_a.dtsi"
 19                                                    19 
 20 / {                                                20 / {
 21         model = "Qualcomm Technologies, Inc. S     21         model = "Qualcomm Technologies, Inc. SM8550 HDK";
 22         compatible = "qcom,sm8550-hdk", "qcom,     22         compatible = "qcom,sm8550-hdk", "qcom,sm8550";
 23         chassis-type = "embedded";                 23         chassis-type = "embedded";
 24                                                    24 
 25         aliases {                                  25         aliases {
 26                 serial0 = &uart7;                  26                 serial0 = &uart7;
 27                 serial1 = &uart14;                 27                 serial1 = &uart14;
 28         };                                         28         };
 29                                                    29 
 30         wcd938x: audio-codec {                     30         wcd938x: audio-codec {
 31                 compatible = "qcom,wcd9385-cod     31                 compatible = "qcom,wcd9385-codec";
 32                                                    32 
 33                 pinctrl-names = "default";         33                 pinctrl-names = "default";
 34                 pinctrl-0 = <&wcd_default>;        34                 pinctrl-0 = <&wcd_default>;
 35                                                    35 
 36                 qcom,micbias1-microvolt = <180     36                 qcom,micbias1-microvolt = <1800000>;
 37                 qcom,micbias2-microvolt = <180     37                 qcom,micbias2-microvolt = <1800000>;
 38                 qcom,micbias3-microvolt = <180     38                 qcom,micbias3-microvolt = <1800000>;
 39                 qcom,micbias4-microvolt = <180     39                 qcom,micbias4-microvolt = <1800000>;
 40                 qcom,mbhc-buttons-vthreshold-m     40                 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
 41                 qcom,mbhc-headset-vthreshold-m     41                 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
 42                 qcom,mbhc-headphone-vthreshold     42                 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
 43                 qcom,rx-device = <&wcd_rx>;        43                 qcom,rx-device = <&wcd_rx>;
 44                 qcom,tx-device = <&wcd_tx>;        44                 qcom,tx-device = <&wcd_tx>;
 45                                                    45 
 46                 reset-gpios = <&tlmm 108 GPIO_     46                 reset-gpios = <&tlmm 108 GPIO_ACTIVE_LOW>;
 47                                                    47 
 48                 vdd-buck-supply = <&vreg_l15b_     48                 vdd-buck-supply = <&vreg_l15b_1p8>;
 49                 vdd-rxtx-supply = <&vreg_l15b_     49                 vdd-rxtx-supply = <&vreg_l15b_1p8>;
 50                 vdd-io-supply = <&vreg_l15b_1p     50                 vdd-io-supply = <&vreg_l15b_1p8>;
 51                 vdd-mic-bias-supply = <&vreg_b     51                 vdd-mic-bias-supply = <&vreg_bob1>;
 52                                                    52 
 53                 #sound-dai-cells = <1>;            53                 #sound-dai-cells = <1>;
 54         };                                         54         };
 55                                                    55 
 56         chosen {                                   56         chosen {
 57                 stdout-path = "serial0:115200n     57                 stdout-path = "serial0:115200n8";
 58         };                                         58         };
 59                                                    59 
 60         hdmi-out {                                 60         hdmi-out {
 61                 compatible = "hdmi-connector";     61                 compatible = "hdmi-connector";
 62                 type = "a";                        62                 type = "a";
 63                                                    63 
 64                 port {                             64                 port {
 65                         hdmi_connector_out: en     65                         hdmi_connector_out: endpoint {
 66                                 remote-endpoin     66                                 remote-endpoint = <&lt9611_out>;
 67                         };                         67                         };
 68                 };                                 68                 };
 69         };                                         69         };
 70                                                    70 
 71         gpio-keys {                                71         gpio-keys {
 72                 compatible = "gpio-keys";          72                 compatible = "gpio-keys";
 73                                                    73 
 74                 pinctrl-0 = <&volume_up_n>;        74                 pinctrl-0 = <&volume_up_n>;
 75                 pinctrl-names = "default";         75                 pinctrl-names = "default";
 76                                                    76 
 77                 key-volume-up {                    77                 key-volume-up {
 78                         label = "Volume Up";       78                         label = "Volume Up";
 79                         linux,code = <KEY_VOLU     79                         linux,code = <KEY_VOLUMEUP>;
 80                         gpios = <&pm8550_gpios     80                         gpios = <&pm8550_gpios 6 GPIO_ACTIVE_LOW>;
 81                         debounce-interval = <1     81                         debounce-interval = <15>;
 82                         linux,can-disable;         82                         linux,can-disable;
 83                         wakeup-source;             83                         wakeup-source;
 84                 };                                 84                 };
 85         };                                         85         };
 86                                                    86 
 87         leds {                                     87         leds {
 88                 compatible = "gpio-leds";          88                 compatible = "gpio-leds";
 89                                                    89 
 90                 led-0 {                            90                 led-0 {
 91                         function = LED_FUNCTIO     91                         function = LED_FUNCTION_BLUETOOTH;
 92                         color = <LED_COLOR_ID_     92                         color = <LED_COLOR_ID_BLUE>;
 93                         gpios = <&tlmm 159 GPI     93                         gpios = <&tlmm 159 GPIO_ACTIVE_HIGH>;
 94                         linux,default-trigger      94                         linux,default-trigger = "bluetooth-power";
 95                         default-state = "off";     95                         default-state = "off";
 96                 };                                 96                 };
 97                                                    97 
 98                 led-1 {                            98                 led-1 {
 99                         function = LED_FUNCTIO     99                         function = LED_FUNCTION_INDICATOR;
100                         color = <LED_COLOR_ID_    100                         color = <LED_COLOR_ID_GREEN>;
101                         gpios = <&tlmm 160 GPI    101                         gpios = <&tlmm 160 GPIO_ACTIVE_HIGH>;
102                         default-state = "off";    102                         default-state = "off";
103                         panic-indicator;          103                         panic-indicator;
104                 };                                104                 };
105                                                   105 
106                 led-2 {                           106                 led-2 {
107                         function = LED_FUNCTIO    107                         function = LED_FUNCTION_WLAN;
108                         color = <LED_COLOR_ID_    108                         color = <LED_COLOR_ID_ORANGE>;
109                         gpios = <&tlmm 162 GPI    109                         gpios = <&tlmm 162 GPIO_ACTIVE_HIGH>;
110                         linux,default-trigger     110                         linux,default-trigger = "phy0tx";
111                         default-state = "off";    111                         default-state = "off";
112                 };                                112                 };
113         };                                        113         };
114                                                   114 
115         pmic-glink {                              115         pmic-glink {
116                 compatible = "qcom,sm8550-pmic    116                 compatible = "qcom,sm8550-pmic-glink", "qcom,pmic-glink";
117                 #address-cells = <1>;             117                 #address-cells = <1>;
118                 #size-cells = <0>;                118                 #size-cells = <0>;
119                 orientation-gpios = <&tlmm 11     119                 orientation-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>;
120                                                   120 
121                 connector@0 {                     121                 connector@0 {
122                         compatible = "usb-c-co    122                         compatible = "usb-c-connector";
123                         reg = <0>;                123                         reg = <0>;
124                         power-role = "dual";      124                         power-role = "dual";
125                         data-role = "dual";       125                         data-role = "dual";
126                                                   126 
127                         ports {                   127                         ports {
128                                 #address-cells    128                                 #address-cells = <1>;
129                                 #size-cells =     129                                 #size-cells = <0>;
130                                                   130 
131                                 port@0 {          131                                 port@0 {
132                                         reg =     132                                         reg = <0>;
133                                                   133 
134                                         pmic_g    134                                         pmic_glink_hs_in: endpoint {
135                                                   135                                                 remote-endpoint = <&usb_1_dwc3_hs>;
136                                         };        136                                         };
137                                 };                137                                 };
138                                                   138 
139                                 port@1 {          139                                 port@1 {
140                                         reg =     140                                         reg = <1>;
141                                                   141 
142                                         pmic_g    142                                         pmic_glink_ss_in: endpoint {
143                                                   143                                                 remote-endpoint = <&usb_dp_qmpphy_out>;
144                                         };        144                                         };
145                                 };                145                                 };
146                                                   146 
147                                 port@2 {          147                                 port@2 {
148                                         reg =     148                                         reg = <2>;
149                                                   149 
150                                         pmic_g    150                                         pmic_glink_sbu: endpoint {
151                                                   151                                                 remote-endpoint = <&fsa4480_sbu_mux>;
152                                         };        152                                         };
153                                 };                153                                 };
154                         };                        154                         };
155                 };                                155                 };
156         };                                        156         };
157                                                   157 
158         lt9611_1v2: regulator-lt9611-1v2 {        158         lt9611_1v2: regulator-lt9611-1v2 {
159                 compatible = "regulator-fixed"    159                 compatible = "regulator-fixed";
160                                                   160 
161                 regulator-name = "LT9611_1V2";    161                 regulator-name = "LT9611_1V2";
162                 regulator-min-microvolt = <120    162                 regulator-min-microvolt = <1200000>;
163                 regulator-max-microvolt = <120    163                 regulator-max-microvolt = <1200000>;
164                                                   164 
165                 vin-supply = <&vph_pwr>;          165                 vin-supply = <&vph_pwr>;
166                 gpio = <&tlmm 152 GPIO_ACTIVE_    166                 gpio = <&tlmm 152 GPIO_ACTIVE_HIGH>;
167                                                   167 
168                 enable-active-high;               168                 enable-active-high;
169         };                                        169         };
170                                                   170 
171         lt9611_3v3: regulator-lt9611-3v3 {        171         lt9611_3v3: regulator-lt9611-3v3 {
172                 compatible = "regulator-fixed"    172                 compatible = "regulator-fixed";
173                                                   173 
174                 regulator-name = "LT9611_3V3";    174                 regulator-name = "LT9611_3V3";
175                 regulator-min-microvolt = <330    175                 regulator-min-microvolt = <3300000>;
176                 regulator-max-microvolt = <330    176                 regulator-max-microvolt = <3300000>;
177                                                   177 
178                 vin-supply = <&vreg_bob_3v3>;     178                 vin-supply = <&vreg_bob_3v3>;
179                 gpio = <&tlmm 6 GPIO_ACTIVE_HI    179                 gpio = <&tlmm 6 GPIO_ACTIVE_HIGH>;
180                                                   180 
181                 enable-active-high;               181                 enable-active-high;
182         };                                        182         };
183                                                   183 
184         vph_pwr: regulator-vph-pwr {              184         vph_pwr: regulator-vph-pwr {
185                 compatible = "regulator-fixed"    185                 compatible = "regulator-fixed";
186                                                   186 
187                 regulator-name = "vph_pwr";       187                 regulator-name = "vph_pwr";
188                 regulator-min-microvolt = <370    188                 regulator-min-microvolt = <3700000>;
189                 regulator-max-microvolt = <370    189                 regulator-max-microvolt = <3700000>;
190                 regulator-always-on;              190                 regulator-always-on;
191                 regulator-boot-on;                191                 regulator-boot-on;
192         };                                        192         };
193                                                   193 
194         vreg_bob_3v3: regulator-vreg-bob-3v3 {    194         vreg_bob_3v3: regulator-vreg-bob-3v3 {
195                 compatible = "regulator-fixed"    195                 compatible = "regulator-fixed";
196                                                   196 
197                 regulator-name = "VREG_BOB_3P3    197                 regulator-name = "VREG_BOB_3P3";
198                 regulator-min-microvolt = <330    198                 regulator-min-microvolt = <3300000>;
199                 regulator-max-microvolt = <330    199                 regulator-max-microvolt = <3300000>;
200                                                   200 
201                 vin-supply = <&vph_pwr>;          201                 vin-supply = <&vph_pwr>;
202         };                                        202         };
203                                                   203 
204         sound {                                   204         sound {
205                 compatible = "qcom,sm8550-sndc    205                 compatible = "qcom,sm8550-sndcard", "qcom,sm8450-sndcard";
206                 model = "SM8550-HDK";             206                 model = "SM8550-HDK";
207                 audio-routing = "SpkrLeft IN",    207                 audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT",
208                                 "SpkrRight IN"    208                                 "SpkrRight IN", "WSA_SPK2 OUT",
209                                 "IN1_HPHL", "H    209                                 "IN1_HPHL", "HPHL_OUT",
210                                 "IN2_HPHR", "H    210                                 "IN2_HPHR", "HPHR_OUT",
211                                 "AMIC1", "MIC     211                                 "AMIC1", "MIC BIAS1",
212                                 "AMIC2", "MIC     212                                 "AMIC2", "MIC BIAS2",
213                                 "AMIC5", "MIC     213                                 "AMIC5", "MIC BIAS4",
214                                 "TX SWR_INPUT0    214                                 "TX SWR_INPUT0", "ADC1_OUTPUT",
215                                 "TX SWR_INPUT1    215                                 "TX SWR_INPUT1", "ADC2_OUTPUT",
216                                 "TX SWR_INPUT1    216                                 "TX SWR_INPUT1", "ADC4_OUTPUT";
217                                                   217 
218                 wcd-playback-dai-link {           218                 wcd-playback-dai-link {
219                         link-name = "WCD Playb    219                         link-name = "WCD Playback";
220                                                   220 
221                         cpu {                     221                         cpu {
222                                 sound-dai = <&    222                                 sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>;
223                         };                        223                         };
224                                                   224 
225                         codec {                   225                         codec {
226                                 sound-dai = <&    226                                 sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>;
227                         };                        227                         };
228                                                   228 
229                         platform {                229                         platform {
230                                 sound-dai = <&    230                                 sound-dai = <&q6apm>;
231                         };                        231                         };
232                 };                                232                 };
233                                                   233 
234                 wcd-capture-dai-link {            234                 wcd-capture-dai-link {
235                         link-name = "WCD Captu    235                         link-name = "WCD Capture";
236                                                   236 
237                         cpu {                     237                         cpu {
238                                 sound-dai = <&    238                                 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
239                         };                        239                         };
240                                                   240 
241                         codec {                   241                         codec {
242                                 sound-dai = <&    242                                 sound-dai = <&wcd938x 1>, <&swr2 0>, <&lpass_txmacro 0>;
243                         };                        243                         };
244                                                   244 
245                         platform {                245                         platform {
246                                 sound-dai = <&    246                                 sound-dai = <&q6apm>;
247                         };                        247                         };
248                 };                                248                 };
249                                                   249 
250                 wsa-dai-link {                    250                 wsa-dai-link {
251                         link-name = "WSA Playb    251                         link-name = "WSA Playback";
252                                                   252 
253                         cpu {                     253                         cpu {
254                                 sound-dai = <&    254                                 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
255                         };                        255                         };
256                                                   256 
257                         codec {                   257                         codec {
258                                 sound-dai = <&    258                                 sound-dai = <&north_spkr>, <&south_spkr>, <&swr0 0>, <&lpass_wsamacro 0>;
259                         };                        259                         };
260                                                   260 
261                         platform {                261                         platform {
262                                 sound-dai = <&    262                                 sound-dai = <&q6apm>;
263                         };                        263                         };
264                 };                                264                 };
265                                                   265 
266                 va-dai-link {                     266                 va-dai-link {
267                         link-name = "VA Captur    267                         link-name = "VA Capture";
268                                                   268 
269                         cpu {                     269                         cpu {
270                                 sound-dai = <&    270                                 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
271                         };                        271                         };
272                                                   272 
273                         codec {                   273                         codec {
274                                 sound-dai = <&    274                                 sound-dai = <&lpass_vamacro 0>;
275                         };                        275                         };
276                                                   276 
277                         platform {                277                         platform {
278                                 sound-dai = <&    278                                 sound-dai = <&q6apm>;
279                         };                        279                         };
280                 };                                280                 };
281         };                                        281         };
282                                                << 
283         wcn7850-pmu {                          << 
284                 compatible = "qcom,wcn7850-pmu << 
285                                                << 
286                 pinctrl-names = "default";     << 
287                 pinctrl-0 = <&wlan_en>, <&bt_d << 
288                                                << 
289                 wlan-enable-gpios = <&tlmm 80  << 
290                 bt-enable-gpios = <&tlmm 81 GP << 
291                                                << 
292                 vdd-supply = <&vreg_s5g_0p85>; << 
293                 vddio-supply = <&vreg_l15b_1p8 << 
294                 vddaon-supply = <&vreg_s2g_0p8 << 
295                 vdddig-supply = <&vreg_s4e_0p9 << 
296                 vddrfa1p2-supply = <&vreg_s4g_ << 
297                 vddrfa1p8-supply = <&vreg_s6g_ << 
298                                                << 
299                 regulators {                   << 
300                         vreg_pmu_rfa_cmn: ldo0 << 
301                                 regulator-name << 
302                         };                     << 
303                                                << 
304                         vreg_pmu_aon_0p59: ldo << 
305                                 regulator-name << 
306                         };                     << 
307                                                << 
308                         vreg_pmu_wlcx_0p8: ldo << 
309                                 regulator-name << 
310                         };                     << 
311                                                << 
312                         vreg_pmu_wlmx_0p85: ld << 
313                                 regulator-name << 
314                         };                     << 
315                                                << 
316                         vreg_pmu_btcmx_0p85: l << 
317                                 regulator-name << 
318                         };                     << 
319                                                << 
320                         vreg_pmu_rfa_0p8: ldo5 << 
321                                 regulator-name << 
322                         };                     << 
323                                                << 
324                         vreg_pmu_rfa_1p2: ldo6 << 
325                                 regulator-name << 
326                         };                     << 
327                                                << 
328                         vreg_pmu_rfa_1p8: ldo7 << 
329                                 regulator-name << 
330                         };                     << 
331                                                << 
332                         vreg_pmu_pcie_0p9: ldo << 
333                                 regulator-name << 
334                         };                     << 
335                                                << 
336                         vreg_pmu_pcie_1p8: ldo << 
337                                 regulator-name << 
338                         };                     << 
339                 };                             << 
340         };                                     << 
341 };                                                282 };
342                                                   283 
343 &apps_rsc {                                       284 &apps_rsc {
344         regulators-0 {                            285         regulators-0 {
345                 compatible = "qcom,pm8550-rpmh    286                 compatible = "qcom,pm8550-rpmh-regulators";
346                                                   287 
347                 vdd-bob1-supply = <&vph_pwr>;     288                 vdd-bob1-supply = <&vph_pwr>;
348                 vdd-bob2-supply = <&vph_pwr>;     289                 vdd-bob2-supply = <&vph_pwr>;
349                 vdd-l1-l4-l10-supply = <&vreg_    290                 vdd-l1-l4-l10-supply = <&vreg_s6g_1p86>;
350                 vdd-l2-l13-l14-supply = <&vreg    291                 vdd-l2-l13-l14-supply = <&vreg_bob1>;
351                 vdd-l3-supply = <&vreg_s4g_1p2    292                 vdd-l3-supply = <&vreg_s4g_1p25>;
352                 vdd-l5-l16-supply = <&vreg_bob    293                 vdd-l5-l16-supply = <&vreg_bob1>;
353                 vdd-l6-l7-supply = <&vreg_bob1    294                 vdd-l6-l7-supply = <&vreg_bob1>;
354                 vdd-l8-l9-supply = <&vreg_bob1    295                 vdd-l8-l9-supply = <&vreg_bob1>;
355                 vdd-l11-supply = <&vreg_s4g_1p    296                 vdd-l11-supply = <&vreg_s4g_1p25>;
356                 vdd-l12-supply = <&vreg_s6g_1p    297                 vdd-l12-supply = <&vreg_s6g_1p86>;
357                 vdd-l15-supply = <&vreg_s6g_1p    298                 vdd-l15-supply = <&vreg_s6g_1p86>;
358                 vdd-l17-supply = <&vreg_bob2>;    299                 vdd-l17-supply = <&vreg_bob2>;
359                                                   300 
360                 qcom,pmic-id = "b";               301                 qcom,pmic-id = "b";
361                                                   302 
362                 vreg_bob1: bob1 {                 303                 vreg_bob1: bob1 {
363                         regulator-name = "vreg    304                         regulator-name = "vreg_bob1";
364                         regulator-min-microvol    305                         regulator-min-microvolt = <3296000>;
365                         regulator-max-microvol    306                         regulator-max-microvolt = <3960000>;
366                         regulator-initial-mode    307                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
367                 };                                308                 };
368                                                   309 
369                 vreg_bob2: bob2 {                 310                 vreg_bob2: bob2 {
370                         regulator-name = "vreg    311                         regulator-name = "vreg_bob2";
371                         regulator-min-microvol    312                         regulator-min-microvolt = <2720000>;
372                         regulator-max-microvol    313                         regulator-max-microvolt = <3960000>;
373                         regulator-initial-mode    314                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
374                 };                                315                 };
375                                                   316 
376                 vreg_l1b_1p8: ldo1 {              317                 vreg_l1b_1p8: ldo1 {
377                         regulator-name = "vreg    318                         regulator-name = "vreg_l1b_1p8";
378                         regulator-min-microvol    319                         regulator-min-microvolt = <1800000>;
379                         regulator-max-microvol    320                         regulator-max-microvolt = <1800000>;
380                         regulator-initial-mode    321                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
381                         regulator-allow-set-lo    322                         regulator-allow-set-load;
382                         regulator-allowed-mode    323                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
383                                                   324                                                    RPMH_REGULATOR_MODE_HPM>;
384                 };                                325                 };
385                                                   326 
386                 vreg_l2b_3p0: ldo2 {              327                 vreg_l2b_3p0: ldo2 {
387                         regulator-name = "vreg    328                         regulator-name = "vreg_l2b_3p0";
388                         regulator-min-microvol    329                         regulator-min-microvolt = <3008000>;
389                         regulator-max-microvol    330                         regulator-max-microvolt = <3008000>;
390                         regulator-initial-mode    331                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
391                         regulator-allow-set-lo    332                         regulator-allow-set-load;
392                         regulator-allowed-mode    333                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
393                                                   334                                                    RPMH_REGULATOR_MODE_HPM>;
394                 };                                335                 };
395                                                   336 
396                 vreg_l5b_3p1: ldo5 {              337                 vreg_l5b_3p1: ldo5 {
397                         regulator-name = "vreg    338                         regulator-name = "vreg_l5b_3p1";
398                         regulator-min-microvol    339                         regulator-min-microvolt = <3104000>;
399                         regulator-max-microvol    340                         regulator-max-microvolt = <3104000>;
400                         regulator-initial-mode    341                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
401                         regulator-allow-set-lo    342                         regulator-allow-set-load;
402                         regulator-allowed-mode    343                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
403                                                   344                                                    RPMH_REGULATOR_MODE_HPM>;
404                 };                                345                 };
405                                                   346 
406                 vreg_l6b_1p8: ldo6 {              347                 vreg_l6b_1p8: ldo6 {
407                         regulator-name = "vreg    348                         regulator-name = "vreg_l6b_1p8";
408                         regulator-min-microvol    349                         regulator-min-microvolt = <1800000>;
409                         regulator-max-microvol    350                         regulator-max-microvolt = <3008000>;
410                         regulator-initial-mode    351                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
411                         regulator-allow-set-lo    352                         regulator-allow-set-load;
412                         regulator-allowed-mode    353                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
413                                                   354                                                    RPMH_REGULATOR_MODE_HPM>;
414                 };                                355                 };
415                                                   356 
416                 vreg_l7b_1p8: ldo7 {              357                 vreg_l7b_1p8: ldo7 {
417                         regulator-name = "vreg    358                         regulator-name = "vreg_l7b_1p8";
418                         regulator-min-microvol    359                         regulator-min-microvolt = <1800000>;
419                         regulator-max-microvol    360                         regulator-max-microvolt = <3008000>;
420                         regulator-initial-mode    361                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
421                         regulator-allow-set-lo    362                         regulator-allow-set-load;
422                         regulator-allowed-mode    363                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
423                                                   364                                                    RPMH_REGULATOR_MODE_HPM>;
424                 };                                365                 };
425                                                   366 
426                 vreg_l8b_1p8: ldo8 {              367                 vreg_l8b_1p8: ldo8 {
427                         regulator-name = "vreg    368                         regulator-name = "vreg_l8b_1p8";
428                         regulator-min-microvol    369                         regulator-min-microvolt = <1800000>;
429                         regulator-max-microvol    370                         regulator-max-microvolt = <3008000>;
430                         regulator-initial-mode    371                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
431                         regulator-allow-set-lo    372                         regulator-allow-set-load;
432                         regulator-allowed-mode    373                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
433                                                   374                                                    RPMH_REGULATOR_MODE_HPM>;
434                 };                                375                 };
435                                                   376 
436                 vreg_l9b_2p9: ldo9 {              377                 vreg_l9b_2p9: ldo9 {
437                         regulator-name = "vreg    378                         regulator-name = "vreg_l9b_2p9";
438                         regulator-min-microvol    379                         regulator-min-microvolt = <2960000>;
439                         regulator-max-microvol    380                         regulator-max-microvolt = <3008000>;
440                         regulator-initial-mode    381                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
441                         regulator-allow-set-lo    382                         regulator-allow-set-load;
442                         regulator-allowed-mode    383                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
443                                                   384                                                    RPMH_REGULATOR_MODE_HPM>;
444                 };                                385                 };
445                                                   386 
446                 vreg_l11b_1p2: ldo11 {            387                 vreg_l11b_1p2: ldo11 {
447                         regulator-name = "vreg    388                         regulator-name = "vreg_l11b_1p2";
448                         regulator-min-microvol    389                         regulator-min-microvolt = <1200000>;
449                         regulator-max-microvol    390                         regulator-max-microvolt = <1504000>;
450                         regulator-initial-mode    391                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
451                         regulator-allow-set-lo    392                         regulator-allow-set-load;
452                         regulator-allowed-mode    393                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
453                                                   394                                                    RPMH_REGULATOR_MODE_HPM>;
454                 };                                395                 };
455                                                   396 
456                 vreg_l12b_1p8: ldo12 {            397                 vreg_l12b_1p8: ldo12 {
457                         regulator-name = "vreg    398                         regulator-name = "vreg_l12b_1p8";
458                         regulator-min-microvol    399                         regulator-min-microvolt = <1800000>;
459                         regulator-max-microvol    400                         regulator-max-microvolt = <1800000>;
460                         regulator-initial-mode    401                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
461                         regulator-allow-set-lo    402                         regulator-allow-set-load;
462                         regulator-allowed-mode    403                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
463                                                   404                                                    RPMH_REGULATOR_MODE_HPM>;
464                 };                                405                 };
465                                                   406 
466                 vreg_l13b_3p0: ldo13 {            407                 vreg_l13b_3p0: ldo13 {
467                         regulator-name = "vreg    408                         regulator-name = "vreg_l13b_3p0";
468                         regulator-min-microvol    409                         regulator-min-microvolt = <3000000>;
469                         regulator-max-microvol    410                         regulator-max-microvolt = <3000000>;
470                         regulator-initial-mode    411                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
471                         regulator-allow-set-lo    412                         regulator-allow-set-load;
472                         regulator-allowed-mode    413                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
473                                                   414                                                    RPMH_REGULATOR_MODE_HPM>;
474                 };                                415                 };
475                                                   416 
476                 vreg_l14b_3p2: ldo14 {            417                 vreg_l14b_3p2: ldo14 {
477                         regulator-name = "vreg    418                         regulator-name = "vreg_l14b_3p2";
478                         regulator-min-microvol    419                         regulator-min-microvolt = <3200000>;
479                         regulator-max-microvol    420                         regulator-max-microvolt = <3200000>;
480                         regulator-initial-mode    421                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
481                         regulator-allow-set-lo    422                         regulator-allow-set-load;
482                         regulator-allowed-mode    423                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
483                                                   424                                                    RPMH_REGULATOR_MODE_HPM>;
484                 };                                425                 };
485                                                   426 
486                 vreg_l15b_1p8: ldo15 {            427                 vreg_l15b_1p8: ldo15 {
487                         regulator-name = "vreg    428                         regulator-name = "vreg_l15b_1p8";
488                         regulator-min-microvol    429                         regulator-min-microvolt = <1800000>;
489                         regulator-max-microvol    430                         regulator-max-microvolt = <1800000>;
490                         regulator-initial-mode    431                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
491                         regulator-allow-set-lo    432                         regulator-allow-set-load;
492                         regulator-allowed-mode    433                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
493                                                   434                                                    RPMH_REGULATOR_MODE_HPM>;
494                 };                                435                 };
495                                                   436 
496                 vreg_l16b_2p8: ldo16 {            437                 vreg_l16b_2p8: ldo16 {
497                         regulator-name = "vreg    438                         regulator-name = "vreg_l16b_2p8";
498                         regulator-min-microvol    439                         regulator-min-microvolt = <2800000>;
499                         regulator-max-microvol    440                         regulator-max-microvolt = <2800000>;
500                         regulator-initial-mode    441                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
501                         regulator-allow-set-lo    442                         regulator-allow-set-load;
502                         regulator-allowed-mode    443                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
503                                                   444                                                    RPMH_REGULATOR_MODE_HPM>;
504                 };                                445                 };
505                                                   446 
506                 vreg_l17b_2p5: ldo17 {            447                 vreg_l17b_2p5: ldo17 {
507                         regulator-name = "vreg    448                         regulator-name = "vreg_l17b_2p5";
508                         regulator-min-microvol    449                         regulator-min-microvolt = <2504000>;
509                         regulator-max-microvol    450                         regulator-max-microvolt = <2504000>;
510                         regulator-initial-mode    451                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
511                         regulator-allow-set-lo    452                         regulator-allow-set-load;
512                         regulator-allowed-mode    453                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
513                                                   454                                                    RPMH_REGULATOR_MODE_HPM>;
514                 };                                455                 };
515         };                                        456         };
516                                                   457 
517         regulators-1 {                            458         regulators-1 {
518                 compatible = "qcom,pm8550vs-rp    459                 compatible = "qcom,pm8550vs-rpmh-regulators";
519                                                   460 
520                 vdd-l1-supply = <&vreg_s4g_1p2    461                 vdd-l1-supply = <&vreg_s4g_1p25>;
521                 vdd-l2-supply = <&vreg_s4e_0p9    462                 vdd-l2-supply = <&vreg_s4e_0p95>;
522                 vdd-l3-supply = <&vreg_s4e_0p9    463                 vdd-l3-supply = <&vreg_s4e_0p95>;
523                                                   464 
524                 qcom,pmic-id = "c";               465                 qcom,pmic-id = "c";
525                                                   466 
526                 vreg_l3c_0p9: ldo3 {              467                 vreg_l3c_0p9: ldo3 {
527                         regulator-name = "vreg    468                         regulator-name = "vreg_l3c_0p9";
528                         regulator-min-microvol    469                         regulator-min-microvolt = <880000>;
529                         regulator-max-microvol    470                         regulator-max-microvolt = <912000>;
530                         regulator-initial-mode    471                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
531                         regulator-allow-set-lo    472                         regulator-allow-set-load;
532                         regulator-allowed-mode    473                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
533                                                   474                                                    RPMH_REGULATOR_MODE_HPM>;
534                 };                                475                 };
535         };                                        476         };
536                                                   477 
537         regulators-2 {                            478         regulators-2 {
538                 compatible = "qcom,pm8550vs-rp    479                 compatible = "qcom,pm8550vs-rpmh-regulators";
539                                                   480 
540                 vdd-l1-supply = <&vreg_s4e_0p9    481                 vdd-l1-supply = <&vreg_s4e_0p95>;
541                 vdd-l2-supply = <&vreg_s4e_0p9    482                 vdd-l2-supply = <&vreg_s4e_0p95>;
542                 vdd-l3-supply = <&vreg_s4e_0p9    483                 vdd-l3-supply = <&vreg_s4e_0p95>;
543                                                   484 
544                 qcom,pmic-id = "d";               485                 qcom,pmic-id = "d";
545                                                   486 
546                 vreg_l1d_0p88: ldo1 {             487                 vreg_l1d_0p88: ldo1 {
547                         regulator-name = "vreg    488                         regulator-name = "vreg_l1d_0p88";
548                         regulator-min-microvol    489                         regulator-min-microvolt = <880000>;
549                         regulator-max-microvol    490                         regulator-max-microvolt = <920000>;
550                         regulator-initial-mode    491                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
551                         regulator-allow-set-lo    492                         regulator-allow-set-load;
552                         regulator-allowed-mode    493                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
553                                                   494                                                    RPMH_REGULATOR_MODE_HPM>;
554                 };                                495                 };
555                                                   496 
556                 /* ldo2 supplies SM8550 VDD_LP    497                 /* ldo2 supplies SM8550 VDD_LPI_MX */
557         };                                        498         };
558                                                   499 
559         regulators-3 {                            500         regulators-3 {
560                 compatible = "qcom,pm8550vs-rp    501                 compatible = "qcom,pm8550vs-rpmh-regulators";
561                                                   502 
562                 vdd-l1-supply = <&vreg_s4e_0p9    503                 vdd-l1-supply = <&vreg_s4e_0p95>;
563                 vdd-l2-supply = <&vreg_s4e_0p9    504                 vdd-l2-supply = <&vreg_s4e_0p95>;
564                 vdd-l3-supply = <&vreg_s4g_1p2    505                 vdd-l3-supply = <&vreg_s4g_1p25>;
565                 vdd-s4-supply = <&vph_pwr>;       506                 vdd-s4-supply = <&vph_pwr>;
566                 vdd-s5-supply = <&vph_pwr>;       507                 vdd-s5-supply = <&vph_pwr>;
567                                                   508 
568                 qcom,pmic-id = "e";               509                 qcom,pmic-id = "e";
569                                                   510 
570                 vreg_s4e_0p95: smps4 {            511                 vreg_s4e_0p95: smps4 {
571                         regulator-name = "vreg    512                         regulator-name = "vreg_s4e_0p95";
572                         regulator-min-microvol    513                         regulator-min-microvolt = <904000>;
573                         regulator-max-microvol    514                         regulator-max-microvolt = <984000>;
574                         regulator-initial-mode    515                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
575                 };                                516                 };
576                                                   517 
577                 vreg_s5e_1p08: smps5 {            518                 vreg_s5e_1p08: smps5 {
578                         regulator-name = "vreg    519                         regulator-name = "vreg_s5e_1p08";
579                         regulator-min-microvol    520                         regulator-min-microvolt = <1080000>;
580                         regulator-max-microvol    521                         regulator-max-microvolt = <1120000>;
581                         regulator-initial-mode    522                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
582                 };                                523                 };
583                                                   524 
584                 vreg_l1e_0p88: ldo1 {             525                 vreg_l1e_0p88: ldo1 {
585                         regulator-name = "vreg    526                         regulator-name = "vreg_l1e_0p88";
586                         regulator-min-microvol    527                         regulator-min-microvolt = <880000>;
587                         regulator-max-microvol    528                         regulator-max-microvolt = <880000>;
588                         regulator-initial-mode    529                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
589                         regulator-allow-set-lo    530                         regulator-allow-set-load;
590                         regulator-allowed-mode    531                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
591                                                   532                                                    RPMH_REGULATOR_MODE_HPM>;
592                 };                                533                 };
593                                                   534 
594                 vreg_l2e_0p9: ldo2 {              535                 vreg_l2e_0p9: ldo2 {
595                         regulator-name = "vreg    536                         regulator-name = "vreg_l2e_0p9";
596                         regulator-min-microvol    537                         regulator-min-microvolt = <904000>;
597                         regulator-max-microvol    538                         regulator-max-microvolt = <970000>;
598                         regulator-initial-mode    539                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
599                         regulator-allow-set-lo    540                         regulator-allow-set-load;
600                         regulator-allowed-mode    541                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
601                                                   542                                                    RPMH_REGULATOR_MODE_HPM>;
602                 };                                543                 };
603                                                   544 
604                 vreg_l3e_1p2: ldo3 {              545                 vreg_l3e_1p2: ldo3 {
605                         regulator-name = "vreg    546                         regulator-name = "vreg_l3e_1p2";
606                         regulator-min-microvol    547                         regulator-min-microvolt = <1200000>;
607                         regulator-max-microvol    548                         regulator-max-microvolt = <1200000>;
608                         regulator-initial-mode    549                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
609                         regulator-allow-set-lo    550                         regulator-allow-set-load;
610                         regulator-allowed-mode    551                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
611                                                   552                                                    RPMH_REGULATOR_MODE_HPM>;
612                 };                                553                 };
613         };                                        554         };
614                                                   555 
615         regulators-4 {                            556         regulators-4 {
616                 compatible = "qcom,pm8550ve-rp    557                 compatible = "qcom,pm8550ve-rpmh-regulators";
617                                                   558 
618                 vdd-l1-supply = <&vreg_s4e_0p9    559                 vdd-l1-supply = <&vreg_s4e_0p95>;
619                 vdd-l2-supply = <&vreg_s4e_0p9    560                 vdd-l2-supply = <&vreg_s4e_0p95>;
620                 vdd-l3-supply = <&vreg_s4e_0p9    561                 vdd-l3-supply = <&vreg_s4e_0p95>;
621                 vdd-s4-supply = <&vph_pwr>;       562                 vdd-s4-supply = <&vph_pwr>;
622                                                   563 
623                 qcom,pmic-id = "f";               564                 qcom,pmic-id = "f";
624                                                   565 
625                 vreg_s4f_0p5: smps4 {             566                 vreg_s4f_0p5: smps4 {
626                         regulator-name = "vreg    567                         regulator-name = "vreg_s4f_0p5";
627                         regulator-min-microvol    568                         regulator-min-microvolt = <500000>;
628                         regulator-max-microvol    569                         regulator-max-microvolt = <700000>;
629                         regulator-initial-mode    570                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
630                 };                                571                 };
631                                                   572 
632                 vreg_l1f_0p9: ldo1 {              573                 vreg_l1f_0p9: ldo1 {
633                         regulator-name = "vreg    574                         regulator-name = "vreg_l1f_0p9";
634                         regulator-min-microvol    575                         regulator-min-microvolt = <912000>;
635                         regulator-max-microvol    576                         regulator-max-microvolt = <912000>;
636                         regulator-initial-mode    577                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
637                         regulator-allow-set-lo    578                         regulator-allow-set-load;
638                         regulator-allowed-mode    579                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
639                                                   580                                                    RPMH_REGULATOR_MODE_HPM>;
640                 };                                581                 };
641                                                   582 
642                 vreg_l2f_0p88: ldo2 {             583                 vreg_l2f_0p88: ldo2 {
643                         regulator-name = "vreg    584                         regulator-name = "vreg_l2f_0p88";
644                         regulator-min-microvol    585                         regulator-min-microvolt = <880000>;
645                         regulator-max-microvol    586                         regulator-max-microvolt = <912000>;
646                         regulator-initial-mode    587                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
647                         regulator-allow-set-lo    588                         regulator-allow-set-load;
648                         regulator-allowed-mode    589                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
649                                                   590                                                    RPMH_REGULATOR_MODE_HPM>;
650                 };                                591                 };
651                                                   592 
652                 vreg_l3f_0p88: ldo3 {             593                 vreg_l3f_0p88: ldo3 {
653                         regulator-name = "vreg    594                         regulator-name = "vreg_l3f_0p88";
654                         regulator-min-microvol    595                         regulator-min-microvolt = <880000>;
655                         regulator-max-microvol    596                         regulator-max-microvolt = <912000>;
656                         regulator-initial-mode    597                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
657                         regulator-allow-set-lo    598                         regulator-allow-set-load;
658                         regulator-allowed-mode    599                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
659                                                   600                                                    RPMH_REGULATOR_MODE_HPM>;
660                 };                                601                 };
661         };                                        602         };
662                                                   603 
663         regulators-5 {                            604         regulators-5 {
664                 compatible = "qcom,pm8550vs-rp    605                 compatible = "qcom,pm8550vs-rpmh-regulators";
665                                                   606 
666                 vdd-l1-supply = <&vreg_s4g_1p2    607                 vdd-l1-supply = <&vreg_s4g_1p25>;
667                 vdd-l2-supply = <&vreg_s4g_1p2    608                 vdd-l2-supply = <&vreg_s4g_1p25>;
668                 vdd-l3-supply = <&vreg_s4g_1p2    609                 vdd-l3-supply = <&vreg_s4g_1p25>;
669                 vdd-s1-supply = <&vph_pwr>;       610                 vdd-s1-supply = <&vph_pwr>;
670                 vdd-s2-supply = <&vph_pwr>;       611                 vdd-s2-supply = <&vph_pwr>;
671                 vdd-s3-supply = <&vph_pwr>;       612                 vdd-s3-supply = <&vph_pwr>;
672                 vdd-s4-supply = <&vph_pwr>;       613                 vdd-s4-supply = <&vph_pwr>;
673                 vdd-s5-supply = <&vph_pwr>;       614                 vdd-s5-supply = <&vph_pwr>;
674                 vdd-s6-supply = <&vph_pwr>;       615                 vdd-s6-supply = <&vph_pwr>;
675                                                   616 
676                 qcom,pmic-id = "g";               617                 qcom,pmic-id = "g";
677                                                   618 
678                 vreg_s1g_1p25: smps1 {            619                 vreg_s1g_1p25: smps1 {
679                         regulator-name = "vreg    620                         regulator-name = "vreg_s1g_1p25";
680                         regulator-min-microvol    621                         regulator-min-microvolt = <1200000>;
681                         regulator-max-microvol    622                         regulator-max-microvolt = <1300000>;
682                         regulator-initial-mode    623                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
683                 };                                624                 };
684                                                   625 
685                 vreg_s2g_0p85: smps2 {            626                 vreg_s2g_0p85: smps2 {
686                         regulator-name = "vreg    627                         regulator-name = "vreg_s2g_0p85";
687                         regulator-min-microvol    628                         regulator-min-microvolt = <800000>;
688                         regulator-max-microvol    629                         regulator-max-microvolt = <1000000>;
689                         regulator-initial-mode    630                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
690                 };                                631                 };
691                                                   632 
692                 vreg_s3g_0p8: smps3 {             633                 vreg_s3g_0p8: smps3 {
693                         regulator-name = "vreg    634                         regulator-name = "vreg_s3g_0p8";
694                         regulator-min-microvol    635                         regulator-min-microvolt = <300000>;
695                         regulator-max-microvol    636                         regulator-max-microvolt = <1004000>;
696                         regulator-initial-mode    637                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
697                 };                                638                 };
698                                                   639 
699                 vreg_s4g_1p25: smps4 {            640                 vreg_s4g_1p25: smps4 {
700                         regulator-name = "vreg    641                         regulator-name = "vreg_s4g_1p25";
701                         regulator-min-microvol    642                         regulator-min-microvolt = <1200000>;
702                         regulator-max-microvol    643                         regulator-max-microvolt = <1352000>;
703                         regulator-initial-mode    644                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
704                 };                                645                 };
705                                                   646 
706                 vreg_s5g_0p85: smps5 {            647                 vreg_s5g_0p85: smps5 {
707                         regulator-name = "vreg    648                         regulator-name = "vreg_s5g_0p85";
708                         regulator-min-microvol    649                         regulator-min-microvolt = <500000>;
709                         regulator-max-microvol    650                         regulator-max-microvolt = <1004000>;
710                         regulator-initial-mode    651                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
711                 };                                652                 };
712                                                   653 
713                 vreg_s6g_1p86: smps6 {            654                 vreg_s6g_1p86: smps6 {
714                         regulator-name = "vreg    655                         regulator-name = "vreg_s6g_1p86";
715                         regulator-min-microvol    656                         regulator-min-microvolt = <1800000>;
716                         regulator-max-microvol    657                         regulator-max-microvolt = <2000000>;
717                         regulator-initial-mode    658                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
718                 };                                659                 };
719                                                   660 
720                 vreg_l1g_1p2: ldo1 {              661                 vreg_l1g_1p2: ldo1 {
721                         regulator-name = "vreg    662                         regulator-name = "vreg_l1g_1p2";
722                         regulator-min-microvol    663                         regulator-min-microvolt = <1200000>;
723                         regulator-max-microvol    664                         regulator-max-microvolt = <1200000>;
724                         regulator-initial-mode    665                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
725                         regulator-allow-set-lo    666                         regulator-allow-set-load;
726                         regulator-allowed-mode    667                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
727                                                   668                                                    RPMH_REGULATOR_MODE_HPM>;
728                 };                                669                 };
729                                                   670 
730                 vreg_l3g_1p2: ldo3 {              671                 vreg_l3g_1p2: ldo3 {
731                         regulator-name = "vreg    672                         regulator-name = "vreg_l3g_1p2";
732                         regulator-min-microvol    673                         regulator-min-microvolt = <1200000>;
733                         regulator-max-microvol    674                         regulator-max-microvolt = <1200000>;
734                         regulator-initial-mode    675                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
735                         regulator-allow-set-lo    676                         regulator-allow-set-load;
736                         regulator-allowed-mode    677                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
737                                                   678                                                    RPMH_REGULATOR_MODE_HPM>;
738                 };                                679                 };
739         };                                        680         };
740                                                   681 
741         regulators-6 {                            682         regulators-6 {
742                 compatible = "qcom,pm8010-rpmh    683                 compatible = "qcom,pm8010-rpmh-regulators";
743                                                   684 
744                 vdd-l1-l2-supply = <&vreg_s4g_    685                 vdd-l1-l2-supply = <&vreg_s4g_1p25>;
745                 vdd-l3-l4-supply = <&vreg_bob2    686                 vdd-l3-l4-supply = <&vreg_bob2>;
746                 vdd-l5-supply = <&vreg_s6g_1p8    687                 vdd-l5-supply = <&vreg_s6g_1p86>;
747                 vdd-l6-supply = <&vreg_s6g_1p8    688                 vdd-l6-supply = <&vreg_s6g_1p86>;
748                 vdd-l7-supply = <&vreg_bob1>;     689                 vdd-l7-supply = <&vreg_bob1>;
749                                                   690 
750                 qcom,pmic-id = "m";               691                 qcom,pmic-id = "m";
751                                                   692 
752                 vreg_l1m_1p056: ldo1 {            693                 vreg_l1m_1p056: ldo1 {
753                         regulator-name = "vreg    694                         regulator-name = "vreg_l1m_1p056";
754                         regulator-min-microvol    695                         regulator-min-microvolt = <1056000>;
755                         regulator-max-microvol    696                         regulator-max-microvolt = <1056000>;
756                         regulator-initial-mode    697                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
757                         regulator-allow-set-lo    698                         regulator-allow-set-load;
758                         regulator-allowed-mode    699                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
759                                                   700                                                    RPMH_REGULATOR_MODE_HPM>;
760                 };                                701                 };
761                                                   702 
762                 vreg_l2m_1p056: ldo2 {            703                 vreg_l2m_1p056: ldo2 {
763                         regulator-name = "vreg    704                         regulator-name = "vreg_l2m_1p056";
764                         regulator-min-microvol    705                         regulator-min-microvolt = <1056000>;
765                         regulator-max-microvol    706                         regulator-max-microvolt = <1056000>;
766                         regulator-initial-mode    707                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
767                         regulator-allow-set-lo    708                         regulator-allow-set-load;
768                         regulator-allowed-mode    709                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
769                                                   710                                                    RPMH_REGULATOR_MODE_HPM>;
770                 };                                711                 };
771                                                   712 
772                 vreg_l3m_2p8: ldo3 {              713                 vreg_l3m_2p8: ldo3 {
773                         regulator-name = "vreg    714                         regulator-name = "vreg_l3m_2p8";
774                         regulator-min-microvol    715                         regulator-min-microvolt = <2800000>;
775                         regulator-max-microvol    716                         regulator-max-microvolt = <2800000>;
776                         regulator-initial-mode    717                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
777                 };                                718                 };
778                                                   719 
779                 vreg_l4m_2p8: ldo4 {              720                 vreg_l4m_2p8: ldo4 {
780                         regulator-name = "vreg    721                         regulator-name = "vreg_l4m_2p8";
781                         regulator-min-microvol    722                         regulator-min-microvolt = <2800000>;
782                         regulator-max-microvol    723                         regulator-max-microvolt = <2800000>;
783                         regulator-initial-mode    724                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
784                 };                                725                 };
785                                                   726 
786                 vreg_l5m_1p8: ldo5 {              727                 vreg_l5m_1p8: ldo5 {
787                         regulator-name = "vreg    728                         regulator-name = "vreg_l5m_1p8";
788                         regulator-min-microvol    729                         regulator-min-microvolt = <1800000>;
789                         regulator-max-microvol    730                         regulator-max-microvolt = <1800000>;
790                         regulator-initial-mode    731                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
791                 };                                732                 };
792                                                   733 
793                 vreg_l6m_1p8: ldo6 {              734                 vreg_l6m_1p8: ldo6 {
794                         regulator-name = "vreg    735                         regulator-name = "vreg_l6m_1p8";
795                         regulator-min-microvol    736                         regulator-min-microvolt = <1800000>;
796                         regulator-max-microvol    737                         regulator-max-microvolt = <1800000>;
797                         regulator-initial-mode    738                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
798                 };                                739                 };
799                                                   740 
800                 vreg_l7m_2p9: ldo7 {              741                 vreg_l7m_2p9: ldo7 {
801                         regulator-name = "vreg    742                         regulator-name = "vreg_l7m_2p9";
802                         regulator-min-microvol    743                         regulator-min-microvolt = <2800000>;
803                         regulator-max-microvol    744                         regulator-max-microvolt = <2904000>;
804                         regulator-initial-mode    745                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
805                 };                                746                 };
806         };                                        747         };
807                                                   748 
808         regulators-7 {                            749         regulators-7 {
809                 compatible = "qcom,pm8010-rpmh    750                 compatible = "qcom,pm8010-rpmh-regulators";
810                                                   751 
811                 vdd-l1-l2-supply = <&vreg_s4g_    752                 vdd-l1-l2-supply = <&vreg_s4g_1p25>;
812                 vdd-l3-l4-supply = <&vreg_bob2    753                 vdd-l3-l4-supply = <&vreg_bob2>;
813                 vdd-l5-supply = <&vreg_s6g_1p8    754                 vdd-l5-supply = <&vreg_s6g_1p86>;
814                 vdd-l6-supply = <&vreg_bob1>;     755                 vdd-l6-supply = <&vreg_bob1>;
815                 vdd-l7-supply = <&vreg_bob1>;     756                 vdd-l7-supply = <&vreg_bob1>;
816                                                   757 
817                 qcom,pmic-id = "n";               758                 qcom,pmic-id = "n";
818                                                   759 
819                 vreg_l1n_1p1: ldo1 {              760                 vreg_l1n_1p1: ldo1 {
820                         regulator-name = "vreg    761                         regulator-name = "vreg_l1n_1p1";
821                         regulator-min-microvol    762                         regulator-min-microvolt = <1104000>;
822                         regulator-max-microvol    763                         regulator-max-microvolt = <1200000>;
823                         regulator-initial-mode    764                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
824                         regulator-allow-set-lo    765                         regulator-allow-set-load;
825                         regulator-allowed-mode    766                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
826                                                   767                                                    RPMH_REGULATOR_MODE_HPM>;
827                 };                                768                 };
828                                                   769 
829                 vreg_l2n_1p1: ldo2 {              770                 vreg_l2n_1p1: ldo2 {
830                         regulator-name = "vreg    771                         regulator-name = "vreg_l2n_1p1";
831                         regulator-min-microvol    772                         regulator-min-microvolt = <1104000>;
832                         regulator-max-microvol    773                         regulator-max-microvolt = <1200000>;
833                         regulator-initial-mode    774                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
834                         regulator-allow-set-lo    775                         regulator-allow-set-load;
835                         regulator-allowed-mode    776                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
836                                                   777                                                    RPMH_REGULATOR_MODE_HPM>;
837                 };                                778                 };
838                                                   779 
839                 vreg_l3n_2p8: ldo3 {              780                 vreg_l3n_2p8: ldo3 {
840                         regulator-name = "vreg    781                         regulator-name = "vreg_l3n_2p8";
841                         regulator-min-microvol    782                         regulator-min-microvolt = <2800000>;
842                         regulator-max-microvol    783                         regulator-max-microvolt = <3000000>;
843                         regulator-initial-mode    784                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
844                 };                                785                 };
845                                                   786 
846                 vreg_l4n_2p8: ldo4 {              787                 vreg_l4n_2p8: ldo4 {
847                         regulator-name = "vreg    788                         regulator-name = "vreg_l4n_2p8";
848                         regulator-min-microvol    789                         regulator-min-microvolt = <2800000>;
849                         regulator-max-microvol    790                         regulator-max-microvolt = <3300000>;
850                         regulator-initial-mode    791                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
851                 };                                792                 };
852                                                   793 
853                 vreg_l5n_1p8: ldo5 {              794                 vreg_l5n_1p8: ldo5 {
854                         regulator-name = "vreg    795                         regulator-name = "vreg_l5n_1p8";
855                         regulator-min-microvol    796                         regulator-min-microvolt = <1800000>;
856                         regulator-max-microvol    797                         regulator-max-microvolt = <1800000>;
857                         regulator-initial-mode    798                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
858                 };                                799                 };
859                                                   800 
860                 vreg_l6n_3p3: ldo6 {              801                 vreg_l6n_3p3: ldo6 {
861                         regulator-name = "vreg    802                         regulator-name = "vreg_l6n_3p3";
862                         regulator-min-microvol    803                         regulator-min-microvolt = <2800000>;
863                         regulator-max-microvol    804                         regulator-max-microvolt = <3304000>;
864                         regulator-initial-mode    805                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
865                 };                                806                 };
866                                                   807 
867                 vreg_l7n_2p96: ldo7 {             808                 vreg_l7n_2p96: ldo7 {
868                         regulator-name = "vreg    809                         regulator-name = "vreg_l7n_2p96";
869                         regulator-min-microvol    810                         regulator-min-microvolt = <2800000>;
870                         regulator-max-microvol    811                         regulator-max-microvolt = <2960000>;
871                         regulator-initial-mode    812                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
872                 };                                813                 };
873         };                                        814         };
874 };                                                815 };
875                                                   816 
876 &i2c0 {                                           817 &i2c0 {
877         clock-frequency = <400000>;               818         clock-frequency = <400000>;
878         status = "okay";                          819         status = "okay";
879                                                   820 
880         lt9611_codec: hdmi-bridge@2b {            821         lt9611_codec: hdmi-bridge@2b {
881                 compatible = "lontium,lt9611ux    822                 compatible = "lontium,lt9611uxc";
882                 reg = <0x2b>;                     823                 reg = <0x2b>;
883                                                   824 
884                 interrupts-extended = <&tlmm 8    825                 interrupts-extended = <&tlmm 8 IRQ_TYPE_EDGE_FALLING>;
885                                                   826 
886                 reset-gpios = <&tlmm 7 GPIO_AC    827                 reset-gpios = <&tlmm 7 GPIO_ACTIVE_HIGH>;
887                                                   828 
888                 vdd-supply = <&lt9611_1v2>;       829                 vdd-supply = <&lt9611_1v2>;
889                 vcc-supply = <&lt9611_3v3>;       830                 vcc-supply = <&lt9611_3v3>;
890                                                   831 
891                 pinctrl-0 = <&lt9611_irq_pin>,    832                 pinctrl-0 = <&lt9611_irq_pin>, <&lt9611_rst_pin>;
892                 pinctrl-names = "default";        833                 pinctrl-names = "default";
893                                                   834 
894                 ports {                           835                 ports {
895                         #address-cells = <1>;     836                         #address-cells = <1>;
896                         #size-cells = <0>;        837                         #size-cells = <0>;
897                                                   838 
898                         port@0 {                  839                         port@0 {
899                                 reg = <0>;        840                                 reg = <0>;
900                                                   841 
901                                 lt9611_a: endp    842                                 lt9611_a: endpoint {
902                                         remote    843                                         remote-endpoint = <&mdss_dsi0_out>;
903                                 };                844                                 };
904                         };                        845                         };
905                                                   846 
906                         port@2 {                  847                         port@2 {
907                                 reg = <2>;        848                                 reg = <2>;
908                                                   849 
909                                 lt9611_out: en    850                                 lt9611_out: endpoint {
910                                         remote    851                                         remote-endpoint = <&hdmi_connector_out>;
911                                 };                852                                 };
912                         };                        853                         };
913                 };                                854                 };
914         };                                        855         };
915 };                                                856 };
916                                                   857 
917 &i2c_hub_2 {                                      858 &i2c_hub_2 {
918         status = "okay";                          859         status = "okay";
919                                                   860 
920         typec-mux@42 {                            861         typec-mux@42 {
921                 compatible = "fcs,fsa4480";       862                 compatible = "fcs,fsa4480";
922                 reg = <0x42>;                     863                 reg = <0x42>;
923                                                   864 
924                 vcc-supply = <&vreg_bob1>;        865                 vcc-supply = <&vreg_bob1>;
925                                                   866 
926                 mode-switch;                      867                 mode-switch;
927                 orientation-switch;               868                 orientation-switch;
928                                                   869 
929                 port {                            870                 port {
930                         fsa4480_sbu_mux: endpo    871                         fsa4480_sbu_mux: endpoint {
931                                 remote-endpoin    872                                 remote-endpoint = <&pmic_glink_sbu>;
932                         };                        873                         };
933                 };                                874                 };
934         };                                        875         };
935 };                                                876 };
936                                                   877 
937 &i2c_master_hub_0 {                               878 &i2c_master_hub_0 {
938         status = "okay";                          879         status = "okay";
939 };                                                880 };
940                                                   881 
941 &ipa {                                            882 &ipa {
942         qcom,gsi-loader = "self";                 883         qcom,gsi-loader = "self";
943         memory-region = <&ipa_fw_mem>;            884         memory-region = <&ipa_fw_mem>;
944         firmware-name = "qcom/sm8550/ipa_fws.m    885         firmware-name = "qcom/sm8550/ipa_fws.mbn";
945         status = "okay";                          886         status = "okay";
946 };                                                887 };
947                                                   888 
948 &gpi_dma1 {                                       889 &gpi_dma1 {
949         status = "okay";                          890         status = "okay";
950 };                                                891 };
951                                                   892 
952 &gpu {                                            893 &gpu {
953         status = "okay";                          894         status = "okay";
954                                                   895 
955         zap-shader {                              896         zap-shader {
956                 firmware-name = "qcom/sm8550/a    897                 firmware-name = "qcom/sm8550/a740_zap.mbn";
957         };                                        898         };
958 };                                                899 };
959                                                   900 
960 &lpass_tlmm {                                     901 &lpass_tlmm {
961         spkr_1_sd_n_active: spkr-1-sd-n-active    902         spkr_1_sd_n_active: spkr-1-sd-n-active-state {
962                 pins = "gpio17";                  903                 pins = "gpio17";
963                 function = "gpio";                904                 function = "gpio";
964                 drive-strength = <16>;            905                 drive-strength = <16>;
965                 bias-disable;                     906                 bias-disable;
966                 output-low;                       907                 output-low;
967         };                                        908         };
968                                                   909 
969         spkr_2_sd_n_active: spkr-2-sd-n-active    910         spkr_2_sd_n_active: spkr-2-sd-n-active-state {
970                 pins = "gpio18";                  911                 pins = "gpio18";
971                 function = "gpio";                912                 function = "gpio";
972                 drive-strength = <16>;            913                 drive-strength = <16>;
973                 bias-disable;                     914                 bias-disable;
974                 output-low;                       915                 output-low;
975         };                                        916         };
976 };                                                917 };
977                                                   918 
978 &mdss {                                           919 &mdss {
979         status = "okay";                          920         status = "okay";
980 };                                                921 };
981                                                   922 
982 &mdss_dsi0 {                                      923 &mdss_dsi0 {
983         vdda-supply = <&vreg_l3e_1p2>;            924         vdda-supply = <&vreg_l3e_1p2>;
984         status = "okay";                          925         status = "okay";
985 };                                                926 };
986                                                   927 
987 &mdss_dsi0_out {                                  928 &mdss_dsi0_out {
988         remote-endpoint = <&lt9611_a>;            929         remote-endpoint = <&lt9611_a>;
989         data-lanes = <0 1 2 3>;                   930         data-lanes = <0 1 2 3>;
990 };                                                931 };
991                                                   932 
992 &mdss_dsi0_phy {                                  933 &mdss_dsi0_phy {
993         vdds-supply = <&vreg_l1e_0p88>;           934         vdds-supply = <&vreg_l1e_0p88>;
994         status = "okay";                          935         status = "okay";
995 };                                                936 };
996                                                   937 
997 &mdss_dp0 {                                       938 &mdss_dp0 {
998         status = "okay";                          939         status = "okay";
999 };                                                940 };
1000                                                  941 
1001 &mdss_dp0_out {                                  942 &mdss_dp0_out {
                                                   >> 943         remote-endpoint = <&usb_dp_qmpphy_dp_in>;
1002         data-lanes = <0 1>;                      944         data-lanes = <0 1>;
1003 };                                               945 };
1004                                                  946 
1005 &pcie0 {                                         947 &pcie0 {
1006         wake-gpios = <&tlmm 96 GPIO_ACTIVE_HI    948         wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
1007         perst-gpios = <&tlmm 94 GPIO_ACTIVE_L    949         perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
1008                                                  950 
1009         pinctrl-0 = <&pcie0_default_state>;      951         pinctrl-0 = <&pcie0_default_state>;
1010         pinctrl-names = "default";               952         pinctrl-names = "default";
1011                                                  953 
1012         status = "okay";                         954         status = "okay";
1013 };                                               955 };
1014                                                  956 
1015 &pcieport0 {                                  << 
1016         wifi@0 {                              << 
1017                 compatible = "pci17cb,1107";  << 
1018                 reg = <0x10000 0x0 0x0 0x0 0x << 
1019                                               << 
1020                 vddrfacmn-supply = <&vreg_pmu << 
1021                 vddaon-supply = <&vreg_pmu_ao << 
1022                 vddwlcx-supply = <&vreg_pmu_w << 
1023                 vddwlmx-supply = <&vreg_pmu_w << 
1024                 vddrfa0p8-supply = <&vreg_pmu << 
1025                 vddrfa1p2-supply = <&vreg_pmu << 
1026                 vddrfa1p8-supply = <&vreg_pmu << 
1027                 vddpcie0p9-supply = <&vreg_pm << 
1028                 vddpcie1p8-supply = <&vreg_pm << 
1029         };                                    << 
1030 };                                            << 
1031                                               << 
1032 &pcie0_phy {                                     957 &pcie0_phy {
1033         vdda-phy-supply = <&vreg_l1e_0p88>;      958         vdda-phy-supply = <&vreg_l1e_0p88>;
1034         vdda-pll-supply = <&vreg_l3e_1p2>;       959         vdda-pll-supply = <&vreg_l3e_1p2>;
1035                                                  960 
1036         status = "okay";                         961         status = "okay";
1037 };                                               962 };
1038                                                  963 
1039 &pcie1 {                                         964 &pcie1 {
1040         wake-gpios = <&tlmm 99 GPIO_ACTIVE_HI    965         wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>;
1041         perst-gpios = <&tlmm 97 GPIO_ACTIVE_L    966         perst-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>;
1042                                                  967 
1043         pinctrl-0 = <&pcie1_default_state>;      968         pinctrl-0 = <&pcie1_default_state>;
1044         pinctrl-names = "default";               969         pinctrl-names = "default";
1045                                                  970 
1046         status = "okay";                         971         status = "okay";
1047 };                                               972 };
1048                                                  973 
1049 &pcie1_phy {                                     974 &pcie1_phy {
1050         vdda-phy-supply = <&vreg_l3c_0p9>;       975         vdda-phy-supply = <&vreg_l3c_0p9>;
1051         vdda-pll-supply = <&vreg_l3e_1p2>;       976         vdda-pll-supply = <&vreg_l3e_1p2>;
1052         vdda-qref-supply = <&vreg_l1e_0p88>;     977         vdda-qref-supply = <&vreg_l1e_0p88>;
1053                                                  978 
1054         status = "okay";                         979         status = "okay";
1055 };                                               980 };
1056                                                  981 
                                                   >> 982 &pcie_1_phy_aux_clk {
                                                   >> 983         clock-frequency = <1000>;
                                                   >> 984 };
                                                   >> 985 
1057 &pm8550_gpios {                                  986 &pm8550_gpios {
1058         sdc2_card_det_n: sdc2-card-det-state     987         sdc2_card_det_n: sdc2-card-det-state {
1059                 pins = "gpio12";                 988                 pins = "gpio12";
1060                 function = "normal";             989                 function = "normal";
1061                 input-enable;                    990                 input-enable;
1062                 output-disable;                  991                 output-disable;
1063                 bias-pull-up;                    992                 bias-pull-up;
1064                 power-source = <1>; /* 1.8 V     993                 power-source = <1>; /* 1.8 V */
1065         };                                       994         };
1066                                                  995 
1067         volume_up_n: volume-up-n-state {         996         volume_up_n: volume-up-n-state {
1068                 pins = "gpio6";                  997                 pins = "gpio6";
1069                 function = "normal";             998                 function = "normal";
1070                 power-source = <1>;              999                 power-source = <1>;
1071                 bias-pull-up;                    1000                 bias-pull-up;
1072                 input-enable;                    1001                 input-enable;
1073         };                                       1002         };
1074 };                                               1003 };
1075                                                  1004 
1076 /* The RGB signals are routed to 3 separate L    1005 /* The RGB signals are routed to 3 separate LEDs on the HDK8550 */
1077 &pm8550_pwm {                                    1006 &pm8550_pwm {
1078         #address-cells = <1>;                    1007         #address-cells = <1>;
1079         #size-cells = <0>;                       1008         #size-cells = <0>;
1080                                                  1009 
1081         status = "okay";                         1010         status = "okay";
1082                                                  1011 
1083         led@1 {                                  1012         led@1 {
1084                 reg = <1>;                       1013                 reg = <1>;
1085                 function = LED_FUNCTION_STATU    1014                 function = LED_FUNCTION_STATUS;
1086                 color = <LED_COLOR_ID_RED>;      1015                 color = <LED_COLOR_ID_RED>;
1087                 default-state = "off";           1016                 default-state = "off";
1088         };                                       1017         };
1089                                                  1018 
1090         led@2 {                                  1019         led@2 {
1091                 reg = <2>;                       1020                 reg = <2>;
1092                 function = LED_FUNCTION_STATU    1021                 function = LED_FUNCTION_STATUS;
1093                 color = <LED_COLOR_ID_GREEN>;    1022                 color = <LED_COLOR_ID_GREEN>;
1094                 default-state = "off";           1023                 default-state = "off";
1095         };                                       1024         };
1096                                                  1025 
1097         led@3 {                                  1026         led@3 {
1098                 reg = <3>;                       1027                 reg = <3>;
1099                 function = LED_FUNCTION_STATU    1028                 function = LED_FUNCTION_STATUS;
1100                 color = <LED_COLOR_ID_BLUE>;     1029                 color = <LED_COLOR_ID_BLUE>;
1101                 default-state = "off";           1030                 default-state = "off";
1102         };                                       1031         };
1103 };                                               1032 };
1104                                                  1033 
1105 &pm8550b_eusb2_repeater {                        1034 &pm8550b_eusb2_repeater {
1106         vdd18-supply = <&vreg_l15b_1p8>;         1035         vdd18-supply = <&vreg_l15b_1p8>;
1107         vdd3-supply = <&vreg_l5b_3p1>;           1036         vdd3-supply = <&vreg_l5b_3p1>;
1108 };                                               1037 };
1109                                                  1038 
1110 &pon_pwrkey {                                    1039 &pon_pwrkey {
1111         status = "okay";                         1040         status = "okay";
1112 };                                               1041 };
1113                                                  1042 
1114 &pon_resin {                                     1043 &pon_resin {
1115         linux,code = <KEY_VOLUMEDOWN>;           1044         linux,code = <KEY_VOLUMEDOWN>;
1116                                                  1045 
1117         status = "okay";                         1046         status = "okay";
1118 };                                               1047 };
1119                                                  1048 
1120 &pmk8550_gpios {                              << 
1121         pmk8550_sleep_clk: sleep-clk-state {  << 
1122                 pins = "gpio3";               << 
1123                 function = "func1";           << 
1124                 input-disable;                << 
1125                 output-enable;                << 
1126                 bias-disable;                 << 
1127                 power-source = <0>;           << 
1128         };                                    << 
1129 };                                            << 
1130                                               << 
1131 &qupv3_id_0 {                                    1049 &qupv3_id_0 {
1132         status = "okay";                         1050         status = "okay";
1133 };                                               1051 };
1134                                                  1052 
1135 &qupv3_id_1 {                                    1053 &qupv3_id_1 {
1136         status = "okay";                         1054         status = "okay";
1137 };                                               1055 };
1138                                                  1056 
1139 &remoteproc_adsp {                               1057 &remoteproc_adsp {
1140         firmware-name = "qcom/sm8550/adsp.mbn    1058         firmware-name = "qcom/sm8550/adsp.mbn",
1141                         "qcom/sm8550/adsp_dtb    1059                         "qcom/sm8550/adsp_dtb.mbn";
1142         status = "okay";                         1060         status = "okay";
1143 };                                               1061 };
1144                                                  1062 
1145 &remoteproc_cdsp {                               1063 &remoteproc_cdsp {
1146         firmware-name = "qcom/sm8550/cdsp.mbn    1064         firmware-name = "qcom/sm8550/cdsp.mbn",
1147                         "qcom/sm8550/cdsp_dtb    1065                         "qcom/sm8550/cdsp_dtb.mbn";
1148         status = "okay";                         1066         status = "okay";
1149 };                                               1067 };
1150                                                  1068 
1151 &remoteproc_mpss {                               1069 &remoteproc_mpss {
1152         firmware-name = "qcom/sm8550/modem.mb    1070         firmware-name = "qcom/sm8550/modem.mbn",
1153                         "qcom/sm8550/modem_dt    1071                         "qcom/sm8550/modem_dtb.mbn";
1154         status = "okay";                         1072         status = "okay";
1155 };                                               1073 };
1156                                                  1074 
1157 &sdhc_2 {                                        1075 &sdhc_2 {
1158         cd-gpios = <&pm8550_gpios 12 GPIO_ACT    1076         cd-gpios = <&pm8550_gpios 12 GPIO_ACTIVE_HIGH>;
1159                                                  1077 
1160         pinctrl-0 = <&sdc2_default>, <&sdc2_c    1078         pinctrl-0 = <&sdc2_default>, <&sdc2_card_det_n>;
1161         pinctrl-1 = <&sdc2_sleep>, <&sdc2_car    1079         pinctrl-1 = <&sdc2_sleep>, <&sdc2_card_det_n>;
1162         pinctrl-names = "default", "sleep";      1080         pinctrl-names = "default", "sleep";
1163                                                  1081 
1164         vmmc-supply = <&vreg_l9b_2p9>;           1082         vmmc-supply = <&vreg_l9b_2p9>;
1165         vqmmc-supply = <&vreg_l8b_1p8>;          1083         vqmmc-supply = <&vreg_l8b_1p8>;
1166                                                  1084 
1167         bus-width = <4>;                         1085         bus-width = <4>;
1168         no-sdio;                                 1086         no-sdio;
1169         no-mmc;                                  1087         no-mmc;
1170                                                  1088 
1171         status = "okay";                         1089         status = "okay";
1172 };                                               1090 };
1173                                                  1091 
1174 &sleep_clk {                                     1092 &sleep_clk {
1175         clock-frequency = <32000>;               1093         clock-frequency = <32000>;
1176 };                                               1094 };
1177                                                  1095 
1178 &swr0 {                                          1096 &swr0 {
1179         status = "okay";                         1097         status = "okay";
1180                                                  1098 
1181         /* WSA8845, Speaker North */             1099         /* WSA8845, Speaker North */
1182         north_spkr: speaker@0,0 {                1100         north_spkr: speaker@0,0 {
1183                 compatible = "sdw20217020400"    1101                 compatible = "sdw20217020400";
1184                 reg = <0 0>;                     1102                 reg = <0 0>;
1185                                                  1103 
1186                 pinctrl-0 = <&spkr_1_sd_n_act    1104                 pinctrl-0 = <&spkr_1_sd_n_active>;
1187                 pinctrl-names = "default";       1105                 pinctrl-names = "default";
1188                                                  1106 
1189                 powerdown-gpios = <&lpass_tlm    1107                 powerdown-gpios = <&lpass_tlmm 17 GPIO_ACTIVE_LOW>;
1190                                                  1108 
1191                 vdd-1p8-supply = <&vreg_l15b_    1109                 vdd-1p8-supply = <&vreg_l15b_1p8>;
1192                 vdd-io-supply = <&vreg_l15b_1    1110                 vdd-io-supply = <&vreg_l15b_1p8>;
1193                                                  1111 
1194                 #sound-dai-cells = <0>;          1112                 #sound-dai-cells = <0>;
1195                 sound-name-prefix = "SpkrLeft    1113                 sound-name-prefix = "SpkrLeft";
1196                 qcom,port-mapping = <1 2 3 7  << 
1197         };                                       1114         };
1198                                                  1115 
1199         /* WSA8845, Speaker South */             1116         /* WSA8845, Speaker South */
1200         south_spkr: speaker@0,1 {                1117         south_spkr: speaker@0,1 {
1201                 compatible = "sdw20217020400"    1118                 compatible = "sdw20217020400";
1202                 reg = <0 1>;                     1119                 reg = <0 1>;
1203                                                  1120 
1204                 pinctrl-0 = <&spkr_2_sd_n_act    1121                 pinctrl-0 = <&spkr_2_sd_n_active>;
1205                 pinctrl-names = "default";       1122                 pinctrl-names = "default";
1206                                                  1123 
1207                 powerdown-gpios = <&lpass_tlm    1124                 powerdown-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>;
1208                                                  1125 
1209                 vdd-1p8-supply = <&vreg_l15b_    1126                 vdd-1p8-supply = <&vreg_l15b_1p8>;
1210                 vdd-io-supply = <&vreg_l15b_1    1127                 vdd-io-supply = <&vreg_l15b_1p8>;
1211                                                  1128 
1212                 #sound-dai-cells = <0>;          1129                 #sound-dai-cells = <0>;
1213                 sound-name-prefix = "SpkrRigh    1130                 sound-name-prefix = "SpkrRight";
1214                 qcom,port-mapping = <4 5 6 7  << 
1215         };                                       1131         };
1216 };                                               1132 };
1217                                                  1133 
1218 &swr1 {                                          1134 &swr1 {
1219         status = "okay";                         1135         status = "okay";
1220                                                  1136 
1221         /* WCD9385 RX */                         1137         /* WCD9385 RX */
1222         wcd_rx: codec@0,4 {                      1138         wcd_rx: codec@0,4 {
1223                 compatible = "sdw20217010d00"    1139                 compatible = "sdw20217010d00";
1224                 reg = <0 4>;                     1140                 reg = <0 4>;
1225                                                  1141 
1226                 /*                               1142                 /*
1227                  * WCD9385 RX Port 1 (HPH_L/R    1143                  * WCD9385 RX Port 1 (HPH_L/R)      <=> SWR1 Port 1 (HPH_L/R)
1228                  * WCD9385 RX Port 2 (CLSH)      1144                  * WCD9385 RX Port 2 (CLSH)         <=> SWR1 Port 2 (CLSH)
1229                  * WCD9385 RX Port 3 (COMP_L/    1145                  * WCD9385 RX Port 3 (COMP_L/R)     <=> SWR1 Port 3 (COMP_L/R)
1230                  * WCD9385 RX Port 4 (LO)        1146                  * WCD9385 RX Port 4 (LO)           <=> SWR1 Port 4 (LO)
1231                  * WCD9385 RX Port 5 (DSD_L/R    1147                  * WCD9385 RX Port 5 (DSD_L/R)      <=> SWR1 Port 5 (DSD_L/R)
1232                  */                              1148                  */
1233                 qcom,rx-port-mapping = <1 2 3    1149                 qcom,rx-port-mapping = <1 2 3 4 5>;
1234         };                                       1150         };
1235 };                                               1151 };
1236                                                  1152 
1237 &swr2 {                                          1153 &swr2 {
1238         status = "okay";                         1154         status = "okay";
1239                                                  1155 
1240         /* WCD9385 TX */                         1156         /* WCD9385 TX */
1241         wcd_tx: codec@0,3 {                      1157         wcd_tx: codec@0,3 {
1242                 compatible = "sdw20217010d00"    1158                 compatible = "sdw20217010d00";
1243                 reg = <0 3>;                     1159                 reg = <0 3>;
1244                                                  1160 
1245                 /*                               1161                 /*
1246                  * WCD9385 TX Port 1 (ADC1,2)    1162                  * WCD9385 TX Port 1 (ADC1,2)             <=> SWR2 Port 2 (TX SWR_INPUT 0,1,2,3)
1247                  * WCD9385 TX Port 2 (ADC3,4)    1163                  * WCD9385 TX Port 2 (ADC3,4)             <=> SWR2 Port 2 (TX SWR_INPUT 0,1,2,3)
1248                  * WCD9385 TX Port 3 (DMIC0,1    1164                  * WCD9385 TX Port 3 (DMIC0,1,2,3 & MBHC) <=> SWR2 Port 3 (TX SWR_INPUT 4,5,6,7)
1249                  * WCD9385 TX Port 4 (DMIC4,5    1165                  * WCD9385 TX Port 4 (DMIC4,5,6,7)        <=> SWR2 Port 4 (TX SWR_INPUT 8,9,10,11)
1250                  */                              1166                  */
1251                 qcom,tx-port-mapping = <2 2 3    1167                 qcom,tx-port-mapping = <2 2 3 4>;
1252         };                                       1168         };
1253 };                                               1169 };
1254                                                  1170 
1255 &tlmm {                                          1171 &tlmm {
1256         /* Reserved I/Os for NFC */              1172         /* Reserved I/Os for NFC */
1257         gpio-reserved-ranges = <32 8>;           1173         gpio-reserved-ranges = <32 8>;
1258                                                  1174 
1259         bt_default: bt-default-state {           1175         bt_default: bt-default-state {
1260                 bt-en-pins {                     1176                 bt-en-pins {
1261                         pins = "gpio81";         1177                         pins = "gpio81";
1262                         function = "gpio";       1178                         function = "gpio";
1263                         drive-strength = <16>    1179                         drive-strength = <16>;
1264                         bias-disable;            1180                         bias-disable;
1265                 };                               1181                 };
1266                                                  1182 
1267                 sw-ctrl-pins {                   1183                 sw-ctrl-pins {
1268                         pins = "gpio82";         1184                         pins = "gpio82";
1269                         function = "gpio";       1185                         function = "gpio";
1270                         bias-pull-down;          1186                         bias-pull-down;
1271                 };                               1187                 };
1272         };                                       1188         };
1273                                                  1189 
1274         lt9611_irq_pin: lt9611-irq-state {       1190         lt9611_irq_pin: lt9611-irq-state {
1275                 pins = "gpio8";                  1191                 pins = "gpio8";
1276                 function = "gpio";               1192                 function = "gpio";
1277                 bias-disable;                    1193                 bias-disable;
1278         };                                       1194         };
1279                                                  1195 
1280         lt9611_rst_pin: lt9611-rst-state {       1196         lt9611_rst_pin: lt9611-rst-state {
1281                 pins = "gpio7";                  1197                 pins = "gpio7";
1282                 function = "gpio";               1198                 function = "gpio";
1283                 output-high;                     1199                 output-high;
1284         };                                       1200         };
1285                                                  1201 
1286         wcd_default: wcd-reset-n-active-state    1202         wcd_default: wcd-reset-n-active-state {
1287                 pins = "gpio108";                1203                 pins = "gpio108";
1288                 function = "gpio";               1204                 function = "gpio";
1289                 drive-strength = <16>;           1205                 drive-strength = <16>;
1290                 bias-disable;                    1206                 bias-disable;
1291                 output-low;                      1207                 output-low;
1292         };                                       1208         };
1293                                               << 
1294         wlan_en: wlan-en-state {              << 
1295                 pins = "gpio80";              << 
1296                 function = "gpio";            << 
1297                 drive-strength = <8>;         << 
1298                 bias-pull-down;               << 
1299         };                                    << 
1300 };                                               1209 };
1301                                                  1210 
1302 &uart7 {                                         1211 &uart7 {
1303         status = "okay";                         1212         status = "okay";
1304 };                                               1213 };
1305                                                  1214 
1306 &uart14 {                                        1215 &uart14 {
1307         status = "okay";                         1216         status = "okay";
1308                                                  1217 
1309         bluetooth {                              1218         bluetooth {
1310                 compatible = "qcom,wcn7850-bt    1219                 compatible = "qcom,wcn7850-bt";
1311                                                  1220 
1312                 vddrfacmn-supply = <&vreg_pmu !! 1221                 vddio-supply = <&vreg_l15b_1p8>;
1313                 vddaon-supply = <&vreg_pmu_ao !! 1222                 vddaon-supply = <&vreg_s4e_0p95>;
1314                 vddwlcx-supply = <&vreg_pmu_w !! 1223                 vdddig-supply = <&vreg_s4e_0p95>;
1315                 vddwlmx-supply = <&vreg_pmu_w !! 1224                 vddrfa0p8-supply = <&vreg_s4e_0p95>;
1316                 vddrfa0p8-supply = <&vreg_pmu !! 1225                 vddrfa1p2-supply = <&vreg_s4g_1p25>;
1317                 vddrfa1p2-supply = <&vreg_pmu !! 1226                 vddrfa1p9-supply = <&vreg_s6g_1p86>;
1318                 vddrfa1p8-supply = <&vreg_pmu << 
1319                                                  1227 
1320                 max-speed = <3200000>;           1228                 max-speed = <3200000>;
                                                   >> 1229 
                                                   >> 1230                 enable-gpios = <&tlmm 81 GPIO_ACTIVE_HIGH>;
                                                   >> 1231                 swctrl-gpios = <&tlmm 82 GPIO_ACTIVE_HIGH>;
                                                   >> 1232 
                                                   >> 1233                 pinctrl-0 = <&bt_default>;
                                                   >> 1234                 pinctrl-names = "default";
1321         };                                       1235         };
1322 };                                               1236 };
1323                                                  1237 
1324 &ufs_mem_hc {                                    1238 &ufs_mem_hc {
1325         reset-gpios = <&tlmm 210 GPIO_ACTIVE_    1239         reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>;
1326                                                  1240 
1327         vcc-supply = <&vreg_l17b_2p5>;           1241         vcc-supply = <&vreg_l17b_2p5>;
1328         vcc-max-microamp = <1300000>;            1242         vcc-max-microamp = <1300000>;
1329         vccq-supply = <&vreg_l1g_1p2>;           1243         vccq-supply = <&vreg_l1g_1p2>;
1330         vccq-max-microamp = <1200000>;           1244         vccq-max-microamp = <1200000>;
1331         vdd-hba-supply = <&vreg_l3g_1p2>;        1245         vdd-hba-supply = <&vreg_l3g_1p2>;
1332                                                  1246 
1333         status = "okay";                         1247         status = "okay";
1334 };                                               1248 };
1335                                                  1249 
1336 &ufs_mem_phy {                                   1250 &ufs_mem_phy {
1337         vdda-phy-supply = <&vreg_l1d_0p88>;      1251         vdda-phy-supply = <&vreg_l1d_0p88>;
1338         vdda-pll-supply = <&vreg_l3e_1p2>;       1252         vdda-pll-supply = <&vreg_l3e_1p2>;
1339                                                  1253 
1340         status = "okay";                         1254         status = "okay";
1341 };                                               1255 };
1342                                                  1256 
1343 &usb_1 {                                         1257 &usb_1 {
1344         status = "okay";                         1258         status = "okay";
1345 };                                               1259 };
1346                                                  1260 
                                                   >> 1261 &usb_1_dwc3 {
                                                   >> 1262         dr_mode = "otg";
                                                   >> 1263         usb-role-switch;
                                                   >> 1264 };
                                                   >> 1265 
1347 &usb_1_dwc3_hs {                                 1266 &usb_1_dwc3_hs {
1348         remote-endpoint = <&pmic_glink_hs_in>    1267         remote-endpoint = <&pmic_glink_hs_in>;
1349 };                                               1268 };
1350                                                  1269 
                                                   >> 1270 &usb_1_dwc3_ss {
                                                   >> 1271         remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>;
                                                   >> 1272 };
                                                   >> 1273 
1351 &usb_1_hsphy {                                   1274 &usb_1_hsphy {
1352         vdd-supply = <&vreg_l1e_0p88>;           1275         vdd-supply = <&vreg_l1e_0p88>;
1353         vdda12-supply = <&vreg_l3e_1p2>;         1276         vdda12-supply = <&vreg_l3e_1p2>;
1354                                                  1277 
1355         phys = <&pm8550b_eusb2_repeater>;        1278         phys = <&pm8550b_eusb2_repeater>;
1356                                                  1279 
1357         status = "okay";                         1280         status = "okay";
1358 };                                               1281 };
1359                                                  1282 
1360 &usb_dp_qmpphy {                                 1283 &usb_dp_qmpphy {
1361         vdda-phy-supply = <&vreg_l3e_1p2>;       1284         vdda-phy-supply = <&vreg_l3e_1p2>;
1362         vdda-pll-supply = <&vreg_l3f_0p88>;      1285         vdda-pll-supply = <&vreg_l3f_0p88>;
1363                                                  1286 
                                                   >> 1287         orientation-switch;
                                                   >> 1288 
1364         status = "okay";                         1289         status = "okay";
1365 };                                               1290 };
1366                                                  1291 
                                                   >> 1292 &usb_dp_qmpphy_dp_in {
                                                   >> 1293         remote-endpoint = <&mdss_dp0_out>;
                                                   >> 1294 };
                                                   >> 1295 
1367 &usb_dp_qmpphy_out {                             1296 &usb_dp_qmpphy_out {
1368         remote-endpoint = <&pmic_glink_ss_in>    1297         remote-endpoint = <&pmic_glink_ss_in>;
                                                   >> 1298 };
                                                   >> 1299 
                                                   >> 1300 &usb_dp_qmpphy_usb_ss_in {
                                                   >> 1301         remote-endpoint = <&usb_1_dwc3_ss>;
1369 };                                               1302 };
1370                                                  1303 
1371 &xo_board {                                      1304 &xo_board {
1372         clock-frequency = <76800000>;            1305         clock-frequency = <76800000>;
1373 };                                               1306 };
                                                      

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