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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/sc8180x-primus.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/sc8180x-primus.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/qcom/sc8180x-primus.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) 2017-2019, The Linux Foundati      3  * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
  4  * Copyright (c) 2020-2023, Linaro Limited          4  * Copyright (c) 2020-2023, Linaro Limited
  5  */                                                 5  */
  6                                                     6 
  7 /dts-v1/;                                           7 /dts-v1/;
  8                                                     8 
  9 #include <dt-bindings/firmware/qcom,scm.h>          9 #include <dt-bindings/firmware/qcom,scm.h>
 10 #include <dt-bindings/gpio/gpio.h>                 10 #include <dt-bindings/gpio/gpio.h>
 11 #include <dt-bindings/input/gpio-keys.h>           11 #include <dt-bindings/input/gpio-keys.h>
 12 #include <dt-bindings/input/input.h>               12 #include <dt-bindings/input/input.h>
 13 #include <dt-bindings/regulator/qcom,rpmh-regu     13 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
 14 #include "sc8180x.dtsi"                            14 #include "sc8180x.dtsi"
 15 #include "sc8180x-pmics.dtsi"                      15 #include "sc8180x-pmics.dtsi"
 16                                                    16 
 17 / {                                                17 / {
 18         model = "Qualcomm SC8180x Primus";         18         model = "Qualcomm SC8180x Primus";
 19         compatible = "qcom,sc8180x-primus", "q     19         compatible = "qcom,sc8180x-primus", "qcom,sc8180x";
 20                                                    20 
 21         aliases {                                  21         aliases {
 22                 serial0 = &uart12;                 22                 serial0 = &uart12;
 23                 serial1 = &uart13;                 23                 serial1 = &uart13;
 24         };                                         24         };
 25                                                    25 
 26         backlight: backlight {                     26         backlight: backlight {
 27                 compatible = "pwm-backlight";      27                 compatible = "pwm-backlight";
 28                 pwms = <&pmc8180c_lpg 4 100000     28                 pwms = <&pmc8180c_lpg 4 1000000>;
 29                 enable-gpios = <&pmc8180c_gpio     29                 enable-gpios = <&pmc8180c_gpios 8 GPIO_ACTIVE_HIGH>;
 30                                                    30 
 31                 pinctrl-names = "default";         31                 pinctrl-names = "default";
 32                 pinctrl-0 = <&bl_pwm_default>;     32                 pinctrl-0 = <&bl_pwm_default>;
 33         };                                         33         };
 34                                                    34 
 35         chosen {                                   35         chosen {
 36                 stdout-path = "serial0:115200n     36                 stdout-path = "serial0:115200n8";
 37         };                                         37         };
 38                                                    38 
 39         gpio-keys {                                39         gpio-keys {
 40                 compatible = "gpio-keys";          40                 compatible = "gpio-keys";
 41                                                    41 
 42                 pinctrl-names = "default";         42                 pinctrl-names = "default";
 43                 pinctrl-0 = <&hall_int_active_     43                 pinctrl-0 = <&hall_int_active_state>;
 44                                                    44 
 45                 lid-switch {                       45                 lid-switch {
 46                         gpios = <&tlmm 121 GPI     46                         gpios = <&tlmm 121 GPIO_ACTIVE_LOW>;
 47                         linux,input-type = <EV     47                         linux,input-type = <EV_SW>;
 48                         linux,code = <SW_LID>;     48                         linux,code = <SW_LID>;
 49                         wakeup-source;             49                         wakeup-source;
 50                         wakeup-event-action =      50                         wakeup-event-action = <EV_ACT_DEASSERTED>;
 51                 };                                 51                 };
 52         };                                         52         };
 53                                                    53 
 54         pmic-glink {                               54         pmic-glink {
 55                 compatible = "qcom,sc8180x-pmi     55                 compatible = "qcom,sc8180x-pmic-glink", "qcom,pmic-glink";
 56                                                    56 
 57                 #address-cells = <1>;              57                 #address-cells = <1>;
 58                 #size-cells = <0>;                 58                 #size-cells = <0>;
 59                                                    59 
 60                 connector@0 {                      60                 connector@0 {
 61                         compatible = "usb-c-co     61                         compatible = "usb-c-connector";
 62                         reg = <0>;                 62                         reg = <0>;
 63                         power-role = "dual";       63                         power-role = "dual";
 64                         data-role = "dual";        64                         data-role = "dual";
 65                                                    65 
 66                         ports {                    66                         ports {
 67                                 #address-cells     67                                 #address-cells = <1>;
 68                                 #size-cells =      68                                 #size-cells = <0>;
 69                                                    69 
 70                                 port@0 {           70                                 port@0 {
 71                                         reg =      71                                         reg = <0>;
 72                                                    72 
 73                                         pmic_g     73                                         pmic_glink_con0_hs: endpoint {
 74                                                !!  74                                                 remote-endpoint = <&usb_prim_role_switch>;
 75                                         };         75                                         };
 76                                 };                 76                                 };
 77                                                    77 
 78                                 port@1 {           78                                 port@1 {
 79                                         reg =      79                                         reg = <1>;
 80                                                    80 
 81                                         pmic_g     81                                         pmic_glink_con0_ss: endpoint {
 82                                                    82                                                 remote-endpoint = <&usb_prim_qmpphy_out>;
 83                                         };         83                                         };
 84                                 };                 84                                 };
 85                                                    85 
 86                                 port@2 {           86                                 port@2 {
 87                                         reg =      87                                         reg = <2>;
 88                                                    88 
 89                                         pmic_g     89                                         pmic_glink_con0_sbu: endpoint {
 90                                                    90                                                 remote-endpoint = <&usbprim_sbu_mux>;
 91                                         };         91                                         };
 92                                 };                 92                                 };
 93                         };                         93                         };
 94                 };                                 94                 };
 95                                                    95 
 96                 connector@1 {                      96                 connector@1 {
 97                         compatible = "usb-c-co     97                         compatible = "usb-c-connector";
 98                         reg = <1>;                 98                         reg = <1>;
 99                         power-role = "dual";       99                         power-role = "dual";
100                         data-role = "dual";       100                         data-role = "dual";
101                                                   101 
102                         ports {                   102                         ports {
103                                 #address-cells    103                                 #address-cells = <1>;
104                                 #size-cells =     104                                 #size-cells = <0>;
105                                 port@0 {          105                                 port@0 {
106                                         reg =     106                                         reg = <0>;
107                                                   107 
108                                         pmic_g    108                                         pmic_glink_con1_hs: endpoint {
109                                                !! 109                                                 remote-endpoint = <&usb_sec_role_switch>;
110                                         };        110                                         };
111                                 };                111                                 };
112                                                   112 
113                                 port@1 {          113                                 port@1 {
114                                         reg =     114                                         reg = <1>;
115                                                   115 
116                                         pmic_g    116                                         pmic_glink_con1_ss: endpoint {
117                                                   117                                                 remote-endpoint = <&usb_sec_qmpphy_out>;
118                                         };        118                                         };
119                                 };                119                                 };
120                                                   120 
121                                 port@2 {          121                                 port@2 {
122                                         reg =     122                                         reg = <2>;
123                                                   123 
124                                         pmic_g    124                                         pmic_glink_con1_sbu: endpoint {
125                                                   125                                                 remote-endpoint = <&usbsec_sbu_mux>;
126                                         };        126                                         };
127                                 };                127                                 };
128                         };                        128                         };
129                 };                                129                 };
130         };                                        130         };
131                                                   131 
132         reserved-memory {                         132         reserved-memory {
133                 rmtfs_mem: rmtfs-region@855000    133                 rmtfs_mem: rmtfs-region@85500000 {
134                         compatible = "qcom,rmt    134                         compatible = "qcom,rmtfs-mem";
135                         reg = <0x0 0x85500000     135                         reg = <0x0 0x85500000 0x0 0x200000>;
136                         no-map;                   136                         no-map;
137                                                   137 
138                         qcom,client-id = <1>;     138                         qcom,client-id = <1>;
139                         qcom,vmid = <QCOM_SCM_    139                         qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
140                 };                                140                 };
141                                                   141 
142                 wlan_mem: wlan-region@8bc00000    142                 wlan_mem: wlan-region@8bc00000 {
143                         reg = <0x0 0x8bc00000     143                         reg = <0x0 0x8bc00000 0x0 0x180000>;
144                         no-map;                   144                         no-map;
145                 };                                145                 };
146                                                   146 
147                 adsp_mem: adsp-region@96e00000    147                 adsp_mem: adsp-region@96e00000 {
148                         reg = <0x0 0x96e00000     148                         reg = <0x0 0x96e00000 0x0 0x1c00000>;
149                         no-map;                   149                         no-map;
150                 };                                150                 };
151                                                   151 
152                 mpss_mem: mpss-region@8d800000    152                 mpss_mem: mpss-region@8d800000 {
153                         reg = <0x0 0x8d800000     153                         reg = <0x0 0x8d800000 0x0 0x9600000>;
154                         no-map;                   154                         no-map;
155                 };                                155                 };
156                                                   156 
157                 gpu_mem: gpu-region@98a00000 {    157                 gpu_mem: gpu-region@98a00000 {
158                         reg = <0x0 0x98a00000     158                         reg = <0x0 0x98a00000 0x0 0x2000>;
159                         no-map;                   159                         no-map;
160                 };                                160                 };
161                                                   161 
162                 reserved-region@9a500000 {        162                 reserved-region@9a500000 {
163                         reg = <0x0 0x9a500000     163                         reg = <0x0 0x9a500000 0x0 0x600000>;
164                         no-map;                   164                         no-map;
165                 };                                165                 };
166         };                                        166         };
167                                                   167 
168         vreg_nvme_0p9: nvme-0p9-regulator {       168         vreg_nvme_0p9: nvme-0p9-regulator {
169                 compatible = "regulator-fixed"    169                 compatible = "regulator-fixed";
170                 regulator-name = "vreg_nvme_0p    170                 regulator-name = "vreg_nvme_0p9";
171                                                   171 
172                 regulator-min-microvolt = <900    172                 regulator-min-microvolt = <900000>;
173                 regulator-max-microvolt = <900    173                 regulator-max-microvolt = <900000>;
174                                                   174 
175                 regulator-always-on;              175                 regulator-always-on;
176         };                                        176         };
177                                                   177 
178         vreg_nvme_3p3: nvme-3p3-regulator {       178         vreg_nvme_3p3: nvme-3p3-regulator {
179                 compatible = "regulator-fixed"    179                 compatible = "regulator-fixed";
180                 regulator-name = "vreg_nvme_3p    180                 regulator-name = "vreg_nvme_3p3";
181                                                   181 
182                 regulator-min-microvolt = <330    182                 regulator-min-microvolt = <3300000>;
183                 regulator-max-microvolt = <330    183                 regulator-max-microvolt = <3300000>;
184                                                   184 
185                 gpio = <&pmc8180c_gpios 11 0>;    185                 gpio = <&pmc8180c_gpios 11 0>;
186                 enable-active-high;               186                 enable-active-high;
187                                                   187 
188                 regulator-always-on;              188                 regulator-always-on;
189         };                                        189         };
190                                                   190 
191         vdd_kb_tp_3v3: vdd-kb-tp-3v3-regulator    191         vdd_kb_tp_3v3: vdd-kb-tp-3v3-regulator {
192                 compatible = "regulator-fixed"    192                 compatible = "regulator-fixed";
193                 regulator-name = "vdd_kb_tp_3v    193                 regulator-name = "vdd_kb_tp_3v3";
194                 regulator-min-microvolt = <330    194                 regulator-min-microvolt = <3300000>;
195                 regulator-max-microvolt = <330    195                 regulator-max-microvolt = <3300000>;
196                                                   196 
197                 gpio = <&tlmm 4 GPIO_ACTIVE_HI    197                 gpio = <&tlmm 4 GPIO_ACTIVE_HIGH>;
198                 enable-active-high;               198                 enable-active-high;
199                                                   199 
200                 regulator-always-on;              200                 regulator-always-on;
201                                                   201 
202                 pinctrl-names = "default";        202                 pinctrl-names = "default";
203                 pinctrl-0 = <&kb_tp_3v3_en_act    203                 pinctrl-0 = <&kb_tp_3v3_en_active_state>;
204         };                                        204         };
205                                                   205 
206         vph_pwr: vph-pwr-regulator {              206         vph_pwr: vph-pwr-regulator {
207                 compatible = "regulator-fixed"    207                 compatible = "regulator-fixed";
208                 regulator-name = "vph_pwr";       208                 regulator-name = "vph_pwr";
209                 regulator-min-microvolt = <370    209                 regulator-min-microvolt = <3700000>;
210                 regulator-max-microvolt = <370    210                 regulator-max-microvolt = <3700000>;
211         };                                        211         };
212                                                   212 
213         vreg_s4a_1p8: pm8150-s4 {                 213         vreg_s4a_1p8: pm8150-s4 {
214                 compatible = "regulator-fixed"    214                 compatible = "regulator-fixed";
215                 regulator-name = "vreg_s4a_1p8    215                 regulator-name = "vreg_s4a_1p8";
216                                                   216 
217                 regulator-min-microvolt = <180    217                 regulator-min-microvolt = <1800000>;
218                 regulator-max-microvolt = <180    218                 regulator-max-microvolt = <1800000>;
219                                                   219 
220                 regulator-always-on;              220                 regulator-always-on;
221                 regulator-boot-on;                221                 regulator-boot-on;
222                                                   222 
223                 vin-supply = <&vph_pwr>;          223                 vin-supply = <&vph_pwr>;
224         };                                        224         };
225                                                   225 
226         vreg_usb2_host_en: regulator-usb2-host << 
227                 compatible = "regulator-fixed" << 
228                 regulator-name = "usb2_host_en << 
229                                                << 
230                 regulator-min-microvolt = <500 << 
231                 regulator-max-microvolt = <500 << 
232                                                << 
233                 gpio = <&pmc8180_1_gpios 9 GPI << 
234                 enable-active-high;            << 
235                                                << 
236                 regulator-always-on;           << 
237         };                                     << 
238                                                << 
239         vreg_usb3_host_en: regulator-usb3-host << 
240                 compatible = "regulator-fixed" << 
241                 regulator-name = "usb3_host_en << 
242                                                << 
243                 regulator-min-microvolt = <500 << 
244                 regulator-max-microvolt = <500 << 
245                                                << 
246                 gpio = <&pmc8180_2_gpios 9 GPI << 
247                 enable-active-high;            << 
248                                                << 
249                 regulator-always-on;           << 
250         };                                     << 
251                                                << 
252         usbprim-sbu-mux {                         226         usbprim-sbu-mux {
253                 compatible = "pericom,pi3usb10    227                 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
254                                                   228 
255                 enable-gpios = <&tlmm 152 GPIO    229                 enable-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
256                 select-gpios = <&tlmm 100 GPIO    230                 select-gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>;
257                                                   231 
258                 pinctrl-names = "default";        232                 pinctrl-names = "default";
259                 pinctrl-0 = <&usbprim_sbu_defa    233                 pinctrl-0 = <&usbprim_sbu_default>;
260                                                   234 
261                 mode-switch;                      235                 mode-switch;
262                 orientation-switch;               236                 orientation-switch;
263                                                   237 
264                 port {                            238                 port {
265                         usbprim_sbu_mux: endpo    239                         usbprim_sbu_mux: endpoint {
266                                 remote-endpoin    240                                 remote-endpoint = <&pmic_glink_con0_sbu>;
267                         };                        241                         };
268                 };                                242                 };
269         };                                        243         };
270                                                   244 
271         usbsec-sbu-mux {                          245         usbsec-sbu-mux {
272                 compatible = "pericom,pi3usb10    246                 compatible = "pericom,pi3usb102", "gpio-sbu-mux";
273                                                   247 
274                 enable-gpios = <&tlmm 188 GPIO    248                 enable-gpios = <&tlmm 188 GPIO_ACTIVE_LOW>;
275                 select-gpios = <&tlmm 187 GPIO    249                 select-gpios = <&tlmm 187 GPIO_ACTIVE_HIGH>;
276                                                   250 
277                 pinctrl-names = "default";        251                 pinctrl-names = "default";
278                 pinctrl-0 = <&usbsec_sbu_defau    252                 pinctrl-0 = <&usbsec_sbu_default>;
279                                                   253 
280                 mode-switch;                      254                 mode-switch;
281                 orientation-switch;               255                 orientation-switch;
282                                                   256 
283                 port {                            257                 port {
284                         usbsec_sbu_mux: endpoi    258                         usbsec_sbu_mux: endpoint {
285                                 remote-endpoin    259                                 remote-endpoint = <&pmic_glink_con1_sbu>;
286                         };                        260                         };
287                 };                                261                 };
288         };                                        262         };
289 };                                                263 };
290                                                   264 
291 &apps_rsc {                                       265 &apps_rsc {
292         regulators-0 {                            266         regulators-0 {
293                 compatible = "qcom,pmc8180-rpm    267                 compatible = "qcom,pmc8180-rpmh-regulators";
294                 qcom,pmic-id = "a";               268                 qcom,pmic-id = "a";
295                                                   269 
296                 vdd-s5-supply = <&vph_pwr>;       270                 vdd-s5-supply = <&vph_pwr>;
297                 vdd-l7-l12-l14-l15-supply = <&    271                 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p0>;
298                                                   272 
299                 vreg_s5a_2p0: smps5 {             273                 vreg_s5a_2p0: smps5 {
300                         regulator-min-microvol    274                         regulator-min-microvolt = <2040000>;
301                         regulator-max-microvol    275                         regulator-max-microvolt = <2100000>;
302                 };                                276                 };
303                                                   277 
304                 vreg_l7a_1p8: ldo7 {              278                 vreg_l7a_1p8: ldo7 {
305                         regulator-min-microvol    279                         regulator-min-microvolt = <1800000>;
306                         regulator-max-microvol    280                         regulator-max-microvolt = <1800000>;
307                         regulator-initial-mode    281                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
308                 };                                282                 };
309                                                   283 
310                 vreg_l9a_1p3: ldo9 {              284                 vreg_l9a_1p3: ldo9 {
311                         regulator-min-microvol    285                         regulator-min-microvolt = <1296000>;
312                         regulator-max-microvol    286                         regulator-max-microvolt = <1304000>;
313                         regulator-initial-mode    287                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
314                 };                                288                 };
315                                                   289 
316                 vreg_l12a_1p8: ldo12 {            290                 vreg_l12a_1p8: ldo12 {
317                         regulator-min-microvol    291                         regulator-min-microvolt = <1800000>;
318                         regulator-max-microvol    292                         regulator-max-microvolt = <1800000>;
319                         regulator-initial-mode    293                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
320                 };                                294                 };
321         };                                        295         };
322                                                   296 
323         regulators-1 {                            297         regulators-1 {
324                 compatible = "qcom,pmc8180c-rp    298                 compatible = "qcom,pmc8180c-rpmh-regulators";
325                 qcom,pmic-id = "c";               299                 qcom,pmic-id = "c";
326                                                   300 
327                 vdd-s6-supply = <&vph_pwr>;       301                 vdd-s6-supply = <&vph_pwr>;
328                 vdd-s8-supply = <&vph_pwr>;       302                 vdd-s8-supply = <&vph_pwr>;
329                 vdd-l2-l3-supply = <&vreg_s6c_    303                 vdd-l2-l3-supply = <&vreg_s6c_1p35>;
330                 vdd-bob-supply = <&vph_pwr>;      304                 vdd-bob-supply = <&vph_pwr>;
331                                                   305 
332                 vreg_s6c_1p35: smps6 {            306                 vreg_s6c_1p35: smps6 {
333                         regulator-min-microvol    307                         regulator-min-microvolt = <1350000>;
334                         regulator-max-microvol    308                         regulator-max-microvolt = <1372000>;
335                         regulator-initial-mode    309                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
336                 };                                310                 };
337                                                   311 
338                 vreg_s8c_1p8: smps8 {             312                 vreg_s8c_1p8: smps8 {
339                         regulator-min-microvol    313                         regulator-min-microvolt = <1800000>;
340                         regulator-max-microvol    314                         regulator-max-microvolt = <1800000>;
341                         regulator-initial-mode    315                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
342                         regulator-always-on;      316                         regulator-always-on;
343                 };                                317                 };
344                                                   318 
345                 vreg_l3c_1p2: ldo3 {              319                 vreg_l3c_1p2: ldo3 {
346                         regulator-min-microvol    320                         regulator-min-microvolt = <1200000>;
347                         regulator-max-microvol    321                         regulator-max-microvolt = <1200000>;
348                         regulator-initial-mode    322                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
349                 };                                323                 };
350                                                   324 
351                 vreg_l4c_3p3: ldo4 {              325                 vreg_l4c_3p3: ldo4 {
352                         regulator-min-microvol    326                         regulator-min-microvolt = <3008000>;
353                         regulator-max-microvol    327                         regulator-max-microvolt = <3008000>;
354                         regulator-initial-mode    328                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
355                 };                                329                 };
356                                                   330 
357                 vreg_l10c_3p3: ldo10 {            331                 vreg_l10c_3p3: ldo10 {
358                         regulator-min-microvol    332                         regulator-min-microvolt = <3000000>;
359                         regulator-max-microvol    333                         regulator-max-microvolt = <3312000>;
360                         regulator-initial-mode    334                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
361                 };                                335                 };
362                                                   336 
363                 vreg_l11c_3p3: ldo11 {            337                 vreg_l11c_3p3: ldo11 {
364                         regulator-min-microvol    338                         regulator-min-microvolt = <3296000>;
365                         regulator-max-microvol    339                         regulator-max-microvolt = <3304000>;
366                         regulator-initial-mode    340                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
367                 };                                341                 };
368                                                   342 
369                 vreg_bob: bob {                   343                 vreg_bob: bob {
370                         regulator-min-microvol    344                         regulator-min-microvolt = <3296000>;
371                         regulator-max-microvol    345                         regulator-max-microvolt = <3350000>;
372                         regulator-initial-mode    346                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
373                 };                                347                 };
374         };                                        348         };
375                                                   349 
376         regulators-2 {                            350         regulators-2 {
377                 compatible = "qcom,pmc8180-rpm    351                 compatible = "qcom,pmc8180-rpmh-regulators";
378                 qcom,pmic-id = "e";               352                 qcom,pmic-id = "e";
379                                                   353 
380                 vdd-s4-supply = <&vph_pwr>;       354                 vdd-s4-supply = <&vph_pwr>;
381                 vdd-s5-supply = <&vph_pwr>;       355                 vdd-s5-supply = <&vph_pwr>;
382                 vdd-l2-l10-supply = <&vreg_bob    356                 vdd-l2-l10-supply = <&vreg_bob>;
383                 vdd-l3-l4-l5-l18-supply = <&vr    357                 vdd-l3-l4-l5-l18-supply = <&vreg_s4e_0p98>;
384                 vdd-l7-l12-l14-l15-supply = <&    358                 vdd-l7-l12-l14-l15-supply = <&vreg_s5e_2p05>;
385                 vdd-l13-l16-l17-supply = <&vre    359                 vdd-l13-l16-l17-supply = <&vreg_bob>;
386                                                   360 
387                 vreg_s4e_0p98: smps4 {            361                 vreg_s4e_0p98: smps4 {
388                         regulator-min-microvol    362                         regulator-min-microvolt = <992000>;
389                         regulator-max-microvol    363                         regulator-max-microvolt = <992000>;
390                         regulator-initial-mode    364                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
391                 };                                365                 };
392                                                   366 
393                 vreg_s5e_2p05: smps5 {            367                 vreg_s5e_2p05: smps5 {
394                         regulator-min-microvol    368                         regulator-min-microvolt = <2040000>;
395                         regulator-max-microvol    369                         regulator-max-microvolt = <2040000>;
396                         regulator-initial-mode    370                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
397                 };                                371                 };
398                                                   372 
399                 vreg_l1e_0p75: ldo1 {             373                 vreg_l1e_0p75: ldo1 {
400                         regulator-min-microvol    374                         regulator-min-microvolt = <752000>;
401                         regulator-max-microvol    375                         regulator-max-microvolt = <752000>;
402                         regulator-initial-mode    376                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
403                 };                                377                 };
404                                                   378 
405                 vreg_l5e_0p88: ldo5 {             379                 vreg_l5e_0p88: ldo5 {
406                         regulator-min-microvol    380                         regulator-min-microvolt = <880000>;
407                         regulator-max-microvol    381                         regulator-max-microvolt = <880000>;
408                         regulator-initial-mode    382                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
409                 };                                383                 };
410                                                   384 
411                 vreg_l7e_1p8: ldo7 {              385                 vreg_l7e_1p8: ldo7 {
412                         regulator-min-microvol    386                         regulator-min-microvolt = <1800000>;
413                         regulator-max-microvol    387                         regulator-max-microvolt = <1800000>;
414                         regulator-initial-mode    388                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
415                         regulator-allowed-mode    389                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
416                                                   390                                                    RPMH_REGULATOR_MODE_HPM>;
417                         regulator-allow-set-lo    391                         regulator-allow-set-load;
418                 };                                392                 };
419                                                   393 
420                 vreg_l10e_2p9: ldo10 {            394                 vreg_l10e_2p9: ldo10 {
421                         regulator-min-microvol    395                         regulator-min-microvolt = <2904000>;
422                         regulator-max-microvol    396                         regulator-max-microvolt = <2904000>;
423                         regulator-initial-mode    397                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
424                         regulator-allowed-mode    398                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
425                                                   399                                                    RPMH_REGULATOR_MODE_HPM>;
426                         regulator-allow-set-lo    400                         regulator-allow-set-load;
427                 };                                401                 };
428                                                   402 
429                 vreg_l12e: ldo12 {                403                 vreg_l12e: ldo12 {
430                         regulator-min-microvol    404                         regulator-min-microvolt = <1800000>;
431                         regulator-max-microvol    405                         regulator-max-microvolt = <1800000>;
432                         regulator-initial-mode    406                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
433                 };                                407                 };
434                                                   408 
435                 vreg_l16e_3p0: ldo16 {            409                 vreg_l16e_3p0: ldo16 {
436                         regulator-min-microvol    410                         regulator-min-microvolt = <3072000>;
437                         regulator-max-microvol    411                         regulator-max-microvolt = <3072000>;
438                         regulator-initial-mode    412                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
439                 };                                413                 };
440         };                                        414         };
441 };                                                415 };
442                                                   416 
443 &gpu {                                            417 &gpu {
444         status = "okay";                          418         status = "okay";
445                                                   419 
446         zap-shader {                              420         zap-shader {
447                 memory-region = <&gpu_mem>;       421                 memory-region = <&gpu_mem>;
448                 firmware-name = "qcom/sc8180x/    422                 firmware-name = "qcom/sc8180x/qcdxkmsuc8180.mbn";
449         };                                        423         };
450 };                                                424 };
451                                                   425 
452 &i2c1 {                                           426 &i2c1 {
453         clock-frequency = <100000>;               427         clock-frequency = <100000>;
454                                                   428 
455         pinctrl-names = "default";                429         pinctrl-names = "default";
456         pinctrl-0 = <&ts_i2c_active_state>;       430         pinctrl-0 = <&ts_i2c_active_state>;
457                                                   431 
458         status = "okay";                          432         status = "okay";
459                                                   433 
460         touchscreen@10 {                          434         touchscreen@10 {
461                 compatible = "hid-over-i2c";      435                 compatible = "hid-over-i2c";
462                 reg = <0x10>;                     436                 reg = <0x10>;
463                 hid-descr-addr = <0x1>;           437                 hid-descr-addr = <0x1>;
464                                                   438 
465                 vdd-supply = <&vreg_l4c_3p3>;     439                 vdd-supply = <&vreg_l4c_3p3>;
466                 vddl-supply = <&vreg_l12e>;       440                 vddl-supply = <&vreg_l12e>;
467                                                   441 
468                 post-power-on-delay-ms = <20>;    442                 post-power-on-delay-ms = <20>;
469                                                   443 
470                 interrupts-extended = <&tlmm 1    444                 interrupts-extended = <&tlmm 122 IRQ_TYPE_LEVEL_LOW>;
471                                                   445 
472                 pinctrl-names = "default";        446                 pinctrl-names = "default";
473                 pinctrl-0 = <&ts_active_state>    447                 pinctrl-0 = <&ts_active_state>;
474         };                                        448         };
475 };                                                449 };
476                                                   450 
477 &i2c7 {                                           451 &i2c7 {
478         clock-frequency = <100000>;               452         clock-frequency = <100000>;
479                                                   453 
480         pinctrl-names = "default";                454         pinctrl-names = "default";
481         pinctrl-0 = <&aux_i2c_active_state>;      455         pinctrl-0 = <&aux_i2c_active_state>;
482                                                   456 
483         status = "okay";                          457         status = "okay";
484                                                   458 
485         touchpad@15 {                             459         touchpad@15 {
486                 compatible = "hid-over-i2c";      460                 compatible = "hid-over-i2c";
487                 reg = <0x15>;                     461                 reg = <0x15>;
488                 hid-descr-addr = <0x1>;           462                 hid-descr-addr = <0x1>;
489                                                   463 
490                 interrupts-extended = <&tlmm 2    464                 interrupts-extended = <&tlmm 24 IRQ_TYPE_LEVEL_LOW>;
491                                                   465 
492                 pinctrl-names = "default";        466                 pinctrl-names = "default";
493                 pinctrl-0 = <&tp_int_active_st    467                 pinctrl-0 = <&tp_int_active_state>;
494                                                   468 
495                 vdd-supply = <&vdd_kb_tp_3v3>;    469                 vdd-supply = <&vdd_kb_tp_3v3>;
496         };                                        470         };
497                                                   471 
498         keyboard@3a {                             472         keyboard@3a {
499                 compatible = "hid-over-i2c";      473                 compatible = "hid-over-i2c";
500                 reg = <0x3a>;                     474                 reg = <0x3a>;
501                 hid-descr-addr = <0x1>;           475                 hid-descr-addr = <0x1>;
502                 interrupts-extended = <&tlmm 3    476                 interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_LOW>;
503                                                   477 
504                 pinctrl-names = "default";        478                 pinctrl-names = "default";
505                 pinctrl-0 = <&kb_int_active_st    479                 pinctrl-0 = <&kb_int_active_state>;
506                                                   480 
507                 vdd-supply = <&vdd_kb_tp_3v3>;    481                 vdd-supply = <&vdd_kb_tp_3v3>;
508         };                                        482         };
509 };                                                483 };
510                                                   484 
511 &mdss {                                           485 &mdss {
512         status = "okay";                          486         status = "okay";
513 };                                                487 };
514                                                   488 
515 &mdss_dp0 {                                       489 &mdss_dp0 {
516         status = "okay";                          490         status = "okay";
517 };                                                491 };
518                                                   492 
519 &mdss_dp0_out {                                   493 &mdss_dp0_out {
520         data-lanes = <0 1>;                       494         data-lanes = <0 1>;
521         remote-endpoint = <&usb_prim_qmpphy_dp    495         remote-endpoint = <&usb_prim_qmpphy_dp_in>;
522 };                                                496 };
523                                                   497 
524 &mdss_dp1 {                                       498 &mdss_dp1 {
525         status = "okay";                          499         status = "okay";
526 };                                                500 };
527                                                   501 
528 &mdss_dp1_out {                                   502 &mdss_dp1_out {
529         data-lanes = <0 1>;                       503         data-lanes = <0 1>;
530         remote-endpoint = <&usb_sec_qmpphy_dp_    504         remote-endpoint = <&usb_sec_qmpphy_dp_in>;
531 };                                                505 };
532                                                   506 
533 &mdss_edp {                                       507 &mdss_edp {
534         data-lanes = <0 1 2 3>;                   508         data-lanes = <0 1 2 3>;
535                                                   509 
536         pinctrl-names = "default";                510         pinctrl-names = "default";
537         pinctrl-0 = <&edp_hpd_active>;            511         pinctrl-0 = <&edp_hpd_active>;
538                                                   512 
539         status = "okay";                          513         status = "okay";
540                                                   514 
541         aux-bus {                                 515         aux-bus {
542                 panel {                           516                 panel {
543                         compatible = "edp-pane    517                         compatible = "edp-panel";
544                                                   518 
545                         backlight = <&backligh    519                         backlight = <&backlight>;
546                                                   520 
547                         port {                    521                         port {
548                                 auo_b133han05_    522                                 auo_b133han05_in: endpoint {
549                                         remote    523                                         remote-endpoint = <&mdss_edp_out>;
550                                 };                524                                 };
551                         };                        525                         };
552                 };                                526                 };
553         };                                        527         };
554                                                   528 
555         ports {                                   529         ports {
556                 port@1 {                          530                 port@1 {
557                         reg = <1>;                531                         reg = <1>;
558                         mdss_edp_out: endpoint    532                         mdss_edp_out: endpoint {
559                                 remote-endpoin    533                                 remote-endpoint = <&auo_b133han05_in>;
560                         };                        534                         };
561                 };                                535                 };
562         };                                        536         };
563 };                                                537 };
564                                                   538 
565 &pcie1 {                                          539 &pcie1 {
566         perst-gpios = <&tlmm 175 GPIO_ACTIVE_L    540         perst-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>;
567         wake-gpios = <&tlmm 177 GPIO_ACTIVE_HI    541         wake-gpios = <&tlmm 177 GPIO_ACTIVE_HIGH>;
568         pinctrl-names = "default";                542         pinctrl-names = "default";
569         pinctrl-0 = <&pcie2_default_state>;       543         pinctrl-0 = <&pcie2_default_state>;
570                                                   544 
571         status = "okay";                          545         status = "okay";
572 };                                                546 };
573                                                   547 
574 &pcie1_phy {                                      548 &pcie1_phy {
575         vdda-phy-supply = <&vreg_l5e_0p88>;       549         vdda-phy-supply = <&vreg_l5e_0p88>;
576         vdda-pll-supply = <&vreg_l3c_1p2>;        550         vdda-pll-supply = <&vreg_l3c_1p2>;
577                                                   551 
578         status = "okay";                          552         status = "okay";
579 };                                                553 };
580                                                   554 
581 &pmc8180_pwrkey {                              << 
582         status = "okay";                       << 
583 };                                             << 
584                                                << 
585 &pmc8180c_lpg {                                   555 &pmc8180c_lpg {
586         status = "okay";                          556         status = "okay";
587 };                                                557 };
588                                                   558 
589 &qupv3_id_0 {                                     559 &qupv3_id_0 {
590         status = "okay";                          560         status = "okay";
591 };                                                561 };
592                                                   562 
593 &qupv3_id_1 {                                     563 &qupv3_id_1 {
594         status = "okay";                          564         status = "okay";
595 };                                                565 };
596                                                   566 
597 &qupv3_id_2 {                                     567 &qupv3_id_2 {
598         status = "okay";                          568         status = "okay";
599 };                                                569 };
600                                                   570 
601 &remoteproc_adsp {                                571 &remoteproc_adsp {
602         memory-region = <&adsp_mem>;              572         memory-region = <&adsp_mem>;
603         firmware-name = "qcom/sc8180x/qcadsp81    573         firmware-name = "qcom/sc8180x/qcadsp8180.mbn";
604                                                   574 
605         status = "okay";                          575         status = "okay";
606 };                                                576 };
607                                                   577 
608 &remoteproc_mpss {                                578 &remoteproc_mpss {
609         memory-region = <&mpss_mem>;              579         memory-region = <&mpss_mem>;
610         firmware-name = "qcom/sc8180x/qcmpss81    580         firmware-name = "qcom/sc8180x/qcmpss8180.mbn";
611                                                   581 
612         status = "okay";                          582         status = "okay";
613 };                                                583 };
614                                                   584 
615 &uart12 {                                         585 &uart12 {
616         compatible = "qcom,geni-debug-uart";      586         compatible = "qcom,geni-debug-uart";
617         status = "okay";                          587         status = "okay";
618 };                                                588 };
619                                                   589 
620 &uart13 {                                         590 &uart13 {
621         pinctrl-names = "default";                591         pinctrl-names = "default";
622         pinctrl-0 = <&uart13_state>;              592         pinctrl-0 = <&uart13_state>;
623                                                   593 
624         status = "okay";                          594         status = "okay";
625                                                   595 
626         bluetooth {                               596         bluetooth {
627                 compatible = "qcom,wcn3998-bt"    597                 compatible = "qcom,wcn3998-bt";
628                                                   598 
629                 vddio-supply = <&vreg_s4a_1p8>    599                 vddio-supply = <&vreg_s4a_1p8>;
630                 vddxo-supply = <&vreg_l7a_1p8>    600                 vddxo-supply = <&vreg_l7a_1p8>;
631                 vddrf-supply = <&vreg_l9a_1p3>    601                 vddrf-supply = <&vreg_l9a_1p3>;
632                 vddch0-supply = <&vreg_l11c_3p    602                 vddch0-supply = <&vreg_l11c_3p3>;
633                 max-speed = <3200000>;            603                 max-speed = <3200000>;
634         };                                        604         };
635 };                                                605 };
636                                                   606 
637 &ufs_mem_hc {                                     607 &ufs_mem_hc {
638         reset-gpios = <&tlmm 190 GPIO_ACTIVE_L    608         reset-gpios = <&tlmm 190 GPIO_ACTIVE_LOW>;
639                                                   609 
640         vcc-supply = <&vreg_l10e_2p9>;            610         vcc-supply = <&vreg_l10e_2p9>;
641         vcc-max-microamp = <155000>;              611         vcc-max-microamp = <155000>;
642                                                   612 
643         vccq2-supply = <&vreg_l7e_1p8>;           613         vccq2-supply = <&vreg_l7e_1p8>;
644         vccq2-max-microamp = <425000>;            614         vccq2-max-microamp = <425000>;
645                                                   615 
646         status = "okay";                          616         status = "okay";
647 };                                                617 };
648                                                   618 
649 &ufs_mem_phy {                                    619 &ufs_mem_phy {
650         vdda-phy-supply = <&vreg_l5e_0p88>;       620         vdda-phy-supply = <&vreg_l5e_0p88>;
651         vdda-pll-supply = <&vreg_l3c_1p2>;        621         vdda-pll-supply = <&vreg_l3c_1p2>;
652                                                   622 
653         status = "okay";                          623         status = "okay";
654 };                                                624 };
655                                                   625 
656 &usb_mp {                                      << 
657         status = "okay";                       << 
658 };                                             << 
659                                                << 
660 &usb_mp_hsphy0 {                               << 
661         vdda-pll-supply = <&vreg_l5e_0p88>;    << 
662         vdda18-supply = <&vreg_l12a_1p8>;      << 
663         vdda33-supply = <&vreg_l16e_3p0>;      << 
664                                                << 
665         status = "okay";                       << 
666 };                                             << 
667                                                << 
668 &usb_mp_hsphy1 {                               << 
669         vdda-pll-supply = <&vreg_l5e_0p88>;    << 
670         vdda18-supply = <&vreg_l12a_1p8>;      << 
671         vdda33-supply = <&vreg_l16e_3p0>;      << 
672                                                << 
673         status = "okay";                       << 
674 };                                             << 
675                                                << 
676 &usb_mp_qmpphy0 {                              << 
677         vdda-phy-supply = <&vreg_l3c_1p2>;     << 
678         vdda-pll-supply = <&vreg_l5e_0p88>;    << 
679                                                << 
680         status = "okay";                       << 
681 };                                             << 
682                                                << 
683 &usb_mp_qmpphy1 {                              << 
684         vdda-phy-supply = <&vreg_l3c_1p2>;     << 
685         vdda-pll-supply = <&vreg_l5e_0p88>;    << 
686                                                << 
687         status = "okay";                       << 
688 };                                             << 
689                                                << 
690 &usb_prim_hsphy {                                 626 &usb_prim_hsphy {
691         vdda-pll-supply = <&vreg_l5e_0p88>;       627         vdda-pll-supply = <&vreg_l5e_0p88>;
692         vdda18-supply = <&vreg_l12a_1p8>;         628         vdda18-supply = <&vreg_l12a_1p8>;
693         vdda33-supply = <&vreg_l16e_3p0>;         629         vdda33-supply = <&vreg_l16e_3p0>;
694                                                   630 
695         status = "okay";                          631         status = "okay";
696 };                                                632 };
697                                                   633 
698 &usb_prim_qmpphy {                                634 &usb_prim_qmpphy {
699         vdda-phy-supply = <&vreg_l3c_1p2>;        635         vdda-phy-supply = <&vreg_l3c_1p2>;
700         vdda-pll-supply = <&vreg_l5e_0p88>;       636         vdda-pll-supply = <&vreg_l5e_0p88>;
701                                                   637 
702         orientation-switch;                       638         orientation-switch;
703                                                   639 
704         status = "okay";                          640         status = "okay";
705 };                                                641 };
706                                                   642 
707 &usb_prim {                                       643 &usb_prim {
708         status = "okay";                          644         status = "okay";
709 };                                                645 };
710                                                   646 
711 &usb_prim_dwc3 {                                  647 &usb_prim_dwc3 {
712         dr_mode = "host";                         648         dr_mode = "host";
713 };                                                649 };
714                                                   650 
715 &usb_prim_dwc3_hs {                            << 
716         remote-endpoint = <&pmic_glink_con0_hs << 
717 };                                             << 
718                                                << 
719 &usb_prim_qmpphy_dp_in {                          651 &usb_prim_qmpphy_dp_in {
720         remote-endpoint = <&mdss_dp0_out>;        652         remote-endpoint = <&mdss_dp0_out>;
721 };                                                653 };
722                                                   654 
723 &usb_prim_qmpphy_out {                            655 &usb_prim_qmpphy_out {
724         remote-endpoint = <&pmic_glink_con0_ss    656         remote-endpoint = <&pmic_glink_con0_ss>;
725 };                                                657 };
726                                                   658 
                                                   >> 659 &usb_prim_role_switch {
                                                   >> 660         remote-endpoint = <&pmic_glink_con0_hs>;
                                                   >> 661 };
                                                   >> 662 
