1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 3 * Copyright (c) 2015, LGE Inc. All rights res 4 * Copyright (c) 2016, The Linux Foundation. A 5 * Copyright (c) 2021-2022, Petr Vorel <petr.vo 6 * Copyright (c) 2022, Dominik Kobinski <domini 7 */ 8 9 /dts-v1/; 10 11 #include "msm8992.dtsi" 12 #include "pm8994.dtsi" 13 #include "pmi8994.dtsi" 14 15 /* cont_splash_mem has different memory mappin 16 /delete-node/ &cont_splash_mem; 17 18 /* disabled on downstream, conflicts with cont 19 /delete-node/ &dfps_data_mem; 20 21 / { 22 model = "LG Nexus 5X"; 23 compatible = "lg,bullhead", "qcom,msm8 24 chassis-type = "handset"; 25 26 qcom,msm-id = <251 0>, <252 0>; 27 qcom,pmic-id = <0x10009 0x1000A 0x0 0x 28 29 /* Bullhead firmware doesn't support P 30 /delete-node/ psci; 31 32 aliases { 33 serial0 = &blsp1_uart2; 34 }; 35 36 chosen { 37 stdout-path = "serial0:115200n 38 }; 39 40 reserved-memory { 41 #address-cells = <2>; 42 #size-cells = <2>; 43 ranges; 44 45 ramoops@1ff00000 { 46 compatible = "ramoops" 47 reg = <0x0 0x1ff00000 48 console-size = <0x1000 49 record-size = <0x10000 50 ftrace-size = <0x10000 51 pmsg-size = <0x20000>; 52 }; 53 54 cont_splash_mem: memory@340000 55 reg = <0 0x03400000 0 56 no-map; 57 }; 58 59 reserved@5000000 { 60 reg = <0x0 0x05000000 61 no-map; 62 }; 63 }; 64 }; 65 66 &blsp1_uart2 { 67 status = "okay"; 68 }; 69 70 &rpm_requests { 71 pm8994_regulators: regulators-0 { 72 compatible = "qcom,rpm-pm8994- 73 74 vdd_l1-supply = <&pm8994_s1>; 75 vdd_l2_26_28-supply = <&pm8994 76 vdd_l3_11-supply = <&pm8994_s3 77 vdd_l4_27_31-supply = <&pm8994 78 vdd_l5_7-supply = <&pm8994_s3> 79 vdd_l6_12_32-supply = <&pm8994 80 vdd_l8_16_30-supply = <&vph_pw 81 vdd_l9_10_18_22-supply = <&vph 82 vdd_l13_19_23_24-supply = <&vp 83 vdd_l14_15-supply = <&pm8994_s 84 vdd_l17_29-supply = <&vph_pwr> 85 vdd_l20_21-supply = <&vph_pwr> 86 vdd_l25-supply = <&pm8994_s5>; 87 vdd_lvs1_2-supply = <&pm8994_s 88 89 /* S1, S2, S6 and S12 are mana 90 91 pm8994_s1: s1 { 92 regulator-min-microvol 93 regulator-max-microvol 94 }; 95 96 pm8994_s2: s2 { 97 /* TODO */ 98 }; 99 100 pm8994_s3: s3 { 101 regulator-min-microvol 102 regulator-max-microvol 103 }; 104 105 pm8994_s4: s4 { 106 regulator-min-microvol 107 regulator-max-microvol 108 regulator-allow-set-lo 109 regulator-system-load 110 }; 111 112 pm8994_s5: s5 { 113 regulator-min-microvol 114 regulator-max-microvol 115 }; 116 117 pm8994_s7: s7 { 118 regulator-min-microvol 119 regulator-max-microvol 120 }; 121 122 /* S8, S9, S10 and S11 - SPMI- 123 124 pm8994_l1: l1 { 125 regulator-min-microvol 126 regulator-max-microvol 127 }; 128 129 pm8994_l2: l2 { 130 regulator-min-microvol 131 regulator-max-microvol 132 }; 133 134 pm8994_l3: l3 { 135 regulator-min-microvol 136 regulator-max-microvol 137 }; 138 139 pm8994_l4: l4 { 140 regulator-min-microvol 141 regulator-max-microvol 142 }; 143 144 /* L5 is inaccessible from RPM 145 146 pm8994_l6: l6 { 147 regulator-min-microvol 148 regulator-max-microvol 149 }; 150 151 /* L7 is inaccessible from RPM 152 153 pm8994_l8: l8 { 154 regulator-min-microvol 155 regulator-max-microvol 156 }; 157 158 pm8994_l9: l9 { 159 regulator-min-microvol 160 regulator-max-microvol 161 }; 162 163 pm8994_l10: l10 { 164 regulator-min-microvol 165 regulator-max-microvol 166 }; 167 168 pm8994_l11: l11 { 169 regulator-min-microvol 170 regulator-max-microvol 171 }; 172 173 pm8994_l12: l12 { 174 regulator-min-microvol 175 regulator-max-microvol 176 }; 177 178 pm8994_l13: l13 { 179 regulator-min-microvol 180 regulator-max-microvol 181 }; 182 183 pm8994_l14: l14 { 184 regulator-min-microvol 185 regulator-max-microvol 186 }; 187 188 pm8994_l15: l15 { 189 regulator-min-microvol 190 regulator-max-microvol 191 }; 192 193 pm8994_l16: l16 { 194 regulator-min-microvol 195 regulator-max-microvol 196 }; 197 198 pm8994_l17: l17 { 199 regulator-min-microvol 200 regulator-max-microvol 201 }; 202 203 pm8994_l18: l18 { 204 regulator-min-microvol 205 regulator-max-microvol 206 }; 207 208 pm8994_l19: l19 { 209 regulator-min-microvol 210 regulator-max-microvol 211 }; 212 213 pm8994_l20: l20 { 214 regulator-min-microvol 215 regulator-max-microvol 216 regulator-always-on; 217 regulator-boot-on; 218 regulator-allow-set-lo 219 regulator-system-load 220 }; 221 222 pm8994_l21: l21 { 223 regulator-min-microvol 224 regulator-max-microvol 225 regulator-always-on; 226 }; 227 228 pm8994_l22: l22 { 229 regulator-min-microvol 230 regulator-max-microvol 231 }; 232 233 pm8994_l23: l23 { 234 regulator-min-microvol 235 regulator-max-microvol 236 }; 237 238 pm8994_l24: l24 { 239 regulator-min-microvol 240 regulator-max-microvol 241 }; 242 243 pm8994_l25: l25 { 244 regulator-min-microvol 245 regulator-max-microvol 246 }; 247 248 pm8994_l26: l26 { 249 regulator-min-microvol 250 regulator-max-microvol 251 }; 252 253 pm8994_l27: l27 { 254 regulator-min-microvol 255 regulator-max-microvol 256 }; 257 258 pm8994_l28: l28 { 259 regulator-min-microvol 260 regulator-max-microvol 261 }; 262 263 pm8994_l29: l29 { 264 regulator-min-microvol 265 regulator-max-microvol 266 }; 267 268 pm8994_l30: l30 { 269 regulator-min-microvol 270 regulator-max-microvol 271 }; 272 273 pm8994_l31: l31 { 274 regulator-min-microvol 275 regulator-max-microvol 276 }; 277 278 pm8994_l32: l32 { 279 regulator-min-microvol 280 regulator-max-microvol 281 }; 282 }; 283 284 pmi8994_regulators: regulators-1 { 285 compatible = "qcom,rpm-pmi8994 286 287 vdd_s1-supply = <&vph_pwr>; 288 vdd_bst_byp-supply = <&vph_pwr 289 290 pmi8994_s1: s1 {}; 291 292 /* S2 & S3 - VDD_GFX */ 293 294 pmi8994_bby: boost-bypass {}; 295 }; 296 }; 297 298 &sdhc1 { 299 status = "okay"; 300 301 mmc-hs400-1_8v; 302 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.