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

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


  1 // SPDX-License-Identifier: BSD-3-Clause            1 // SPDX-License-Identifier: BSD-3-Clause
  2 /*                                                  2 /*
  3  * SC7180 IDP board device tree source              3  * SC7180 IDP board device tree source
  4  *                                                  4  *
  5  * Copyright (c) 2019, The Linux Foundation. A      5  * Copyright (c) 2019, The Linux Foundation. All rights reserved.
  6  */                                                 6  */
  7                                                     7 
  8 /dts-v1/;                                           8 /dts-v1/;
  9                                                     9 
 10 #include <dt-bindings/gpio/gpio.h>                 10 #include <dt-bindings/gpio/gpio.h>
 11 #include <dt-bindings/regulator/qcom,rpmh-regu     11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
 12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h << 
 13 #include "sc7180.dtsi"                             12 #include "sc7180.dtsi"
 14 #include "sc7180-firmware-tfa.dtsi"            << 
 15 #include "pm6150.dtsi"                             13 #include "pm6150.dtsi"
 16 #include "pm6150l.dtsi"                            14 #include "pm6150l.dtsi"
 17                                                    15 
 18 / {                                                16 / {
 19         model = "Qualcomm Technologies, Inc. S     17         model = "Qualcomm Technologies, Inc. SC7180 IDP";
 20         compatible = "qcom,sc7180-idp", "qcom,     18         compatible = "qcom,sc7180-idp", "qcom,sc7180";
 21                                                    19 
 22         aliases {                                  20         aliases {
 23                 bluetooth0 = &bluetooth;           21                 bluetooth0 = &bluetooth;
 24                 hsuart0 = &uart3;                  22                 hsuart0 = &uart3;
 25                 serial0 = &uart8;                  23                 serial0 = &uart8;
 26                 wifi0 = &wifi;                 << 
 27         };                                         24         };
 28                                                    25 
 29         chosen {                                   26         chosen {
 30                 stdout-path = "serial0:115200n     27                 stdout-path = "serial0:115200n8";
 31         };                                         28         };
 32 };                                                 29 };
 33                                                    30 
 34 /*                                                 31 /*
 35  * Reserved memory changes                         32  * Reserved memory changes
 36  *                                                 33  *
 37  * Delete all unused memory nodes and define t     34  * Delete all unused memory nodes and define the peripheral memory regions
 38  * required by the board dts.                      35  * required by the board dts.
 39  *                                                 36  *
 40  */                                                37  */
 41                                                    38 
 42 /delete-node/ &hyp_mem;                            39 /delete-node/ &hyp_mem;
 43 /delete-node/ &xbl_mem;                            40 /delete-node/ &xbl_mem;
 44 /delete-node/ &aop_mem;                            41 /delete-node/ &aop_mem;
 45 /delete-node/ &sec_apps_mem;                       42 /delete-node/ &sec_apps_mem;
 46 /delete-node/ &tz_mem;                             43 /delete-node/ &tz_mem;
 47                                                    44 
 48 /* Increase the size from 2MB to 8MB */            45 /* Increase the size from 2MB to 8MB */
 49 &rmtfs_mem {                                       46 &rmtfs_mem {
 50         reg = <0x0 0x94600000 0x0 0x800000>;   !!  47         reg = <0x0 0x84400000 0x0 0x800000>;
 51 };                                                 48 };
 52                                                    49 
 53 / {                                                50 / {
 54         reserved-memory {                          51         reserved-memory {
 55                 atf_mem: memory@80b00000 {         52                 atf_mem: memory@80b00000 {
 56                         reg = <0x0 0x80b00000      53                         reg = <0x0 0x80b00000 0x0 0x100000>;
 57                         no-map;                    54                         no-map;
 58                 };                                 55                 };
 59                                                    56 
 60                 mpss_mem: memory@86000000 {        57                 mpss_mem: memory@86000000 {
 61                         reg = <0x0 0x86000000      58                         reg = <0x0 0x86000000 0x0 0x8c00000>;
 62                         no-map;                    59                         no-map;
 63                 };                                 60                 };
 64                                                    61 
 65                 camera_mem: memory@8ec00000 {      62                 camera_mem: memory@8ec00000 {
 66                         reg = <0x0 0x8ec00000      63                         reg = <0x0 0x8ec00000 0x0 0x500000>;
 67                         no-map;                    64                         no-map;
 68                 };                                 65                 };
 69                                                    66 
 70                 venus_mem: memory@8f600000 {       67                 venus_mem: memory@8f600000 {
 71                         reg = <0 0x8f600000 0      68                         reg = <0 0x8f600000 0 0x500000>;
 72                         no-map;                    69                         no-map;
 73                 };                                 70                 };
 74                                                    71 
 75                 wlan_mem: memory@94100000 {        72                 wlan_mem: memory@94100000 {
 76                         reg = <0x0 0x94100000      73                         reg = <0x0 0x94100000 0x0 0x200000>;
 77                         no-map;                    74                         no-map;
 78                 };                                 75                 };
 79                                                    76 
 80                 mba_mem: memory@94400000 {         77                 mba_mem: memory@94400000 {
 81                         reg = <0x0 0x94400000      78                         reg = <0x0 0x94400000 0x0 0x200000>;
 82                         no-map;                    79                         no-map;
 83                 };                                 80                 };
 84                                                << 
 85                 mdata_mem: mpss-metadata {     << 
 86                         alloc-ranges = <0x0 0x << 
 87                         size = <0x0 0x4000>;   << 
 88                         no-map;                << 
 89                 };                             << 
 90         };                                         81         };
 91 };                                                 82 };
 92                                                    83 
 93 &apps_rsc {                                        84 &apps_rsc {
 94         regulators-0 {                         !!  85         pm6150-rpmh-regulators {
 95                 compatible = "qcom,pm6150-rpmh     86                 compatible = "qcom,pm6150-rpmh-regulators";
 96                 qcom,pmic-id = "a";                87                 qcom,pmic-id = "a";
 97                                                    88 
 98                 vreg_s1a_1p1: smps1 {              89                 vreg_s1a_1p1: smps1 {
 99                         regulator-min-microvol     90                         regulator-min-microvolt = <1128000>;
100                         regulator-max-microvol     91                         regulator-max-microvolt = <1128000>;
101                 };                                 92                 };
102                                                    93 
103                 vreg_s4a_1p0: smps4 {              94                 vreg_s4a_1p0: smps4 {
104                         regulator-min-microvol     95                         regulator-min-microvolt = <824000>;
105                         regulator-max-microvol     96                         regulator-max-microvolt = <1120000>;
106                 };                                 97                 };
107                                                    98 
108                 vreg_s5a_2p0: smps5 {              99                 vreg_s5a_2p0: smps5 {
109                         regulator-min-microvol    100                         regulator-min-microvolt = <1744000>;
110                         regulator-max-microvol    101                         regulator-max-microvolt = <2040000>;
111                 };                                102                 };
112                                                   103 
113                 vreg_l1a_1p2: ldo1 {              104                 vreg_l1a_1p2: ldo1 {
114                         regulator-min-microvol    105                         regulator-min-microvolt = <1178000>;
115                         regulator-max-microvol    106                         regulator-max-microvolt = <1256000>;
116                         regulator-initial-mode    107                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
117                 };                                108                 };
118                                                   109 
119                 vreg_l2a_1p0: ldo2 {              110                 vreg_l2a_1p0: ldo2 {
120                         regulator-min-microvol    111                         regulator-min-microvolt = <944000>;
121                         regulator-max-microvol    112                         regulator-max-microvolt = <1056000>;
122                         regulator-initial-mode    113                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
123                 };                                114                 };
124                                                   115 
125                 vreg_l3a_1p0: ldo3 {              116                 vreg_l3a_1p0: ldo3 {
126                         regulator-min-microvol    117                         regulator-min-microvolt = <968000>;
127                         regulator-max-microvol    118                         regulator-max-microvolt = <1064000>;
128                         regulator-initial-mode    119                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
129                 };                                120                 };
130                                                   121 
131                 vreg_l4a_0p8: ldo4 {              122                 vreg_l4a_0p8: ldo4 {
132                         regulator-min-microvol    123                         regulator-min-microvolt = <824000>;
133                         regulator-max-microvol    124                         regulator-max-microvolt = <928000>;
134                         regulator-initial-mode    125                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
135                 };                                126                 };
136                                                   127 
137                 vreg_l5a_2p7: ldo5 {              128                 vreg_l5a_2p7: ldo5 {
138                         regulator-min-microvol    129                         regulator-min-microvolt = <2496000>;
139                         regulator-max-microvol    130                         regulator-max-microvolt = <3000000>;
140                         regulator-initial-mode    131                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
141                 };                                132                 };
142                                                   133 
143                 vreg_l6a_0p6: ldo6 {              134                 vreg_l6a_0p6: ldo6 {
144                         regulator-min-microvol    135                         regulator-min-microvolt = <568000>;
145                         regulator-max-microvol    136                         regulator-max-microvolt = <648000>;
146                         regulator-initial-mode    137                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
147                 };                                138                 };
148                                                   139 
149                 vreg_l9a_0p6: ldo9 {              140                 vreg_l9a_0p6: ldo9 {
150                         regulator-min-microvol    141                         regulator-min-microvolt = <488000>;
151                         regulator-max-microvol    142                         regulator-max-microvolt = <800000>;
152                         regulator-initial-mode    143                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
153                 };                                144                 };
154                                                   145 
155                 vreg_l10a_1p8: ldo10 {            146                 vreg_l10a_1p8: ldo10 {
156                         regulator-min-microvol    147                         regulator-min-microvolt = <1800000>;
157                         regulator-max-microvol    148                         regulator-max-microvolt = <1832000>;
158                         regulator-initial-mode    149                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
159                 };                                150                 };
160                                                   151 
161                 vreg_l11a_1p8: ldo11 {            152                 vreg_l11a_1p8: ldo11 {
162                         regulator-min-microvol    153                         regulator-min-microvolt = <1696000>;
163                         regulator-max-microvol    154                         regulator-max-microvolt = <1904000>;
164                         regulator-initial-mode    155                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
165                 };                                156                 };
166                                                   157 
167                 vreg_l12a_1p8: ldo12 {            158                 vreg_l12a_1p8: ldo12 {
168                         regulator-min-microvol    159                         regulator-min-microvolt = <1800000>;
169                         regulator-max-microvol    160                         regulator-max-microvolt = <1800000>;
170                         regulator-initial-mode    161                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
171                 };                                162                 };
172                                                   163 
173                 vreg_l13a_1p8: ldo13 {            164                 vreg_l13a_1p8: ldo13 {
174                         regulator-min-microvol    165                         regulator-min-microvolt = <1696000>;
175                         regulator-max-microvol    166                         regulator-max-microvolt = <1904000>;
176                         regulator-initial-mode    167                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
177                 };                                168                 };
178                                                   169 
179                 vreg_l14a_1p8: ldo14 {            170                 vreg_l14a_1p8: ldo14 {
180                         regulator-min-microvol    171                         regulator-min-microvolt = <1728000>;
181                         regulator-max-microvol    172                         regulator-max-microvolt = <1832000>;
182                         regulator-initial-mode    173                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
183                 };                                174                 };
184                                                   175 
185                 vreg_l15a_1p8: ldo15 {            176                 vreg_l15a_1p8: ldo15 {
186                         regulator-min-microvol    177                         regulator-min-microvolt = <1696000>;
187                         regulator-max-microvol    178                         regulator-max-microvolt = <1904000>;
188                         regulator-initial-mode    179                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
189                 };                                180                 };
190                                                   181 
191                 vreg_l16a_2p7: ldo16 {            182                 vreg_l16a_2p7: ldo16 {
192                         regulator-min-microvol    183                         regulator-min-microvolt = <2496000>;
193                         regulator-max-microvol    184                         regulator-max-microvolt = <3304000>;
194                         regulator-initial-mode    185                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
195                 };                                186                 };
196                                                   187 
197                 vreg_l17a_3p0: ldo17 {            188                 vreg_l17a_3p0: ldo17 {
198                         regulator-min-microvol    189                         regulator-min-microvolt = <2920000>;
199                         regulator-max-microvol    190                         regulator-max-microvolt = <3232000>;
200                         regulator-initial-mode    191                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
201                 };                                192                 };
202                                                   193 
203                 vreg_l18a_2p8: ldo18 {            194                 vreg_l18a_2p8: ldo18 {
204                         regulator-min-microvol    195                         regulator-min-microvolt = <2496000>;
205                         regulator-max-microvol    196                         regulator-max-microvolt = <3304000>;
206                         regulator-initial-mode    197                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
207                 };                                198                 };
208                                                   199 
209                 vreg_l19a_2p9: ldo19 {            200                 vreg_l19a_2p9: ldo19 {
210                         regulator-min-microvol    201                         regulator-min-microvolt = <2960000>;
211                         regulator-max-microvol    202                         regulator-max-microvolt = <2960000>;
212                         regulator-initial-mode    203                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
213                 };                                204                 };
214         };                                        205         };
215                                                   206 
216         regulators-1 {                         !! 207         pm6150l-rpmh-regulators {
217                 compatible = "qcom,pm6150l-rpm    208                 compatible = "qcom,pm6150l-rpmh-regulators";
218                 qcom,pmic-id = "c";               209                 qcom,pmic-id = "c";
219                                                   210 
220                 vreg_s8c_1p3: smps8 {             211                 vreg_s8c_1p3: smps8 {
221                         regulator-min-microvol    212                         regulator-min-microvolt = <1120000>;
222                         regulator-max-microvol    213                         regulator-max-microvolt = <1408000>;
223                 };                                214                 };
224                                                   215 
225                 vreg_l1c_1p8: ldo1 {              216                 vreg_l1c_1p8: ldo1 {
226                         regulator-min-microvol    217                         regulator-min-microvolt = <1616000>;
227                         regulator-max-microvol    218                         regulator-max-microvolt = <1984000>;
228                         regulator-initial-mode    219                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
229                 };                                220                 };
230                                                   221 
231                 vreg_l2c_1p3: ldo2 {              222                 vreg_l2c_1p3: ldo2 {
232                         regulator-min-microvol    223                         regulator-min-microvolt = <1168000>;
233                         regulator-max-microvol    224                         regulator-max-microvolt = <1304000>;
234                         regulator-initial-mode    225                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
235                 };                                226                 };
236                                                   227 
237                 vreg_l3c_1p2: ldo3 {              228                 vreg_l3c_1p2: ldo3 {
238                         regulator-min-microvol    229                         regulator-min-microvolt = <1144000>;
239                         regulator-max-microvol    230                         regulator-max-microvolt = <1304000>;
240                         regulator-initial-mode    231                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
241                 };                                232                 };
242                                                   233 
243                 vreg_l4c_1p8: ldo4 {              234                 vreg_l4c_1p8: ldo4 {
244                         regulator-min-microvol    235                         regulator-min-microvolt = <1648000>;
245                         regulator-max-microvol    236                         regulator-max-microvolt = <3304000>;
246                         regulator-initial-mode    237                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
247                 };                                238                 };
248                                                   239 
249                 vreg_l5c_1p8: ldo5 {              240                 vreg_l5c_1p8: ldo5 {
250                         regulator-min-microvol    241                         regulator-min-microvolt = <1648000>;
251                         regulator-max-microvol    242                         regulator-max-microvolt = <3304000>;
252                         regulator-initial-mode    243                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
253                 };                                244                 };
254                                                   245 
255                 vreg_l6c_2p9: ldo6 {              246                 vreg_l6c_2p9: ldo6 {
256                         regulator-min-microvol    247                         regulator-min-microvolt = <1800000>;
257                         regulator-max-microvol    248                         regulator-max-microvolt = <2950000>;
258                         regulator-initial-mode    249                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
259                 };                                250                 };
260                                                   251 
261                 vreg_l7c_3p0: ldo7 {              252                 vreg_l7c_3p0: ldo7 {
262                         regulator-min-microvol    253                         regulator-min-microvolt = <3000000>;
263                         regulator-max-microvol    254                         regulator-max-microvolt = <3312000>;
264                         regulator-initial-mode    255                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
265                 };                                256                 };
266                                                   257 
267                 vreg_l8c_1p8: ldo8 {              258                 vreg_l8c_1p8: ldo8 {
268                         regulator-min-microvol    259                         regulator-min-microvolt = <1800000>;
269                         regulator-max-microvol    260                         regulator-max-microvolt = <1904000>;
270                         regulator-initial-mode    261                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
271                 };                                262                 };
272                                                   263 
273                 vreg_l9c_2p9: ldo9 {              264                 vreg_l9c_2p9: ldo9 {
274                         regulator-min-microvol    265                         regulator-min-microvolt = <2960000>;
275                         regulator-max-microvol    266                         regulator-max-microvolt = <2960000>;
276                         regulator-initial-mode    267                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
277                 };                                268                 };
278                                                   269 
279                 vreg_l10c_3p3: ldo10 {            270                 vreg_l10c_3p3: ldo10 {
280                         regulator-min-microvol    271                         regulator-min-microvolt = <3000000>;
281                         regulator-max-microvol    272                         regulator-max-microvolt = <3400000>;
282                         regulator-initial-mode    273                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
283                 };                                274                 };
284                                                   275 
285                 vreg_l11c_3p3: ldo11 {            276                 vreg_l11c_3p3: ldo11 {
286                         regulator-min-microvol    277                         regulator-min-microvolt = <3000000>;
287                         regulator-max-microvol    278                         regulator-max-microvolt = <3400000>;
288                         regulator-initial-mode    279                         regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
289                 };                                280                 };
290                                                   281 
291                 vreg_bob: bob {                   282                 vreg_bob: bob {
292                         regulator-min-microvol    283                         regulator-min-microvolt = <3008000>;
293                         regulator-max-microvol    284                         regulator-max-microvolt = <3960000>;
294                         regulator-initial-mode    285                         regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
295                 };                                286                 };
296         };                                        287         };
297 };                                                288 };
298                                                   289 
299 &mdss {                                        << 
300         status = "okay";                       << 
301 };                                             << 
302                                                << 
303 &mdss_dsi0 {                                   << 
304         status = "okay";                       << 
305                                                << 
306         vdda-supply = <&vreg_l3c_1p2>;         << 
307                                                << 
308         panel@0 {                              << 
309                 compatible = "visionox,rm69299 << 
310                 reg = <0>;                     << 
311                                                << 
312                 vdda-supply = <&vreg_l8c_1p8>; << 
313                 vdd3p3-supply = <&vreg_l18a_2p << 
314                                                << 
315                 pinctrl-names = "default";     << 
316                 pinctrl-0 = <&disp_pins>;      << 
317                                                << 
318                 reset-gpios = <&pm6150l_gpios  << 
319                                                << 
320                 port {                         << 
321                         panel0_in: endpoint {  << 
322                                 remote-endpoin << 
323                         };                     << 
324                 };                             << 
325         };                                     << 
326                                                << 
327         ports {                                << 
328                 port@1 {                       << 
329                         endpoint {             << 
330                                 remote-endpoin << 
331                                 data-lanes = < << 
332                         };                     << 
333                 };                             << 
334         };                                     << 
335 };                                             << 
336                                                << 
337 &mdss_dsi0_phy {                               << 
338         status = "okay";                       << 
339         vdds-supply = <&vreg_l4a_0p8>;         << 
340 };                                             << 
341                                                << 
342 &qfprom {                                      << 
343         vcc-supply = <&vreg_l11a_1p8>;         << 
344 };                                             << 
345                                                << 
346 &qspi {                                           290 &qspi {
347         status = "okay";                          291         status = "okay";
348         pinctrl-names = "default";                292         pinctrl-names = "default";
349         pinctrl-0 = <&qspi_clk>, <&qspi_cs0>,  !! 293         pinctrl-0 = <&qspi_clk &qspi_cs0 &qspi_data01>;
350                                                   294 
351         flash@0 {                                 295         flash@0 {
352                 compatible = "jedec,spi-nor";     296                 compatible = "jedec,spi-nor";
353                 reg = <0>;                        297                 reg = <0>;
354                 spi-max-frequency = <25000000>    298                 spi-max-frequency = <25000000>;
355                 spi-tx-bus-width = <2>;           299                 spi-tx-bus-width = <2>;
356                 spi-rx-bus-width = <2>;           300                 spi-rx-bus-width = <2>;
357         };                                        301         };
358 };                                                302 };
359                                                   303 
360 &qupv3_id_0 {                                     304 &qupv3_id_0 {
361         status = "okay";                          305         status = "okay";
362 };                                                306 };
363                                                   307 
364 &qupv3_id_1 {                                     308 &qupv3_id_1 {
365         status = "okay";                          309         status = "okay";
366 };                                                310 };
367                                                   311 
368 &remoteproc_mpss {                                312 &remoteproc_mpss {
369         status = "okay";                          313         status = "okay";
370         compatible = "qcom,sc7180-mss-pil";       314         compatible = "qcom,sc7180-mss-pil";
371         reg = <0 0x04080000 0 0x4040>, <0 0x04 << 
372         reg-names = "qdsp6", "rmb";            << 
373                                                << 
374         clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,   << 
375                  <&gcc GCC_MSS_Q6_MEMNOC_AXI_C << 
376                  <&gcc GCC_MSS_NAV_AXI_CLK>,   << 
377                  <&gcc GCC_MSS_SNOC_AXI_CLK>,  << 
378                  <&gcc GCC_MSS_MFAB_AXIS_CLK>, << 
379                  <&rpmhcc RPMH_CXO_CLK>;       << 
380         clock-names = "iface", "bus", "nav", " << 
381                                                << 
382         iommus = <&apps_smmu 0x461 0x0>, <&app    315         iommus = <&apps_smmu 0x461 0x0>, <&apps_smmu 0x444 0x3>;
383         memory-region = <&mba_mem>, <&mpss_mem !! 316         memory-region = <&mba_mem &mpss_mem>;
384                                                << 
385         resets = <&aoss_reset AOSS_CC_MSS_REST << 
386                  <&pdc_reset PDC_MODEM_SYNC_RE << 
387         reset-names = "mss_restart", "pdc_rese << 
388                                                << 
389         qcom,halt-regs = <&tcsr_regs_1 0x3000  << 
390         qcom,spare-regs = <&tcsr_regs_2 0xb3e4 << 
391 };                                             << 
392                                                << 
393 &scm {                                         << 
394         /* TF-A firmware maps memory cached so << 
395         dma-coherent;                          << 
396 };                                                317 };
397                                                   318 
398 &sdhc_1 {                                         319 &sdhc_1 {
399         status = "okay";                          320         status = "okay";
400                                                   321 
401         pinctrl-names = "default", "sleep";       322         pinctrl-names = "default", "sleep";
402         pinctrl-0 = <&sdc1_on>;                   323         pinctrl-0 = <&sdc1_on>;
403         pinctrl-1 = <&sdc1_off>;                  324         pinctrl-1 = <&sdc1_off>;
404         vmmc-supply = <&vreg_l19a_2p9>;           325         vmmc-supply = <&vreg_l19a_2p9>;
405         vqmmc-supply = <&vreg_l12a_1p8>;          326         vqmmc-supply = <&vreg_l12a_1p8>;
406 };                                                327 };
407                                                   328 
408 &sdhc_2 {                                         329 &sdhc_2 {
409         status = "okay";                          330         status = "okay";
410                                                   331 
411         pinctrl-names = "default","sleep";        332         pinctrl-names = "default","sleep";
412         pinctrl-0 = <&sdc2_on>;                   333         pinctrl-0 = <&sdc2_on>;
413         pinctrl-1 = <&sdc2_off>;                  334         pinctrl-1 = <&sdc2_off>;
414         vmmc-supply = <&vreg_l9c_2p9>;         !! 335         vmmc-supply  = <&vreg_l9c_2p9>;
415         vqmmc-supply = <&vreg_l6c_2p9>;           336         vqmmc-supply = <&vreg_l6c_2p9>;
416                                                   337 
417         cd-gpios = <&tlmm 69 GPIO_ACTIVE_LOW>;    338         cd-gpios = <&tlmm 69 GPIO_ACTIVE_LOW>;
418 };                                                339 };
419                                                   340 
420 &uart3 {                                          341 &uart3 {
421         status = "okay";                          342         status = "okay";
422                                                   343 
423         /delete-property/interrupts;           !! 344         bluetooth: wcn3990-bt {
424         interrupts-extended = <&intc GIC_SPI 6 << 
425                                 <&tlmm 41 IRQ_ << 
426                                                << 
427         pinctrl-names = "default", "sleep";    << 
428         pinctrl-1 = <&qup_uart3_sleep>;        << 
429                                                << 
430         bluetooth: bluetooth {                 << 
431                 compatible = "qcom,wcn3990-bt"    345                 compatible = "qcom,wcn3990-bt";
432                 vddio-supply = <&vreg_l10a_1p8    346                 vddio-supply = <&vreg_l10a_1p8>;
433                 vddxo-supply = <&vreg_l1c_1p8>    347                 vddxo-supply = <&vreg_l1c_1p8>;
434                 vddrf-supply = <&vreg_l2c_1p3>    348                 vddrf-supply = <&vreg_l2c_1p3>;
435                 vddch0-supply = <&vreg_l10c_3p    349                 vddch0-supply = <&vreg_l10c_3p3>;
436                 max-speed = <3200000>;            350                 max-speed = <3200000>;
                                                   >> 351                 clocks = <&rpmhcc RPMH_RF_CLK2>;
437         };                                        352         };
438 };                                                353 };
439                                                   354 
440 &uart8 {                                          355 &uart8 {
441         status = "okay";                          356         status = "okay";
442 };                                                357 };
443                                                   358 
444 &usb_1 {                                          359 &usb_1 {
445         status = "okay";                          360         status = "okay";
446 };                                                361 };
447                                                   362 
448 &usb_1_dwc3 {                                     363 &usb_1_dwc3 {
449         dr_mode = "host";                         364         dr_mode = "host";
450 };                                                365 };
451                                                   366 
452 &usb_1_hsphy {                                    367 &usb_1_hsphy {
453         status = "okay";                          368         status = "okay";
454         vdd-supply = <&vreg_l4a_0p8>;             369         vdd-supply = <&vreg_l4a_0p8>;
455         vdda-pll-supply = <&vreg_l11a_1p8>;       370         vdda-pll-supply = <&vreg_l11a_1p8>;
456         vdda-phy-dpdm-supply = <&vreg_l17a_3p0    371         vdda-phy-dpdm-supply = <&vreg_l17a_3p0>;
457         qcom,imp-res-offset-value = <8>;          372         qcom,imp-res-offset-value = <8>;
458         qcom,preemphasis-level = <QUSB2_V2_PRE    373         qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_15_PERCENT>;
459         qcom,preemphasis-width = <QUSB2_V2_PRE    374         qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
460         qcom,bias-ctrl-value = <0x22>;            375         qcom,bias-ctrl-value = <0x22>;
461         qcom,charge-ctrl-value = <3>;             376         qcom,charge-ctrl-value = <3>;
462         qcom,hsdisc-trim-value = <0>;             377         qcom,hsdisc-trim-value = <0>;
463 };                                                378 };
464                                                   379 
465 &usb_1_qmpphy {                                   380 &usb_1_qmpphy {
466         status = "okay";                          381         status = "okay";
467         vdda-phy-supply = <&vreg_l3c_1p2>;        382         vdda-phy-supply = <&vreg_l3c_1p2>;
468         vdda-pll-supply = <&vreg_l4a_0p8>;        383         vdda-pll-supply = <&vreg_l4a_0p8>;
469 };                                                384 };
470                                                   385 
471 &venus {                                          386 &venus {
472         video-firmware {                          387         video-firmware {
473                 iommus = <&apps_smmu 0x0c42 0x    388                 iommus = <&apps_smmu 0x0c42 0x0>;
474         };                                        389         };
475 };                                                390 };
476                                                   391 
477 &wifi {                                        << 
478         status = "okay";                       << 
479         vdd-0.8-cx-mx-supply = <&vreg_l9a_0p6> << 
480         vdd-1.8-xo-supply = <&vreg_l1c_1p8>;   << 
481         vdd-1.3-rfa-supply = <&vreg_l2c_1p3>;  << 
482         vdd-3.3-ch0-supply = <&vreg_l10c_3p3>; << 
483         vdd-3.3-ch1-supply = <&vreg_l11c_3p3>; << 
484         wifi-firmware {                        << 
485                 iommus = <&apps_smmu 0xc2 0x1> << 
486         };                                     << 
487 };                                             << 
488                                                << 
489 /* PINCTRL - additions to nodes defined in sc7    392 /* PINCTRL - additions to nodes defined in sc7180.dtsi */
490                                                   393 
491 &pm6150l_gpios {                               << 
492         disp_pins: disp-state {                << 
493                 pinconf {                      << 
494                         pins = "gpio3";        << 
495                         function = PMIC_GPIO_F << 
496                         qcom,drive-strength =  << 
497                         power-source = <0>;    << 
498                         bias-disable;          << 
499                         output-low;            << 
500                 };                             << 
501         };                                     << 
502 };                                             << 
503                                                << 
504 &qspi_clk {                                       394 &qspi_clk {
505         bias-disable;                          !! 395         pinconf {
                                                   >> 396                 pins = "gpio63";
                                                   >> 397                 bias-disable;
                                                   >> 398         };
506 };                                                399 };
507                                                   400 
508 &qspi_cs0 {                                       401 &qspi_cs0 {
509         bias-disable;                          !! 402         pinconf {
                                                   >> 403                 pins = "gpio68";
                                                   >> 404                 bias-disable;
                                                   >> 405         };
510 };                                                406 };
511                                                   407 
512 &qspi_data0 {                                  !! 408 &qspi_data01 {
513         bias-pull-up;                          !! 409         pinconf {
514 };                                             !! 410                 pins = "gpio64", "gpio65";
515                                                   411 
516 &qspi_data1 {                                  !! 412                 /* High-Z when no transfers; nice to park the lines */
517         bias-pull-up;                          !! 413                 bias-pull-up;
                                                   >> 414         };
518 };                                                415 };
519                                                   416 
520 &qup_i2c2_default {                               417 &qup_i2c2_default {
521         drive-strength = <2>;                  !! 418         pinconf {
                                                   >> 419                 pins = "gpio15", "gpio16";
                                                   >> 420                 drive-strength = <2>;
522                                                   421 
523         /* Has external pullup */              !! 422                 /* Has external pullup */
524         bias-disable;                          !! 423                 bias-disable;
                                                   >> 424         };
525 };                                                425 };
526                                                   426 
527 &qup_i2c4_default {                               427 &qup_i2c4_default {
528         drive-strength = <2>;                  !! 428         pinconf {
                                                   >> 429                 pins = "gpio115", "gpio116";
                                                   >> 430                 drive-strength = <2>;
529                                                   431 
530         /* Has external pullup */              !! 432                 /* Has external pullup */
531         bias-disable;                          !! 433                 bias-disable;
                                                   >> 434         };
532 };                                                435 };
533                                                   436 
534 &qup_i2c7_default {                               437 &qup_i2c7_default {
535         drive-strength = <2>;                  !! 438         pinconf {
                                                   >> 439                 pins = "gpio6", "gpio7";
                                                   >> 440                 drive-strength = <2>;
536                                                   441 
537         /* Has external pullup */              !! 442                 /* Has external pullup */
538         bias-disable;                          !! 443                 bias-disable;
                                                   >> 444         };
539 };                                                445 };
540                                                   446 
541 &qup_i2c9_default {                               447 &qup_i2c9_default {
542         drive-strength = <2>;                  !! 448         pinconf {
                                                   >> 449                 pins = "gpio46", "gpio47";
                                                   >> 450                 drive-strength = <2>;
543                                                   451 
544         /* Has external pullup */              !! 452                 /* Has external pullup */
545         bias-disable;                          !! 453                 bias-disable;
546 };                                             !! 454         };
547                                                << 
548 &qup_uart3_cts {                               << 
549         /*                                     << 
550          * Configure a pull-down on CTS to mat << 
551          * the Bluetooth module.               << 
552          */                                    << 
553         bias-pull-down;                        << 
554 };                                             << 
555                                                << 
556 &qup_uart3_rts {                               << 
557         /* We'll drive RTS, so no pull */      << 
558         drive-strength = <2>;                  << 
559         bias-disable;                          << 
560 };                                             << 
561                                                << 
562 &qup_uart3_tx {                                << 
563         /* We'll drive TX, so no pull */       << 
564         drive-strength = <2>;                  << 
565         bias-disable;                          << 
566 };                                             << 
567                                                << 
568 &qup_uart3_rx {                                << 
569         /*                                     << 
570          * Configure a pull-up on RX. This is  << 
571          * garbage data when the TX pin of the << 
572          * in tri-state (module powered off or << 
573          * signal yet).                        << 
574          */                                    << 
575         bias-pull-up;                          << 
576 };                                             << 
577                                                << 
578 &qup_uart8_tx {                                << 
579         drive-strength = <2>;                  << 
580         bias-disable;                          << 
581 };                                             << 
582                                                << 
583 &qup_uart8_rx {                                << 
584         drive-strength = <2>;                  << 
585         bias-pull-up;                          << 
586 };                                             << 
587                                                << 
588 &qup_spi0_spi {                                << 
589         drive-strength = <2>;                  << 
590         bias-disable;                          << 
591 };                                             << 
592                                                << 
593 &qup_spi0_cs {                                 << 
594         drive-strength = <2>;                  << 
595         bias-disable;                          << 
596 };                                                455 };
597                                                   456 
598 &qup_spi6_spi {                                !! 457 &qup_uart3_default {
599         drive-strength = <2>;                  !! 458         pinconf-cts {
600         bias-disable;                          !! 459                 /*
601 };                                             !! 460                  * Configure a pull-down on 38 (CTS) to match the pull of
                                                   >> 461                  * the Bluetooth module.
                                                   >> 462                  */
                                                   >> 463                 pins = "gpio38";
                                                   >> 464                 bias-pull-down;
                                                   >> 465                 output-high;
                                                   >> 466         };
602                                                   467 
603 &qup_spi6_cs {                                 !! 468         pinconf-rts {
604         drive-strength = <2>;                  !! 469                 /* We'll drive 39 (RTS), so no pull */
605         bias-disable;                          !! 470                 pins = "gpio39";
606 };                                             !! 471                 drive-strength = <2>;
                                                   >> 472                 bias-disable;
                                                   >> 473         };
607                                                   474 
608 &qup_spi10_spi {                               !! 475         pinconf-tx {
609         drive-strength = <2>;                  !! 476                 /* We'll drive 40 (TX), so no pull */
610         bias-disable;                          !! 477                 pins = "gpio40";
611 };                                             !! 478                 drive-strength = <2>;
                                                   >> 479                 bias-disable;
                                                   >> 480                 output-high;
                                                   >> 481         };
612                                                   482 
613 &qup_spi10_cs {                                !! 483         pinconf-rx {
614         drive-strength = <2>;                  !! 484                 /*
615         bias-disable;                          !! 485                  * Configure a pull-up on 41 (RX). This is needed to avoid
                                                   >> 486                  * garbage data when the TX pin of the Bluetooth module is
                                                   >> 487                  * in tri-state (module powered off or not driving the
                                                   >> 488                  * signal yet).
                                                   >> 489                  */
                                                   >> 490                 pins = "gpio41";
                                                   >> 491                 bias-pull-up;
                                                   >> 492         };
616 };                                                493 };
617                                                   494 
618 &tlmm {                                        !! 495 &qup_uart8_default {
619         qup_uart3_sleep: qup-uart3-sleep-state !! 496         pinconf-tx {
620                 cts-pins {                     !! 497                 pins = "gpio44";
621                         /*                     !! 498                 drive-strength = <2>;
622                          * Configure a pull-do !! 499                 bias-disable;
623                          * the Bluetooth modul << 
624                          */                    << 
625                         pins = "gpio38";       << 
626                         function = "gpio";     << 
627                         bias-pull-down;        << 
628                 };                             << 
629                                                << 
630                 rts-pins {                     << 
631                         /*                     << 
632                          * Configure pull-down << 
633                          * signal, pull it low << 
634                          * can wakeup the syst << 
635                          * pulling RX low (by  << 
636                          */                    << 
637                         pins = "gpio39";       << 
638                         function = "gpio";     << 
639                         bias-pull-down;        << 
640                 };                             << 
641                                                << 
642                 tx-pins {                      << 
643                         /*                     << 
644                          * Configure pull-up o << 
645                          * to prevent BT SoC f << 
646                          */                    << 
647                         pins = "gpio40";       << 
648                         function = "gpio";     << 
649                         bias-pull-up;          << 
650                 };                             << 
651                                                << 
652                 rx-pins {                      << 
653                         /*                     << 
654                          * Configure a pull-up << 
655                          * garbage data when t << 
656                          * is floating which m << 
657                          */                    << 
658                         pins = "gpio41";       << 
659                         function = "gpio";     << 
660                         bias-pull-up;          << 
661                 };                             << 
662         };                                        500         };
663                                                   501 
664         sdc1_on: sdc1-on-state {               !! 502         pinconf-rx {
665                 clk-pins {                     !! 503                 pins = "gpio45";
666                         pins = "sdc1_clk";     !! 504                 drive-strength = <2>;
667                         bias-disable;          !! 505                 bias-pull-up;
668                         drive-strength = <16>; << 
669                 };                             << 
670                                                << 
671                 cmd-pins {                     << 
672                         pins = "sdc1_cmd";     << 
673                         bias-pull-up;          << 
674                         drive-strength = <10>; << 
675                 };                             << 
676                                                << 
677                 data-pins {                    << 
678                         pins = "sdc1_data";    << 
679                         bias-pull-up;          << 
680                         drive-strength = <10>; << 
681                 };                             << 
682                                                << 
683                 rclk-pins {                    << 
684                         pins = "sdc1_rclk";    << 
685                         bias-pull-down;        << 
686                 };                             << 
687         };                                        506         };
                                                   >> 507 };
688                                                   508 
689         sdc1_off: sdc1-off-state {             !! 509 &qup_spi0_default {
690                 clk-pins {                     !! 510         pinconf {
691                         pins = "sdc1_clk";     !! 511                 pins = "gpio34", "gpio35", "gpio36", "gpio37";
692                         bias-disable;          !! 512                 drive-strength = <2>;
693                         drive-strength = <2>;  !! 513                 bias-disable;
694                 };                             << 
695                                                << 
696                 cmd-pins {                     << 
697                         pins = "sdc1_cmd";     << 
698                         bias-pull-up;          << 
699                         drive-strength = <2>;  << 
700                 };                             << 
701                                                << 
702                 data-pins {                    << 
703                         pins = "sdc1_data";    << 
704                         bias-pull-up;          << 
705                         drive-strength = <2>;  << 
706                 };                             << 
707                                                << 
708                 rclk-pins {                    << 
709                         pins = "sdc1_rclk";    << 
710                         bias-pull-down;        << 
711                 };                             << 
712         };                                        514         };
                                                   >> 515 };
713                                                   516 
714         sdc2_on: sdc2-on-state {               !! 517 &qup_spi6_default {
715                 clk-pins {                     !! 518         pinconf {
716                         pins = "sdc2_clk";     !! 519                 pins = "gpio59", "gpio60", "gpio61", "gpio62";
717                         bias-disable;          !! 520                 drive-strength = <2>;
718                         drive-strength = <16>; !! 521                 bias-disable;
719                 };                             << 
720                                                << 
721                 cmd-pins {                     << 
722                         pins = "sdc2_cmd";     << 
723                         bias-pull-up;          << 
724                         drive-strength = <10>; << 
725                 };                             << 
726                                                << 
727                 data-pins {                    << 
728                         pins = "sdc2_data";    << 
729                         bias-pull-up;          << 
730                         drive-strength = <10>; << 
731                 };                             << 
732                                                << 
733                 sd-cd-pins {                   << 
734                         pins = "gpio69";       << 
735                         function = "gpio";     << 
736                         bias-pull-up;          << 
737                         drive-strength = <2>;  << 
738                 };                             << 
739         };                                        522         };
                                                   >> 523 };
740                                                   524 
741         sdc2_off: sdc2-off-state {             !! 525 &qup_spi10_default {
742                 clk-pins {                     !! 526         pinconf {
743                         pins = "sdc2_clk";     !! 527                 pins = "gpio86", "gpio87", "gpio88", "gpio89";
744                         bias-disable;          !! 528                 drive-strength = <2>;
745                         drive-strength = <2>;  !! 529                 bias-disable;
746                 };                             << 
747                                                << 
748                 cmd-pins {                     << 
749                         pins = "sdc2_cmd";     << 
750                         bias-pull-up;          << 
751                         drive-strength = <2>;  << 
752                 };                             << 
753                                                << 
754                 data-pins {                    << 
755                         pins = "sdc2_data";    << 
756                         bias-pull-up;          << 
757                         drive-strength = <2>;  << 
758                 };                             << 
759                                                << 
760                 sd-cd-pins {                   << 
761                         pins = "gpio69";       << 
762                         function = "gpio";     << 
763                         bias-pull-up;          << 
764                         drive-strength = <2>;  << 
765                 };                             << 
766         };                                        530         };
767 };                                                531 };
                                                   >> 532 
                                                      

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