727 &usb_sec_hsphy {                                  663 &usb_sec_hsphy {
728         vdda-pll-supply = <&vreg_l5e_0p88>;       664         vdda-pll-supply = <&vreg_l5e_0p88>;
729         vdda18-supply = <&vreg_l12a_1p8>;         665         vdda18-supply = <&vreg_l12a_1p8>;
730         vdda33-supply = <&vreg_l16e_3p0>;         666         vdda33-supply = <&vreg_l16e_3p0>;
731                                                   667 
732         status = "okay";                          668         status = "okay";
733 };                                                669 };
734                                                   670 
735 &usb_sec_qmpphy {                                 671 &usb_sec_qmpphy {
736         vdda-phy-supply = <&vreg_l3c_1p2>;        672         vdda-phy-supply = <&vreg_l3c_1p2>;
737         vdda-pll-supply = <&vreg_l5e_0p88>;       673         vdda-pll-supply = <&vreg_l5e_0p88>;
738                                                   674 
739         orientation-switch;                       675         orientation-switch;
740                                                   676 
741         status = "okay";                          677         status = "okay";
742 };                                                678 };
743                                                   679 
744 &usb_sec_qmpphy_dp_in {                           680 &usb_sec_qmpphy_dp_in {
745         remote-endpoint = <&mdss_dp1_out>;        681         remote-endpoint = <&mdss_dp1_out>;
746 };                                                682 };
747                                                   683 
748 &usb_sec_qmpphy_out {                             684 &usb_sec_qmpphy_out {
749         remote-endpoint = <&pmic_glink_con1_ss    685         remote-endpoint = <&pmic_glink_con1_ss>;
750 };                                                686 };
751                                                   687 
                                                   >> 688 &usb_sec_role_switch {
                                                   >> 689         remote-endpoint = <&pmic_glink_con1_hs>;
                                                   >> 690 };
                                                   >> 691 
