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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/sdm845-xiaomi-beryllium-common.dtsi

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/sdm845-xiaomi-beryllium-common.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/qcom/sdm845-xiaomi-beryllium-common.dtsi (Version linux-6.2.16)


  1 // SPDX-License-Identifier: GPL-2.0                 1 // SPDX-License-Identifier: GPL-2.0
  2                                                     2 
  3 /dts-v1/;                                           3 /dts-v1/;
  4                                                     4 
  5 #include <dt-bindings/leds/common.h>           << 
  6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h      5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
  7 #include <dt-bindings/regulator/qcom,rpmh-regu      6 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
  8 #include <dt-bindings/sound/qcom,q6afe.h>           7 #include <dt-bindings/sound/qcom,q6afe.h>
  9 #include <dt-bindings/sound/qcom,q6asm.h>           8 #include <dt-bindings/sound/qcom,q6asm.h>
 10 #include "sdm845.dtsi"                              9 #include "sdm845.dtsi"
 11 #include "sdm845-wcd9340.dtsi"                 << 
 12 #include "pm8998.dtsi"                             10 #include "pm8998.dtsi"
 13 #include "pmi8998.dtsi"                            11 #include "pmi8998.dtsi"
 14                                                    12 
 15 /*                                                 13 /*
 16  * Delete following upstream (sdm845.dtsi) res     14  * Delete following upstream (sdm845.dtsi) reserved
 17  * memory mappings which are different in this     15  * memory mappings which are different in this device.
 18  */                                                16  */
 19 /delete-node/ &tz_mem;                             17 /delete-node/ &tz_mem;
 20 /delete-node/ &adsp_mem;                           18 /delete-node/ &adsp_mem;
 21 /delete-node/ &wlan_msa_mem;                       19 /delete-node/ &wlan_msa_mem;
 22 /delete-node/ &mpss_region;                        20 /delete-node/ &mpss_region;
 23 /delete-node/ &venus_mem;                          21 /delete-node/ &venus_mem;
 24 /delete-node/ &cdsp_mem;                           22 /delete-node/ &cdsp_mem;
 25 /delete-node/ &mba_region;                         23 /delete-node/ &mba_region;
 26 /delete-node/ &slpi_mem;                           24 /delete-node/ &slpi_mem;
 27 /delete-node/ &spss_mem;                           25 /delete-node/ &spss_mem;
 28 /delete-node/ &rmtfs_mem;                          26 /delete-node/ &rmtfs_mem;
 29                                                    27 
 30 / {                                                28 / {
 31         chassis-type = "handset";                  29         chassis-type = "handset";
 32                                                    30 
 33         /* required for bootloader to select c     31         /* required for bootloader to select correct board */
 34         qcom,board-id = <69 0>;                    32         qcom,board-id = <69 0>;
 35         qcom,msm-id = <321 0x20001>;               33         qcom,msm-id = <321 0x20001>;
 36                                                    34 
 37         aliases {                                  35         aliases {
 38                 serial1 = &uart6;                  36                 serial1 = &uart6;
 39         };                                         37         };
 40                                                    38 
 41         gpio-keys {                                39         gpio-keys {
 42                 compatible = "gpio-keys";          40                 compatible = "gpio-keys";
 43                 autorepeat;                        41                 autorepeat;
 44                                                    42 
 45                 pinctrl-names = "default";         43                 pinctrl-names = "default";
 46                 pinctrl-0 = <&vol_up_pin_a>;       44                 pinctrl-0 = <&vol_up_pin_a>;
 47                                                    45 
 48                 key-vol-up {                       46                 key-vol-up {
 49                         label = "Volume Up";       47                         label = "Volume Up";
 50                         linux,code = <KEY_VOLU     48                         linux,code = <KEY_VOLUMEUP>;
 51                         gpios = <&pm8998_gpios !!  49                         gpios = <&pm8998_gpio 6 GPIO_ACTIVE_LOW>;
 52                 };                                 50                 };
 53         };                                         51         };
 54                                                    52 
 55         /* Reserved memory changes from downst     53         /* Reserved memory changes from downstream */
 56         reserved-memory {                          54         reserved-memory {
 57                 tz_mem: memory@86200000 {          55                 tz_mem: memory@86200000 {
 58                         reg = <0 0x86200000 0      56                         reg = <0 0x86200000 0 0x4900000>;
 59                         no-map;                    57                         no-map;
 60                 };                                 58                 };
 61                                                    59 
 62                 adsp_mem: memory@8c500000 {        60                 adsp_mem: memory@8c500000 {
 63                         reg = <0 0x8c500000 0      61                         reg = <0 0x8c500000 0 0x1e00000>;
 64                         no-map;                    62                         no-map;
 65                 };                                 63                 };
 66                                                    64 
 67                 wlan_msa_mem: memory@8e300000      65                 wlan_msa_mem: memory@8e300000 {
 68                         reg = <0 0x8e300000 0      66                         reg = <0 0x8e300000 0 0x100000>;
 69                         no-map;                    67                         no-map;
 70                 };                                 68                 };
 71                                                    69 
 72                 mpss_region: memory@8e400000 {     70                 mpss_region: memory@8e400000 {
 73                         reg = <0 0x8e400000 0      71                         reg = <0 0x8e400000 0 0x7800000>;
 74                         no-map;                    72                         no-map;
 75                 };                                 73                 };
 76                                                    74 
 77                 venus_mem: memory@95c00000 {       75                 venus_mem: memory@95c00000 {
 78                         reg = <0 0x95c00000 0      76                         reg = <0 0x95c00000 0 0x500000>;
 79                         no-map;                    77                         no-map;
 80                 };                                 78                 };
 81                                                    79 
 82                 cdsp_mem: memory@96100000 {        80                 cdsp_mem: memory@96100000 {
 83                         reg = <0 0x96100000 0      81                         reg = <0 0x96100000 0 0x800000>;
 84                         no-map;                    82                         no-map;
 85                 };                                 83                 };
 86                                                    84 
 87                 mba_region: memory@96900000 {      85                 mba_region: memory@96900000 {
 88                         reg = <0 0x96900000 0      86                         reg = <0 0x96900000 0 0x200000>;
 89                         no-map;                    87                         no-map;
 90                 };                                 88                 };
 91                                                    89 
 92                 slpi_mem: memory@96b00000 {        90                 slpi_mem: memory@96b00000 {
 93                         reg = <0 0x96b00000 0      91                         reg = <0 0x96b00000 0 0x1400000>;
 94                         no-map;                    92                         no-map;
 95                 };                                 93                 };
 96                                                    94 
 97                 spss_mem: memory@97f00000 {        95                 spss_mem: memory@97f00000 {
 98                         reg = <0 0x97f00000 0      96                         reg = <0 0x97f00000 0 0x100000>;
 99                         no-map;                    97                         no-map;
100                 };                                 98                 };
101                                                    99 
102                 /* Cont splash region set up b << 
103                 cont_splash_mem: framebuffer@9 << 
104                         reg = <0 0x9d400000 0  << 
105                         no-map;                << 
106                 };                             << 
107                                                << 
108                 rmtfs_mem: memory@f6301000 {      100                 rmtfs_mem: memory@f6301000 {
109                         compatible = "qcom,rmt    101                         compatible = "qcom,rmtfs-mem";
110                         reg = <0 0xf6301000 0     102                         reg = <0 0xf6301000 0 0x200000>;
111                         no-map;                   103                         no-map;
112                                                   104 
113                         qcom,client-id = <1>;     105                         qcom,client-id = <1>;
114                         qcom,vmid = <QCOM_SCM_ !! 106                         qcom,vmid = <15>;
115                 };                                107                 };
116         };                                        108         };
117                                                   109 
118         battery: battery {                     << 
119                 compatible = "simple-battery"; << 
120                                                << 
121                 charge-full-design-microamp-ho << 
122                 voltage-min-design-microvolt = << 
123                 voltage-max-design-microvolt = << 
124         };                                     << 
125                                                << 
126         vreg_s4a_1p8: vreg-s4a-1p8 {              110         vreg_s4a_1p8: vreg-s4a-1p8 {
127                 compatible = "regulator-fixed"    111                 compatible = "regulator-fixed";
128                 regulator-name = "vreg_s4a_1p8    112                 regulator-name = "vreg_s4a_1p8";
129                                                   113 
130                 regulator-min-microvolt = <180    114                 regulator-min-microvolt = <1800000>;
131                 regulator-max-microvolt = <180    115                 regulator-max-microvolt = <1800000>;
132                 regulator-always-on;              116                 regulator-always-on;
133         };                                        117         };
134 };                                                118 };
135                                                   119 
136 &adsp_pas {                                       120 &adsp_pas {
137         status = "okay";                          121         status = "okay";
138         firmware-name = "qcom/sdm845/beryllium    122         firmware-name = "qcom/sdm845/beryllium/adsp.mbn";
139 };                                                123 };
140                                                   124 
141 &apps_rsc {                                       125 &apps_rsc {
142         regulators-0 {                         !! 126         pm8998-rpmh-regulators {
143                 compatible = "qcom,pm8998-rpmh    127                 compatible = "qcom,pm8998-rpmh-regulators";
144                 qcom,pmic-id = "a";               128                 qcom,pmic-id = "a";
145                                                   129 
146                 vreg_l1a_0p875: ldo1 {            130                 vreg_l1a_0p875: ldo1 {
147                         regulator-min-microvol    131                         regulator-min-microvolt = <880000>;
148                         regulator-max-microvol    132                         regulator-max-microvolt = <880000>;
149                         regulator-initial-mode    133                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
150                 };                                134                 };
151                                                   135 
152                 vreg_l5a_0p8: ldo5 {              136                 vreg_l5a_0p8: ldo5 {
153                         regulator-min-microvol    137                         regulator-min-microvolt = <800000>;
154                         regulator-max-microvol    138                         regulator-max-microvolt = <800000>;
155                         regulator-initial-mode    139                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
156                 };                                140                 };
157                                                   141 
158                 vreg_l7a_1p8: ldo7 {              142                 vreg_l7a_1p8: ldo7 {
159                         regulator-min-microvol    143                         regulator-min-microvolt = <1800000>;
160                         regulator-max-microvol    144                         regulator-max-microvolt = <1800000>;
161                         regulator-initial-mode    145                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
162                 };                                146                 };
163                                                   147 
164                 vreg_l12a_1p8: ldo12 {            148                 vreg_l12a_1p8: ldo12 {
165                         regulator-min-microvol    149                         regulator-min-microvolt = <1800000>;
166                         regulator-max-microvol    150                         regulator-max-microvolt = <1800000>;
167                         regulator-initial-mode    151                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
168                 };                                152                 };
169                                                   153 
170                 vreg_l13a_2p95: ldo13 {           154                 vreg_l13a_2p95: ldo13 {
171                         regulator-min-microvol    155                         regulator-min-microvolt = <1800000>;
172                         regulator-max-microvol    156                         regulator-max-microvolt = <2960000>;
173                         regulator-initial-mode    157                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
174                 };                                158                 };
175                                                   159 
176                 vreg_l14a_1p8: ldo14 {            160                 vreg_l14a_1p8: ldo14 {
177                         regulator-min-microvol    161                         regulator-min-microvolt = <1800000>;
178                         regulator-max-microvol    162                         regulator-max-microvolt = <1800000>;
179                         regulator-initial-mode    163                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
180                         regulator-boot-on;        164                         regulator-boot-on;
181                         regulator-always-on;      165                         regulator-always-on;
182                 };                                166                 };
183                                                   167 
184                 vreg_l17a_1p3: ldo17 {            168                 vreg_l17a_1p3: ldo17 {
185                         regulator-min-microvol    169                         regulator-min-microvolt = <1304000>;
186                         regulator-max-microvol    170                         regulator-max-microvolt = <1304000>;
187                         regulator-initial-mode    171                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
188                 };                                172                 };
189                                                   173 
190                 vreg_l20a_2p95: ldo20 {           174                 vreg_l20a_2p95: ldo20 {
191                         regulator-min-microvol    175                         regulator-min-microvolt = <2960000>;
192                         regulator-max-microvol    176                         regulator-max-microvolt = <2968000>;
193                         regulator-initial-mode    177                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
194                 };                                178                 };
195                                                   179 
196                 vreg_l21a_2p95: ldo21 {           180                 vreg_l21a_2p95: ldo21 {
197                         regulator-min-microvol    181                         regulator-min-microvolt = <2960000>;
198                         regulator-max-microvol    182                         regulator-max-microvolt = <2968000>;
199                         regulator-initial-mode    183                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
200                 };                                184                 };
201                                                   185 
202                 vreg_l23a_3p3: ldo23 {            186                 vreg_l23a_3p3: ldo23 {
203                         regulator-min-microvol    187                         regulator-min-microvolt = <3300000>;
204                         regulator-max-microvol    188                         regulator-max-microvolt = <3312000>;
205                         regulator-initial-mode    189                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
206                 };                                190                 };
207                                                   191 
208                 vreg_l24a_3p075: ldo24 {          192                 vreg_l24a_3p075: ldo24 {
209                         regulator-min-microvol    193                         regulator-min-microvolt = <3088000>;
210                         regulator-max-microvol    194                         regulator-max-microvolt = <3088000>;
211                         regulator-initial-mode    195                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
212                 };                                196                 };
213                                                   197 
214                 vreg_l25a_3p3: ldo25 {            198                 vreg_l25a_3p3: ldo25 {
215                         regulator-min-microvol    199                         regulator-min-microvolt = <3300000>;
216                         regulator-max-microvol    200                         regulator-max-microvolt = <3312000>;
217                         regulator-initial-mode    201                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
218                 };                                202                 };
219                                                   203 
220                 vreg_l26a_1p2: ldo26 {            204                 vreg_l26a_1p2: ldo26 {
221                         regulator-min-microvol    205                         regulator-min-microvolt = <1200000>;
222                         regulator-max-microvol    206                         regulator-max-microvolt = <1200000>;
223                         regulator-initial-mode    207                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
224                         regulator-boot-on;        208                         regulator-boot-on;
225                 };                                209                 };
226         };                                        210         };
227 };                                                211 };
228                                                   212 
229 &cdsp_pas {                                       213 &cdsp_pas {
230         status = "okay";                          214         status = "okay";
231         firmware-name = "qcom/sdm845/beryllium    215         firmware-name = "qcom/sdm845/beryllium/cdsp.mbn";
232 };                                                216 };
233                                                   217 
                                                   >> 218 &dsi0 {
                                                   >> 219         status = "okay";
                                                   >> 220         vdda-supply = <&vreg_l26a_1p2>;
                                                   >> 221 
                                                   >> 222         display_panel: panel@0 {
                                                   >> 223                 reg = <0>;
                                                   >> 224                 vddio-supply = <&vreg_l14a_1p8>;
                                                   >> 225                 vddpos-supply = <&lab>;
                                                   >> 226                 vddneg-supply = <&ibb>;
                                                   >> 227 
                                                   >> 228                 #address-cells = <1>;
                                                   >> 229                 #size-cells = <0>;
                                                   >> 230 
                                                   >> 231                 backlight = <&pmi8998_wled>;
                                                   >> 232                 reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
                                                   >> 233 
                                                   >> 234                 status = "disabled";
                                                   >> 235 
                                                   >> 236                 port {
                                                   >> 237                         panel_in_0: endpoint {
                                                   >> 238                                 remote-endpoint = <&dsi0_out>;
                                                   >> 239                         };
                                                   >> 240                 };
                                                   >> 241         };
                                                   >> 242 };
                                                   >> 243 
                                                   >> 244 &dsi0_out {
                                                   >> 245         remote-endpoint = <&panel_in_0>;
                                                   >> 246         data-lanes = <0 1 2 3>;
                                                   >> 247 };
                                                   >> 248 
                                                   >> 249 &dsi0_phy {
                                                   >> 250         status = "okay";
                                                   >> 251         vdds-supply = <&vreg_l1a_0p875>;
                                                   >> 252 };
                                                   >> 253 
234 &gcc {                                            254 &gcc {
235         protected-clocks = <GCC_QSPI_CORE_CLK>    255         protected-clocks = <GCC_QSPI_CORE_CLK>,
236                            <GCC_QSPI_CORE_CLK_    256                            <GCC_QSPI_CORE_CLK_SRC>,
237                            <GCC_QSPI_CNOC_PERI    257                            <GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
238                            <GCC_LPASS_Q6_AXI_C    258                            <GCC_LPASS_Q6_AXI_CLK>,
239                            <GCC_LPASS_SWAY_CLK    259                            <GCC_LPASS_SWAY_CLK>;
240 };                                                260 };
241                                                   261 
242 &gmu {                                            262 &gmu {
243         status = "okay";                          263         status = "okay";
244 };                                                264 };
245                                                   265 
246 &gpu {                                            266 &gpu {
247         status = "okay";                          267         status = "okay";
248                                                   268 
249         zap-shader {                              269         zap-shader {
250                 memory-region = <&gpu_mem>;       270                 memory-region = <&gpu_mem>;
251                 firmware-name = "qcom/sdm845/b    271                 firmware-name = "qcom/sdm845/beryllium/a630_zap.mbn";
252         };                                        272         };
253 };                                                273 };
254                                                   274 
255 &ibb {                                            275 &ibb {
256         regulator-min-microvolt = <4600000>;      276         regulator-min-microvolt = <4600000>;
257         regulator-max-microvolt = <6000000>;      277         regulator-max-microvolt = <6000000>;
258         regulator-over-current-protection;        278         regulator-over-current-protection;
259         regulator-pull-down;                      279         regulator-pull-down;
260         regulator-soft-start;                     280         regulator-soft-start;
261         qcom,discharge-resistor-kohms = <300>;    281         qcom,discharge-resistor-kohms = <300>;
262 };                                                282 };
263                                                   283 
264 &lab {                                            284 &lab {
265         regulator-min-microvolt = <4600000>;      285         regulator-min-microvolt = <4600000>;
266         regulator-max-microvolt = <6000000>;      286         regulator-max-microvolt = <6000000>;
267         regulator-over-current-protection;        287         regulator-over-current-protection;
268         regulator-pull-down;                      288         regulator-pull-down;
269         regulator-soft-start;                     289         regulator-soft-start;
270 };                                                290 };
271                                                   291 
272 &mdss {                                           292 &mdss {
273         status = "okay";                          293         status = "okay";
274 };                                                294 };
275                                                   295 
276 &mdss_dsi0 {                                   << 
277         status = "okay";                       << 
278         vdda-supply = <&vreg_l26a_1p2>;        << 
279                                                << 
280         display_panel: panel@0 {               << 
281                 reg = <0>;                     << 
282                 vddio-supply = <&vreg_l14a_1p8 << 
283                 vddpos-supply = <&lab>;        << 
284                 vddneg-supply = <&ibb>;        << 
285                                                << 
286                 backlight = <&pmi8998_wled>;   << 
287                 reset-gpios = <&tlmm 6 GPIO_AC << 
288                                                << 
289                 status = "disabled";           << 
290                                                << 
291                 port {                         << 
292                         panel_in_0: endpoint { << 
293                                 remote-endpoin << 
294                         };                     << 
295                 };                             << 
296         };                                     << 
297 };                                             << 
298                                                << 
299 &mdss_dsi0_out {                               << 
300         remote-endpoint = <&panel_in_0>;       << 
301         data-lanes = <0 1 2 3>;                << 
302 };                                             << 
303                                                << 
304 &mdss_dsi0_phy {                               << 
305         status = "okay";                       << 
306         vdds-supply = <&vreg_l1a_0p875>;       << 
307 };                                             << 
308                                                << 
309 &mss_pil {                                        296 &mss_pil {
310         status = "okay";                          297         status = "okay";
311         firmware-name = "qcom/sdm845/beryllium    298         firmware-name = "qcom/sdm845/beryllium/mba.mbn", "qcom/sdm845/beryllium/modem.mbn";
312 };                                                299 };
313                                                   300 
314 &ipa {                                            301 &ipa {
315         qcom,gsi-loader = "self";              !! 302         status = "okay";
316         memory-region = <&ipa_fw_mem>;            303         memory-region = <&ipa_fw_mem>;
317         firmware-name = "qcom/sdm845/beryllium    304         firmware-name = "qcom/sdm845/beryllium/ipa_fws.mbn";
318         status = "okay";                       << 
319 };                                                305 };
320                                                   306 
321 &pm8998_gpios {                                !! 307 &pm8998_gpio {
322         vol_up_pin_a: vol-up-active-state {       308         vol_up_pin_a: vol-up-active-state {
323                 pins = "gpio6";                   309                 pins = "gpio6";
324                 function = "normal";              310                 function = "normal";
325                 input-enable;                     311                 input-enable;
326                 bias-pull-up;                     312                 bias-pull-up;
327                 qcom,drive-strength = <PMIC_GP    313                 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
328         };                                        314         };
329 };                                                315 };
330                                                   316 
331 &pmi8998_lpg {                                 << 
332         status = "okay";                       << 
333                                                << 
334         led@5 {                                << 
335                 reg = <5>;                     << 
336                 color = <LED_COLOR_ID_WHITE>;  << 
337                 function = LED_FUNCTION_STATUS << 
338         };                                     << 
339 };                                             << 
340                                                << 
341 &pmi8998_wled {                                   317 &pmi8998_wled {
342         status = "okay";                          318         status = "okay";
343         qcom,current-boost-limit = <970>;         319         qcom,current-boost-limit = <970>;
344         qcom,ovp-millivolt = <29600>;             320         qcom,ovp-millivolt = <29600>;
345         qcom,current-limit-microamp = <20000>;    321         qcom,current-limit-microamp = <20000>;
346         qcom,num-strings = <2>;                   322         qcom,num-strings = <2>;
347         qcom,switching-freq = <600>;              323         qcom,switching-freq = <600>;
348         qcom,external-pfet;                       324         qcom,external-pfet;
349         qcom,cabc;                                325         qcom,cabc;
350 };                                                326 };
351                                                   327 
352 &pmi8998_charger {                             !! 328 &pm8998_resin {
353         monitored-battery = <&battery>;        !! 329         linux,code = <KEY_VOLUMEDOWN>;
354                                                << 
355         status = "okay";                       << 
356 };                                             << 
357                                                << 
358 &pmi8998_flash {                               << 
359         status = "okay";                          330         status = "okay";
360                                                << 
361         led-0 {                                << 
362                 function = LED_FUNCTION_FLASH; << 
363                 color = <LED_COLOR_ID_WHITE>;  << 
364                 led-sources = <1>;             << 
365                 led-max-microamp = <500000>;   << 
366                 flash-max-microamp = <1500000> << 
367                 flash-max-timeout-us = <128000 << 
368         };                                     << 
369                                                << 
370         led-1 {                                << 
371                 function = LED_FUNCTION_FLASH; << 
372                 color = <LED_COLOR_ID_YELLOW>; << 
373                 led-sources = <2>;             << 
374                 led-max-microamp = <500000>;   << 
375                 flash-max-microamp = <1500000> << 
376                 flash-max-timeout-us = <128000 << 
377         };                                     << 
378 };                                                331 };
379                                                   332 
380 &pm8998_resin {                                !! 333 &pmi8998_rradc {
381         linux,code = <KEY_VOLUMEDOWN>;         << 
382         status = "okay";                          334         status = "okay";
383 };                                                335 };
384                                                   336 
385 /* QUAT I2S Uses 1 I2S SD Line for audio on TA    337 /* QUAT I2S Uses 1 I2S SD Line for audio on TAS2559/60 amplifiers */
386 &q6afedai {                                       338 &q6afedai {
387         dai@22 {                                  339         dai@22 {
388                 reg = <QUATERNARY_MI2S_RX>;       340                 reg = <QUATERNARY_MI2S_RX>;
389                 qcom,sd-lines = <0>;              341                 qcom,sd-lines = <0>;
390         };                                        342         };
391 };                                                343 };
392                                                   344 
393 &q6asmdai {                                       345 &q6asmdai {
394         dai@0 {                                   346         dai@0 {
395                 reg = <0>;                        347                 reg = <0>;
396         };                                        348         };
397                                                   349 
398         dai@1 {                                   350         dai@1 {
399                 reg = <1>;                        351                 reg = <1>;
400         };                                        352         };
401                                                   353 
402         dai@2 {                                   354         dai@2 {
403                 reg = <2>;                        355                 reg = <2>;
404         };                                        356         };
405 };                                                357 };
406                                                   358 
407 &qupv3_id_0 {                                     359 &qupv3_id_0 {
408         status = "okay";                          360         status = "okay";
409 };                                                361 };
410                                                   362 
411 &sdhc_2 {                                         363 &sdhc_2 {
412         status = "okay";                          364         status = "okay";
413                                                   365 
414         pinctrl-names = "default";                366         pinctrl-names = "default";
415         pinctrl-0 = <&sdc2_default_state &sdc2    367         pinctrl-0 = <&sdc2_default_state &sdc2_card_det_n>;
416                                                   368 
417         vmmc-supply = <&vreg_l21a_2p95>;          369         vmmc-supply = <&vreg_l21a_2p95>;
418         vqmmc-supply = <&vreg_l13a_2p95>;         370         vqmmc-supply = <&vreg_l13a_2p95>;
419                                                   371 
420         bus-width = <4>;                          372         bus-width = <4>;
421         cd-gpios = <&tlmm 126 GPIO_ACTIVE_HIGH    373         cd-gpios = <&tlmm 126 GPIO_ACTIVE_HIGH>;
422 };                                                374 };
423                                                   375 
424 &sound {                                          376 &sound {
425         compatible = "qcom,db845c-sndcard", "q !! 377         compatible = "qcom,db845c-sndcard";
426         pinctrl-0 = <&quat_mi2s_active            378         pinctrl-0 = <&quat_mi2s_active
427                         &quat_mi2s_sd0_active>    379                         &quat_mi2s_sd0_active>;
428         pinctrl-names = "default";                380         pinctrl-names = "default";
429         model = "Xiaomi Poco F1";                 381         model = "Xiaomi Poco F1";
430         audio-routing =                           382         audio-routing =
431                 "RX_BIAS", "MCLK",                383                 "RX_BIAS", "MCLK",
432                 "AMIC1", "MIC BIAS1",             384                 "AMIC1", "MIC BIAS1",
433                 "AMIC2", "MIC BIAS2",             385                 "AMIC2", "MIC BIAS2",
434                 "AMIC3", "MIC BIAS3";             386                 "AMIC3", "MIC BIAS3";
435                                                   387 
436         mm1-dai-link {                            388         mm1-dai-link {
437                 link-name = "MultiMedia1";        389                 link-name = "MultiMedia1";
438                 cpu {                             390                 cpu {
439                         sound-dai = <&q6asmdai    391                         sound-dai = <&q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA1>;
440                 };                                392                 };
441         };                                        393         };
442                                                   394 
443         mm2-dai-link {                            395         mm2-dai-link {
444                 link-name = "MultiMedia2";        396                 link-name = "MultiMedia2";
445                 cpu {                             397                 cpu {
446                         sound-dai = <&q6asmdai    398                         sound-dai = <&q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA2>;
447                 };                                399                 };
448         };                                        400         };
449                                                   401 
450         mm3-dai-link {                            402         mm3-dai-link {
451                 link-name = "MultiMedia3";        403                 link-name = "MultiMedia3";
452                 cpu {                             404                 cpu {
453                         sound-dai = <&q6asmdai    405                         sound-dai = <&q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA3>;
454                 };                                406                 };
455         };                                        407         };
456                                                   408 
457         slim-dai-link {                           409         slim-dai-link {
458                 link-name = "SLIM Playback";      410                 link-name = "SLIM Playback";
459                 cpu {                             411                 cpu {
460                         sound-dai = <&q6afedai    412                         sound-dai = <&q6afedai SLIMBUS_0_RX>;
461                 };                                413                 };
462                                                   414 
463                 platform {                        415                 platform {
464                         sound-dai = <&q6routin    416                         sound-dai = <&q6routing>;
465                 };                                417                 };
466                                                   418 
467                 codec {                           419                 codec {
468                         sound-dai = <&wcd9340     420                         sound-dai = <&wcd9340 0>;
469                 };                                421                 };
470         };                                        422         };
471                                                   423 
472         slimcap-dai-link {                        424         slimcap-dai-link {
473                 link-name = "SLIM Capture";       425                 link-name = "SLIM Capture";
474                 cpu {                             426                 cpu {
475                         sound-dai = <&q6afedai    427                         sound-dai = <&q6afedai SLIMBUS_0_TX>;
476                 };                                428                 };
477                                                   429 
478                 platform {                        430                 platform {
479                         sound-dai = <&q6routin    431                         sound-dai = <&q6routing>;
480                 };                                432                 };
481                                                   433 
482                 codec {                           434                 codec {
483                         sound-dai = <&wcd9340     435                         sound-dai = <&wcd9340 1>;
484                 };                                436                 };
485         };                                        437         };
486 };                                                438 };
487                                                   439 
488 &tlmm {                                           440 &tlmm {
489         gpio-reserved-ranges = <0 4>, <81 4>;     441         gpio-reserved-ranges = <0 4>, <81 4>;
490                                                   442 
491         sdc2_default_state: sdc2-default-state !! 443         sdc2_default_state: sdc2-default {
492                 clk-pins {                     !! 444                 clk {
493                         pins = "sdc2_clk";        445                         pins = "sdc2_clk";
494                         bias-disable;             446                         bias-disable;
495                         drive-strength = <16>;    447                         drive-strength = <16>;
496                 };                                448                 };
497                                                   449 
498                 cmd-pins {                     !! 450                 cmd {
499                         pins = "sdc2_cmd";        451                         pins = "sdc2_cmd";
500                         bias-pull-up;             452                         bias-pull-up;
501                         drive-strength = <10>;    453                         drive-strength = <10>;
502                 };                                454                 };
503                                                   455 
504                 data-pins {                    !! 456                 data {
505                         pins = "sdc2_data";       457                         pins = "sdc2_data";
506                         bias-pull-up;             458                         bias-pull-up;
507                         drive-strength = <10>;    459                         drive-strength = <10>;
508                 };                                460                 };
509         };                                        461         };
510                                                   462 
511         sdc2_card_det_n: sd-card-det-n-state { !! 463         sdc2_card_det_n: sd-card-det-n {
512                 pins = "gpio126";                 464                 pins = "gpio126";
513                 function = "gpio";                465                 function = "gpio";
514                 bias-pull-up;                     466                 bias-pull-up;
515         };                                        467         };
                                                   >> 468 
                                                   >> 469         wcd_intr_default: wcd_intr_default {
                                                   >> 470                 pins = "gpio54";
                                                   >> 471                 function = "gpio";
                                                   >> 472 
                                                   >> 473                 input-enable;
                                                   >> 474                 bias-pull-down;
                                                   >> 475                 drive-strength = <2>;
                                                   >> 476         };
516 };                                                477 };
517                                                   478 
518 &uart6 {                                          479 &uart6 {
519         status = "okay";                          480         status = "okay";
520                                                   481 
521         pinctrl-0 = <&qup_uart6_4pin>;            482         pinctrl-0 = <&qup_uart6_4pin>;
522                                                   483 
523         bluetooth {                               484         bluetooth {
524                 compatible = "qcom,wcn3990-bt"    485                 compatible = "qcom,wcn3990-bt";
525                                                   486 
526                 vddio-supply = <&vreg_s4a_1p8>    487                 vddio-supply = <&vreg_s4a_1p8>;
527                 vddxo-supply = <&vreg_l7a_1p8>    488                 vddxo-supply = <&vreg_l7a_1p8>;
528                 vddrf-supply = <&vreg_l17a_1p3    489                 vddrf-supply = <&vreg_l17a_1p3>;
529                 vddch0-supply = <&vreg_l25a_3p    490                 vddch0-supply = <&vreg_l25a_3p3>;
530                 max-speed = <3200000>;            491                 max-speed = <3200000>;
531         };                                        492         };
532 };                                                493 };
533                                                   494 
534 &ufs_mem_hc {                                     495 &ufs_mem_hc {
535         status = "okay";                          496         status = "okay";
536                                                   497 
537         reset-gpios = <&tlmm 150 GPIO_ACTIVE_L    498         reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
538                                                   499 
539         vcc-supply = <&vreg_l20a_2p95>;           500         vcc-supply = <&vreg_l20a_2p95>;
540         vcc-max-microamp = <800000>;              501         vcc-max-microamp = <800000>;
541 };                                                502 };
542                                                   503 
543 &ufs_mem_phy {                                    504 &ufs_mem_phy {
544         status = "okay";                          505         status = "okay";
545                                                   506 
546         vdda-phy-supply = <&vreg_l1a_0p875>;      507         vdda-phy-supply = <&vreg_l1a_0p875>;
547         vdda-pll-supply = <&vreg_l26a_1p2>;       508         vdda-pll-supply = <&vreg_l26a_1p2>;
548 };                                                509 };
549                                                   510 
550 &usb_1 {                                          511 &usb_1 {
551         status = "okay";                          512         status = "okay";
552 };                                                513 };
553                                                   514 
554 &usb_1_dwc3 {                                     515 &usb_1_dwc3 {
555         dr_mode = "peripheral";                   516         dr_mode = "peripheral";
556 };                                                517 };
557                                                   518 
558 &usb_1_hsphy {                                    519 &usb_1_hsphy {
559         status = "okay";                          520         status = "okay";
560                                                   521 
561         vdd-supply = <&vreg_l1a_0p875>;           522         vdd-supply = <&vreg_l1a_0p875>;
562         vdda-pll-supply = <&vreg_l12a_1p8>;       523         vdda-pll-supply = <&vreg_l12a_1p8>;
563         vdda-phy-dpdm-supply = <&vreg_l24a_3p0    524         vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
564                                                   525 
565         qcom,imp-res-offset-value = <8>;          526         qcom,imp-res-offset-value = <8>;
566         qcom,hstx-trim-value = <QUSB2_V2_HSTX_    527         qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>;
567         qcom,preemphasis-level = <QUSB2_V2_PRE    528         qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>;
568         qcom,preemphasis-width = <QUSB2_V2_PRE    529         qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
569 };                                                530 };
570                                                   531 
571 &usb_1_qmpphy {                                   532 &usb_1_qmpphy {
572         status = "okay";                          533         status = "okay";
573                                                   534 
574         vdda-phy-supply = <&vreg_l26a_1p2>;       535         vdda-phy-supply = <&vreg_l26a_1p2>;
575         vdda-pll-supply = <&vreg_l1a_0p875>;      536         vdda-pll-supply = <&vreg_l1a_0p875>;
576 };                                                537 };
577                                                   538 
578 &venus {                                          539 &venus {
579         status = "okay";                          540         status = "okay";
580         firmware-name = "qcom/sdm845/beryllium    541         firmware-name = "qcom/sdm845/beryllium/venus.mbn";
581 };                                                542 };
582                                                   543 
583 &wcd9340 {                                     !! 544 &wcd9340{
                                                   >> 545         pinctrl-0 = <&wcd_intr_default>;
                                                   >> 546         pinctrl-names = "default";
                                                   >> 547         clock-names = "extclk";
                                                   >> 548         clocks = <&rpmhcc RPMH_LN_BB_CLK2>;
584         reset-gpios = <&tlmm 64 GPIO_ACTIVE_HI    549         reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
585         vdd-buck-supply = <&vreg_s4a_1p8>;        550         vdd-buck-supply = <&vreg_s4a_1p8>;
586         vdd-buck-sido-supply = <&vreg_s4a_1p8>    551         vdd-buck-sido-supply = <&vreg_s4a_1p8>;
587         vdd-tx-supply = <&vreg_s4a_1p8>;          552         vdd-tx-supply = <&vreg_s4a_1p8>;
588         vdd-rx-supply = <&vreg_s4a_1p8>;          553         vdd-rx-supply = <&vreg_s4a_1p8>;
589         vdd-io-supply = <&vreg_s4a_1p8>;          554         vdd-io-supply = <&vreg_s4a_1p8>;
590         qcom,micbias1-microvolt = <2700000>;      555         qcom,micbias1-microvolt = <2700000>;
591         qcom,micbias2-microvolt = <1800000>;      556         qcom,micbias2-microvolt = <1800000>;
592         qcom,micbias3-microvolt = <2700000>;      557         qcom,micbias3-microvolt = <2700000>;
593         qcom,micbias4-microvolt = <2700000>;      558         qcom,micbias4-microvolt = <2700000>;
594 };                                                559 };
595                                                   560 
596 &wifi {                                           561 &wifi {
597         status = "okay";                          562         status = "okay";
598                                                   563 
599         vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>    564         vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
600         vdd-1.8-xo-supply = <&vreg_l7a_1p8>;      565         vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
601         vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;    566         vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
602         vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;    567         vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
603         vdd-3.3-ch1-supply = <&vreg_l23a_3p3>;    568         vdd-3.3-ch1-supply = <&vreg_l23a_3p3>;
604 };                                                569 };
                                                      

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