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

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


  1 // SPDX-License-Identifier: BSD-3-Clause            1 // SPDX-License-Identifier: BSD-3-Clause
  2 /*                                                  2 /*
  3  * Copyright (c) 2021, Linaro Limited               3  * Copyright (c) 2021, Linaro Limited
  4  */                                                 4  */
  5                                                     5 
  6 /dts-v1/;                                           6 /dts-v1/;
  7                                                     7 
  8 #include <dt-bindings/regulator/qcom,rpmh-regu      8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
  9 #include <dt-bindings/gpio/gpio.h>                  9 #include <dt-bindings/gpio/gpio.h>
 10 #include "sa8155p.dtsi"                        !!  10 #include "sm8150.dtsi"
 11 #include "pmm8155au_1.dtsi"                        11 #include "pmm8155au_1.dtsi"
 12 #include "pmm8155au_2.dtsi"                        12 #include "pmm8155au_2.dtsi"
 13                                                    13 
 14 / {                                                14 / {
 15         model = "Qualcomm Technologies, Inc. S     15         model = "Qualcomm Technologies, Inc. SA8155P ADP";
 16         compatible = "qcom,sa8155p-adp", "qcom     16         compatible = "qcom,sa8155p-adp", "qcom,sa8155p";
 17                                                    17 
 18         aliases {                                  18         aliases {
 19                 serial0 = &uart2;                  19                 serial0 = &uart2;
 20                 serial1 = &uart9;              << 
 21         };                                         20         };
 22                                                    21 
 23         chosen {                                   22         chosen {
 24                 stdout-path = "serial0:115200n     23                 stdout-path = "serial0:115200n8";
 25         };                                         24         };
 26                                                    25 
 27         vreg_3p3: vreg-3p3-regulator {         !!  26         vreg_3p3: vreg_3p3_regulator {
 28                 compatible = "regulator-fixed"     27                 compatible = "regulator-fixed";
 29                 regulator-name = "vreg_3p3";       28                 regulator-name = "vreg_3p3";
 30                 regulator-min-microvolt = <330     29                 regulator-min-microvolt = <3300000>;
 31                 regulator-max-microvolt = <330     30                 regulator-max-microvolt = <3300000>;
 32         };                                         31         };
 33                                                    32 
 34         /*                                         33         /*
 35          * S4A is always on and not controllab     34          * S4A is always on and not controllable through RPMh.
 36          * So model it as a fixed regulator.       35          * So model it as a fixed regulator.
 37          */                                        36          */
 38         vreg_s4a_1p8: smps4 {                      37         vreg_s4a_1p8: smps4 {
 39                 compatible = "regulator-fixed"     38                 compatible = "regulator-fixed";
 40                 regulator-name = "vreg_s4a_1p8     39                 regulator-name = "vreg_s4a_1p8";
 41                                                    40 
 42                 regulator-min-microvolt = <180     41                 regulator-min-microvolt = <1800000>;
 43                 regulator-max-microvolt = <180     42                 regulator-max-microvolt = <1800000>;
 44                                                    43 
 45                 regulator-always-on;               44                 regulator-always-on;
 46                 regulator-boot-on;                 45                 regulator-boot-on;
                                                   >>  46                 regulator-allow-set-load;
 47                                                    47 
 48                 vin-supply = <&vreg_3p3>;          48                 vin-supply = <&vreg_3p3>;
 49         };                                         49         };
                                                   >>  50 
                                                   >>  51         mtl_rx_setup: rx-queues-config {
                                                   >>  52                 snps,rx-queues-to-use = <1>;
                                                   >>  53                 snps,rx-sched-sp;
                                                   >>  54 
                                                   >>  55                 queue0 {
                                                   >>  56                         snps,dcb-algorithm;
                                                   >>  57                         snps,map-to-dma-channel = <0x0>;
                                                   >>  58                         snps,route-up;
                                                   >>  59                         snps,priority = <0x1>;
                                                   >>  60                 };
                                                   >>  61         };
                                                   >>  62 
                                                   >>  63         mtl_tx_setup: tx-queues-config {
                                                   >>  64                 snps,tx-queues-to-use = <1>;
                                                   >>  65                 snps,tx-sched-wrr;
                                                   >>  66 
                                                   >>  67                 queue0 {
                                                   >>  68                         snps,weight = <0x10>;
                                                   >>  69                         snps,dcb-algorithm;
                                                   >>  70                         snps,priority = <0x0>;
                                                   >>  71                 };
                                                   >>  72         };
 50 };                                                 73 };
 51                                                    74 
 52 &apps_rsc {                                        75 &apps_rsc {
 53         regulators-0 {                         !!  76         pmm8155au-1-rpmh-regulators {
 54                 compatible = "qcom,pmm8155au-r     77                 compatible = "qcom,pmm8155au-rpmh-regulators";
 55                 qcom,pmic-id = "a";                78                 qcom,pmic-id = "a";
 56                                                    79 
 57                 vdd-s1-supply = <&vreg_3p3>;       80                 vdd-s1-supply = <&vreg_3p3>;
 58                 vdd-s2-supply = <&vreg_3p3>;       81                 vdd-s2-supply = <&vreg_3p3>;
 59                 vdd-s3-supply = <&vreg_3p3>;       82                 vdd-s3-supply = <&vreg_3p3>;
 60                 vdd-s4-supply = <&vreg_3p3>;       83                 vdd-s4-supply = <&vreg_3p3>;
 61                 vdd-s5-supply = <&vreg_3p3>;       84                 vdd-s5-supply = <&vreg_3p3>;
 62                 vdd-s6-supply = <&vreg_3p3>;       85                 vdd-s6-supply = <&vreg_3p3>;
 63                 vdd-s7-supply = <&vreg_3p3>;       86                 vdd-s7-supply = <&vreg_3p3>;
 64                 vdd-s8-supply = <&vreg_3p3>;       87                 vdd-s8-supply = <&vreg_3p3>;
 65                 vdd-s9-supply = <&vreg_3p3>;       88                 vdd-s9-supply = <&vreg_3p3>;
 66                 vdd-s10-supply = <&vreg_3p3>;      89                 vdd-s10-supply = <&vreg_3p3>;
 67                                                    90 
 68                 vdd-l1-l8-l11-supply = <&vreg_     91                 vdd-l1-l8-l11-supply = <&vreg_s6a_0p92>;
 69                 vdd-l2-l10-supply = <&vreg_3p3     92                 vdd-l2-l10-supply = <&vreg_3p3>;
 70                 vdd-l3-l4-l5-l18-supply = <&vr     93                 vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p92>;
 71                 vdd-l6-l9-supply = <&vreg_s6a_     94                 vdd-l6-l9-supply = <&vreg_s6a_0p92>;
 72                 vdd-l7-l12-l14-l15-supply = <&     95                 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p04>;
 73                 vdd-l13-l16-l17-supply = <&vre     96                 vdd-l13-l16-l17-supply = <&vreg_3p3>;
 74                                                    97 
 75                 vreg_s5a_2p04: smps5 {             98                 vreg_s5a_2p04: smps5 {
 76                         regulator-name = "vreg     99                         regulator-name = "vreg_s5a_2p04";
 77                         regulator-min-microvol    100                         regulator-min-microvolt = <1904000>;
 78                         regulator-max-microvol    101                         regulator-max-microvolt = <2000000>;
 79                 };                                102                 };
 80                                                   103 
 81                 vreg_s6a_0p92: smps6 {            104                 vreg_s6a_0p92: smps6 {
 82                         regulator-name = "vreg    105                         regulator-name = "vreg_s6a_0p92";
 83                         regulator-min-microvol    106                         regulator-min-microvolt = <920000>;
 84                         regulator-max-microvol    107                         regulator-max-microvolt = <1128000>;
 85                 };                                108                 };
 86                                                   109 
 87                 vreg_l1a_0p752: ldo1 {            110                 vreg_l1a_0p752: ldo1 {
 88                         regulator-name = "vreg    111                         regulator-name = "vreg_l1a_0p752";
 89                         regulator-min-microvol    112                         regulator-min-microvolt = <752000>;
 90                         regulator-max-microvol    113                         regulator-max-microvolt = <752000>;
 91                         regulator-initial-mode    114                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 92                 };                                115                 };
 93                                                   116 
 94                 vdda_usb_hs_3p1:                  117                 vdda_usb_hs_3p1:
 95                 vreg_l2a_3p072: ldo2 {            118                 vreg_l2a_3p072: ldo2 {
 96                         regulator-name = "vreg    119                         regulator-name = "vreg_l2a_3p072";
 97                         regulator-min-microvol    120                         regulator-min-microvolt = <3072000>;
 98                         regulator-max-microvol    121                         regulator-max-microvolt = <3072000>;
 99                         regulator-initial-mode    122                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
100                 };                                123                 };
101                                                   124 
102                 vreg_l3a_0p8: ldo3 {              125                 vreg_l3a_0p8: ldo3 {
103                         regulator-name = "vreg    126                         regulator-name = "vreg_l3a_0p8";
104                         regulator-min-microvol    127                         regulator-min-microvolt = <800000>;
105                         regulator-max-microvol    128                         regulator-max-microvolt = <800000>;
106                         regulator-initial-mode    129                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
107                 };                                130                 };
108                                                   131 
109                 vdd_usb_hs_core:                  132                 vdd_usb_hs_core:
110                 vdda_usb_ss_dp_core_1:            133                 vdda_usb_ss_dp_core_1:
111                 vreg_l5a_0p88: ldo5 {             134                 vreg_l5a_0p88: ldo5 {
112                         regulator-name = "vreg    135                         regulator-name = "vreg_l5a_0p88";
113                         regulator-min-microvol    136                         regulator-min-microvolt = <880000>;
114                         regulator-max-microvol    137                         regulator-max-microvolt = <880000>;
115                         regulator-initial-mode    138                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
116                         regulator-allow-set-lo    139                         regulator-allow-set-load;
117                         regulator-allowed-mode << 
118                                                << 
119                 };                                140                 };
120                                                   141 
121                 vreg_l7a_1p8: ldo7 {              142                 vreg_l7a_1p8: ldo7 {
122                         regulator-name = "vreg    143                         regulator-name = "vreg_l7a_1p8";
123                         regulator-min-microvol    144                         regulator-min-microvolt = <1800000>;
124                         regulator-max-microvol    145                         regulator-max-microvolt = <1800000>;
125                         regulator-initial-mode    146                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
126                 };                                147                 };
127                                                   148 
128                 vreg_l10a_2p96: ldo10 {           149                 vreg_l10a_2p96: ldo10 {
129                         regulator-name = "vreg    150                         regulator-name = "vreg_l10a_2p96";
130                         regulator-min-microvol    151                         regulator-min-microvolt = <2504000>;
131                         regulator-max-microvol    152                         regulator-max-microvolt = <2960000>;
132                         regulator-initial-mode    153                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
133                         regulator-allow-set-lo    154                         regulator-allow-set-load;
134                         regulator-allowed-mode << 
135                                                << 
136                 };                                155                 };
137                                                   156 
138                 vreg_l11a_0p8: ldo11 {            157                 vreg_l11a_0p8: ldo11 {
139                         regulator-name = "vreg    158                         regulator-name = "vreg_l11a_0p8";
140                         regulator-min-microvol    159                         regulator-min-microvolt = <800000>;
141                         regulator-max-microvol    160                         regulator-max-microvolt = <800000>;
142                         regulator-initial-mode    161                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
143                 };                                162                 };
144                                                   163 
145                 vdda_usb_hs_1p8:                  164                 vdda_usb_hs_1p8:
146                 vreg_l12a_1p8: ldo12 {            165                 vreg_l12a_1p8: ldo12 {
147                         regulator-name = "vreg    166                         regulator-name = "vreg_l12a_1p8";
148                         regulator-min-microvol    167                         regulator-min-microvolt = <1800000>;
149                         regulator-max-microvol    168                         regulator-max-microvolt = <1800000>;
150                         regulator-initial-mode    169                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
151                 };                                170                 };
152                                                   171 
153                 vreg_l13a_2p7: ldo13 {            172                 vreg_l13a_2p7: ldo13 {
154                         regulator-name = "vreg    173                         regulator-name = "vreg_l13a_2p7";
155                         regulator-min-microvol    174                         regulator-min-microvolt = <2704000>;
156                         regulator-max-microvol    175                         regulator-max-microvolt = <2704000>;
157                         regulator-initial-mode    176                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
158                 };                                177                 };
159                                                   178 
160                 vreg_l15a_1p7: ldo15 {            179                 vreg_l15a_1p7: ldo15 {
161                         regulator-name = "vreg    180                         regulator-name = "vreg_l15a_1p7";
162                         regulator-min-microvol    181                         regulator-min-microvolt = <1704000>;
163                         regulator-max-microvol    182                         regulator-max-microvolt = <1704000>;
164                         regulator-initial-mode    183                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
165                 };                                184                 };
166                                                   185 
167                 vreg_l16a_2p7: ldo16 {            186                 vreg_l16a_2p7: ldo16 {
168                         regulator-name = "vreg    187                         regulator-name = "vreg_l16a_2p7";
169                         regulator-min-microvol    188                         regulator-min-microvolt = <2704000>;
170                         regulator-max-microvol    189                         regulator-max-microvolt = <2960000>;
171                         regulator-initial-mode    190                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
172                 };                                191                 };
173                                                   192 
174                 vreg_l17a_2p96: ldo17 {           193                 vreg_l17a_2p96: ldo17 {
175                         regulator-name = "vreg    194                         regulator-name = "vreg_l17a_2p96";
176                         regulator-min-microvol    195                         regulator-min-microvolt = <2504000>;
177                         regulator-max-microvol    196                         regulator-max-microvolt = <2960000>;
178                         regulator-initial-mode    197                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
179                 };                                198                 };
180         };                                        199         };
181                                                   200 
182         regulators-1 {                         !! 201         pmm8155au-2-rpmh-regulators {
183                 compatible = "qcom,pmm8155au-r    202                 compatible = "qcom,pmm8155au-rpmh-regulators";
184                 qcom,pmic-id = "c";               203                 qcom,pmic-id = "c";
185                                                   204 
186                 vdd-s1-supply = <&vreg_3p3>;      205                 vdd-s1-supply = <&vreg_3p3>;
187                 vdd-s2-supply = <&vreg_3p3>;      206                 vdd-s2-supply = <&vreg_3p3>;
188                 vdd-s3-supply = <&vreg_3p3>;      207                 vdd-s3-supply = <&vreg_3p3>;
189                 vdd-s4-supply = <&vreg_3p3>;      208                 vdd-s4-supply = <&vreg_3p3>;
190                 vdd-s5-supply = <&vreg_3p3>;      209                 vdd-s5-supply = <&vreg_3p3>;
191                 vdd-s6-supply = <&vreg_3p3>;      210                 vdd-s6-supply = <&vreg_3p3>;
192                 vdd-s7-supply = <&vreg_3p3>;      211                 vdd-s7-supply = <&vreg_3p3>;
193                 vdd-s8-supply = <&vreg_3p3>;      212                 vdd-s8-supply = <&vreg_3p3>;
194                 vdd-s9-supply = <&vreg_3p3>;      213                 vdd-s9-supply = <&vreg_3p3>;
195                 vdd-s10-supply = <&vreg_3p3>;     214                 vdd-s10-supply = <&vreg_3p3>;
196                                                   215 
197                 vdd-l1-l8-l11-supply = <&vreg_    216                 vdd-l1-l8-l11-supply = <&vreg_s4c_1p352>;
198                 vdd-l2-l10-supply = <&vreg_3p3    217                 vdd-l2-l10-supply = <&vreg_3p3>;
199                 vdd-l3-l4-l5-l18-supply = <&vr    218                 vdd-l3-l4-l5-l18-supply = <&vreg_s4c_1p352>;
200                 vdd-l6-l9-supply = <&vreg_s6c_    219                 vdd-l6-l9-supply = <&vreg_s6c_1p128>;
201                 vdd-l7-l12-l14-l15-supply = <&    220                 vdd-l7-l12-l14-l15-supply = <&vreg_s5c_2p04>;
202                 vdd-l13-l16-l17-supply = <&vre    221                 vdd-l13-l16-l17-supply = <&vreg_3p3>;
203                                                   222 
204                 vreg_s4c_1p352: smps4 {           223                 vreg_s4c_1p352: smps4 {
205                         regulator-name = "vreg    224                         regulator-name = "vreg_s4c_1p352";
206                         regulator-min-microvol    225                         regulator-min-microvolt = <1352000>;
207                         regulator-max-microvol    226                         regulator-max-microvolt = <1352000>;
208                 };                                227                 };
209                                                   228 
210                 vreg_s5c_2p04: smps5 {            229                 vreg_s5c_2p04: smps5 {
211                         regulator-name = "vreg    230                         regulator-name = "vreg_s5c_2p04";
212                         regulator-min-microvol    231                         regulator-min-microvolt = <1904000>;
213                         regulator-max-microvol    232                         regulator-max-microvolt = <2000000>;
214                 };                                233                 };
215                                                   234 
216                 vreg_s6c_1p128: smps6 {           235                 vreg_s6c_1p128: smps6 {
217                         regulator-name = "vreg    236                         regulator-name = "vreg_s6c_1p128";
218                         regulator-min-microvol    237                         regulator-min-microvolt = <1128000>;
219                         regulator-max-microvol    238                         regulator-max-microvolt = <1128000>;
220                 };                                239                 };
221                                                   240 
222                 vreg_l1c_1p304: ldo1 {            241                 vreg_l1c_1p304: ldo1 {
223                         regulator-name = "vreg    242                         regulator-name = "vreg_l1c_1p304";
224                         regulator-min-microvol    243                         regulator-min-microvolt = <1304000>;
225                         regulator-max-microvol    244                         regulator-max-microvolt = <1304000>;
226                         regulator-initial-mode    245                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
227                 };                                246                 };
228                                                   247 
229                 vreg_l2c_1p808: ldo2 {            248                 vreg_l2c_1p808: ldo2 {
230                         regulator-name = "vreg    249                         regulator-name = "vreg_l2c_1p808";
231                         regulator-min-microvol    250                         regulator-min-microvolt = <1704000>;
232                         regulator-max-microvol    251                         regulator-max-microvolt = <2928000>;
233                         regulator-initial-mode    252                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
234                 };                                253                 };
235                                                   254 
236                 vreg_l5c_1p2: ldo5 {              255                 vreg_l5c_1p2: ldo5 {
237                         regulator-name = "vreg    256                         regulator-name = "vreg_l5c_1p2";
238                         regulator-min-microvol    257                         regulator-min-microvolt = <1200000>;
239                         regulator-max-microvol    258                         regulator-max-microvolt = <1200000>;
240                         regulator-initial-mode    259                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
241                         regulator-allow-set-lo    260                         regulator-allow-set-load;
242                         regulator-allowed-mode << 
243                                                << 
244                 };                                261                 };
245                                                   262 
246                 vreg_l7c_1p8: ldo7 {              263                 vreg_l7c_1p8: ldo7 {
247                         regulator-name = "vreg    264                         regulator-name = "vreg_l7c_1p8";
248                         regulator-min-microvol    265                         regulator-min-microvolt = <1800000>;
249                         regulator-max-microvol    266                         regulator-max-microvolt = <1800000>;
250                         regulator-initial-mode    267                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
251                 };                                268                 };
252                                                   269 
253                 vreg_l8c_1p2: ldo8 {              270                 vreg_l8c_1p2: ldo8 {
254                         regulator-name = "vreg    271                         regulator-name = "vreg_l8c_1p2";
255                         regulator-min-microvol    272                         regulator-min-microvolt = <1200000>;
256                         regulator-max-microvol    273                         regulator-max-microvolt = <1200000>;
257                         regulator-initial-mode    274                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
258                         regulator-allow-set-lo    275                         regulator-allow-set-load;
259                         regulator-allowed-mode << 
260                                                << 
261                 };                                276                 };
262                                                   277 
263                 vreg_l10c_3p3: ldo10 {            278                 vreg_l10c_3p3: ldo10 {
264                         regulator-name = "vreg    279                         regulator-name = "vreg_l10c_3p3";
265                         regulator-min-microvol    280                         regulator-min-microvolt = <3000000>;
266                         regulator-max-microvol    281                         regulator-max-microvolt = <3312000>;
267                         regulator-initial-mode    282                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
268                 };                                283                 };
269                                                   284 
270                 vreg_l11c_0p8: ldo11 {            285                 vreg_l11c_0p8: ldo11 {
271                         regulator-name = "vreg    286                         regulator-name = "vreg_l11c_0p8";
272                         regulator-min-microvol    287                         regulator-min-microvolt = <800000>;
273                         regulator-max-microvol    288                         regulator-max-microvolt = <800000>;
274                         regulator-initial-mode    289                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
275                 };                                290                 };
276                                                   291 
277                 vreg_l12c_1p808: ldo12 {          292                 vreg_l12c_1p808: ldo12 {
278                         regulator-name = "vreg    293                         regulator-name = "vreg_l12c_1p808";
279                         regulator-min-microvol    294                         regulator-min-microvolt = <1704000>;
280                         regulator-max-microvol    295                         regulator-max-microvolt = <2928000>;
281                         regulator-initial-mode    296                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
282                 };                                297                 };
283                                                   298 
284                 vreg_l13c_2p96: ldo13 {           299                 vreg_l13c_2p96: ldo13 {
285                         regulator-name = "vreg    300                         regulator-name = "vreg_l13c_2p96";
286                         regulator-min-microvol !! 301                         regulator-min-microvolt = <2504000>;
287                         regulator-max-microvol    302                         regulator-max-microvolt = <2960000>;
288                         regulator-initial-mode    303                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
289                 };                                304                 };
290                                                   305 
291                 vreg_l15c_1p9: ldo15 {            306                 vreg_l15c_1p9: ldo15 {
292                         regulator-name = "vreg    307                         regulator-name = "vreg_l15c_1p9";
293                         regulator-min-microvol    308                         regulator-min-microvolt = <1704000>;
294                         regulator-max-microvol    309                         regulator-max-microvolt = <2928000>;
295                         regulator-initial-mode    310                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
296                 };                                311                 };
297                                                   312 
298                 vreg_l16c_3p008: ldo16 {          313                 vreg_l16c_3p008: ldo16 {
299                         regulator-name = "vreg    314                         regulator-name = "vreg_l16c_3p008";
300                         regulator-min-microvol    315                         regulator-min-microvolt = <3008000>;
301                         regulator-max-microvol    316                         regulator-max-microvolt = <3008000>;
302                         regulator-initial-mode    317                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
303                 };                                318                 };
304                                                   319 
305                 vreg_l18c_0p88: ldo18 {           320                 vreg_l18c_0p88: ldo18 {
306                         regulator-name = "vreg    321                         regulator-name = "vreg_l18c_0p88";
307                         regulator-min-microvol    322                         regulator-min-microvolt = <880000>;
308                         regulator-max-microvol    323                         regulator-max-microvolt = <880000>;
309                         regulator-initial-mode    324                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
310                 };                                325                 };
311         };                                        326         };
312 };                                                327 };
313                                                   328 
314 &ethernet {                                       329 &ethernet {
315         status = "okay";                          330         status = "okay";
316                                                   331 
317         snps,reset-gpio = <&tlmm 79 GPIO_ACTIV    332         snps,reset-gpio = <&tlmm 79 GPIO_ACTIVE_LOW>;
318         snps,reset-active-low;                    333         snps,reset-active-low;
319         snps,reset-delays-us = <0 11000 70000>    334         snps,reset-delays-us = <0 11000 70000>;
320                                                   335 
                                                   >> 336         snps,ptp-ref-clk-rate = <250000000>;
                                                   >> 337         snps,ptp-req-clk-rate = <96000000>;
                                                   >> 338 
321         snps,mtl-rx-config = <&mtl_rx_setup>;     339         snps,mtl-rx-config = <&mtl_rx_setup>;
322         snps,mtl-tx-config = <&mtl_tx_setup>;     340         snps,mtl-tx-config = <&mtl_tx_setup>;
323                                                   341 
324         pinctrl-names = "default";                342         pinctrl-names = "default";
325         pinctrl-0 = <&ethernet_defaults>;         343         pinctrl-0 = <&ethernet_defaults>;
326                                                   344 
327         phy-handle = <&rgmii_phy>;                345         phy-handle = <&rgmii_phy>;
328         phy-mode = "rgmii";                       346         phy-mode = "rgmii";
329         max-speed = <1000>;                       347         max-speed = <1000>;
330                                                   348 
331         mdio {                                    349         mdio {
                                                   >> 350                 #address-cells = <0x1>;
                                                   >> 351                 #size-cells = <0x0>;
                                                   >> 352 
332                 compatible = "snps,dwmac-mdio"    353                 compatible = "snps,dwmac-mdio";
333                 #address-cells = <1>;          << 
334                 #size-cells = <0>;             << 
335                                                   354 
336                 /* Micrel KSZ9031RNZ PHY */       355                 /* Micrel KSZ9031RNZ PHY */
337                 rgmii_phy: phy@7 {                356                 rgmii_phy: phy@7 {
338                         compatible = "ethernet << 
339                         reg = <0x7>;              357                         reg = <0x7>;
340                                                   358 
341                         interrupts-extended =  !! 359                         interrupt-parent = <&tlmm>;
                                                   >> 360                         interrupts-extended = <&tlmm 124 IRQ_TYPE_EDGE_FALLING>; /* phy intr */
342                         device_type = "etherne    361                         device_type = "ethernet-phy";
343                 };                             !! 362                         compatible = "ethernet-phy-ieee802.3-c22";
344         };                                     << 
345                                                << 
346         mtl_rx_setup: rx-queues-config {       << 
347                 snps,rx-queues-to-use = <1>;   << 
348                 snps,rx-sched-sp;              << 
349                                                << 
350                 queue0 {                       << 
351                         snps,dcb-algorithm;    << 
352                         snps,map-to-dma-channe << 
353                         snps,route-up;         << 
354                         snps,priority = <0x1>; << 
355                 };                             << 
356         };                                     << 
357                                                << 
358         mtl_tx_setup: tx-queues-config {       << 
359                 snps,tx-queues-to-use = <1>;   << 
360                 snps,tx-sched-wrr;             << 
361                                                << 
362                 queue0 {                       << 
363                         snps,weight = <0x10>;  << 
364                         snps,dcb-algorithm;    << 
365                         snps,priority = <0x0>; << 
366                 };                                363                 };
367         };                                        364         };
368 };                                                365 };
369                                                   366 
370 &pmm8155au_1_gpios {                           << 
371         pmm8155au_1_sdc2_cd: sdc2-cd-default-s << 
372                 pins = "gpio4";                << 
373                 function = "normal";           << 
374                 input-enable;                  << 
375                 bias-pull-up;                  << 
376                 power-source = <0>;            << 
377         };                                     << 
378 };                                             << 
379                                                << 
380 &qupv3_id_1 {                                     367 &qupv3_id_1 {
381         status = "okay";                          368         status = "okay";
382 };                                                369 };
383                                                   370 
384 &remoteproc_adsp {                                371 &remoteproc_adsp {
385         status = "okay";                          372         status = "okay";
386         firmware-name = "qcom/sa8155p/adsp.mdt    373         firmware-name = "qcom/sa8155p/adsp.mdt";
387 };                                                374 };
388                                                   375 
389 &remoteproc_cdsp {                                376 &remoteproc_cdsp {
390         status = "okay";                          377         status = "okay";
391         firmware-name = "qcom/sa8155p/cdsp.mdt    378         firmware-name = "qcom/sa8155p/cdsp.mdt";
392 };                                                379 };
393                                                   380 
394 &sdhc_2 {                                         381 &sdhc_2 {
395         status = "okay";                          382         status = "okay";
396                                                   383 
397         cd-gpios = <&pmm8155au_1_gpios 4 GPIO_ !! 384         cd-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
398         pinctrl-names = "default", "sleep";       385         pinctrl-names = "default", "sleep";
399         pinctrl-0 = <&sdc2_on &pmm8155au_1_sdc !! 386         pinctrl-0 = <&sdc2_on>;
400         pinctrl-1 = <&sdc2_off &pmm8155au_1_sd !! 387         pinctrl-1 = <&sdc2_off>;
401         vqmmc-supply = <&vreg_l13c_2p96>; /* I    388         vqmmc-supply = <&vreg_l13c_2p96>; /* IO line power */
402         vmmc-supply = <&vreg_l17a_2p96>;  /* C    389         vmmc-supply = <&vreg_l17a_2p96>;  /* Card power line */
403         bus-width = <4>;                          390         bus-width = <4>;
404         no-sdio;                                  391         no-sdio;
405         no-mmc;                                !! 392         no-emmc;
406 };                                                393 };
407                                                   394 
408 &uart2 {                                          395 &uart2 {
409         status = "okay";                          396         status = "okay";
410 };                                                397 };
411                                                   398 
412 &uart9 {                                       << 
413         status = "okay";                       << 
414 };                                             << 
415                                                << 
416 &ufs_mem_hc {                                     399 &ufs_mem_hc {
417         status = "okay";                          400         status = "okay";
418                                                   401 
419         reset-gpios = <&tlmm 175 GPIO_ACTIVE_L    402         reset-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>;
420                                                   403 
421         vcc-supply = <&vreg_l10a_2p96>;           404         vcc-supply = <&vreg_l10a_2p96>;
422         vcc-max-microamp = <750000>;              405         vcc-max-microamp = <750000>;
423         vccq-supply = <&vreg_l5c_1p2>;            406         vccq-supply = <&vreg_l5c_1p2>;
424         vccq-max-microamp = <700000>;             407         vccq-max-microamp = <700000>;
425         vccq2-supply = <&vreg_s4a_1p8>;           408         vccq2-supply = <&vreg_s4a_1p8>;
426         vccq2-max-microamp = <750000>;            409         vccq2-max-microamp = <750000>;
427 };                                                410 };
428                                                   411 
429 &ufs_mem_phy {                                    412 &ufs_mem_phy {
430         status = "okay";                          413         status = "okay";
431                                                   414 
432         vdda-phy-supply = <&vreg_l8c_1p2>;        415         vdda-phy-supply = <&vreg_l8c_1p2>;
433         vdda-pll-supply = <&vreg_l5a_0p88>;       416         vdda-pll-supply = <&vreg_l5a_0p88>;
434 };                                                417 };
435                                                   418 
436 &usb_1 {                                          419 &usb_1 {
437         status = "okay";                          420         status = "okay";
438 };                                                421 };
439                                                   422 
440 &usb_1_dwc3 {                                     423 &usb_1_dwc3 {
441         dr_mode = "host";                         424         dr_mode = "host";
442                                                   425 
443         pinctrl-names = "default";                426         pinctrl-names = "default";
444         pinctrl-0 = <&usb2phy_ac_en1_default>;    427         pinctrl-0 = <&usb2phy_ac_en1_default>;
445 };                                                428 };
446                                                   429 
447 &usb_1_hsphy {                                    430 &usb_1_hsphy {
448         status = "okay";                          431         status = "okay";
449         vdda-pll-supply = <&vdd_usb_hs_core>;     432         vdda-pll-supply = <&vdd_usb_hs_core>;
450         vdda33-supply = <&vdda_usb_hs_3p1>;       433         vdda33-supply = <&vdda_usb_hs_3p1>;
451         vdda18-supply = <&vdda_usb_hs_1p8>;       434         vdda18-supply = <&vdda_usb_hs_1p8>;
452 };                                                435 };
453                                                   436 
454 &usb_1_qmpphy {                                   437 &usb_1_qmpphy {
455         status = "disabled";                      438         status = "disabled";
456 };                                                439 };
457                                                   440 
458 &usb_2 {                                          441 &usb_2 {
459         status = "okay";                          442         status = "okay";
460 };                                                443 };
461                                                   444 
462 &usb_2_dwc3 {                                     445 &usb_2_dwc3 {
463         dr_mode = "host";                         446         dr_mode = "host";
464                                                   447 
465         pinctrl-names = "default";                448         pinctrl-names = "default";
466         pinctrl-0 = <&usb2phy_ac_en2_default>;    449         pinctrl-0 = <&usb2phy_ac_en2_default>;
467 };                                                450 };
468                                                   451 
469 &usb_2_hsphy {                                    452 &usb_2_hsphy {
470         status = "okay";                          453         status = "okay";
471         vdda-pll-supply = <&vdd_usb_hs_core>;     454         vdda-pll-supply = <&vdd_usb_hs_core>;
472         vdda33-supply = <&vdda_usb_hs_3p1>;       455         vdda33-supply = <&vdda_usb_hs_3p1>;
473         vdda18-supply = <&vdda_usb_hs_1p8>;       456         vdda18-supply = <&vdda_usb_hs_1p8>;
474 };                                                457 };
475                                                   458 
476 &usb_2_qmpphy {                                   459 &usb_2_qmpphy {
477         status = "okay";                          460         status = "okay";
478         vdda-phy-supply = <&vreg_l8c_1p2>;        461         vdda-phy-supply = <&vreg_l8c_1p2>;
479         vdda-pll-supply = <&vdda_usb_ss_dp_cor    462         vdda-pll-supply = <&vdda_usb_ss_dp_core_1>;
480 };                                                463 };
481                                                   464 
482 &pcie0 {                                          465 &pcie0 {
483         status = "okay";                          466         status = "okay";
484 };                                                467 };
485                                                   468 
486 &pcie0_phy {                                      469 &pcie0_phy {
487         status = "okay";                          470         status = "okay";
488         vdda-phy-supply = <&vreg_l18c_0p88>;      471         vdda-phy-supply = <&vreg_l18c_0p88>;
489         vdda-pll-supply = <&vreg_l8c_1p2>;        472         vdda-pll-supply = <&vreg_l8c_1p2>;
490 };                                                473 };
491                                                   474 
492 &pcie1_phy {                                      475 &pcie1_phy {
493         vdda-phy-supply = <&vreg_l18c_0p88>;      476         vdda-phy-supply = <&vreg_l18c_0p88>;
494         vdda-pll-supply = <&vreg_l8c_1p2>;        477         vdda-pll-supply = <&vreg_l8c_1p2>;
495 };                                                478 };
496                                                   479 
497 &tlmm {                                           480 &tlmm {
498         gpio-reserved-ranges = <0 4>;             481         gpio-reserved-ranges = <0 4>;
499                                                   482 
500         sdc2_on: sdc2-on-state {               !! 483         sdc2_on: sdc2_on {
501                 clk-pins {                     !! 484                 clk {
502                         pins = "sdc2_clk";        485                         pins = "sdc2_clk";
503                         bias-disable;             486                         bias-disable;           /* No pull */
504                         drive-strength = <16>;    487                         drive-strength = <16>;  /* 16 MA */
505                 };                                488                 };
506                                                   489 
507                 cmd-pins {                     !! 490                 cmd {
508                         pins = "sdc2_cmd";        491                         pins = "sdc2_cmd";
509                         bias-pull-up;             492                         bias-pull-up;           /* pull up */
510                         drive-strength = <16>;    493                         drive-strength = <16>;  /* 16 MA */
511                 };                                494                 };
512                                                   495 
513                 data-pins {                    !! 496                 data {
514                         pins = "sdc2_data";       497                         pins = "sdc2_data";
515                         bias-pull-up;             498                         bias-pull-up;           /* pull up */
516                         drive-strength = <16>;    499                         drive-strength = <16>;  /* 16 MA */
517                 };                                500                 };
                                                   >> 501 
                                                   >> 502                 sd-cd {
                                                   >> 503                         pins = "gpio96";
                                                   >> 504                         function = "gpio";
                                                   >> 505                         bias-pull-up;           /* pull up */
                                                   >> 506                         drive-strength = <2>;   /* 2 MA */
                                                   >> 507                 };
518         };                                        508         };
519                                                   509 
520         sdc2_off: sdc2-off-state {             !! 510         sdc2_off: sdc2_off {
521                 clk-pins {                     !! 511                 clk {
522                         pins = "sdc2_clk";        512                         pins = "sdc2_clk";
523                         bias-disable;             513                         bias-disable;           /* No pull */
524                         drive-strength = <2>;     514                         drive-strength = <2>;   /* 2 MA */
525                 };                                515                 };
526                                                   516 
527                 cmd-pins {                     !! 517                 cmd {
528                         pins = "sdc2_cmd";        518                         pins = "sdc2_cmd";
529                         bias-pull-up;             519                         bias-pull-up;           /* pull up */
530                         drive-strength = <2>;     520                         drive-strength = <2>;   /* 2 MA */
531                 };                                521                 };
532                                                   522 
533                 data-pins {                    !! 523                 data {
534                         pins = "sdc2_data";       524                         pins = "sdc2_data";
535                         bias-pull-up;             525                         bias-pull-up;           /* pull up */
536                         drive-strength = <2>;     526                         drive-strength = <2>;   /* 2 MA */
537                 };                                527                 };
                                                   >> 528 
                                                   >> 529                 sd-cd {
                                                   >> 530                         pins = "gpio96";
                                                   >> 531                         function = "gpio";
                                                   >> 532                         bias-pull-up;           /* pull up */
                                                   >> 533                         drive-strength = <2>;   /* 2 MA */
                                                   >> 534                 };
538         };                                        535         };
539                                                   536 
540         usb2phy_ac_en1_default: usb2phy-ac-en1 !! 537         usb2phy_ac_en1_default: usb2phy_ac_en1_default {
541                 pins = "gpio113";              !! 538                 mux {
542                 function = "usb2phy_ac";       !! 539                         pins = "gpio113";
543                 bias-disable;                  !! 540                         function = "usb2phy_ac";
544                 drive-strength = <2>;          !! 541                         bias-disable;
545         };                                     !! 542                         drive-strength = <2>;
546                                                !! 543                 };
547         usb2phy_ac_en2_default: usb2phy-ac-en2 !! 544         };
548                 pins = "gpio123";              !! 545 
549                 function = "usb2phy_ac";       !! 546         usb2phy_ac_en2_default: usb2phy_ac_en2_default {
550                 bias-disable;                  !! 547                 mux {
551                 drive-strength = <2>;          !! 548                         pins = "gpio123";
                                                   >> 549                         function = "usb2phy_ac";
                                                   >> 550                         bias-disable;
                                                   >> 551                         drive-strength = <2>;
                                                   >> 552                 };
552         };                                        553         };
553                                                   554 
554         ethernet_defaults: ethernet-defaults-s !! 555         ethernet_defaults: ethernet-defaults {
555                 mdc-pins {                     !! 556                 mdc {
556                         pins = "gpio7";           557                         pins = "gpio7";
557                         function = "rgmii";       558                         function = "rgmii";
558                         bias-pull-up;             559                         bias-pull-up;
559                 };                                560                 };
560                                                   561 
561                 mdio-pins {                    !! 562                 mdio {
562                         pins = "gpio59";          563                         pins = "gpio59";
563                         function = "rgmii";       564                         function = "rgmii";
564                         bias-pull-up;             565                         bias-pull-up;
565                 };                                566                 };
566                                                   567 
567                 rgmii-rx-pins {                !! 568                 rgmii-rx {
568                         pins = "gpio117", "gpi    569                         pins = "gpio117", "gpio118", "gpio119", "gpio120", "gpio115", "gpio116";
569                         function = "rgmii";       570                         function = "rgmii";
570                         bias-disable;             571                         bias-disable;
571                         drive-strength = <2>;     572                         drive-strength = <2>;
572                 };                                573                 };
573                                                   574 
574                 rgmii-tx-pins {                !! 575                 rgmii-tx {
575                         pins = "gpio122", "gpi    576                         pins = "gpio122", "gpio4", "gpio5", "gpio6", "gpio114", "gpio121";
576                         function = "rgmii";       577                         function = "rgmii";
577                         bias-pull-up;             578                         bias-pull-up;
578                         drive-strength = <16>;    579                         drive-strength = <16>;
579                 };                                580                 };
580                                                   581 
581                 phy-intr-pins {                !! 582                 phy-intr {
582                         pins = "gpio124";         583                         pins = "gpio124";
583                         function = "emac_phy";    584                         function = "emac_phy";
584                         bias-disable;             585                         bias-disable;
585                         drive-strength = <8>;     586                         drive-strength = <8>;
586                 };                                587                 };
587                                                   588 
588                 pps-pins {                     !! 589                 pps {
589                         pins = "gpio81";          590                         pins = "gpio81";
590                         function = "emac_pps";    591                         function = "emac_pps";
591                         bias-disable;             592                         bias-disable;
592                         drive-strength = <8>;     593                         drive-strength = <8>;
593                 };                                594                 };
594                                                   595 
595                 phy-reset-pins {               !! 596                 phy-reset {
596                         pins = "gpio79";          597                         pins = "gpio79";
597                         function = "gpio";        598                         function = "gpio";
598                         bias-pull-up;             599                         bias-pull-up;
599                         drive-strength = <16>;    600                         drive-strength = <16>;
600                 };                                601                 };
601         };                                        602         };
602 };                                                603 };
                                                      

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