752 &usb_sec {                                        692 &usb_sec {
753         status = "okay";                          693         status = "okay";
754 };                                                694 };
755                                                   695 
756 &usb_sec_dwc3 {                                   696 &usb_sec_dwc3 {
757         dr_mode = "host";                         697         dr_mode = "host";
758 };                                             << 
759                                                << 
760 &usb_sec_dwc3_hs {                             << 
761         remote-endpoint = <&pmic_glink_con1_hs << 
762 };                                                698 };
763                                                   699 
764 &wifi {                                           700 &wifi {
765         memory-region = <&wlan_mem>;              701         memory-region = <&wlan_mem>;
766                                                   702 
767         vdd-0.8-cx-mx-supply = <&vreg_l1e_0p75    703         vdd-0.8-cx-mx-supply = <&vreg_l1e_0p75>;
768         vdd-1.8-xo-supply = <&vreg_l7a_1p8>;      704         vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
769         vdd-1.3-rfa-supply = <&vreg_l9a_1p3>;     705         vdd-1.3-rfa-supply = <&vreg_l9a_1p3>;
770         vdd-3.3-ch0-supply = <&vreg_l11c_3p3>;    706         vdd-3.3-ch0-supply = <&vreg_l11c_3p3>;
771         vdd-3.3-ch1-supply = <&vreg_l10c_3p3>;    707         vdd-3.3-ch1-supply = <&vreg_l10c_3p3>;
772                                                   708 
773         status = "okay";                          709         status = "okay";
774 };                                                710 };
775                                                   711 
776 &xo_board_clk {                                   712 &xo_board_clk {
777         clock-frequency = <38400000>;             713         clock-frequency = <38400000>;
778 };                                                714 };
779                                                   715 
780 /* PINCTRL */                                     716 /* PINCTRL */
781                                                   717 
782 &pmc8180c_gpios {                                 718 &pmc8180c_gpios {
783         bl_pwm_default: bl-pwm-default-state {    719         bl_pwm_default: bl-pwm-default-state {
784                 en-pins {                         720                 en-pins {
785                         pins = "gpio8";           721                         pins = "gpio8";
786                         function = "normal";      722                         function = "normal";
787                 };                                723                 };
788                                                   724 
789                 pwm-pins {                        725                 pwm-pins {
790                         pins = "gpio10";          726                         pins = "gpio10";
791                         function = "func1";       727                         function = "func1";
792                 };                                728                 };
793         };                                        729         };
794 };                                                730 };
795                                                   731 
796 &tlmm {                                           732 &tlmm {
797         gpio-reserved-ranges = <0 4>, <47 4>,     733         gpio-reserved-ranges = <0 4>, <47 4>, <126 4>;
798                                                   734 
799         aux_i2c_active_state: aux-i2c-active-s    735         aux_i2c_active_state: aux-i2c-active-state {
800                 pins = "gpio98", "gpio99";        736                 pins = "gpio98", "gpio99";
801                 function = "qup7";                737                 function = "qup7";
802                                                   738 
803                 bias-disable;                     739                 bias-disable;
804                 drive-strength = <16>;            740                 drive-strength = <16>;
805         };                                        741         };
806                                                   742 
807         edp_hpd_active: epd-hpd-active-state {    743         edp_hpd_active: epd-hpd-active-state {
808                 pins = "gpio10";                  744                 pins = "gpio10";
809                 function = "edp_hot";             745                 function = "edp_hot";
810         };                                        746         };
811                                                   747 
812         hall_int_active_state: hall-int-active    748         hall_int_active_state: hall-int-active-state {
813                 pins = "gpio121";                 749                 pins = "gpio121";
814                 function = "gpio";                750                 function = "gpio";
815                                                   751 
816                 bias-disable;                     752                 bias-disable;
817         };                                        753         };
818                                                   754 
819         kb_int_active_state: kb-int-active-sta    755         kb_int_active_state: kb-int-active-state {
820                 int-n-pins {                      756                 int-n-pins {
821                         pins = "gpio37";          757                         pins = "gpio37";
822                         function = "gpio";        758                         function = "gpio";
823                                                   759 
824                         bias-pull-up;             760                         bias-pull-up;
825                 };                                761                 };
826                                                   762 
827                 kp-disable-pins {                 763                 kp-disable-pins {
828                         pins = "gpio135";         764                         pins = "gpio135";
829                         function = "gpio";        765                         function = "gpio";
830                                                   766 
831                         output-high;              767                         output-high;
832                 };                                768                 };
833         };                                        769         };
834                                                   770 
835         kb_tp_3v3_en_active_state: kb-tp-3v3-e    771         kb_tp_3v3_en_active_state: kb-tp-3v3-en-active-state {
836                 pins = "gpio4";                   772                 pins = "gpio4";
837                 function = "gpio";                773                 function = "gpio";
838                                                   774 
839                 bias-disable;                     775                 bias-disable;
840         };                                        776         };
841                                                   777 
842         pcie2_default_state: pcie2-default-sta    778         pcie2_default_state: pcie2-default-state {
843                 clkreq-pins {                     779                 clkreq-pins {
844                         pins = "gpio176";         780                         pins = "gpio176";
845                         function = "pci_e2";      781                         function = "pci_e2";
846                         bias-pull-up;             782                         bias-pull-up;
847                 };                                783                 };
848                                                   784 
849                 reset-n-pins {                    785                 reset-n-pins {
850                         pins = "gpio175";         786                         pins = "gpio175";
851                         function = "gpio";        787                         function = "gpio";
852                                                   788 
853                         drive-strength = <2>;     789                         drive-strength = <2>;
854                         output-low;               790                         output-low;
855                         bias-pull-down;           791                         bias-pull-down;
856                 };                                792                 };
857                                                   793 
858                 wake-n-pins {                     794                 wake-n-pins {
859                         pins = "gpio177";         795                         pins = "gpio177";
860                         function = "gpio";        796                         function = "gpio";
861                                                   797 
862                         drive-strength = <2>;     798                         drive-strength = <2>;
863                         bias-pull-up;             799                         bias-pull-up;
864                 };                                800                 };
865         };                                        801         };
866                                                   802 
867         usbprim_sbu_default: usbprim-sbu-state    803         usbprim_sbu_default: usbprim-sbu-state {
868                 oe-n-pins {                       804                 oe-n-pins {
869                         pins = "gpio152";         805                         pins = "gpio152";
870                         function = "gpio";        806                         function = "gpio";
871                         bias-disable;             807                         bias-disable;
872                         drive-strength = <16>;    808                         drive-strength = <16>;
873                         output-high;              809                         output-high;
874                 };                                810                 };
875                                                   811 
876                 sel-pins {                        812                 sel-pins {
877                         pins = "gpio100";         813                         pins = "gpio100";
878                         function = "gpio";        814                         function = "gpio";
879                         bias-disable;             815                         bias-disable;
880                         drive-strength = <16>;    816                         drive-strength = <16>;
881                 };                                817                 };
882         };                                        818         };
883                                                   819 
884         usbsec_sbu_default: usbsec-sbu-state {    820         usbsec_sbu_default: usbsec-sbu-state {
885                 oe-n-pins {                       821                 oe-n-pins {
886                         pins = "gpio188";         822                         pins = "gpio188";
887                         function = "gpio";        823                         function = "gpio";
888                         bias-disable;             824                         bias-disable;
889                         drive-strength = <16>;    825                         drive-strength = <16>;
890                         output-high;              826                         output-high;
891                 };                                827                 };
892                                                   828 
893                 sel-pins {                        829                 sel-pins {
894                         pins = "gpio187";         830                         pins = "gpio187";
895                         function = "gpio";        831                         function = "gpio";
896                         bias-disable;             832                         bias-disable;
897                         drive-strength = <16>;    833                         drive-strength = <16>;
898                 };                                834                 };
899         };                                        835         };
900                                                   836 
901         tp_int_active_state: tp-int-active-sta    837         tp_int_active_state: tp-int-active-state {
902                 tp-int-pins {                     838                 tp-int-pins {
903                         pins = "gpio24";          839                         pins = "gpio24";
904                         function = "gpio";        840                         function = "gpio";
905                                                   841 
906                         bias-disable;             842                         bias-disable;
907                 };                                843                 };
908                                                   844 
909                 tp-close-n-pins {                 845                 tp-close-n-pins {
910                         pins = "gpio116";         846                         pins = "gpio116";
911                         function = "gpio";        847                         function = "gpio";
912                                                   848 
913                         bias-disable;             849                         bias-disable;
914                 };                                850                 };
915         };                                        851         };
916                                                   852 
917         ts_active_state: ts-active-state {        853         ts_active_state: ts-active-state {
918                 int-n-pins {                      854                 int-n-pins {
919                         pins = "gpio122";         855                         pins = "gpio122";
920                         function = "gpio";        856                         function = "gpio";
921                                                   857 
922                         bias-disable;             858                         bias-disable;
923                 };                                859                 };
924                                                   860 
925                 reset-n-pins {                    861                 reset-n-pins {
926                         pins = "gpio54";          862                         pins = "gpio54";
927                         function = "gpio";        863                         function = "gpio";
928                                                   864 
929                         output-high;              865                         output-high;
930                 };                                866                 };
931         };                                        867         };
932                                                   868 
933         ts_i2c_active_state: ts-i2c-active-sta    869         ts_i2c_active_state: ts-i2c-active-state {
934                 pins = "gpio114", "gpio115";      870                 pins = "gpio114", "gpio115";
935                 function = "qup1";                871                 function = "qup1";
936                                                   872 
937                 /* External pull up */            873                 /* External pull up */
938                 bias-disable;                     874                 bias-disable;
939                 drive-strength = <2>;             875                 drive-strength = <2>;
940         };                                        876         };
941                                                   877 
942         uart13_state: uart13-state {              878         uart13_state: uart13-state {
943                 cts-pins {                        879                 cts-pins {
944                         pins = "gpio43";          880                         pins = "gpio43";
945                         function = "qup13";       881                         function = "qup13";
946                         bias-pull-down;           882                         bias-pull-down;
947                 };                                883                 };
948                                                   884 
949                 rts-tx-pins {                     885                 rts-tx-pins {
950                         pins = "gpio44", "gpio    886                         pins = "gpio44", "gpio45";
951                         function = "qup13";       887                         function = "qup13";
952                         drive-strength = <2>;     888                         drive-strength = <2>;
953                         bias-disable;             889                         bias-disable;
954                 };                                890                 };
955                                                   891 
956                 rx-pins {                         892                 rx-pins {
957                         pins = "gpio46";          893                         pins = "gpio46";
958                         function = "qup13";       894                         function = "qup13";
959                         bias-pull-up;             895                         bias-pull-up;
960                 };                                896                 };
961         };                                        897         };
962 };                                                898 };
                                                      

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