1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2021 Qualcomm Innovation Cent 3 * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved. 4 */ 4 */ 5 /dts-v1/; 5 /dts-v1/; 6 6 7 /* PM7250B is configured to use SID2/3 */ << 8 #define PM7250B_SID 2 << 9 #define PM7250B_SID1 3 << 10 << 11 #include "qcom-sdx65.dtsi" 7 #include "qcom-sdx65.dtsi" 12 #include <dt-bindings/regulator/qcom,rpmh-regu 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include <arm64/qcom/pmk8350.dtsi> 9 #include <arm64/qcom/pmk8350.dtsi> 14 #include <arm64/qcom/pm7250b.dtsi> 10 #include <arm64/qcom/pm7250b.dtsi> 15 #include "pmx65.dtsi" 11 #include "pmx65.dtsi" 16 12 17 / { 13 / { 18 model = "Qualcomm Technologies, Inc. S 14 model = "Qualcomm Technologies, Inc. SDX65 MTP"; 19 compatible = "qcom,sdx65-mtp", "qcom,s 15 compatible = "qcom,sdx65-mtp", "qcom,sdx65"; 20 qcom,board-id = <0x2010008 0x302>; 16 qcom,board-id = <0x2010008 0x302>; 21 17 22 aliases { 18 aliases { 23 serial0 = &blsp1_uart3; 19 serial0 = &blsp1_uart3; 24 }; 20 }; 25 21 26 chosen { 22 chosen { 27 stdout-path = "serial0:115200n 23 stdout-path = "serial0:115200n8"; 28 }; 24 }; 29 25 30 reserved-memory { 26 reserved-memory { 31 #address-cells = <1>; 27 #address-cells = <1>; 32 #size-cells = <1>; 28 #size-cells = <1>; 33 ranges; 29 ranges; 34 30 35 mpss_dsm: memory@8c400000 { 31 mpss_dsm: memory@8c400000 { 36 no-map; 32 no-map; 37 reg = <0x8c400000 0x32 33 reg = <0x8c400000 0x3200000>; 38 }; 34 }; 39 35 40 ipa_fw_mem: memory@8fced000 { 36 ipa_fw_mem: memory@8fced000 { 41 no-map; 37 no-map; 42 reg = <0x8fced000 0x10 38 reg = <0x8fced000 0x10000>; 43 }; 39 }; 44 40 45 mpss_adsp_mem: memory@90800000 41 mpss_adsp_mem: memory@90800000 { 46 no-map; 42 no-map; 47 reg = <0x90800000 0x10 43 reg = <0x90800000 0x10000000>; 48 }; 44 }; 49 }; 45 }; 50 46 51 vph_pwr: vph-pwr-regulator { 47 vph_pwr: vph-pwr-regulator { 52 compatible = "regulator-fixed" 48 compatible = "regulator-fixed"; 53 regulator-name = "vph_pwr"; 49 regulator-name = "vph_pwr"; 54 regulator-min-microvolt = <370 50 regulator-min-microvolt = <3700000>; 55 regulator-max-microvolt = <370 51 regulator-max-microvolt = <3700000>; 56 }; 52 }; 57 53 58 vreg_bob_3p3: pmx65_bob { 54 vreg_bob_3p3: pmx65_bob { 59 compatible = "regulator-fixed" 55 compatible = "regulator-fixed"; 60 regulator-name = "vreg_bob_3p3 56 regulator-name = "vreg_bob_3p3"; 61 regulator-min-microvolt = <330 57 regulator-min-microvolt = <3300000>; 62 regulator-max-microvolt = <330 58 regulator-max-microvolt = <3300000>; 63 59 64 regulator-always-on; 60 regulator-always-on; 65 regulator-boot-on; 61 regulator-boot-on; 66 62 67 vin-supply = <&vph_pwr>; 63 vin-supply = <&vph_pwr>; 68 }; 64 }; 69 }; 65 }; 70 66 71 &apps_rsc { 67 &apps_rsc { 72 regulators-0 { 68 regulators-0 { 73 compatible = "qcom,pmx65-rpmh- 69 compatible = "qcom,pmx65-rpmh-regulators"; 74 qcom,pmic-id = "b"; 70 qcom,pmic-id = "b"; 75 71 76 vdd-s1-supply = <&vph_pwr>; 72 vdd-s1-supply = <&vph_pwr>; 77 vdd-s2-supply = <&vph_pwr>; 73 vdd-s2-supply = <&vph_pwr>; 78 vdd-s3-supply = <&vph_pwr>; 74 vdd-s3-supply = <&vph_pwr>; 79 vdd-s4-supply = <&vph_pwr>; 75 vdd-s4-supply = <&vph_pwr>; 80 vdd-s5-supply = <&vph_pwr>; 76 vdd-s5-supply = <&vph_pwr>; 81 vdd-s6-supply = <&vph_pwr>; 77 vdd-s6-supply = <&vph_pwr>; 82 vdd-s7-supply = <&vph_pwr>; 78 vdd-s7-supply = <&vph_pwr>; 83 vdd-s8-supply = <&vph_pwr>; 79 vdd-s8-supply = <&vph_pwr>; 84 vdd-l1-supply = <&vreg_s2b_1p2 80 vdd-l1-supply = <&vreg_s2b_1p224>; 85 vdd-l2-l18-supply = <&vreg_s2b 81 vdd-l2-l18-supply = <&vreg_s2b_1p224>; 86 vdd-l3-supply = <&vreg_s8b_0p8 82 vdd-l3-supply = <&vreg_s8b_0p824>; 87 vdd-l4-supply = <&vreg_s7b_0p9 83 vdd-l4-supply = <&vreg_s7b_0p936>; 88 vdd-l5-l6-l16-supply = <&vreg_ 84 vdd-l5-l6-l16-supply = <&vreg_s4b_1p824>; 89 vdd-l7-supply = <&vreg_s3b_0p7 85 vdd-l7-supply = <&vreg_s3b_0p776>; 90 vdd-l8-l9-supply = <&vreg_s8b_ 86 vdd-l8-l9-supply = <&vreg_s8b_0p824>; 91 vdd-l10-supply = <&vreg_bob_3p 87 vdd-l10-supply = <&vreg_bob_3p3>; 92 vdd-l11-l13-supply = <&vreg_bo 88 vdd-l11-l13-supply = <&vreg_bob_3p3>; 93 vdd-l12-supply = <&vreg_s2b_1p 89 vdd-l12-supply = <&vreg_s2b_1p224>; 94 vdd-l14-supply = <&vreg_s3b_0p 90 vdd-l14-supply = <&vreg_s3b_0p776>; 95 vdd-l15-supply = <&vreg_s2b_1p 91 vdd-l15-supply = <&vreg_s2b_1p224>; 96 vdd-l17-supply = <&vreg_s8b_0p 92 vdd-l17-supply = <&vreg_s8b_0p824>; 97 vdd-l19-supply = <&vreg_s3b_0p 93 vdd-l19-supply = <&vreg_s3b_0p776>; 98 vdd-l20-supply = <&vreg_s7b_0p 94 vdd-l20-supply = <&vreg_s7b_0p936>; 99 vdd-l21-supply = <&vreg_s7b_0p 95 vdd-l21-supply = <&vreg_s7b_0p936>; 100 96 101 vreg_s2b_1p224: smps2 { 97 vreg_s2b_1p224: smps2 { 102 regulator-min-microvol 98 regulator-min-microvolt = <1200000>; 103 regulator-max-microvol 99 regulator-max-microvolt = <1400000>; 104 }; 100 }; 105 101 106 vreg_s3b_0p776: smps3 { 102 vreg_s3b_0p776: smps3 { 107 regulator-min-microvol 103 regulator-min-microvolt = <500000>; 108 regulator-max-microvol 104 regulator-max-microvolt = <1040000>; 109 }; 105 }; 110 106 111 vreg_s4b_1p824: smps4 { 107 vreg_s4b_1p824: smps4 { 112 regulator-min-microvol 108 regulator-min-microvolt = <1800000>; 113 regulator-max-microvol 109 regulator-max-microvolt = <2024000>; 114 }; 110 }; 115 111 116 vreg_s7b_0p936: smps7 { 112 vreg_s7b_0p936: smps7 { 117 regulator-min-microvol 113 regulator-min-microvolt = <500000>; 118 regulator-max-microvol 114 regulator-max-microvolt = <1040000>; 119 }; 115 }; 120 116 121 vreg_s8b_0p824: smps8 { 117 vreg_s8b_0p824: smps8 { 122 regulator-min-microvol 118 regulator-min-microvolt = <304000>; 123 regulator-max-microvol 119 regulator-max-microvolt = <1300000>; 124 }; 120 }; 125 121 126 vreg_l1b_1p2: ldo1 { 122 vreg_l1b_1p2: ldo1 { 127 regulator-min-microvol 123 regulator-min-microvolt = <1200000>; 128 regulator-max-microvol 124 regulator-max-microvolt = <1200000>; 129 regulator-initial-mode 125 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 130 }; 126 }; 131 127 132 ldo2 { 128 ldo2 { 133 regulator-min-microvol 129 regulator-min-microvolt = <1128000>; 134 regulator-max-microvol 130 regulator-max-microvolt = <1128000>; 135 regulator-initial-mode 131 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 136 }; 132 }; 137 133 138 ldo3 { 134 ldo3 { 139 regulator-min-microvol 135 regulator-min-microvolt = <300000>; 140 regulator-max-microvol 136 regulator-max-microvolt = <960000>; 141 regulator-initial-mode 137 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 142 }; 138 }; 143 139 144 vreg_l4b_0p88: ldo4 { 140 vreg_l4b_0p88: ldo4 { 145 regulator-min-microvol 141 regulator-min-microvolt = <880000>; 146 regulator-max-microvol 142 regulator-max-microvolt = <912000>; 147 regulator-initial-mode 143 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 148 }; 144 }; 149 145 150 vreg_l5b_1p8: ldo5 { 146 vreg_l5b_1p8: ldo5 { 151 regulator-min-microvol 147 regulator-min-microvolt = <1800000>; 152 regulator-max-microvol 148 regulator-max-microvolt = <1800000>; 153 regulator-initial-mode 149 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 154 }; 150 }; 155 151 156 ldo6 { 152 ldo6 { 157 regulator-min-microvol 153 regulator-min-microvolt = <1800000>; 158 regulator-max-microvol 154 regulator-max-microvolt = <1800000>; 159 regulator-initial-mode 155 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 160 }; 156 }; 161 157 162 ldo7 { 158 ldo7 { 163 regulator-min-microvol 159 regulator-min-microvolt = <752000>; 164 regulator-max-microvol 160 regulator-max-microvolt = <752000>; 165 regulator-initial-mode 161 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 166 }; 162 }; 167 163 168 ldo8 { 164 ldo8 { 169 regulator-min-microvol 165 regulator-min-microvolt = <800000>; 170 regulator-max-microvol 166 regulator-max-microvolt = <800000>; 171 regulator-initial-mode 167 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 172 }; 168 }; 173 169 174 ldo9 { 170 ldo9 { 175 regulator-min-microvol 171 regulator-min-microvolt = <800000>; 176 regulator-max-microvol 172 regulator-max-microvolt = <800000>; 177 regulator-initial-mode 173 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 178 }; 174 }; 179 175 180 vreg_l10b_3p08: ldo10 { 176 vreg_l10b_3p08: ldo10 { 181 regulator-min-microvol 177 regulator-min-microvolt = <3088000>; 182 regulator-max-microvol 178 regulator-max-microvolt = <3088000>; 183 regulator-initial-mode 179 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 184 }; 180 }; 185 181 186 ldo11 { 182 ldo11 { 187 regulator-min-microvol 183 regulator-min-microvolt = <1704000>; 188 regulator-max-microvol 184 regulator-max-microvolt = <2928000>; 189 regulator-initial-mode 185 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 190 }; 186 }; 191 187 192 ldo12 { 188 ldo12 { 193 regulator-min-microvol 189 regulator-min-microvolt = <1200000>; 194 regulator-max-microvol 190 regulator-max-microvolt = <1200000>; 195 regulator-initial-mode 191 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 196 }; 192 }; 197 193 198 ldo13 { 194 ldo13 { 199 regulator-min-microvol 195 regulator-min-microvolt = <1704000>; 200 regulator-max-microvol 196 regulator-max-microvolt = <2928000>; 201 regulator-initial-mode 197 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 202 }; 198 }; 203 199 204 ldo14 { 200 ldo14 { 205 regulator-min-microvol 201 regulator-min-microvolt = <600000>; 206 regulator-max-microvol 202 regulator-max-microvolt = <800000>; 207 regulator-initial-mode 203 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 208 }; 204 }; 209 205 210 ldo15 { 206 ldo15 { 211 regulator-min-microvol 207 regulator-min-microvolt = <1200000>; 212 regulator-max-microvol 208 regulator-max-microvolt = <1200000>; 213 regulator-initial-mode 209 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 214 }; 210 }; 215 211 216 ldo16 { 212 ldo16 { 217 regulator-min-microvol 213 regulator-min-microvolt = <1776000>; 218 regulator-max-microvol 214 regulator-max-microvolt = <1776000>; 219 regulator-initial-mode 215 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 220 }; 216 }; 221 217 222 ldo17 { 218 ldo17 { 223 regulator-min-microvol 219 regulator-min-microvolt = <300000>; 224 regulator-max-microvol 220 regulator-max-microvolt = <960000>; 225 regulator-initial-mode 221 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 226 }; 222 }; 227 223 228 ldo19 { 224 ldo19 { 229 regulator-min-microvol 225 regulator-min-microvolt = <752000>; 230 regulator-max-microvol 226 regulator-max-microvolt = <752000>; 231 regulator-initial-mode 227 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 232 }; 228 }; 233 229 234 ldo20 { 230 ldo20 { 235 regulator-min-microvol 231 regulator-min-microvolt = <912000>; 236 regulator-max-microvol 232 regulator-max-microvolt = <912000>; 237 regulator-initial-mode 233 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 238 }; 234 }; 239 235 240 ldo21 { 236 ldo21 { 241 regulator-min-microvol 237 regulator-min-microvolt = <912000>; 242 regulator-max-microvol 238 regulator-max-microvolt = <912000>; 243 regulator-initial-mode 239 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 244 }; 240 }; 245 }; 241 }; 246 }; 242 }; 247 243 248 &blsp1_uart3 { 244 &blsp1_uart3 { 249 status = "okay"; 245 status = "okay"; 250 }; 246 }; 251 247 252 &ipa { 248 &ipa { 253 qcom,gsi-loader = "skip"; 249 qcom,gsi-loader = "skip"; 254 status = "okay"; 250 status = "okay"; 255 }; 251 }; 256 252 257 &pcie_ep { 253 &pcie_ep { 258 pinctrl-0 = <&pcie_ep_clkreq_default 254 pinctrl-0 = <&pcie_ep_clkreq_default 259 &pcie_ep_perst_default 255 &pcie_ep_perst_default 260 &pcie_ep_wake_default>; 256 &pcie_ep_wake_default>; 261 pinctrl-names = "default"; 257 pinctrl-names = "default"; 262 258 263 reset-gpios = <&tlmm 57 GPIO_ACTIVE_LO 259 reset-gpios = <&tlmm 57 GPIO_ACTIVE_LOW>; 264 wake-gpios = <&tlmm 53 GPIO_ACTIVE_LOW 260 wake-gpios = <&tlmm 53 GPIO_ACTIVE_LOW>; 265 261 266 status = "okay"; 262 status = "okay"; 267 }; 263 }; 268 264 269 &pcie_phy { 265 &pcie_phy { 270 vdda-phy-supply = <&vreg_l1b_1p2>; 266 vdda-phy-supply = <&vreg_l1b_1p2>; 271 vdda-pll-supply = <&vreg_l4b_0p88>; 267 vdda-pll-supply = <&vreg_l4b_0p88>; 272 268 273 status = "okay"; 269 status = "okay"; 274 }; 270 }; 275 271 276 &qpic_bam { 272 &qpic_bam { 277 status = "okay"; 273 status = "okay"; 278 }; 274 }; 279 275 280 &qpic_nand { 276 &qpic_nand { 281 status = "okay"; 277 status = "okay"; 282 278 283 nand@0 { 279 nand@0 { 284 reg = <0>; 280 reg = <0>; 285 281 286 nand-ecc-strength = <4>; 282 nand-ecc-strength = <4>; 287 nand-ecc-step-size = <512>; 283 nand-ecc-step-size = <512>; 288 nand-bus-width = <8>; 284 nand-bus-width = <8>; 289 /* ico and efs2 partitions are 285 /* ico and efs2 partitions are secured */ 290 secure-regions = /bits/ 64 <0x 286 secure-regions = /bits/ 64 <0x500000 0x500000 291 0x 287 0xa00000 0xb00000>; 292 }; 288 }; 293 }; 289 }; 294 290 295 &remoteproc_mpss { 291 &remoteproc_mpss { 296 memory-region = <&mpss_adsp_mem>; 292 memory-region = <&mpss_adsp_mem>; 297 status = "okay"; 293 status = "okay"; 298 }; 294 }; 299 295 300 &tlmm { 296 &tlmm { 301 pcie_ep_clkreq_default: pcie-ep-clkreq 297 pcie_ep_clkreq_default: pcie-ep-clkreq-default-state { 302 pins = "gpio56"; 298 pins = "gpio56"; 303 function = "pcie_clkreq"; 299 function = "pcie_clkreq"; 304 drive-strength = <2>; 300 drive-strength = <2>; 305 bias-disable; 301 bias-disable; 306 }; 302 }; 307 303 308 pcie_ep_perst_default: pcie-ep-perst-d 304 pcie_ep_perst_default: pcie-ep-perst-default-state { 309 pins = "gpio57"; 305 pins = "gpio57"; 310 function = "gpio"; 306 function = "gpio"; 311 drive-strength = <2>; 307 drive-strength = <2>; 312 bias-pull-down; 308 bias-pull-down; 313 }; 309 }; 314 310 315 pcie_ep_wake_default: pcie-ep-wake-def 311 pcie_ep_wake_default: pcie-ep-wake-default-state { 316 pins = "gpio53"; 312 pins = "gpio53"; 317 function = "gpio"; 313 function = "gpio"; 318 drive-strength = <2>; 314 drive-strength = <2>; 319 bias-disable; 315 bias-disable; 320 }; 316 }; 321 }; 317 }; 322 318 323 &usb { 319 &usb { 324 status = "okay"; 320 status = "okay"; 325 }; 321 }; 326 322 327 &usb_dwc3 { 323 &usb_dwc3 { 328 dr_mode = "peripheral"; 324 dr_mode = "peripheral"; 329 }; 325 }; 330 326 331 &usb_hsphy { 327 &usb_hsphy { 332 vdda-pll-supply = <&vreg_l4b_0p88>; 328 vdda-pll-supply = <&vreg_l4b_0p88>; 333 vdda33-supply = <&vreg_l10b_3p08>; 329 vdda33-supply = <&vreg_l10b_3p08>; 334 vdda18-supply = <&vreg_l5b_1p8>; 330 vdda18-supply = <&vreg_l5b_1p8>; 335 status = "okay"; 331 status = "okay"; 336 }; 332 }; 337 333 338 &usb_qmpphy { 334 &usb_qmpphy { 339 vdda-phy-supply = <&vreg_l4b_0p88>; 335 vdda-phy-supply = <&vreg_l4b_0p88>; 340 vdda-pll-supply = <&vreg_l1b_1p2>; 336 vdda-pll-supply = <&vreg_l1b_1p2>; 341 status = "okay"; 337 status = "okay"; 342 }; 338 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.