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