1724ba675SRob Herring// SPDX-License-Identifier: BSD-3-Clause 2724ba675SRob Herring/* 3724ba675SRob Herring * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved. 4724ba675SRob Herring */ 5724ba675SRob Herring/dts-v1/; 6724ba675SRob Herring 7724ba675SRob Herring#include "qcom-sdx65.dtsi" 8724ba675SRob Herring#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 9724ba675SRob Herring#include <arm64/qcom/pmk8350.dtsi> 10*f636d6c3SRohit Agarwal#include <arm64/qcom/pm7250b.dtsi> 11724ba675SRob Herring#include "qcom-pmx65.dtsi" 12724ba675SRob Herring 13724ba675SRob Herring/ { 14724ba675SRob Herring model = "Qualcomm Technologies, Inc. SDX65 MTP"; 15724ba675SRob Herring compatible = "qcom,sdx65-mtp", "qcom,sdx65"; 16724ba675SRob Herring qcom,board-id = <0x2010008 0x302>; 17724ba675SRob Herring 18724ba675SRob Herring aliases { 19724ba675SRob Herring serial0 = &blsp1_uart3; 20724ba675SRob Herring }; 21724ba675SRob Herring 22724ba675SRob Herring chosen { 23724ba675SRob Herring stdout-path = "serial0:115200n8"; 24724ba675SRob Herring }; 25724ba675SRob Herring 26724ba675SRob Herring reserved-memory { 27724ba675SRob Herring #address-cells = <1>; 28724ba675SRob Herring #size-cells = <1>; 29724ba675SRob Herring ranges; 30724ba675SRob Herring 31724ba675SRob Herring mpss_dsm: memory@8c400000 { 32724ba675SRob Herring no-map; 33724ba675SRob Herring reg = <0x8c400000 0x3200000>; 34724ba675SRob Herring }; 35724ba675SRob Herring 36724ba675SRob Herring ipa_fw_mem: memory@8fced000 { 37724ba675SRob Herring no-map; 38724ba675SRob Herring reg = <0x8fced000 0x10000>; 39724ba675SRob Herring }; 40724ba675SRob Herring 41724ba675SRob Herring mpss_adsp_mem: memory@90800000 { 42724ba675SRob Herring no-map; 43724ba675SRob Herring reg = <0x90800000 0x10000000>; 44724ba675SRob Herring }; 45724ba675SRob Herring }; 46724ba675SRob Herring 47724ba675SRob Herring vph_pwr: vph-pwr-regulator { 48724ba675SRob Herring compatible = "regulator-fixed"; 49724ba675SRob Herring regulator-name = "vph_pwr"; 50724ba675SRob Herring regulator-min-microvolt = <3700000>; 51724ba675SRob Herring regulator-max-microvolt = <3700000>; 52724ba675SRob Herring }; 53724ba675SRob Herring 54724ba675SRob Herring vreg_bob_3p3: pmx65_bob { 55724ba675SRob Herring compatible = "regulator-fixed"; 56724ba675SRob Herring regulator-name = "vreg_bob_3p3"; 57724ba675SRob Herring regulator-min-microvolt = <3300000>; 58724ba675SRob Herring regulator-max-microvolt = <3300000>; 59724ba675SRob Herring 60724ba675SRob Herring regulator-always-on; 61724ba675SRob Herring regulator-boot-on; 62724ba675SRob Herring 63724ba675SRob Herring vin-supply = <&vph_pwr>; 64724ba675SRob Herring }; 65724ba675SRob Herring}; 66724ba675SRob Herring 67724ba675SRob Herring&apps_rsc { 68724ba675SRob Herring regulators-0 { 69724ba675SRob Herring compatible = "qcom,pmx65-rpmh-regulators"; 70724ba675SRob Herring qcom,pmic-id = "b"; 71724ba675SRob Herring 72724ba675SRob Herring vdd-s1-supply = <&vph_pwr>; 73724ba675SRob Herring vdd-s2-supply = <&vph_pwr>; 74724ba675SRob Herring vdd-s3-supply = <&vph_pwr>; 75724ba675SRob Herring vdd-s4-supply = <&vph_pwr>; 76724ba675SRob Herring vdd-s5-supply = <&vph_pwr>; 77724ba675SRob Herring vdd-s6-supply = <&vph_pwr>; 78724ba675SRob Herring vdd-s7-supply = <&vph_pwr>; 79724ba675SRob Herring vdd-s8-supply = <&vph_pwr>; 80724ba675SRob Herring vdd-l1-supply = <&vreg_s2b_1p224>; 81724ba675SRob Herring vdd-l2-l18-supply = <&vreg_s2b_1p224>; 82724ba675SRob Herring vdd-l3-supply = <&vreg_s8b_0p824>; 83724ba675SRob Herring vdd-l4-supply = <&vreg_s7b_0p936>; 84724ba675SRob Herring vdd-l5-l6-l16-supply = <&vreg_s4b_1p824>; 85724ba675SRob Herring vdd-l7-supply = <&vreg_s3b_0p776>; 86724ba675SRob Herring vdd-l8-l9-supply = <&vreg_s8b_0p824>; 87724ba675SRob Herring vdd-l10-supply = <&vreg_bob_3p3>; 88724ba675SRob Herring vdd-l11-l13-supply = <&vreg_bob_3p3>; 89724ba675SRob Herring vdd-l12-supply = <&vreg_s2b_1p224>; 90724ba675SRob Herring vdd-l14-supply = <&vreg_s3b_0p776>; 91724ba675SRob Herring vdd-l15-supply = <&vreg_s2b_1p224>; 92724ba675SRob Herring vdd-l17-supply = <&vreg_s8b_0p824>; 93724ba675SRob Herring vdd-l19-supply = <&vreg_s3b_0p776>; 94724ba675SRob Herring vdd-l20-supply = <&vreg_s7b_0p936>; 95724ba675SRob Herring vdd-l21-supply = <&vreg_s7b_0p936>; 96724ba675SRob Herring 97724ba675SRob Herring vreg_s2b_1p224: smps2 { 98724ba675SRob Herring regulator-min-microvolt = <1200000>; 99724ba675SRob Herring regulator-max-microvolt = <1400000>; 100724ba675SRob Herring }; 101724ba675SRob Herring 102724ba675SRob Herring vreg_s3b_0p776: smps3 { 103724ba675SRob Herring regulator-min-microvolt = <500000>; 104724ba675SRob Herring regulator-max-microvolt = <1040000>; 105724ba675SRob Herring }; 106724ba675SRob Herring 107724ba675SRob Herring vreg_s4b_1p824: smps4 { 108724ba675SRob Herring regulator-min-microvolt = <1800000>; 109724ba675SRob Herring regulator-max-microvolt = <2024000>; 110724ba675SRob Herring }; 111724ba675SRob Herring 112724ba675SRob Herring vreg_s7b_0p936: smps7 { 113724ba675SRob Herring regulator-min-microvolt = <500000>; 114724ba675SRob Herring regulator-max-microvolt = <1040000>; 115724ba675SRob Herring }; 116724ba675SRob Herring 117724ba675SRob Herring vreg_s8b_0p824: smps8 { 118724ba675SRob Herring regulator-min-microvolt = <304000>; 119724ba675SRob Herring regulator-max-microvolt = <1300000>; 120724ba675SRob Herring }; 121724ba675SRob Herring 122724ba675SRob Herring vreg_l1b_1p2: ldo1 { 123724ba675SRob Herring regulator-min-microvolt = <1200000>; 124724ba675SRob Herring regulator-max-microvolt = <1200000>; 125724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 126724ba675SRob Herring }; 127724ba675SRob Herring 128724ba675SRob Herring ldo2 { 129724ba675SRob Herring regulator-min-microvolt = <1128000>; 130724ba675SRob Herring regulator-max-microvolt = <1128000>; 131724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 132724ba675SRob Herring }; 133724ba675SRob Herring 134724ba675SRob Herring ldo3 { 135724ba675SRob Herring regulator-min-microvolt = <300000>; 136724ba675SRob Herring regulator-max-microvolt = <960000>; 137724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 138724ba675SRob Herring }; 139724ba675SRob Herring 140724ba675SRob Herring vreg_l4b_0p88: ldo4 { 141724ba675SRob Herring regulator-min-microvolt = <880000>; 142724ba675SRob Herring regulator-max-microvolt = <912000>; 143724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 144724ba675SRob Herring }; 145724ba675SRob Herring 146724ba675SRob Herring vreg_l5b_1p8: ldo5 { 147724ba675SRob Herring regulator-min-microvolt = <1800000>; 148724ba675SRob Herring regulator-max-microvolt = <1800000>; 149724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 150724ba675SRob Herring }; 151724ba675SRob Herring 152724ba675SRob Herring ldo6 { 153724ba675SRob Herring regulator-min-microvolt = <1800000>; 154724ba675SRob Herring regulator-max-microvolt = <1800000>; 155724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 156724ba675SRob Herring }; 157724ba675SRob Herring 158724ba675SRob Herring ldo7 { 159724ba675SRob Herring regulator-min-microvolt = <752000>; 160724ba675SRob Herring regulator-max-microvolt = <752000>; 161724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 162724ba675SRob Herring }; 163724ba675SRob Herring 164724ba675SRob Herring ldo8 { 165724ba675SRob Herring regulator-min-microvolt = <800000>; 166724ba675SRob Herring regulator-max-microvolt = <800000>; 167724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 168724ba675SRob Herring }; 169724ba675SRob Herring 170724ba675SRob Herring ldo9 { 171724ba675SRob Herring regulator-min-microvolt = <800000>; 172724ba675SRob Herring regulator-max-microvolt = <800000>; 173724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 174724ba675SRob Herring }; 175724ba675SRob Herring 176724ba675SRob Herring vreg_l10b_3p08: ldo10 { 177724ba675SRob Herring regulator-min-microvolt = <3088000>; 178724ba675SRob Herring regulator-max-microvolt = <3088000>; 179724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 180724ba675SRob Herring }; 181724ba675SRob Herring 182724ba675SRob Herring ldo11 { 183724ba675SRob Herring regulator-min-microvolt = <1704000>; 184724ba675SRob Herring regulator-max-microvolt = <2928000>; 185724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 186724ba675SRob Herring }; 187724ba675SRob Herring 188724ba675SRob Herring ldo12 { 189724ba675SRob Herring regulator-min-microvolt = <1200000>; 190724ba675SRob Herring regulator-max-microvolt = <1200000>; 191724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 192724ba675SRob Herring }; 193724ba675SRob Herring 194724ba675SRob Herring ldo13 { 195724ba675SRob Herring regulator-min-microvolt = <1704000>; 196724ba675SRob Herring regulator-max-microvolt = <2928000>; 197724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 198724ba675SRob Herring }; 199724ba675SRob Herring 200724ba675SRob Herring ldo14 { 201724ba675SRob Herring regulator-min-microvolt = <600000>; 202724ba675SRob Herring regulator-max-microvolt = <800000>; 203724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 204724ba675SRob Herring }; 205724ba675SRob Herring 206724ba675SRob Herring ldo15 { 207724ba675SRob Herring regulator-min-microvolt = <1200000>; 208724ba675SRob Herring regulator-max-microvolt = <1200000>; 209724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 210724ba675SRob Herring }; 211724ba675SRob Herring 212724ba675SRob Herring ldo16 { 213724ba675SRob Herring regulator-min-microvolt = <1776000>; 214724ba675SRob Herring regulator-max-microvolt = <1776000>; 215724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 216724ba675SRob Herring }; 217724ba675SRob Herring 218724ba675SRob Herring ldo17 { 219724ba675SRob Herring regulator-min-microvolt = <300000>; 220724ba675SRob Herring regulator-max-microvolt = <960000>; 221724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 222724ba675SRob Herring }; 223724ba675SRob Herring 224724ba675SRob Herring ldo19 { 225724ba675SRob Herring regulator-min-microvolt = <752000>; 226724ba675SRob Herring regulator-max-microvolt = <752000>; 227724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 228724ba675SRob Herring }; 229724ba675SRob Herring 230724ba675SRob Herring ldo20 { 231724ba675SRob Herring regulator-min-microvolt = <912000>; 232724ba675SRob Herring regulator-max-microvolt = <912000>; 233724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 234724ba675SRob Herring }; 235724ba675SRob Herring 236724ba675SRob Herring ldo21 { 237724ba675SRob Herring regulator-min-microvolt = <912000>; 238724ba675SRob Herring regulator-max-microvolt = <912000>; 239724ba675SRob Herring regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 240724ba675SRob Herring }; 241724ba675SRob Herring }; 242724ba675SRob Herring}; 243724ba675SRob Herring 244724ba675SRob Herring&blsp1_uart3 { 245724ba675SRob Herring status = "okay"; 246724ba675SRob Herring}; 247724ba675SRob Herring 248724ba675SRob Herring&ipa { 249724ba675SRob Herring qcom,gsi-loader = "skip"; 250724ba675SRob Herring status = "okay"; 251724ba675SRob Herring}; 252724ba675SRob Herring 253724ba675SRob Herring&pcie_ep { 254724ba675SRob Herring pinctrl-0 = <&pcie_ep_clkreq_default 255724ba675SRob Herring &pcie_ep_perst_default 256724ba675SRob Herring &pcie_ep_wake_default>; 257724ba675SRob Herring pinctrl-names = "default"; 258724ba675SRob Herring 259724ba675SRob Herring reset-gpios = <&tlmm 57 GPIO_ACTIVE_LOW>; 260724ba675SRob Herring wake-gpios = <&tlmm 53 GPIO_ACTIVE_LOW>; 261724ba675SRob Herring 262724ba675SRob Herring status = "okay"; 263724ba675SRob Herring}; 264724ba675SRob Herring 265724ba675SRob Herring&pcie_phy { 266724ba675SRob Herring vdda-phy-supply = <&vreg_l1b_1p2>; 267724ba675SRob Herring vdda-pll-supply = <&vreg_l4b_0p88>; 268724ba675SRob Herring 269724ba675SRob Herring status = "okay"; 270724ba675SRob Herring}; 271724ba675SRob Herring 272724ba675SRob Herring&qpic_bam { 273724ba675SRob Herring status = "okay"; 274724ba675SRob Herring}; 275724ba675SRob Herring 276724ba675SRob Herring&qpic_nand { 277724ba675SRob Herring status = "okay"; 278724ba675SRob Herring 279724ba675SRob Herring nand@0 { 280724ba675SRob Herring reg = <0>; 281724ba675SRob Herring 282724ba675SRob Herring nand-ecc-strength = <4>; 283724ba675SRob Herring nand-ecc-step-size = <512>; 284724ba675SRob Herring nand-bus-width = <8>; 285724ba675SRob Herring /* ico and efs2 partitions are secured */ 286724ba675SRob Herring secure-regions = /bits/ 64 <0x500000 0x500000 287724ba675SRob Herring 0xa00000 0xb00000>; 288724ba675SRob Herring }; 289724ba675SRob Herring}; 290724ba675SRob Herring 291724ba675SRob Herring&remoteproc_mpss { 292724ba675SRob Herring memory-region = <&mpss_adsp_mem>; 293724ba675SRob Herring status = "okay"; 294724ba675SRob Herring}; 295724ba675SRob Herring 296724ba675SRob Herring&tlmm { 297724ba675SRob Herring pcie_ep_clkreq_default: pcie-ep-clkreq-default-state { 298724ba675SRob Herring pins = "gpio56"; 299724ba675SRob Herring function = "pcie_clkreq"; 300724ba675SRob Herring drive-strength = <2>; 301724ba675SRob Herring bias-disable; 302724ba675SRob Herring }; 303724ba675SRob Herring 304724ba675SRob Herring pcie_ep_perst_default: pcie-ep-perst-default-state { 305724ba675SRob Herring pins = "gpio57"; 306724ba675SRob Herring function = "gpio"; 307724ba675SRob Herring drive-strength = <2>; 308724ba675SRob Herring bias-pull-down; 309724ba675SRob Herring }; 310724ba675SRob Herring 311724ba675SRob Herring pcie_ep_wake_default: pcie-ep-wake-default-state { 312724ba675SRob Herring pins = "gpio53"; 313724ba675SRob Herring function = "gpio"; 314724ba675SRob Herring drive-strength = <2>; 315724ba675SRob Herring bias-disable; 316724ba675SRob Herring }; 317724ba675SRob Herring}; 318724ba675SRob Herring 319724ba675SRob Herring&usb { 320724ba675SRob Herring status = "okay"; 321724ba675SRob Herring}; 322724ba675SRob Herring 323724ba675SRob Herring&usb_dwc3 { 324724ba675SRob Herring dr_mode = "peripheral"; 325724ba675SRob Herring}; 326724ba675SRob Herring 327724ba675SRob Herring&usb_hsphy { 328724ba675SRob Herring vdda-pll-supply = <&vreg_l4b_0p88>; 329724ba675SRob Herring vdda33-supply = <&vreg_l10b_3p08>; 330724ba675SRob Herring vdda18-supply = <&vreg_l5b_1p8>; 331724ba675SRob Herring status = "okay"; 332724ba675SRob Herring}; 333724ba675SRob Herring 334724ba675SRob Herring&usb_qmpphy { 335724ba675SRob Herring vdda-phy-supply = <&vreg_l4b_0p88>; 336724ba675SRob Herring vdda-pll-supply = <&vreg_l1b_1p2>; 337724ba675SRob Herring status = "okay"; 338724ba675SRob Herring}; 339